html[data-theme="gold"] .glass-theme {
    --glass-ink: #382c16;
    --glass-muted: #716044;
    --glass-accent: #815809;
    --glass-rgb: 255, 252, 242;
    --glass-surface: #fffcf2;
    --glass-input: #fffdf7;
    --glass-tile: #fbf1d9;
    --glass-active: #ffe9a1;
    --glass-active-end: #fff5d3;
    --glass-link: #755010;
    --glass-border: #dbcaa4;
    --glass-shadow: 0 8px 22px rgba(103, 70, 9, .12);
    --gold-finish: linear-gradient(165deg, #fffbe2 0%, #ffe9a1 25%, #f4cb5e 62%, #ddb03d 88%, #fff0ae 100%);
    --gold-bevel: inset 0 2px 2px #fffbe7, inset 0 -3px 4px rgba(153, 103, 9, .28), 0 4px 8px rgba(103, 70, 9, .18);
    --insuco-text: #716044;
    --insuco-base: #815809;
    --insuco-primary: #382c16;
    --theme-primary: #815809;
    --theme-primary-hover: #654308;
    background: radial-gradient(ellipse at top left, #ffe9a1, transparent 55%),
        radial-gradient(ellipse at right, #fff3ce, transparent 60%), #f7f3e9;
    color: var(--glass-ink);
}

html[data-theme="gold"] .glass-theme :is(.tirupati-nav, .tirupati-nav .nav-link,
    .tirupati-nav .flagbtn, .tirupati-nav .navbar-toggler, .appearance-controls summary,
    .ai-chat summary, .btn-primary, .btn-info, .thm-btn, .cd-hero__btn,
    .view-events-btn, .btn-link-theme, .ph-read-more, .ph-more-features,
    button[type="submit"], input[type="submit"],
    .events-section .date-badge, .events-section .event-info) {
    background: var(--gold-finish) !important;
    color: #382906 !important;
    border: 1px solid #bd8c21;
    box-shadow: var(--gold-bevel);
    text-shadow: 0 1px rgba(255, 255, 255, .5);
}

html[data-theme="gold"] .glass-theme :is(.thm-btn, .cd-hero__btn)::before {
    background: var(--gold-finish);
}

html[data-theme="gold"] .glass-theme .tirupati-nav {
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
}

html[data-theme="gold"] .glass-theme :is(.dropdown-menu, .contact-box, .containers,
    .service-card-four, .team-card, .card, .tmodbox, .funfact-one__card,
    .testimonial-card, .ph-card, .news, .accordion-item, .modal-content,
    .appearance-panel, .ai-chat-panel) {
    background: var(--glass-surface) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 #fff, var(--glass-shadow);
    color: var(--glass-ink);
}

html[data-theme="gold"] .glass-theme :is(.funfact-one__card, .tmodbox) {
    padding: 20px;
}

html[data-theme="gold"] .glass-theme :is(.section-about, .section-service,
    .section-statistics, .section-ourteam, .section-news, .section-faq,
    .section-faqdetails, .contact-one, .contact-two, .about-one, .about-two,
    .team-four, .service-four, .product-section, .proabout-section, .demo-section,
    .section-testimonials, .bg-white, .bg-light:not(.tirupati-nav)) {
    background-color: transparent !important;
    color: var(--glass-ink);
}

html[data-theme="gold"] .glass-theme :is(.ph-section, .events-section) {
    background: transparent !important;
}

html[data-theme="gold"] .glass-theme :is(.sec-title__title, .sec-title__tagline,
    .service-card-four__title, .service-card-four__title a, .service-card-four__text,
    .funfact-one__card__title, .funfact-one__card__text, .funfact-one__card__icon,
    .card-title, .card-text, .team-card__content, .team-card__title a,
    .tmodbox a, .tmodbox h3, .tmodbox h4, .tmodbox h5, .tmodbox p,
    .contact-box label, .contact-one__text, .contact-two__text, .newssubs,
    .ph-header h1, .ph-header h1 span, .ph-header p, .ph-body h3,
    .ph-description, .ph-section-title, .ph-feature-text,
    .events-section .date-badge *, .events-section .event-info *) {
    color: var(--glass-ink) !important;
}

html[data-theme="gold"] .glass-theme :is(.text-theme, .service-card-four__link,
    .tirupati-nav .socials i, .footer-two__widget__social a) {
    color: var(--glass-link) !important;
}

html[data-theme="gold"] .glass-theme :is(.service-card-four__bg,
    .service-card-four__content, .card-body, .team-card__content) {
    background: transparent !important;
}

html[data-theme="gold"] .glass-theme :is(.ph-tag, .ph-number, .ph-title-icon,
    .ph-feature-icon, .ph-feature-item, .ph-image-placeholder) {
    background: var(--glass-tile);
    color: var(--glass-link);
    border-color: var(--glass-border);
}

html[data-theme="gold"] .glass-theme :is(.service-card-four__circle,
    .tirupati-nav .dropdown-item i, .tirupati-nav .dropdown-item img) {
    background: var(--glass-tile);
    color: var(--glass-link) !important;
}

html[data-theme="gold"] .glass-theme :is(.form-control, .form-select, .nice-select,
    .contact-box input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
    .contact-box textarea, .contact-box select, .news input:not([type="submit"]):not([type="hidden"]),
    .ai-chat-panel textarea, .appearance-panel select) {
    background: var(--glass-input);
    color: var(--glass-ink);
    border: 1px solid #b79a58;
    border-radius: 12px;
}

html[data-theme="gold"] .glass-theme .form-control.is-invalid {
    border-color: #b32635;
}

html[data-theme="gold"] .glass-theme :is(.tirupati-nav .nav-link:hover,
    .tirupati-nav .nav-link[aria-expanded="true"], .dropdown-item:hover,
    .dropdown-item:focus, .dropdown-item.active, .active > .dropdown-item) {
    background: linear-gradient(135deg, #ffe49b, #fff8e3) !important;
    border-color: #815809 !important;
    color: #382906 !important;
}

html[data-theme="gold"] .glass-theme :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #815809;
    outline-offset: 3px;
}

html[data-theme="gold"] .glass-theme :is(input[type="range"], input[type="checkbox"], input[type="radio"]) {
    accent-color: #815809;
}

html[data-theme="gold"] .glass-theme .footer-two {
    background: linear-gradient(145deg, #fff6d9, #ead49d) !important;
    border-top: 1px solid #bd8c21;
    color: var(--glass-ink);
}

html[data-theme="gold"] .glass-theme .footer-two :is(p, h3, a, li, .footer-two__copyright__text) {
    color: var(--glass-ink);
}

html[data-theme="gold"] .glass-theme :is(.footer-two__widget__social a, .footer-two__copyright) {
    border-color: var(--glass-border);
    background: var(--glass-surface);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    html[data-theme="gold"] .glass-theme :is(.dropdown-menu, .contact-box, .containers,
        .service-card-four, .team-card, .card, .tmodbox, .funfact-one__card,
        .testimonial-card, .ph-card, .news, .accordion-item, .modal-content,
        .appearance-panel, .ai-chat-panel) {
        background: rgba(var(--glass-rgb), var(--glass-opacity, .8)) !important;
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        backdrop-filter: blur(12px) saturate(120%);
    }
}

@media print {
    html[data-theme="gold"] .glass-theme,
    html[data-theme="gold"] .glass-theme * {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .glass-theme :is(.appearance-controls, .ai-chat, .tirupati-nav, .sticky-icon) {
        display: none !important;
    }
}
