/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-glow: rgba(255, 107, 53, 0.15);
    --accent-secondary: #4ecdc4;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-cube {
    color: var(--accent);
    font-size: 1.4rem;
    animation: pulse 3s ease-in-out infinite;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 32px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -50px;
    opacity: 0.2;
    animation-delay: -3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 30%;
    opacity: 0.15;
    animation-delay: -5s;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-line.accent {
    color: var(--accent);
    animation-delay: 0.2s;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== 3D Cube ===== */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.cube-scene {
    width: 200px;
    height: 200px;
    perspective: 800px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s linear infinite;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent);
    background: rgba(255,107,53,0.05);
    backdrop-filter: blur(4px);
}

.face.front  { transform: translateZ(100px); }
.face.back   { transform: rotateY(180deg) translateZ(100px); }
.face.right  { transform: rotateY(90deg) translateZ(100px); }
.face.left   { transform: rotateY(-90deg) translateZ(100px); }
.face.top    { transform: rotateX(90deg) translateZ(100px); }
.face.bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ===== Sections ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin: 16px auto 0;
}

/* ===== Skills ===== */
.skills-section {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--accent);
}

.skill-icon svg {
    width: 28px;
    height: 28px;
}

.skill-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== About ===== */
.about-section {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-frame {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--accent);
    z-index: 2;
}

.frame-corner.tl { top: 16px; left: 16px; border-top: 3px solid; border-left: 3px solid; }
.frame-corner.tr { top: 16px; right: 16px; border-top: 3px solid; border-right: 3px solid; }
.frame-corner.bl { bottom: 16px; left: 16px; border-bottom: 3px solid; border-left: 3px solid; }
.frame-corner.br { bottom: 16px; right: 16px; border-bottom: 3px solid; border-right: 3px solid; }

.about-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.placeholder-icon {
    font-size: 4rem;
}

.placeholder-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* ===== CTA ===== */
.cta-section {
    padding: 60px 0 100px;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
}

/* ===== Page Header ===== */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Gallery ===== */
.gallery-section {
    background: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,0.85);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.gallery-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 500;
}

/* ===== Tools ===== */
.tools-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 140px;
}

.tool-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tool-icon {
    font-size: 2rem;
}

.tool-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-title::after {
    margin-left: 0;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* ===== Form ===== */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-10px, 10px); }
}

@keyframes rotateCube {
    from { transform: rotateX(-15deg) rotateY(0deg); }
    to { transform: rotateX(-15deg) rotateY(360deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-frame {
        width: 260px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .tools-grid {
        gap: 16px;
    }

    .tool-item {
        min-width: 120px;
        padding: 20px 24px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-frame {
        width: 220px;
        height: 280px;
    }

    .contact-details {
        gap: 16px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }
}


/* ============================================================
   HERO V2 — BLENDER VIEWPORT STYLE
   ============================================================ */

.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 48px 80px;
    overflow: hidden;
    background: #0d0d12;
}

.hero-bg-v2 {
    position: absolute;
    inset: 0;
    z-index: 0;
    perspective: 1200px;
    overflow: hidden;
}

/* Blender-style floor grid */
.blender-floor {
    position: absolute;
    bottom: 0;
    left: -50%;
    right: -50%;
    height: 60%;
    background:
        linear-gradient(to bottom, transparent 0%, rgba(255,107,53,0.03) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(255,107,53,0.08) 49px,
            rgba(255,107,53,0.08) 50px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            rgba(255,107,53,0.08) 49px,
            rgba(255,107,53,0.08) 50px
        );
    transform: rotateX(70deg);
    transform-origin: bottom center;
    animation: gridPulse 4s ease-in-out infinite;
    mask-image: linear-gradient(to top, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Orbs */
.orb-v2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: orbFloat 10s ease-in-out infinite;
}
.orb-v2-1 {
    width: 500px; height: 500px;
    background: var(--accent);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.orb-v2-2 {
    width: 350px; height: 350px;
    background: var(--accent-secondary);
    bottom: 10%; left: -80px;
    opacity: 0.15;
    animation-delay: -4s;
}
.orb-v2-3 {
    width: 250px; height: 250px;
    background: #ff8c5a;
    top: 40%; left: 45%;
    opacity: 0.1;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-20vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   BLENDER UI OVERLAY
   ============================================================ */

.blender-ui {
    position: absolute;
    inset: 72px 0 0 0;
    z-index: 2;
    pointer-events: none;
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
}

.ui-panel {
    position: absolute;
    background: rgba(18, 18, 24, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-muted);
    pointer-events: auto;
}

.ui-top {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px 20px;
}

.ui-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.ui-label {
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}
.ui-label:hover, .ui-label.active {
    color: var(--accent);
}
.ui-label.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.ui-left {
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.ui-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.ui-tool:hover {
    background: rgba(255,255,255,0.05);
}
.ui-tool.active {
    background: rgba(255,107,53,0.15);
    color: var(--accent);
}
.tool-icon { font-size: 0.9rem; }
.tool-name { font-size: 0.65rem; }

.ui-right {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
    padding: 14px;
}

.ui-prop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.prop-label { font-size: 0.65rem; color: var(--text-muted); }
.prop-value { font-size: 0.7rem; color: var(--text-secondary); font-weight: 500; }
.status-active { color: var(--accent-secondary); }

.ui-bottom {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    padding: 8px 24px;
}
.ui-status { font-size: 0.7rem; }
.ui-status.fps { color: var(--accent-secondary); }

/* ============================================================
   HERO CONTENT V2
   ============================================================ */

.hero-content-v2 {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding-left: 80px;
}

.hero-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,107,53,0.08);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
}

.blender-icon {
    width: 20px; height: 20px;
}

.hero-title-v2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.title-word {
    display: block;
    animation: fadeInUp 0.8s ease-out both;
}
.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }

.title-word.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blender-highlight {
    position: relative;
    color: var(--accent);
}
.blender-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0; right: 0;
    height: 8px;
    background: rgba(255,107,53,0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-desc-v2 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-desc-v2 strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions-v2 {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(255,107,53,0.3), 0 4px 20px rgba(255,107,53,0.2);
}
.btn-glow:hover {
    box-shadow: 0 0 50px rgba(255,107,53,0.5), 0 8px 30px rgba(255,107,53,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255,107,53,0.05);
}

.btn-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
}

.blender-version {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.version-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Space Grotesk', monospace;
    transition: all 0.3s;
}
.version-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255,107,53,0.05);
}

/* ============================================================
   3D CUBE V2 — BLENDER STYLE
   ============================================================ */

.hero-cube-wrapper {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 280px;
    height: 280px;
}

.cube-container {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

.cube-v2 {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(30deg);
    transform-style: preserve-3d;
    animation: cubeSpin 15s linear infinite;
}

.face-v2 {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,107,53,0.06);
    border: 2px solid rgba(255,107,53,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    transition: border-color 0.3s;
}
.face-v2:hover {
    border-color: var(--accent);
    background: rgba(255,107,53,0.1);
}

.face-grid {
    position: absolute;
    inset: 8px;
    background-image:
        linear-gradient(rgba(255,107,53,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

.face-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.65rem;
    color: rgba(255,107,53,0.5);
    letter-spacing: 0.1em;
    z-index: 2;
}

.face-v2.front  { transform: translateZ(90px); }
.face-v2.back   { transform: rotateY(180deg) translateZ(90px); }
.face-v2.right  { transform: rotateY(90deg) translateZ(90px); }
.face-v2.left   { transform: rotateY(-90deg) translateZ(90px); }
.face-v2.top    { transform: rotateX(90deg) translateZ(90px); }
.face-v2.bottom { transform: rotateX(-90deg) translateZ(90px); }

/* Wireframe cube around */
.cube-wireframe {
    width: 260px;
    height: 260px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(30deg);
    transform-style: preserve-3d;
    animation: cubeSpinReverse 20s linear infinite;
    pointer-events: none;
}

.wf-face {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px dashed rgba(255,107,53,0.15);
}
.wf-face.wf-front  { transform: translateZ(130px); }
.wf-face.wf-back   { transform: rotateY(180deg) translateZ(130px); }
.wf-face.wf-right  { transform: rotateY(90deg) translateZ(130px); }
.wf-face.wf-left   { transform: rotateY(-90deg) translateZ(130px); }
.wf-face.wf-top    { transform: rotateX(90deg) translateZ(130px); }
.wf-face.wf-bottom { transform: rotateX(-90deg) translateZ(130px); }

@keyframes cubeSpin {
    from { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg); }
    to   { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(360deg); }
}
@keyframes cubeSpinReverse {
    from { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(360deg); }
    to   { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg); }
}

/* Axis indicators */
.axis-indicator {
    position: absolute;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    color: white;
}
.axis-x { background: #e74c3c; bottom: -30px; right: 20px; }
.axis-y { background: #4ecdc4; top: -20px; left: 50%; }
.axis-z { background: #3498db; bottom: 20px; left: -30px; }

/* ============================================================
   SKILLS V2 — TIMELINE
   ============================================================ */

.skills-v2 {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.skills-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 12px;
}

.skills-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    opacity: 0.3;
    z-index: 0;
}

.skill-step {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 24px;
    position: relative;
    box-shadow: 0 0 30px rgba(255,107,53,0.15);
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}
.step-card:hover::before {
    transform: scaleX(1);
}

.step-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    margin: 0 auto 20px;
    color: var(--accent);
}
.step-icon svg { width: 28px; height: 28px; }

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   ABOUT V2
   ============================================================ */

.about-v2 {
    background: var(--bg-primary);
    position: relative;
}

.about-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-visual-v2 {
    position: relative;
    display: flex;
    justify-content: center;
}

.viewport-window {
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.viewport-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.vp-dot { width: 10px; height: 10px; border-radius: 50%; }
.vp-dot.red { background: #e74c3c; }
.vp-dot.yellow { background: #f39c12; }
.vp-dot.green { background: #27ae60; }
.vp-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.viewport-body {
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.viewport-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,53,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.viewport-cube {
    width: 100px; height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: vpCubeSpin 8s linear infinite;
    z-index: 2;
}
.vp-cube-face {
    position: absolute;
    width: 100px; height: 100px;
    background: rgba(255,107,53,0.15);
    border: 2px solid var(--accent);
}
.vp-cube-face:nth-child(1) { transform: translateZ(50px); }
.vp-cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(50px); }
.vp-cube-face:nth-child(3) { transform: rotateX(90deg) translateZ(50px); }

@keyframes vpCubeSpin {
    from { transform: rotateX(-15deg) rotateY(0deg); }
    to { transform: rotateX(-15deg) rotateY(360deg); }
}

.viewport-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fb-icon { font-size: 1.8rem; }
.fb-text { display: flex; flex-direction: column; }
.fb-name { font-weight: 700; font-size: 0.95rem; }
.fb-role { font-size: 0.75rem; color: var(--text-muted); }

.about-content-v2 p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.about-content-v2 strong {
    color: var(--text-primary);
}

.about-stats-v2 {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-v2 {
    text-align: center;
    position: relative;
}
.stat-num-v2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label-v2 {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================================
   SHOWCASE STRIP
   ============================================================ */

.showcase-strip {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.showcase-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollTrack 30s linear infinite;
}

.showcase-item {
    width: 320px;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.showcase-item:hover {
    opacity: 1;
}
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 15%, transparent 85%, var(--bg-secondary) 100%);
    pointer-events: none;
    z-index: 2;
}

@keyframes scrollTrack {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   CTA V2
   ============================================================ */

.cta-v2 {
    padding: 80px 0 100px;
}

.cta-box-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 60%);
    animation: ctaPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-box-v2 > *:not(.cta-glow) {
    position: relative;
    z-index: 1;
}

.cta-box-v2 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-box-v2 p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
}

/* ============================================================
   RESPONSIVE FOR V2
   ============================================================ */

@media (max-width: 1200px) {
    .hero-cube-wrapper {
        right: 3%;
        transform: translateY(-50%) scale(0.85);
    }
    .hero-content-v2 {
        padding-left: 40px;
    }
    .blender-ui .ui-left,
    .blender-ui .ui-right {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-v2 {
        padding: 100px 24px 60px;
    }
    .hero-cube-wrapper {
        display: none;
    }
    .hero-content-v2 {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
    }
    .blender-version {
        justify-content: center;
    }
    .hero-actions-v2 {
        justify-content: center;
    }
    .skills-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .timeline-line {
        display: none;
    }
    .about-grid-v2 {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visual-v2 {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        padding: 90px 16px 50px;
    }
    .hero-title-v2 {
        font-size: 2.4rem;
    }
    .hero-desc-v2 {
        font-size: 1rem;
    }
    .blender-ui .ui-top,
    .blender-ui .ui-bottom {
        display: none;
    }
    .skills-timeline {
        grid-template-columns: 1fr;
    }
    .step-num {
        width: 60px; height: 60px;
        font-size: 1.2rem;
    }
    .about-stats-v2 {
        gap: 24px;
    }
    .stat-num-v2 {
        font-size: 2rem;
    }
    .stat-suffix {
        font-size: 1.2rem;
    }
    .viewport-window {
        width: 280px;
    }
    .showcase-item {
        width: 260px;
        height: 180px;
    }
    .cta-box-v2 {
        padding: 48px 24px;
    }
    .cta-box-v2 h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title-v2 {
        font-size: 2rem;
    }
    .hero-actions-v2 {
        flex-direction: column;
    }
    .hero-actions-v2 .btn {
        width: 100%;
    }
    .about-stats-v2 {
        flex-direction: column;
        gap: 24px;
    }
    .floating-badge {
        right: 0;
        bottom: -40px;
    }
}


/* ============================================================
   BLENDER UI ANIMATION TRANSITIONS
   ============================================================ */

/* Smooth tab switching */
.ui-label {
    transition: color 0.4s ease, transform 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}
.ui-label.active {
    color: var(--accent);
    background: rgba(255,107,53,0.08);
}
.ui-label.active::after {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth tool switching */
.ui-tool {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ui-tool.active {
    background: rgba(255,107,53,0.15);
    color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 0 12px rgba(255,107,53,0.1);
}
.ui-tool .tool-icon {
    transition: transform 0.3s ease;
}
.ui-tool.active .tool-icon {
    transform: scale(1.15);
}

/* Property value transitions */
.prop-value {
    transition: opacity 0.15s ease;
}

/* Status bar number transitions */
.ui-status {
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

/* Status dot blink */
.status-active {
    transition: opacity 0.3s ease;
}

/* FPS counter glow */
.ui-status.fps {
    text-shadow: 0 0 8px rgba(78,205,196,0.3);
    transition: all 0.2s ease;
}

/* Subtle hover on all UI elements */
.ui-label:hover {
    color: var(--accent-light);
    background: rgba(255,255,255,0.03);
}
.ui-tool:hover {
    background: rgba(255,255,255,0.05);
}

/* Panel subtle entrance animation */
.ui-panel {
    animation: uiFadeIn 0.8s ease-out both;
}
.ui-top { animation-delay: 0.2s; }
.ui-left { animation-delay: 0.4s; }
.ui-right { animation-delay: 0.6s; }
.ui-bottom { animation-delay: 0.8s; }

@keyframes uiFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active tab indicator slide */
.ui-label::after {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
