/* ============================================================
   DCG Gaming — Custom CSS
   Dark gaming aesthetic with purple accents
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #0f0f1a;
    --bg-card: #13131f;
    --bg-card-hover: #1a1a2e;
    --text-primary: #e8e8f0;
    --text-secondary: #8888a0;
    --text-muted: #555570;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #5b21b6;
    --accent-glow: rgba(124, 58, 237, 0.3);
    --accent-glow-strong: rgba(124, 58, 237, 0.6);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c084fc 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --border-color: rgba(124, 58, 237, 0.15);
    --border-color-hover: rgba(124, 58, 237, 0.4);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

::selection {
    background: var(--accent);
    color: white;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.text-accent {
    color: var(--accent-light) !important;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
    color: #fff;
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent-light);
    background: transparent;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-lg {
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
}

/* --- Navbar --- */
.navbar {
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    transition: all var(--transition);
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand img {
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition);
    position: relative;
}


.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link:not(.dropdown-toggle):hover::after,
.nav-link:not(.dropdown-toggle).active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--accent-glow);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, var(--accent-glow) 0%, transparent 60%);
    z-index: 1;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow-strong); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-logo {
    width: 300px;
    max-width: 100%;
    filter: drop-shadow(0 0 40px var(--accent-glow-strong));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* --- Glow Card --- */
.glow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.glow-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card > * {
    position: relative;
    z-index: 1;
}

/* --- Stats Section --- */
.stat-item {
    padding: 1.5rem 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* --- About Visual --- */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.about-visual-inner {
    padding: 2rem;
}

.about-visual img {
    max-width: 250px;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

/* --- Service Cards --- */
.service-card {
    height: 100%;
    text-align: center;
}

a.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.service-card-link:hover {
    color: inherit;
    transform: translateY(-4px);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-light);
    transition: all var(--transition);
}

.glow-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-glow);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Step Cards --- */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Edition Cards --- */
.edition-card {
    height: 100%;
}

.edition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.edition-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-light);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.edition-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.edition-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.edition-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Thanks --- */
.thanks-icon {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(0.9);
    transition: filter var(--transition);
}

.thanks-logo:hover {
    filter: brightness(1.1);
}

/* --- Value Cards --- */
.value-card {
    height: 100%;
    padding: 2.5rem 2rem;
}

.value-icon {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.value-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dark), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2.5rem);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2.5rem);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--accent-glow-strong);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    padding: 1.75rem 2rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.timeline-text strong {
    color: var(--text-primary);
}

.timeline-year--current {
    background: var(--gradient-accent);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow-strong); }
    50% { box-shadow: 0 0 35px var(--accent-glow-strong), 0 0 60px var(--accent-glow); }
}

.timeline-current {
    border-color: var(--accent) !important;
    background: rgba(124, 58, 237, 0.05);
}

@media (max-width: 991.98px) {
    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 5rem;
        padding-right: 0;
    }

    .timeline-marker {
        left: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 4rem;
    }

    .timeline-content {
        padding: 1.25rem 1.5rem;
    }
}

/* --- Contact --- */
.contact-info-card {
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    color: var(--accent-light);
}

.contact-info-item h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    padding: 2.5rem;
}

/* --- Forms --- */
.form-control,
.form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    transition: all var(--transition);
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-primary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* --- FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-card {
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.faq-card:hover {
    border-color: var(--border-color-hover);
}

.faq-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-card-header[aria-expanded="true"] {
    padding-bottom: 0.75rem;
}

.faq-number {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    min-width: 2rem;
}

.faq-card-header[aria-expanded="true"] .faq-number {
    opacity: 1;
}

.faq-question {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.faq-card-header[aria-expanded="true"] .faq-question {
    color: var(--accent-light);
}

.faq-toggle {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
    display: flex;
}

.faq-card-header[aria-expanded="true"] .faq-toggle {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.faq-answer {
    padding: 0 2rem 1.75rem 5.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Page Header --- */
.page-header {
    position: relative;
    padding: 10rem 0 4rem;
    background: var(--gradient-dark);
    text-align: center;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

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

/* --- CTA Section --- */
.section-cta {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand img {
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.footer-brand .brand-text {
    font-size: 1.3rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links li a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links li a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-copy a {
    color: var(--text-muted);
}

.footer-copy a:hover {
    color: var(--accent-light);
}

/* --- Reveal Animations --- */
.reveal-hidden {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-hidden[data-reveal-direction-value="up"] {
    transform: translateY(40px);
}

.reveal-hidden[data-reveal-direction-value="down"] {
    transform: translateY(-40px);
}

.reveal-hidden[data-reveal-direction-value="left"] {
    transform: translateX(-40px);
}

.reveal-hidden[data-reveal-direction-value="right"] {
    transform: translateX(40px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Particles --- */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
    pointer-events: none;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0);
    }
}

/* --- Rebrand Banner --- */
.section-rebrand {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(124, 58, 237, 0.06) 50%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* --- Prestations --- */
.presta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.presta-visual-icon {
    color: var(--accent-light);
    opacity: 0.6;
    transition: all var(--transition);
}

.glow-card:hover .presta-visual-icon {
    opacity: 1;
    transform: scale(1.1);
}

.presta-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.presta-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.presta-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* --- Game Jam Highlight --- */
.gamejam-highlight {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.gamejam-number {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.5rem;
}

.gamejam-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

/* --- Dropdown Menu (hover on desktop) --- */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0;
    backdrop-filter: blur(20px);
}

.dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-light);
}

/* --- Expertise grid --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.expertise-item:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.expertise-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--accent-light);
}

.expertise-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* --- Partner Carousel --- */
.partner-carousel {
    overflow: hidden;
    border-radius: var(--radius);
}

.partner-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    min-height: 60px;
}

.partner-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--transition);
    filter: grayscale(0.3);
}

.partner-logo:hover img {
    opacity: 1;
    filter: none;
}

/* --- Cookie Modal --- */
.notice-modal {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1060;
    width: 340px;
    max-width: calc(100vw - 2rem);
    animation: notice-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notice-modal-hidden {
    display: none !important;
}

@keyframes notice-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notice-modal-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

.notice-modal-icon {
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.notice-modal-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.notice-modal-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.notice-modal-text a {
    color: var(--accent-light);
}

.notice-modal-text-small {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .notice-modal {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

/* --- Legal Page --- */
.legal-block h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.legal-block p,
.legal-block li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Album Page --- */
.album-cover {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.12) 100%);
    overflow: hidden;
}

.album-cover-inner {
    padding: 0;
}

.album-cover-visual {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
}

.album-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.album-cover-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    background: rgba(124, 58, 237, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.album-cover-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
}

.album-cover-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.album-section .section-tag {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* --- AI Notice --- */
.ai-notice {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.ai-notice-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 0;
}

.ai-notice-icon {
    flex-shrink: 0;
    color: var(--accent-light);
    opacity: 0.8;
    margin-top: 0.2rem;
}

.ai-notice-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.ai-notice-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Album Player --- */
.album-player-sticky {
    position: sticky;
    top: 100px;
}

.album-player {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.album-player-inner {
    padding: 0;
}

.player-vinyl-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* --- Vinyl Disc --- */
.vinyl-container {
    flex-shrink: 0;
}

.vinyl-disc {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #1a1a2e 0deg, #2a2a3e 10deg,
        #1a1a2e 20deg, #2a2a3e 30deg,
        #1a1a2e 40deg, #2a2a3e 50deg,
        #1a1a2e 60deg, #2a2a3e 70deg,
        #1a1a2e 80deg, #2a2a3e 90deg,
        #1a1a2e 100deg, #2a2a3e 110deg,
        #1a1a2e 120deg, #2a2a3e 130deg,
        #1a1a2e 140deg, #2a2a3e 150deg,
        #1a1a2e 160deg, #2a2a3e 170deg,
        #1a1a2e 180deg, #2a2a3e 190deg,
        #1a1a2e 200deg, #2a2a3e 210deg,
        #1a1a2e 220deg, #2a2a3e 230deg,
        #1a1a2e 240deg, #2a2a3e 250deg,
        #1a1a2e 260deg, #2a2a3e 270deg,
        #1a1a2e 280deg, #2a2a3e 290deg,
        #1a1a2e 300deg, #2a2a3e 310deg,
        #1a1a2e 320deg, #2a2a3e 330deg,
        #1a1a2e 340deg, #2a2a3e 350deg,
        #1a1a2e 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: box-shadow var(--transition);
}

.vinyl-disc.spinning {
    animation: vinyl-spin 3s linear infinite;
    box-shadow: 0 0 30px var(--accent-glow);
}

.vinyl-disc.vinyl-accelerating {
    animation-duration: 1s;
}

.vinyl-disc.vinyl-decelerating {
    animation-duration: 8s;
}

.vinyl-disc.vinyl-stopping {
    animation-duration: 16s;
}

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

.vinyl-label {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 0 10px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vinyl-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.vinyl-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- Track Cover in Playlist --- */
.track-cover {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.player-track-info {
    flex: 1;
    min-width: 0;
}

.player-track-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
}

/* --- Player Progress --- */
.player-progress {
    margin-bottom: 1.25rem;
}

.player-progress-bar {
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height var(--transition);
}

.player-progress-bar:hover {
    height: 10px;
}

.player-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.player-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 2px solid #fff;
    box-shadow: 0 0 10px var(--accent-glow);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.player-progress-bar:hover .player-progress-handle {
    opacity: 1;
}

.player-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

/* --- Player Controls --- */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.player-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}

.player-btn:hover {
    background: rgba(124, 58, 237, 0.25);
    color: var(--accent-light);
    transform: scale(1.05);
}

.player-btn-active {
    background: rgba(124, 58, 237, 0.25);
    color: var(--accent-light);
    box-shadow: 0 0 12px var(--accent-glow);
}

.player-btn-play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.player-btn-play:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 30px var(--accent-glow-strong);
}

/* --- Player Volume --- */
.player-volume {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-mute-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.player-mute-btn:hover {
    color: var(--accent-light);
}

.player-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(124, 58, 237, 0.15);
    outline: none;
    cursor: pointer;
}

.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 2px solid #fff;
    box-shadow: 0 0 8px var(--accent-glow);
    cursor: pointer;
}

.player-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 2px solid #fff;
    box-shadow: 0 0 8px var(--accent-glow);
    cursor: pointer;
}

/* --- Album Playlist --- */
.album-playlist {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.album-playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.playlist-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.album-playlist-tracks {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 0.5rem;
}

.album-playlist-tracks::-webkit-scrollbar {
    width: 4px;
}

.album-playlist-tracks::-webkit-scrollbar-track {
    background: transparent;
}

.album-playlist-tracks::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

/* --- Playlist Track Item --- */
.playlist-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.playlist-track:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color);
}

.playlist-track.active {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
}

.track-index {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition);
}

.playlist-track.active .track-number {
    display: none;
}

.playlist-track.active .track-index {
    background: rgba(124, 58, 237, 0.15);
    box-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(124, 58, 237, 0.15);
}

.playlist-track.active .track-playing-icon {
    display: inline;
    color: var(--accent-light);
    filter: drop-shadow(0 0 4px var(--accent-glow-strong));
    width: 16px;
    height: 16px;
}

.track-playing-icon {
    display: none;
}

.track-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.track-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-track.active .track-name {
    color: var(--accent-light);
}

.playlist-track.listened .track-number {
    color: var(--accent);
}

.playlist-track.listened .track-name {
    color: var(--text-secondary);
}

.track-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.track-meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.track-duration {
    font-size: 0.75rem;
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-actions .me-3 {
        margin-right: 0 !important;
    }

    .hero-content .row {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-collapse {
        background: var(--bg-secondary);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .page-header-title {
        font-size: 1.8rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-desc {
        text-align: center;
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .gamejam-number {
        font-size: 4rem;
    }


    .presta-visual {
        min-height: 200px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .album-player-sticky {
        position: static;
    }

    .album-cover-visual {
        flex-direction: column;
        text-align: center;
    }

    .album-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 767.98px) {
    .footer-copy {
        text-align: center;
    }

    .text-md-end {
        text-align: center !important;
    }

    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        align-items: center;
    }

    .d-flex.justify-content-center.gap-3 .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

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

    .glow-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

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

    .section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 7rem 0 2.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        margin: 0 auto;
    }

    .partner-logo img {
        max-height: 50px;
    }
}

/* ============================================================
   Search
   ============================================================ */

/* --- Toggle button in navbar --- */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem !important;
    color: var(--text-secondary) !important;
    transition: color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
}

.search-toggle:hover,
.search-toggle:focus-visible {
    color: #fff !important;
    transform: scale(1.15);
}

/* --- Backdrop --- */
.search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* --- Modal --- */
.search-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 9999;
    width: 90%;
    max-width: 640px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.search-modal-content {
    background: rgba(19, 19, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 40px rgba(124, 58, 237, 0.15),
        0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* --- Header / Input --- */
.search-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-input-icon {
    color: var(--accent-light);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    caret-color: var(--accent-light);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.search-close kbd,
.search-shortcut kbd {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1;
}

/* --- Results --- */
.search-results {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dark) transparent;
}

.search-result-item {
    display: block;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item:focus {
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 0.2rem;
}

.search-result-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-empty {
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Footer --- */
.search-footer {
    padding: 0.6rem 1.25rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.search-shortcut {
    font-size: 0.7rem;
    color: var(--text-muted);
}
