/* ==========================================================================
   Don Rodri - Landing Page Stylesheet (Agenda 2026)
   Theme: Elegant Dark & Gold (Premium Music Education)
   ========================================================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Design Variables */
:root {
    --bg-deep: #080808;
    --bg-dark: #121212;
    --bg-card: rgba(22, 22, 22, 0.7);
    --bg-card-hover: rgba(30, 30, 30, 0.85);
    
    --primary-gold: #c5a059;
    --light-gold: #e2c99a;
    --dark-gold: #967439;
    --gold-gradient: linear-gradient(135deg, #c5a059 0%, #e2c99a 50%, #967439 100%);
    --gold-glow: rgba(197, 160, 89, 0.2);
    --gold-border: rgba(197, 160, 89, 0.15);
    --gold-border-hover: rgba(197, 160, 89, 0.4);
    
    --text-white: #ffffff;
    --text-light: #f3f3f3;
    --text-muted: #a5a5a5;
    
    --whatsapp-green: #25d366;
    --whatsapp-green-hover: #20ba59;
    --whatsapp-glow: rgba(37, 211, 102, 0.3);
    
    --font-title: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--dark-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Selection */
::selection {
    background: var(--primary-gold);
    color: var(--bg-deep);
}

/* Typography & Links */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--light-gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-gold); /* Fallback */
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--gold-border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
    transform: translateY(-5px);
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000000;
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5), 0 0 15px rgba(226, 201, 154, 0.3);
    color: #000000;
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-green-hover);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: var(--text-white);
}

/* Header / Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
}

header .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    border: 1px solid var(--gold-border);
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
}

.instagram-link:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(197, 160, 89, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background-image: 
        linear-gradient(to right, rgba(8, 8, 8, 0.95) 30%, rgba(8, 8, 8, 0.7) 60%, rgba(8, 8, 8, 0.95) 100%),
        url('img/instruments.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Fallback/Overlay to guarantee readability */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-tag {
    font-family: var(--font-title);
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 5px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feat-item svg {
    color: var(--primary-gold);
    flex-shrink: 0;
}

/* Height-based adjustments for Desktop screens (guaranteeing above-the-fold visibility) */
@media (min-width: 992px) and (max-height: 850px) {
    .hero {
        padding-top: 100px;
    }
    .hero-tag {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 3px;
    }
    .hero h1 {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    .hero-features {
        margin-bottom: 25px;
        gap: 12px;
    }
    .hero-feat-item {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) and (max-height: 720px) {
    .hero {
        padding-top: 90px;
    }
    .hero-tag {
        font-size: 0.9rem;
        margin-bottom: 8px;
        padding-bottom: 2px;
    }
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .hero-features {
        margin-bottom: 18px;
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .hero {
        background-image: 
            linear-gradient(to bottom, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.85) 50%, rgba(8, 8, 8, 0.95) 100%),
            url('img/instruments.png');
        background-position: center;
        text-align: center;
        padding-top: 140px;
        padding-bottom: 60px;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-features {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-feat-item {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Differential/Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    position: relative;
    overflow: hidden;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-gold);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-gold);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
    transform: rotateY(360deg);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Instruments Section */
.instruments {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
    position: relative;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.instrument-card {
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.instrument-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.instrument-icon svg {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: var(--primary-gold);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.instrument-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.instrument-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.instrument-card:hover .instrument-icon {
    transform: scale(1.15) translateY(-5px);
}

.instrument-card:hover .instrument-icon svg {
    stroke: var(--light-gold);
    filter: drop-shadow(0 0 8px rgba(226, 201, 154, 0.6));
}

@media (max-width: 992px) {
    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instruments-grid {
        grid-template-columns: 1fr;
    }
}

/* About Teacher Section */
.teacher-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.teacher-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.teacher-subtitle {
    color: var(--primary-gold);
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
}

.teacher-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--gold-border);
    padding-top: 25px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
    white-space: nowrap;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .teacher-stats {
        gap: 10px;
    }
    .stat-item h4 {
        font-size: 1.4rem;
    }
    .stat-item p {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
}

.teacher-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    padding: 10px;
}

.teacher-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.teacher-frame img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%) contrast(105%);
}

.teacher-frame:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(105%);
}

/* Artistic golden border frames around the photo */
.teacher-image-wrapper::before,
.teacher-image-wrapper::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-gold);
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.teacher-image-wrapper::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.teacher-image-wrapper::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.teacher-image-wrapper:hover::before {
    top: -5px;
    left: -5px;
}

.teacher-image-wrapper:hover::after {
    bottom: -5px;
    right: -5px;
}

@media (max-width: 992px) {
    .teacher-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .teacher-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
        order: -1; /* Image first on mobile */
    }
}

/* Contact / Capture Section */
.contact-section {
    background: radial-gradient(circle at center, var(--bg-dark) 0%, var(--bg-deep) 100%);
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    font-size: 1.05rem;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-detail-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.contact-detail-text a {
    color: var(--text-white);
}

.contact-detail-text a:hover {
    color: var(--primary-gold);
}

/* Form Styles */
.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(8, 8, 8, 0.6);
    border: 1px solid var(--gold-border);
    color: var(--text-white);
    padding: 14px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(18, 18, 18, 0.9);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a059' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

select.form-control option {
    background: var(--bg-dark);
    color: var(--text-white);
}

textarea.form-control {
    resize: none;
    min-height: 100px;
}

.btn-form {
    width: 100%;
    max-width: 340px;
    margin: 20px auto 0;
    font-size: 0.9rem;
    padding: 12px 24px;
    display: flex;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-panel {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Footer */
footer {
    background: #040404;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-weight: 300;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    background: rgba(197, 160, 89, 0.05);
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

.footer-links a:hover {
    color: var(--primary-gold);
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
}

/* Floating WhatsApp Badge */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--whatsapp-glow);
    color: var(--text-white);
    font-size: 2rem;
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-floating:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.1) rotate(10deg);
}

@media (max-width: 576px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    body.has-cookie-banner .whatsapp-floating {
        bottom: 230px;
    }
}

/* Cookie & LGPD Consent Popup */
.lgpd-consent-popup {
    position: fixed;
    bottom: -250px;
    left: 24px;
    width: 420px;
    max-width: calc(100vw - 48px);
    z-index: 998;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lgpd-consent-popup.show {
    bottom: 24px;
}

.lgpd-consent-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lgpd-consent-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.lgpd-consent-text a {
    color: var(--primary-gold);
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-consent-text a:hover {
    color: var(--light-gold);
}

.lgpd-consent-actions {
    display: flex;
    justify-content: flex-end;
}

.lgpd-consent-btn {
    background: var(--gold-gradient);
    color: #000000;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

.lgpd-consent-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

@media (max-width: 576px) {
    .lgpd-consent-popup {
        left: 12px;
        max-width: calc(100vw - 24px);
    }
    .lgpd-consent-popup.show {
        bottom: 12px;
    }
}

/* Custom Select Dropdown for Instrument Selector */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(8, 8, 8, 0.6);
    border: 1px solid var(--gold-border);
    color: var(--text-white);
    padding: 14px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(18, 18, 18, 0.9);
}

.custom-select-trigger .selected-val-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-select-trigger .selected-val-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-gold);
    stroke-width: 2.2;
    fill: none;
}

.custom-select-trigger .arrow {
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a059' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.custom-option:hover {
    background: rgba(197, 160, 89, 0.05);
    color: var(--text-white);
}

.custom-option.selected {
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary-gold);
}

.custom-option svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

/* ── TOP PREVIEW BAR (DEMO BAR) OVERRIDES & STYLES ───────────────── */
:root {
    --demo-bar-height: 70px;
}

@media (max-width: 640px) {
    :root {
        --demo-bar-height: 50px;
    }
}

body {
    padding-top: var(--demo-bar-height) !important;
}

header {
    top: var(--demo-bar-height) !important;
}

/* Top Preview Bar Container */
.demo-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--demo-bar-height);
    background-color: rgba(17, 24, 39, 0.9) !important; /* bg-gray-900/90 */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, height 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box;
}

.demo-bar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.demo-bar-link {
    font-family: 'Inter', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #9ca3af !important; /* text-gray-400 */
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    transition: color 0.2s ease-in-out !important;
}

.demo-bar-link:hover {
    color: #ffffff !important;
}

.demo-bar-link i {
    margin-right: 8px !important;
    font-size: 14px !important;
}

.demo-bar-badge {
    border: 1px solid rgba(197, 160, 89, 0.3) !important; /* to match gold theme */
    color: #c5a059 !important; /* primary gold */
    background-color: rgba(197, 160, 89, 0.05) !important;
    font-family: 'Inter', sans-serif !important;
    padding: 6px 16px !important;
    font-size: 12px !important;
    line-height: 16px !important;
    display: inline-block !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 600 !important;
    user-select: none !important;
}

.demo-bar-button {
    background-color: #c5a059 !important; /* primary gold */
    color: #080808 !important; /* gold-on-dark theme */
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2) !important;
    transition: all 0.15s ease-in-out !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    line-height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.demo-bar-button:hover {
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4) !important;
    transform: scale(1.05) !important;
    opacity: 0.95 !important;
}

.demo-bar-button i {
    color: #080808 !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

.demo-bar-button span {
    color: #080808 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .demo-bar-badge {
        padding: 4px 10px !important;
        font-size: 10px !important;
        letter-spacing: 0.08em !important;
    }
    .demo-bar-button {
        padding: 6px 10px !important;
        font-size: 10px !important;
    }
    .demo-bar-link {
        font-size: 11px !important;
    }
    .demo-bar-link i {
        margin-right: 6px !important;
        font-size: 12px !important;
    }
}
