:root {
    /* Color Palette - Default (Spring) */
    --clr-bg: #fdfaf6;
    --clr-primary: #8ab68c; 
    --clr-primary-hover: #75a277;
    --clr-secondary: #f4c2c2;
    --clr-accent: #e8a598;
    
    --clr-text-primary: #2d3748;
    --clr-text-secondary: #4a5568;
    --clr-error: #e53e3e;
    --clr-success: #38a169;
    
    --clr-glass-bg: rgba(255, 255, 255, 0.7);
    --clr-glass-border: rgba(255, 255, 255, 0.4);
    --clr-glass-shadow: rgba(138, 182, 140, 0.15);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Seasonal Themes */
.theme-spring {
    --clr-bg: #fdfaf6;
    --clr-primary: #8ab68c;
    --clr-primary-hover: #75a277;
    --clr-secondary: #f4c2c2;
    --clr-glass-shadow: rgba(138, 182, 140, 0.15);
}

.theme-summer {
    --clr-bg: #fffcf0;
    --clr-primary: #e6b84a; 
    --clr-primary-hover: #d4a739;
    --clr-secondary: #87ceeb; 
    --clr-glass-shadow: rgba(230, 184, 74, 0.15);
}

.theme-autumn {
    --clr-bg: #fff9f5;
    --clr-primary: #c66b3d; 
    --clr-primary-hover: #b45a2c;
    --clr-secondary: #8b4513; 
    --clr-glass-shadow: rgba(198, 107, 61, 0.15);
}

.theme-winter {
    --clr-bg: #f5fafd;
    --clr-primary: #5b9bd5; 
    --clr-primary-hover: #4a8ac4;
    --clr-secondary: #ccddee; 
    --clr-glass-shadow: rgba(91, 155, 213, 0.15);
}

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

body {
    font-family: var(--font-body);
    color: var(--clr-text-primary);
    background-color: var(--clr-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Info */
.header {
    padding: 20px 0 10px; /* Reduced padding */
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px; /* Further reduced gap */
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0 5px; /* Minimal padding for mobile */
    }
}

.logo-wrapper {
    width: 100%;
    max-width: 300px; /* Increased from 250px */
}

.logo {
    width: 280px; 
    height: auto;
    display: block;
    margin: 0 auto;
    transition: width 0.3s ease;
}

@media (max-width: 480px) {
    .logo {
        width: 210px; /* Reduced by ~25% to make banner start higher */
    }
}

/* Banner Slider Section */
.banner-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 0 10px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr;
}

.banner-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Consistent Content Blocks */
.about-us, .card {
    width: 100%;
    max-width: 600px; 
    padding: 30px 25px;
    margin: 0 auto 15px; 
    border-radius: 24px;
    background: var(--clr-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-glass-border);
    box-shadow: 0 15px 35px var(--clr-glass-shadow);
    text-align: center; /* Ensure all content is centered */
}

.about-title {
    font-family: var(--font-heading);
    font-size: 1.6rem; /* Slightly larger */
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.about-schedule {
    font-size: 1rem;
    font-weight: 400;
    color: var(--clr-text-secondary);
    margin-bottom: 0;
}

.decorative-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--clr-primary), transparent);
    margin: 12px auto; /* Reduced from 15px */
}

/* Integrated Contacts styling */
.contacts-block-integrated {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; /* Increased gap between items */
    margin-top: 10px; /* Reduced from 15px */
    padding-top: 10px; /* Reduced from 15px */
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-methods-title {
    font-size: 1.1rem;
    color: var(--clr-text-primary);
    font-weight: 600;
    margin: 15px 0 10px;
    text-align: center;
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-wa:hover {
    background: #20bd5c;
}

.btn-wa:active { transform: scale(0.98); }



/* Obsolete selector removed */


@media (max-width: 480px) {
    .about-us, .card {
        padding: 24px 20px; /* Slightly more air than 15px but still compact */
        margin-bottom: 20px;
    }
    
    .quick-buttons {
        max-width: 100%; /* Truly 100% on mobile */
    }

    .about-title {
        font-size: 1.4rem; /* Balanced for small screens */
    }
}

/* Contacts Block */
.contacts-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.contact-label {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}

.contact-value {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    color: var(--clr-text-primary);
    text-decoration: none;
    text-align: center;
    font-family: var(--font-heading);
    line-height: 1.4;
}

.quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 350px;
}

.btn-contact {
    height: 48px; /* Standard touch height */
    width: 100%;
    border-radius: 12px;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-tg {
    background: #0088cc; /* Classic Telegram Blue */
    color: white;
}

.btn-tg:hover {
    background: #0077b5;
}

.btn-tg:active { transform: scale(0.98); }
.btn-email {
    background: var(--clr-primary);
    color: white;
}

.btn-email:active { transform: scale(0.98); }

/* Main Section */
.main {
    flex: 1;
    padding: 0 0 20px; /* Tight vertical space */
}

.main-container {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 0;
}

/* Specific styling for Activation section to make it stand out */
#activation-section {
    background: rgba(240, 255, 240, 0.8) !important; /* Soft Light Green / Honeydew */
    border: 1px solid rgba(138, 182, 140, 0.3); /* Subtle green border */
    box-shadow: 0 20px 40px rgba(138, 182, 140, 0.15); /* Soft green shadow */
}

/* Content Blocks (Form, Wheel, Result) */
.glass-panel {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.glass-panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.title {
    font-family: var(--font-heading);
    font-size: 2.25rem; /* 36px */
    color: var(--clr-text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.subtitle {
    text-align: center;
    color: var(--clr-text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
}

.season-highlight {
    color: var(--clr-primary);
    font-style: italic;
    font-weight: 600;
}

/* Form Styling */
.form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    margin-left: 4px;
}

.input-group input {
    font-family: var(--font-body);
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.04);
    background: rgba(255,255,255,0.8);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--clr-glass-shadow);
}

.input-group input[readonly] {
    background: rgba(0,0,0,0.02);
    cursor: default;
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-hover));
    color: #fff;
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px var(--clr-glass-shadow);
    transition: 0.3s;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* Extra Form Elements */
.error-msg {
    color: var(--clr-error);
    font-size: 0.75rem;
    margin-top: 4px;
    margin-left: 4px;
    display: none;
}

.error-msg.visible { display: block; }

.form-messages { text-align: center; font-size: 0.9rem; margin-top: 10px; }
.form-messages.error { color: var(--clr-error); }

/* Success Modal Styling - Final refinements */
#confetti { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    pointer-events: none; 
    z-index: 100; 
}

.success-modal {
    background: #38a169 !important; /* Rich green */
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px !important; /* Compact padding */
    text-align: center;
    max-width: 450px !important;
    width: 90% !important;
    margin: 0 auto !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    z-index: 1000;
}

/* Ensure glass-panel logic applies to success-modal */
.success-modal.glass-panel {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: translateY(10px);
}

.success-modal.glass-panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-logo {
    width: 160px; /* Doubled from 80px */
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Pure white logo */
}

.result-title {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    margin: 0 0 10px 0 !important;
    font-family: var(--font-heading);
}

.result-body {
    color: #ffffff !important;
    font-size: 1rem;
    margin: 0 0 10px 0 !important;
    line-height: 1.4;
}

.discount-display-compact {
    margin: 5px 0 15px 0;
}

.discount-value-large {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    display: block;
}

.btn-dark-green {
    background-color: #276749 !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.result-detail-item {
    margin: 0;
}

.fw-bold {
    font-weight: 600;
}

.text-accent {
    color: #ffd700; /* Gold/Yellow for visibility */
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}


@media (max-width: 480px) {
    .success-modal {
        width: 85%;
        padding: 15px !important;
    }
}

/* Footer Refresh */
.footer {
    padding: 30px 0; /* Reduced vertical space */
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.container-center {
    display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.footer-contacts-simple p {
    font-size: 0.95rem;
    color: var(--clr-text-secondary);
    text-align: center;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.footer-phone-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    display: inline-block;
    margin-top: 5px;
}

.footer-link:hover {
    color: var(--clr-primary);
}
.footer-social-row { display: flex; gap: 30px; }

.social-icon {
    font-size: 1.25rem; /* Larger icons as requested */
    color: var(--clr-primary);
    text-decoration: none; 
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--clr-primary-hover);
}

/* Background Shapes */
.bg-shape {
    position: fixed; border-radius: 50%; filter: blur(80px); z-index: -10;
    animation: float 20s infinite alternate;
}

.bg-shape-1 { top: -10%; right: -5%; width: 400px; height: 400px; background: var(--clr-secondary); opacity: 0.3; }
.bg-shape-2 { bottom: -10%; left: -10%; width: 500px; height: 500px; background: var(--clr-primary); opacity: 0.2; }

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

.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }

/* Wheel of Fortune Styling */
.wheel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Reduced gap */
    padding: 30px 20px; /* More compact */
}

.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 10px 0; /* Reduced margin */
}

.wheel-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px var(--clr-glass-border),
        0 20px 40px rgba(0,0,0,0.1);
    transition: transform 5s cubic-bezier(0.1, 0, 0, 1); /* Slower 5s spin for better "landing" visibility */
    will-change: transform;
    background: white;
}

.wheel-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start at top */
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: #2d3748; /* Dark color for better visibility */
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    z-index: 20; /* Higher z-index */
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2));
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-top: 5px;
}

/* Wheel Segments */
.wheel-segment {
    fill: none;
    stroke-width: 50;
    transition: opacity 0.3s ease;
}

.wheel-container {
    border: 4px solid white;
    box-sizing: border-box;
    background: #f0f0f0; /* Slight gray to see white borders if any */
}



.wheel-text {
    font-family: var(--font-heading);
    font-weight: 700;
    fill: white;
    font-size: 8px; /* Larger font size */
    text-anchor: middle;
}

@media (max-width: 480px) {
    .wheel-wrapper {
        width: 240px;
        height: 240px;
    }
}

/* Glass Panel Enhancements for Wheel */
.glass-panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

/* Map Section Styling - STANDS OUT */
.map-container {
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.map-card {
    padding: 20px;
    background: var(--clr-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--clr-glass-shadow);
    width: 100%;
    max-width: 1000px; /* Wider than other blocks */
}

.map-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--clr-text-primary);
    margin-bottom: 15px;
}

.map-frame {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
}

.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

@media (max-width: 480px) {
    .map-frame {
        height: 350px;
    }
    .map-card {
        padding: 20px 10px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .map-title {
        font-size: 1.5rem;
    }
}


/* Privacy Policy Modal */
.modal-privacy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-privacy-content {
    background: white;
    width: 95%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    color: var(--clr-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--clr-primary);
}

.privacy-text {
    line-height: 1.7;
    color: var(--clr-text-primary);
}

.privacy-text h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--clr-primary);
}

.privacy-text p {
    margin-bottom: 15px;
}

.footer-link-small {
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-small:hover {
    color: var(--clr-primary);
}

/* Privacy Consent in Form */
.privacy-agree {
    margin: 4px 0 10px;
    font-size: 13px;
    color: #555;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.4;
    text-align: left;
}

.privacy-checkbox input {
    margin: 3px 8px 0 0;
    flex-shrink: 0;
}

.privacy-checkbox span {
    color: var(--clr-text-secondary);
}

.privacy-checkbox a {
    color: var(--clr-primary);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-checkbox a:hover {
    color: var(--clr-primary-hover);
}

/* SEO Optimization Styles */
.header-seo-block {
    margin: 20px 0;
    padding: 0 15px;
}

.main-seo-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* SEO Accordion Styles */
.seo-accordion {
    width: 100%;
    margin-top: 15px;
}

.seo-accordion-trigger {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--clr-glass-bg);
    border: 1px solid var(--clr-glass-border);
    border-radius: 16px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--clr-glass-shadow);
    margin: 10px 0;
    outline: none;
}

.seo-accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-glass-shadow);
}

.accordion-arrow {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--clr-primary);
}

.seo-accordion.is-open .accordion-arrow {
    transform: rotate(180deg);
}

.seo-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.seo-accordion.is-open .seo-accordion-content {
    max-height: 2000px; /* Large enough to fit content */
}

/* Updated SEO content styles for accordion */
.seo-text-inline {
    width: 100%;
    padding: 10px 0;
}

.seo-text-card {
    text-align: left !important;
    max-width: 800px !important;
    margin: 10px auto !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: none !important;
    padding: 30px !important;
    border-radius: 20px !important;
}

.seo-content {
    text-align: left !important;
}

.seo-content p {
    margin-bottom: 25px;
    color: var(--clr-text-primary) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    text-indent: 40px !important;
    text-align: justify !important; /* Ensure justify is applied */
    hyphens: auto;
    display: block;
}

/* Fallback for cases where centering is forced */
.seo-content {
    text-align: left !important;
    width: 100%;
}

.seo-content strong {
    color: var(--clr-primary);
    font-weight: 600;
}

.glass-panel-simple {
    background: var(--clr-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-glass-border);
    border-radius: 24px;
    box-shadow: 0 15px 35px var(--clr-glass-shadow);
}

@media (max-width: 480px) {
    .seo-accordion-trigger {
        font-size: 1.05rem;
        padding: 12px 15px;
        border-radius: 12px;
    }
    
    .seo-text-card {
        padding: 20px 15px !important;
    }

    .seo-content p {
        font-size: 1.05rem;
        text-indent: 20px;
    }
}
