:root {
    --color-maroon: #5b0a1a;
    --color-maroon-dark: #1f0408;
    --color-gold: #e8bd4b;
    --color-gold-light: #fce79f;
    --color-saffron: #f57e16;
    --color-ivory: #fffdf5;
    --color-dark: #0a0503;
    --color-dark-surface: #140906;
    --glow-gold: rgba(232, 189, 75, 0.4);
    --glow-gold-strong: rgba(232, 189, 75, 0.8);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-ivory);
    background: #000;
    background-image: radial-gradient(circle at 50% -10%, #30050d, #090302 60%, #000000 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

.gold-text, .text-gold {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px var(--glow-gold);
    display: inline-block;
}

/* Elegant Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--color-maroon), var(--color-gold)); border-radius: 10px; }

html {
    scroll-behavior: smooth;
}

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

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-ivory { color: var(--color-ivory); }
.text-muted { color: rgba(255, 255, 240, 0.7); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-saffron));
    color: var(--color-maroon-dark) !important;
    box-shadow: 0 8px 25px var(--glow-gold);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 12px 35px var(--glow-gold-strong);
    transform: translateY(-4px);
}

.btn-secondary {
    background: rgba(255,255,255,0.03);
    border-color: var(--color-gold);
    color: var(--color-gold);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(232, 189, 75, 0.15);
    box-shadow: 0 0 25px var(--glow-gold);
    transform: translateY(-4px);
    color: var(--color-ivory);
}

.sm-btn { padding: 10px 20px; font-size: 0.9rem; }
.large-btn { padding: 15px 40px; font-size: 1.1rem; }
.w-100 { width: 100%; display: block; }

/* Effects & Animations */
.glow-hover {
    transition: var(--transition);
}
.glow-hover:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 35px var(--glow-gold);
    border-color: var(--color-gold-light);
    transform: translateY(-10px) scale(1.02);
}

.pulse-animation {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; filter: brightness(1.2); }
    100% { transform: scale(1); opacity: 0.8; }
}

.rotating-slow {
    animation: rotate 20s linear infinite;
}

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

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Elements */
#floating-om {
    position: fixed;
    top: 50%;
    left: 20px;
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.2;
    font-family: 'Cinzel', serif;
    animation: float-om 6s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 0 15px var(--color-gold);
}

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

.floating-diya {
    position: fixed;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffeb3b, #ff9800);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.f-diya-1 { top: 30%; right: 10%; animation: float 7s ease-in-out infinite alternate; }
.f-diya-2 { bottom: 20%; left: 8%; animation: float 5s ease-in-out infinite alternate-reverse; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(15px, -30px); }
}

/* Ambient Sound Toggle */
#ambient-sound-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(18, 10, 6, 0.8);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

#ambient-sound-toggle:hover {
    background: var(--color-gold);
    color: var(--color-maroon-dark);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.scrolled {
    background-color: rgba(10, 5, 3, 0.9);
    padding: 15px 0;
    border-bottom: 1px solid rgba(232, 189, 75, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

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

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

.icon-gold {
    color: var(--color-gold);
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--glow-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--color-gold);
}

.logo-text small {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-ivory);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--color-gold);
}

.nav-donate-btn {
    border: 1px solid var(--color-gold);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--color-gold) !important;
}

.nav-donate-btn:hover {
    background: var(--color-gold);
    color: var(--color-maroon-dark) !important;
}

.nav-register-btn {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border: 1px solid var(--color-gold);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--color-maroon-dark) !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px var(--glow-gold);
}

.nav-register-btn:hover {
    box-shadow: 0 4px 25px var(--glow-gold-strong);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
}

/* Base Section */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.dark-section {
    background-color: var(--color-dark-surface);
}

.bg-pattern {
    background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.title-underline {
    height: 2px;
    width: 60px;
    background: var(--color-gold);
    margin-bottom: 25px;
}

.center-underline {
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(74, 11, 22, 0.4) 0%, var(--color-dark) 70%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.sub-greeting {
    font-family: 'Inter', sans-serif;
    color: var(--color-saffron);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.main-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-ivory);
    text-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 25px rgba(232, 189, 75, 0.3);
    letter-spacing: 3px;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.deity-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,153,51,0.3) 0%, rgba(212,175,55,0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.deity-border {
    position: relative;
    z-index: 2;
    padding: 10px;
    background: linear-gradient(135deg, var(--color-gold), transparent, var(--color-gold));
    border-radius: 50% 50% 0 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-deity-img {
    width: 100%;
    height: auto;
    border-radius: 50% 50% 0 0;
    display: block;
    object-fit: cover;
    animation: majesticFloat 6s ease-in-out infinite;
}

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

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-graphic {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mandala-circle {
    width: 300px;
    height: 300px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    background-image: repeating-radial-gradient(transparent 0, transparent 15px, rgba(212, 175, 55, 0.1) 15px, rgba(212, 175, 55, 0.1) 30px);
    position: relative;
}

.mandala-circle::before, .mandala-circle::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px dashed var(--color-gold);
    border-radius: 50%;
    animation: rotate 30s linear infinite reverse;
}

.quote-box {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--color-gold);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.quote-text {
    font-style: italic;
    color: var(--color-gold-light);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(180deg, rgba(30, 20, 15, 0.6) 0%, rgba(10, 5, 3, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 189, 75, 0.25);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
}

.bg-maroon {
    background: linear-gradient(180deg, rgba(91, 10, 26, 0.7) 0%, rgba(20, 5, 8, 0.9) 100%);
    border: 1px solid rgba(232, 189, 75, 0.4);
    box-shadow: 0 25px 50px rgba(232, 189, 75, 0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
}

.card-separator {
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin: 15px 0;
}

.pooja-timings li, .rituals-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.rituals-list li {
    justify-content: flex-start;
    gap: 10px;
    border-bottom: none;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-form input, .booking-form select, .custom-amount, .form-input {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--color-ivory);
    font-family: var(--font-body);
}

.booking-form input:focus, .booking-form select:focus, .form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 5px var(--glow-gold);
}

/* Events */
.events-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(232, 189, 75, 0.2);
    border-radius: 20px;
    border-left: 6px solid var(--color-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    overflow: hidden;
}

.event-date {
    background: var(--color-maroon);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    border-radius: 8px 0 0 8px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    color: var(--color-gold);
    margin-bottom: 8px;
}

/* Gallery */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.placeholder-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s;
}

.gallery-item:hover .placeholder-img {
    transform: scale(1.05);
}

.ph-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-ivory);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0.8;
}

/* Donations */
.donations-container {
    max-width: 700px;
    margin: 0 auto;
}

.donation-icon {
    font-size: 3rem;
}

.emotional-line {
    font-size: 1.2rem;
    font-style: italic;
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.donation-type {
    padding: 15px 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    cursor: pointer;
}

.donation-type.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.amount-btn {
    background: var(--color-dark);
    border: 1px solid var(--color-gold);
    color: var(--color-ivory);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover, .amount-btn.active {
    background: var(--color-gold);
    color: var(--color-dark);
}

.custom-amount {
    width: 150px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.faq-item {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    background: var(--color-dark-surface);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Contact */
.border-top-gold { border-top: 2px solid rgba(212, 175, 55, 0.3); }

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: 5px;
}

.info-group h4 {
    margin-bottom: 5px;
    color: var(--color-ivory);
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    margin-right: 15px;
}

.social-links a:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

.contact-form-box {
    flex: 1;
    background: linear-gradient(180deg, rgba(20, 10, 5, 0.6) 0%, rgba(5, 2, 1, 0.8) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 45px;
    border-radius: 24px;
    border: 1px solid rgba(232, 189, 75, 0.3);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
}

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

/* Footer */
footer {
    background: #080402;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand { flex: 1.5; min-width: 250px; }
.footer-links { flex: 1; min-width: 150px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a:hover { color: var(--color-gold); padding-left: 5px; }

.footer-newsletter { flex: 1.5; min-width: 250px; }

.newsletter-form {
    display: flex;
    margin-top: 15px;
}
.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255,255,255,0.05);
    color: var(--color-ivory);
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-left { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .about-container { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-container { flex-direction: column; }
    
    .nav-links {
        display: none; /* simple hidden for demo without JS mobile menu active */
    }
    .mobile-menu-btn { display: block; }

    .main-title { font-size: 3rem; }
}

@media (max-width: 500px) {
    .main-title { font-size: 2.2rem; }
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--color-maroon), var(--color-dark), var(--color-maroon));
    color: var(--color-gold);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 1001; /* Above header if needed */
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-gold);
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

header {
    top: 38px; /* Offset for announcement bar */
}

header.scrolled {
    top: 0;
}

/* Chatbot Styles */
#chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 170px; /* Adjusting left of the sound toggle */
    z-index: 1000;
}

.chatbot-toggle {
    background: var(--color-gold);
    color: var(--color-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e63946;
    color: white;
    font-size: 0.8rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.chat-window {
    width: 350px;
    height: 450px;
    background: var(--color-dark-surface);
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
}

.chat-header {
    background: var(--color-maroon);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-gold);
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-msg, .user-msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-msg {
    align-self: flex-start;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom-left-radius: 2px;
}

.user-msg {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-maroon-dark);
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(0,0,0,0.3);
}

.chat-input-area input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-ivory);
    padding: 10px;
    outline: none;
    font-family: var(--font-body);
}

.chat-input-area input::placeholder {
    color: rgba(255,255,255,0.4);
}

.chat-input-area button {
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
    transition: transform 0.2s;
}

.chat-input-area button:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    #chatbot-widget {
        right: 20px;
        bottom: 90px;
    }
    .chat-window {
        width: 300px;
        height: 400px;
    }
}
