/* Extracted custom styles from index.html */
.mask-gradient-b {
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

body {
    background-color: #030303;
    color: #e2e8f0;
}

[x-cloak] { display: none !important; }

.interactive-outline {
    border-radius: inherit;
    position: relative;
}

.interactive-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.75), 0 0 0 4px rgba(3, 7, 18, 0.85);
}

/* Glass fallback helpers */
.glass-card {
    background-color: rgba(15, 23, 42, 0.4);
    border-color: rgba(148, 163, 184, 0.25);
}

.glass-chip {
    background-color: rgba(15, 23, 42, 0.55);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-card {
        background-color: rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-color: rgba(248, 250, 252, 0.08);
    }

    .glass-chip {
        background-color: rgba(15, 23, 42, 0.32);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-card {
        background-color: rgba(3, 7, 18, 0.9);
        border-color: rgba(148, 163, 184, 0.45);
        box-shadow: 0 25px 45px rgba(2, 6, 23, 0.65);
    }

    .glass-chip {
        background-color: rgba(15, 23, 42, 0.85);
    }
}

/* Decorative + motion helpers */
.decor-layer {
    will-change: transform, opacity;
}

.motion-element {
    will-change: transform, opacity;
}

.particle-field {
    pointer-events: none;
}

@media (max-width: 640px) {
    .decor-layer:not(.decor-layer--noise) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .decor-layer,
    .motion-element,
    .particle-field {
        display: none !important;
    }
}

body.motion-reduced .decor-layer,
body.motion-reduced .motion-element,
body.motion-reduced .particle-field {
    display: none !important;
}

body.motion-reduced *,
body.motion-reduced *::before,
body.motion-reduced *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Logo styling */
.logo-img {
    display: block;
    filter: drop-shadow(0 8px 20px rgba(168,85,247,0.12));
    transition: filter 240ms ease;
}
.logo-img:hover {
    /* No movement on hover — only strengthen glow */
    filter: drop-shadow(0 18px 32px rgba(168,85,247,0.18));
}
.logo-glow {
    width: 60%;
    height: 48%;
    background: radial-gradient(circle at 50% 35%, rgba(168,85,247,0.12), rgba(168,85,247,0.06) 30%, transparent 60%);
    filter: blur(18px);
    border-radius: 8px;
    pointer-events: none;
}

/* Custom Scrollbar for Textarea (shared with contact page) */
textarea::-webkit-scrollbar {
    width: 8px;
}
textarea::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
textarea::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
