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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-main: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Page Transitions */
.page {
    display: none;
    animation: fadeIn 0.4s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: -80px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

/* Quick Info Bar */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-item span {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.info-card.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: var(--warning);
}

.info-card.emergency {
    border-color: var(--danger);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.card-icon.wifi { background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%); color: white; }
.card-icon.checkin { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); color: white; }
.card-icon.checkout { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); color: white; }
.card-icon.rules { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); color: white; }
.card-icon.kitchen { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); color: white; }
.card-icon.recommendations { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); color: white; }
.card-icon.worldcup { background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%); color: white; }
.card-icon.map { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); color: white; }
.card-icon.emergency-icon { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); color: white; }

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-arrow {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.3s;
}

.info-card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Detail Page */
.detail-page {
    min-height: 100vh;
    background: #f8fafc;
}

.detail-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 20px 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.detail-header::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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-4px);
}

.detail-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.detail-title h1 {
    font-size: 2.5rem;
}

.detail-description {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 800px;
}

.detail-body {
    max-width: 900px;
    margin: -60px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.content-card h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h3 {
    font-size: 1.3rem;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.content-card p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-card ul, .content-card ol {
    margin: 16px 0 16px 24px;
    line-height: 1.8;
}

.content-card li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.content-card strong {
    color: var(--text-primary);
}

/* Footer */
.main-footer {
    background: var(--bg-secondary);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
    
    .detail-title h1 {
        font-size: 1.8rem;
    }
    
    .detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .content-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        margin-top: -60px;
    }
}
