:root {
    --bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.7);
    --gold: #D4AF37;
    --cyan: #00bcd4;
    --magenta: #e91e63;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* Disable user selection for content protection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

html,
body {
    cursor: none !important;
    /* Hide system cursor on all browsers */
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

body:not(.site-active) {
    overflow: hidden;
    /* Prevent scrolling during intro */
}

/* Prevent image dragging globally */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    /* Disable right-click indirectly on images */
}

/* Re-enable pointer events for interactive elements */
a,
button,
input,
textarea,
select,
.interactable {
    pointer-events: auto;
}

/* Custom Brush Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    opacity: 0;
    /* Hidden until mouse moves */
    transition: opacity 0.3s ease;
}

#brush-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.brush-handle,
.brush-ferrule {
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: 5% 95%;
    /* Reliable pivot in Chrome/Edge */
}

.brush-bristles {
    fill: var(--gold);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 5% 95%;
    /* Reliable pivot in Chrome/Edge */
}

/* Hover State - Tip glows and color changes */
#custom-cursor.hover .brush-bristles {
    fill: var(--cyan);
    filter: drop-shadow(0 0 10px var(--cyan));
}

/* Active State - Professional Pressure: Stand Up (Dikelme) and Sync Sink */
#custom-cursor.active .brush-handle,
#custom-cursor.active .brush-ferrule {
    /* Pivot at tip (5, 95). Rotate towards vertical and sink 8% to follow squash */
    transform: rotate(-15deg) translate(0, 8px);
}

#custom-cursor.active .brush-bristles {
    fill: var(--magenta);
    /* Pivot at tip (5, 95). Squash vertically, spread for volume */
    transform: rotate(-15deg) scaleY(0.6) scaleX(1.2);
    filter: drop-shadow(0 0 50px var(--magenta));
}

/* Positioning handled in JS */

/* Links and buttons should still not show default cursor */
a,
button,
.filter-btn,
.work-item {
    cursor: none !important;
}

/* Three.js Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Sit above the default black but below content */
    pointer-events: none;
}

/* Ensure canvas is visible during intro */
body:not(.site-active) #bg-canvas {
    z-index: 4999;
    /* Just below the intro overlay's content but above its black background */
    opacity: 1 !important;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    display: flex;
    align-items: center;
}

#nav-logo {
    height: 80px;
    /* Doubled from 40px */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover #nav-logo {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.4s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--gold);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 5%;
        /* Narrowed the black bar */
    }

    #nav-logo {
        height: 50px;
        /* Reduced logo thickness for mobile */
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        gap: 3rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Toggle Animation */
    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 10% 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    section {
        padding: 6rem 5% 3rem;
        min-height: auto;
    }
}

.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: pan-y;
}

.hero-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(30px);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--gold), #fff, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* Changed from 1 to 0 for GSAP control */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 3rem;
    letter-spacing: 1px;
    opacity: 0;
    /* Changed from 1 to 0 for GSAP control */
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
    z-index: 10;
    position: relative;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-dot.active {
    background: var(--gold);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Filter Menu */
.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0 5%;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-dim);
    padding: 0.5rem 1.2rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Grid Layout */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
    opacity: 0;
    transform: translateY(20px);
}

.work-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-item:hover {
    transform: scale(1.02);
    border-color: var(--gold);
    z-index: 10;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-info {
    opacity: 1;
}

.work-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

/* Lightbox Simple */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover {
    transform: scale(1.02) translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-info {
    bottom: 0;
}

.work-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

/* Lightbox Premium Styling */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    touch-action: pan-y;
}

#lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 3001;
    transition: all 0.3s;
}

#lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3.5rem;
    padding: 2rem;
    cursor: pointer;
    user-select: none;
    z-index: 3001;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.lightbox-arrow:hover {
    color: var(--gold);
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.lightbox-arrow.prev {
    left: 1rem;
}

.lightbox-arrow.next {
    right: 1rem;
}

#lightbox img {
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

#lightbox img:hover {
    transform: scale(1.02);
}

/* Categories (Legacy for reference) */
.category-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

/* Web Designs Section */
.web-designs-section {
    padding: 100px 10%;
    background: transparent;
}

.web-container {
    max-width: 1200px;
    margin: 0 auto;
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .web-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.web-card {
    text-decoration: none;
    perspective: 1000px;
}

.web-card-inner {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.web-card:hover .web-card-inner {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.web-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.web-card h3 {
    font-family: var(--font-heading);
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.web-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.web-tag {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.web-card:hover .web-tag {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Links Section */
.links-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 100px 10%;
}

.links-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.link-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.link-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
}

.link-card:hover .link-icon {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}

.link-card h3 {
    font-family: var(--font-heading);
    color: var(--text);
    font-size: 1.4rem;
}

.link-card span {
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Contact Footer */
#contact {
    padding: 6rem 10% 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-col p,
.footer-col a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--text);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats {
        margin-top: 2rem;
    }

    .about-visual div {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
}



/* Contact Section & Form */
#contact {
    padding: 100px 10%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto 5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-dim);
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem;
    color: #fff;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

#submit-btn {
    background: var(--gold);
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.5s ease;
}

#submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    letter-spacing: 3px;
}

/* Footer Grid Adjustments */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-wrapper {
        padding: 2.5rem;
    }
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Changed to transparent to see the splash effect */
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.intro-logo-container {
    position: relative;
    max-width: 600px;
    width: 80%;
    /* No overflow: hidden here so glow can spread out */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background: radial-gradient(circle at center,
            rgba(212, 175, 55, 0.12) 0%,
            rgba(212, 175, 55, 0.05) 25%,
            rgba(0, 0, 0, 0) 60%);
    filter: blur(60px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.signature-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Clips only the shine sweep */
    z-index: 1;
    will-change: transform;
}

/* Ensure the shine-sweep is still clipped to the signature only */
/* We need a separate container for things that SHOULD be clipped (like the shine sweep) */
.shine-sweep {
    /* To keep the shine contained to the logo area, we might need a different approach
       since we removed overflow:hidden from the main container.
       But the user wants the GLOW to spread. The sweep should ideally only be on the logo.
    */
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(212, 175, 55, 0.1) 40%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(212, 175, 55, 0.1) 60%,
            transparent 100%);
    transform: skewX(-30deg);
    z-index: 5;
    pointer-events: none;
    /* We can use mix-blend-mode or mask if needed, but for now let's focus on the glow */
}

#intro-signature {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    opacity: 0;
    position: relative;
    z-index: 1;
}

#skip-intro {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 5001;
    text-transform: uppercase;
    border-radius: 4px;
}

main,
nav,
#bg-canvas {
    opacity: 0;
}

body.site-active main,
body.site-active nav,
body.site-active #bg-canvas {
    opacity: 1;
}

body.instant-transition main,
body.instant-transition nav,
body.instant-transition #bg-canvas {
    transition: none !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 4000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}