* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #d4af37;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --touch-target: 44px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particles Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.logo-icon {
    width: 50px;
    height: 50px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, var(--primary), var(--secondary));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="0.5"/></svg>') center/400px repeat;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.presents {
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.main-title .year {
    font-size: 0.5em;
    color: var(--gold);
    display: block;
}

.event-info {
    margin-bottom: 40px;
}

.dates {
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.location {
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--gold);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 15px; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 5vw, 48px);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--secondary);
    position: relative;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--gold);
}

.feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Lineup Section */
.lineup {
    padding: 120px 0;
    background: var(--primary);
}

.lineup-note {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-style: italic;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.artist {
    padding: 30px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.artist:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: scale(1.05);
}

.artist.headliner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    border-color: var(--gold);
}

.artist.headliner .artist-name {
    font-size: 18px;
    color: var(--gold);
}

.artist.thai {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), transparent);
    border-color: var(--accent);
}

.artist-name {
    font-weight: 500;
    letter-spacing: 1px;
}

/* Tickets Section */
.tickets {
    padding: 120px 0;
    background: var(--secondary);
}

.tickets-note {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ticket-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s;
}

.ticket-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.ticket-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--primary);
    padding: 5px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.ticket-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--gold);
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-thb {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.ticket-card ul {
    list-style: none;
    text-align: left;
}

.ticket-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

.ticket-card li::before {
    content: '✓';
    color: var(--gold);
    margin-right: 10px;
}

.ticket-register-btn {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 14px 20px;
    background: var(--gold);
    color: var(--primary);
    border: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

.ticket-register-btn:hover {
    background: #f0c850;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.ticket-register-btn.disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

.ticket-register-btn.disabled:hover {
    background: #444;
    box-shadow: none;
    transform: none;
}

/* Registration Form */
.register {
    padding: 120px 0;
    background: var(--primary);
}

.form-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#registration-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--gold);
}

input {
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    display: block;
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    background: var(--gold);
    border: none;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #f0c850;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4caf50;
    color: #4caf50;
}

.form-message.error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #0a0a14;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    letter-spacing: 8px;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   MOBILE-FIRST RESPONSIVE DESIGN
   Optimized for iPhone (Safari) & Android (Chrome)
   ============================================ */

/* Touch-friendly elements base */
a, button, input, select, textarea {
    touch-action: manipulation;
}

/* Mobile First - Base styles for small screens */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.98);
        padding: 20px;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 16px 20px;
        min-height: var(--touch-target);
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--touch-target);
        height: var(--touch-target);
        background: none;
        border: none;
        color: var(--text);
        font-size: 28px;
        cursor: pointer;
    }
    
    .hero {
        min-height: 100svh;
        padding: 80px 20px 60px;
    }
    
    .presents {
        font-size: 11px;
        letter-spacing: 4px;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .dates {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .location {
        font-size: 13px;
        letter-spacing: 1px;
    }
    
    .cta-button {
        padding: 16px 40px;
        min-height: var(--touch-target);
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .section-title {
        font-size: 24px;
        letter-spacing: 2px;
        padding: 0 10px;
    }
    
    .about, .lineup, .tickets, .register {
        padding: 60px 15px;
    }
    
    .about-text {
        font-size: 15px;
        padding: 0 10px;
        margin-bottom: 40px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature {
        padding: 30px 20px;
    }
    
    .feature h3 {
        font-size: 18px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .artist {
        padding: 20px 10px;
    }
    
    .artist-name {
        font-size: 12px;
    }
    
    .artist.headliner .artist-name {
        font-size: 14px;
    }
    
    .tickets-grid {
        gap: 20px;
    }
    
    .ticket-card {
        padding: 30px 20px;
    }
    
    .ticket-card h3 {
        font-size: 20px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    label {
        font-size: 13px;
    }
    
    input {
        padding: 16px;
        min-height: var(--touch-target);
        font-size: 16px;
        border-radius: 8px;
    }
    
    .submit-btn {
        min-height: 54px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .footer {
        padding: 50px 15px 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        padding: 10px;
        min-height: var(--touch-target);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-links {
        gap: 30px;
    }
    
    .social-links a {
        font-size: 28px;
        min-width: var(--touch-target);
        min-height: var(--touch-target);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Tablet and medium screens */
@media (min-width: 481px) and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.98);
        padding: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 20px;
        min-height: var(--touch-target);
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--touch-target);
        height: var(--touch-target);
        background: none;
        border: none;
        color: var(--text);
        font-size: 26px;
        cursor: pointer;
    }
    
    .hero {
        min-height: 100svh;
    }
    
    .main-title {
        font-size: 72px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    input {
        min-height: var(--touch-target);
        font-size: 16px;
    }
    
    .submit-btn {
        min-height: 50px;
    }
    
    .about, .lineup, .tickets, .register {
        padding: 80px 20px;
    }
}

/* Large screens - Desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Safe area for iPhone notch */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(40px, env(safe-area-inset-bottom));
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gold: #ffd700;
        --text-muted: #cccccc;
    }
}

/* Additional styles for new sections */
.hero-image-section { position: relative; padding: 60px 0; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/images/pattaya-skyline.webp') center/cover; }
.hero-image-section img { max-width: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 40px 20px; }
.image-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; transition: transform 0.3s; }
.image-gallery img:hover { transform: scale(1.05); }

/* FAQ Styles */
.faq { padding: 80px 20px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.faq-grid { max-width: 900px; margin: 0 auto; }
.faq-item { background: rgba(255,255,255,0.05); border-radius: 12px; margin-bottom: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #fff; transition: background 0.3s; }
.faq-question:hover { background: rgba(255,255,255,0.1); }
.faq-question::after { content: '+'; font-size: 24px; color: #e94560; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 25px 20px; color: rgba(255,255,255,0.8); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

/* SEO Content */
.seo-content { padding: 60px 20px; background: #0a0a14; }
.seo-content .container { max-width: 900px; margin: 0 auto; }
.seo-content h2 { color: #e94560; margin-bottom: 20px; }
.seo-content p { color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 15px; }

/* Footer Links */
.footer-links { display: flex; gap: 30px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #e94560; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
@media (max-width: 768px) {
        .menu-toggle { display: block; }
        .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,0.95); padding: 20px; }
        .nav-links.active { display: flex; }
}

.logo-icon {
    width: 40px; /* или нужный размер */
    height: 40px;
}
a.featured {
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
}
a.featured:hover {
    color: var(--accent);
}
.social-links a {
    color: var(--gold);
}
.social-links a:hover {
    color: var(--accent);
}
.blog-hero { padding: 120px 20px 60px; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/images/pattaya-skyline.webp') center/cover; text-align: center; }
.blog-hero h1 { font-size: 3rem; color: #fff; margin-bottom: 20px; }
.blog-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.blog-article { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 40px; margin-bottom: 40px; border: 1px solid rgba(255,255,255,0.1); }
.blog-article h2 { color: #e94560; font-size: 1.8rem; margin-bottom: 20px; }
.blog-article h3 { color: #fff; margin: 25px 0 15px; }
.blog-article p { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 15px; }
.blog-article ul { color: rgba(255,255,255,0.85); margin: 15px 0 15px 25px; }
.blog-article li { margin-bottom: 8px; }
.blog-meta { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 20px; }
.back-link { display: inline-block; color: #e94560; margin: 20px 0; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.article-number { background: #e94560; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 15px; }
.legal-page { padding: 120px 20px 60px; max-width: 900px; margin: 0 auto; }
.legal-page h1 { color: #e94560; margin-bottom: 10px; }
.legal-page .updated { color: rgba(255,255,255,0.5); margin-bottom: 40px; }
.legal-page h2 { color: #fff; margin: 35px 0 15px; font-size: 1.4rem; }
.legal-page h3 { color: #e94560; margin: 25px 0 10px; font-size: 1.1rem; }
.legal-page p, .legal-page li { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 15px; }
.legal-page ul { margin-left: 25px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal-page th, .legal-page td { border: 1px solid rgba(255,255,255,0.2); padding: 12px; text-align: left; color: rgba(255,255,255,0.85); }
.legal-page th { background: rgba(233,69,96,0.2); }
.back-link { color: #e94560; text-decoration: none; display: inline-block; margin-bottom: 30px; }
.legal-page { padding: 120px 20px 60px; max-width: 900px; margin: 0 auto; }
.legal-page h1 { color: #e94560; margin-bottom: 10px; }
.legal-page .updated { color: rgba(255,255,255,0.5); margin-bottom: 40px; }
.legal-page h2 { color: #fff; margin: 35px 0 15px; font-size: 1.4rem; }
.legal-page p, .legal-page li { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 15px; }
.legal-page ul { margin-left: 25px; }
.back-link { color: #e94560; text-decoration: none; display: inline-block; margin-bottom: 30px; }
.legal-page { padding: 120px 20px 60px; max-width: 900px; margin: 0 auto; }
.legal-page h1 { color: #e94560; margin-bottom: 10px; }
.legal-page .updated { color: rgba(255,255,255,0.5); margin-bottom: 40px; }
.legal-page h2 { color: #fff; margin: 35px 0 15px; font-size: 1.4rem; }
.legal-page h3 { color: #e94560; margin: 25px 0 10px; font-size: 1.1rem; }
.legal-page p, .legal-page li { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 15px; }
.legal-page ul { margin-left: 25px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal-page th, .legal-page td { border: 1px solid rgba(255,255,255,0.2); padding: 12px; text-align: left; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.legal-page th { background: rgba(233,69,96,0.2); }
.back-link { color: #e94560; text-decoration: none; display: inline-block; margin-bottom: 30px; }
.cookie-type { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; margin-bottom: 10px; }
.essential { background: #2ecc71; color: #fff; }
.analytics { background: #3498db; color: #fff; }
.marketing { background: #e74c3c; color: #fff; }
.functional { background: #f39c12; color: #fff; }

.cta-wrap{
  text-align: center;
  margin-top: 40px;
}

.navbar,
.footer {
  width: 100%;
  max-width: 100%;
  padding-right: 40px
}
.social-links{
  display: flex;
  flex-wrap: wrap;        /* разрешаем перенос */
  justify-content: center;
  max-width: 100%;
  overflow: hidden;       /* на всякий */
  gap: 12px;              /* вместо маргинов у ссылок */
}

.social-links a{
  flex: 0 0 auto;
  max-width: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
/* cookies/legal pages: fix mobile layout broken by wide tables */
.legal-page table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}

.legal-page th,
.legal-page td {
  white-space: nowrap; /* чтобы столбцы не ломались странно */
  padding: 10px 12px;
}

.legal-page a,
.legal-page p,
.legal-page li {
  overflow-wrap: anywhere; /* чтобы длинные ссылки не распирали */
  word-break: break-word;
}
.legal-page th,
.legal-page td {
  white-space: normal;
}
article.blog-article, article.cookie-article, article.privacy-article, article.terms-article {
    margin-top: 1.5em;
        background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.buy-page {
        background: linear-gradient(to bottom, #1a1a2e, #16213e);
        min-height: 100vh;
}
.buy-page .navbar {
        position: relative;
        background: rgba(0,0,0,0.3);
}
.booking-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 30px;
        align-items: start;
}
@media (max-width: 900px) {
        .booking-container {
                grid-template-columns: 1fr;
        }
}
.page-header {
        text-align: center;
        padding: 30px 20px 10px;
}
.page-header h1 {
        font-family: 'Cinzel', serif;
        color: #ffffff;
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 10px;
        letter-spacing: 3px;
}
.page-header p {
        color: #a0a0a0;
        font-size: 14px;
        letter-spacing: 1px;
}
/* Progress Steps */
.progress-steps {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-end;
        margin-bottom: 15px;
}
.step {
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
}
.step.active {
        background: #d4af37;
        color: #1a1a2e;
}
.step.inactive {
        background: transparent;
        color: #d4af37;
        border: 1px solid rgba(212, 175, 55, 0.3);
}
.step-divider {
        width: 20px;
        height: 2px;
        background: rgba(212, 175, 55, 0.5);
}
/* Cards */
.form-card {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 10px;
        padding: 30px;
        margin-bottom: 20px;
        backdrop-filter: blur(10px);
}
.form-card h3 {
        font-family: 'Cinzel', serif;
        color: #d4af37;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        letter-spacing: 2px;
}
.form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
}
@media (max-width: 600px) {
        .form-row {
                grid-template-columns: 1fr;
        }
}
.form-group {
        margin-bottom: 15px;
}
.form-group input {
        width: 100%;
        padding: 16px 18px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 5px;
        font-size: 15px;
        font-family: inherit;
        background: rgba(255,255,255,0.05);
        color: #ffffff;
        transition: all 0.3s;
}
.form-group input:focus {
        outline: none;
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.05);
}
.form-group input::placeholder {
        color: #a0a0a0;
}
.form-hint {
        color: #a0a0a0;
        font-size: 13px;
        line-height: 1.6;
}
.phone-input {
        position: relative;
}
.phone-input::before {
        content: "🌐";
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
}
.phone-input input {
        padding-left: 45px;
}
/* Passenger Section */
.passenger-section {
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        padding-top: 20px;
}
.passenger-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin-bottom: 20px;
}
.passenger-header h3 {
        margin-bottom: 0;
}
.passenger-header .subtitle {
        color: #a0a0a0;
        font-size: 13px;
        font-weight: 400;
}
.passenger-header .toggle-icon {
        font-size: 20px;
        color: #d4af37;
}
.passenger-info {
        color: #a0a0a0;
        font-size: 13px;
        line-height: 1.6;
        max-width: 280px;
}
/* Add Passenger Button */
.add-passenger-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 16px 28px;
        border: 2px solid #d4af37;
        border-radius: 5px;
        background: transparent;
        color: #d4af37;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        font-family: inherit;
        letter-spacing: 2px;
}
.add-passenger-btn:hover {
        background: #d4af37;
        color: #1a1a2e;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.add-passenger-btn .plus {
        font-size: 18px;
}
/* Sidebar */
.sidebar {
        position: sticky;
        top: 20px;
}
.cost-card {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 10px;
        padding: 25px;
        backdrop-filter: blur(10px);
}
.cost-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
}
.cost-label {
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
}
.cost-value {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #d4af37;
        font-size: 20px;
        font-weight: 600;
}
.cost-value .currency {
        color: #a0a0a0;
}
.cost-value .arrow {
        color: #a0a0a0;
        font-size: 12px;
}
.continue-btn {
        width: 100%;
        padding: 18px;
        background: transparent;
        border: 2px solid #d4af37;
        color: #d4af37;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: inherit;
        letter-spacing: 3px;
        text-transform: uppercase;
}
.continue-btn:hover {
        background: #d4af37;
        color: #1a1a2e;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
/* Footer */
.buy-page .footer {
        background: #1a1a2e;
        margin-top: 40px;
}

body.booking-page {
        background: linear-gradient(to bottom, #1a1a2e, #16213e);
        min-height: 100vh;
}
.booking-page .navbar {
        position: relative;
        background: rgba(0,0,0,0.3);
}
.booking-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding: 80px 20px;
}
.page-header {
        text-align: center;
        margin-bottom: 40px;
}
.page-header h1 {
        font-family: 'Cinzel', serif;
        color: #ffffff;
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 15px;
        letter-spacing: 3px;
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}
.page-header p {
        color: #a0a0a0;
        font-size: 15px;
        letter-spacing: 1px;
}
.booking-form-card {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 10px;
        padding: 40px;
        backdrop-filter: blur(10px);
}
.form-group {
        margin-bottom: 25px;
}
.form-group label {
        display: block;
        color: #d4af37;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
}
.form-group input {
        width: 100%;
        padding: 16px 18px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 5px;
        font-size: 15px;
        font-family: inherit;
        background: rgba(255,255,255,0.05);
        color: #ffffff;
        transition: all 0.3s;
}
.form-group input:focus {
        outline: none;
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.05);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}
.form-group input::placeholder {
        color: #a0a0a0;
}
.check-btn {
        width: 100%;
        padding: 18px;
        background: transparent;
        border: 2px solid #d4af37;
        color: #d4af37;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: inherit;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-top: 15px;
}
.check-btn:hover {
        background: #d4af37;
        color: #1a1a2e;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
/* Footer */
.booking-page .footer {
        background: #1a1a2e;
        margin-top: 80px;
}