/* ========== GLOBAL ========== */
:root {
    --primary: #073b70;
    --secondary: #0a4f91;
    --accent: #0b74c9;
    --accent-light: #62b8ff;
    --gold: #1d8fe1;
    --light: #f7fbff;
    --dark: #052b52;
    --text: #102a43;
    --text-light: #58718a;
    --success: #0b74c9;
    --warning: #2a91dc;
    --info: #2196f3;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans SC', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: var(--light);
    line-height: 1.6;
}

/* ========== LANGUAGE SELECTOR ========== */
.lang-bar {
    background: var(--dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lang-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.lang-bar span {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

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

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    top: 0;
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-text {
    color: white;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent);
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: transparent;
    color: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.nav-member {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}

.nav-member:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 40px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,15,26,0.85) 0%, rgba(26,26,46,0.6) 50%, rgba(15,15,26,0.7) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 900px;
    padding: 0 30px;
}

.slide-badge {
    display: inline-block;
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-badge {
    animation: fadeUp 0.8s 0.3s forwards;
}

.slide-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(40px);
}

.slide-title .highlight {
    color: var(--accent);
    position: relative;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

.slide.active .slide-title {
    animation: fadeUp 1s 0.5s forwards;
}

.slide-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-subtitle {
    animation: fadeUp 0.8s 0.7s forwards;
}

.slide-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-btns {
    animation: fadeUp 0.8s 0.9s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--accent);
    border-color: white;
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 20;
    pointer-events: none;
}

.arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: white;
    font-size: 28px;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== STATS ========== */
.stats-section {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11,116,201,0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number .counter {
    display: inline-block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* ========== ABOUT ========== */
.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--light), transparent);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.about-img-float {
    position: absolute;
    width: 250px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 3;
    border: 4px solid white;
}

.about-img-float.img-1 {
    bottom: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.about-img-float.img-2 {
    top: -20px;
    left: -20px;
    width: 200px;
    height: 150px;
    animation: float 8s ease-in-out infinite 1s;
}

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

.about-content h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--accent);
}

.about-content .subtitle {
    font-size: 16px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.feature-item span {
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
}

/* ========== SCHEDULE ========== */
.schedule-section {
    padding: 120px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-header .tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--gold));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 30px 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s;
    cursor: pointer;
}

.timeline-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.timeline-dot {
    position: absolute;
    left: -52px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 4px var(--accent);
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 4px var(--accent), 0 0 0 8px rgba(11,116,201,0.30); }
    100% { box-shadow: 0 0 0 4px var(--accent), 0 0 0 20px rgba(11,116,201,0); }
}

.timeline-date {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.timeline-location {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.timeline-distance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 197, 24, 0.15);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
}

.timeline-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), #e6a800);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ========== LIVE ========== */
.live-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.live-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(11,116,201,0.08) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.live-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.live-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.live-main {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.live-video {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.live-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1200') center/cover;
    opacity: 0.3;
}

.live-play-btn {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.live-play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent);
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.live-play-btn:hover {
    transform: scale(1.1);
}

.live-play-btn i {
    color: white;
    font-size: 36px;
    margin-left: 5px;
}

.live-status {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    padding: 8px 18px;
    border-radius: 30px;
    z-index: 3;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #ff3333;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-status span {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.live-info {
    padding: 25px 30px;
}

.live-info h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.live-info p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}

.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.camera-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.camera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: var(--accent);
}

.camera-thumb {
    height: 160px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.camera-thumb i {
    font-size: 40px;
    color: rgba(255,255,255,0.2);
}

.camera-card:hover .camera-thumb i {
    color: var(--accent);
}

.camera-info {
    padding: 20px;
}

.camera-info h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 5px;
}

.camera-info p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

.camera-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,200,0,0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

/* ========== GALLERY ========== */
.gallery-section {
    padding: 120px 0;
    background: var(--light);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 15px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,15,26,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.gallery-overlay .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* ========== PARTNERS ========== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
    font-size: 14px;
    transition: all 0.3s;
    filter: grayscale(1);
    opacity: 0.6;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .logo-text {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 12px;
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    animation: modalIn 0.4s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent);
    color: white;
}

.modal-box h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-box .modal-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    background: #d63a54;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.form-footer a {
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; }
    .live-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 2; grid-row: span 1; }
    .slide-title { font-size: 56px; }
}

@media (max-width: 768px) {
    .lang-bar-container {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding: 8px 12px;
        scrollbar-width: none;
    }
    .lang-bar-container::-webkit-scrollbar { display: none; }
    .lang-bar-container > span { display: none; }
    .lang-btn { flex: 0 0 auto; padding: 4px 10px; }

    .nav-container { padding: 0 14px; }
    .logo { min-width: 0; }
    .logo-icon { width: 42px; height: 42px; font-size: 20px; flex: 0 0 42px; }
    .logo-text { font-size: 16px; line-height: 1.15; max-width: 220px; }
    .logo-text span { font-size: 9px; letter-spacing: 1px; margin-top: 3px; }
    .nav-links, .nav-cta { display: none; }
    .nav-links.mobile-open {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 16px 18px;
        background: rgba(26,26,46,0.98);
        box-shadow: 0 16px 30px rgba(0,0,0,0.28);
        z-index: 999;
    }
    .nav-links.mobile-open li { width: 100%; }
    .nav-links.mobile-open a {
        display: flex;
        width: 100%;
        padding: 13px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links.mobile-open .nav-member { justify-content: center; margin-top: 8px; }
    .mobile-menu-btn { display: block; padding: 8px; }
    .slide-title { font-size: 36px; }
    .slide-btns { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .timeline { padding-left: 40px; }
    .timeline::before { left: 10px; }
    .timeline-dot { left: -36px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large, .gallery-item.wide { grid-column: span 1; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .section-header h2 { font-size: 32px; }
    .lang-bar-container { justify-content: center; }
    .live-video { height: 280px; }
    .about-img-float { display: none; }
    .slider-arrows { display: none; }
    .modal-box { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 14px; max-width: 190px; }
    .logo-text span { font-size: 8px; }
    .slide-content { padding: 0 18px; }
    .slide-title { font-size: 28px; }
    .section-header h2 { font-size: 26px; }
    .stat-number { font-size: 36px; }
    .about-content h2 { font-size: 28px; }
    .timeline-item { padding: 20px 20px; }
    .timeline-badge { position: static; display: inline-block; margin-bottom: 10px; }
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ADMIN PANEL STYLES ========== */
.admin-body {
    background: #f0f2f5;
    font-family: 'Noto Sans SC', sans-serif;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: var(--primary);
    z-index: 1000;
    padding: 30px 0;
    overflow-y: auto;
}

.admin-logo {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-logo h2 {
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.admin-logo span {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
}

.admin-menu {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    padding: 0;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-menu li a:hover,
.admin-menu li a.active {
    background: rgba(255,255,255,0.05);
    color: white;
    border-left-color: var(--accent);
}

.admin-menu li a i {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.admin-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 25px;
}

.admin-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.admin-table th {
    font-weight: 700;
    color: var(--primary);
    background: #fafafa;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: var(--text);
}

.admin-table tr:hover td {
    background: #fafafa;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: rgba(11,116,201,0.10); color: #0b74c9; }
.badge-warning { background: rgba(42,145,220,0.10); color: #2a91dc; }
.badge-danger { background: rgba(11,116,201,0.10); color: #0b74c9; }
.badge-info { background: rgba(33,150,243,0.1); color: #2196f3; }

.btn-sm {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit { background: var(--info); color: white; }
.btn-edit:hover { background: #1976d2; }
.btn-delete { background: var(--accent); color: white; }
.btn-delete:hover { background: #d63a54; }

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-stat-icon.blue { background: rgba(33,150,243,0.1); color: #2196f3; }
.admin-stat-icon.green { background: rgba(11,116,201,0.10); color: #0b74c9; }
.admin-stat-icon.orange { background: rgba(42,145,220,0.10); color: #2a91dc; }
.admin-stat-icon.red { background: rgba(11,116,201,0.10); color: #0b74c9; }

.admin-stat-info h4 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.admin-stat-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 20px; }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .admin-table { display: block; overflow-x: auto; }
}

/* ========== MOBILE HOMEPAGE REFINEMENT v4 ========== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }

    body {
        overflow-x: clip;
        -webkit-text-size-adjust: 100%;
    }

    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    /* Language strip: keep every language reachable instead of centering and clipping. */
    .lang-bar {
        padding: 5px 0;
        min-height: 38px;
    }

    .lang-bar-container {
        justify-content: flex-start !important;
        gap: 6px;
        padding: 0 12px;
        scroll-padding-inline: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .lang-btn {
        min-height: 28px;
        padding: 4px 10px;
        font-size: 11px;
        line-height: 1;
    }

    /* Header */
    .navbar {
        top: 38px;
        padding: 9px 0;
    }

    .navbar.scrolled {
        top: 0;
        padding: 7px 0;
    }

    .nav-container {
        width: 100%;
        min-height: 50px;
        gap: 8px;
        padding: 0 12px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
        overflow: hidden;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 18px;
    }

    .logo-text {
        min-width: 0;
        max-width: none;
        font-size: clamp(12px, 3.5vw, 16px);
        letter-spacing: 0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text span {
        max-width: 100%;
        font-size: 7.5px;
        letter-spacing: 0.9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-btn {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
    }

    .nav-links.mobile-open {
        left: 10px;
        right: 10px;
        width: auto;
        max-height: calc(100dvh - 82px);
        padding: 8px 12px calc(14px + env(safe-area-inset-bottom));
        border: 1px solid rgba(255,255,255,0.09);
        border-radius: 0 0 18px 18px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links.mobile-open a {
        min-height: 48px;
        padding: 12px 10px;
        font-size: 15px;
    }

    /* Hero: use mobile viewport units and reserve enough room for all content. */
    .hero-slider {
        height: max(650px, 100svh);
        min-height: 650px;
        padding-top: 0;
    }

    .slide-bg {
        background-position: center center;
    }

    .slide-overlay {
        background: linear-gradient(180deg,
            rgba(15,15,26,0.82) 0%,
            rgba(26,26,46,0.62) 42%,
            rgba(15,15,26,0.84) 100%);
    }

    .slide-content {
        top: 52%;
        width: 100%;
        max-width: 560px;
        padding: 0 20px;
    }

    .slide-badge {
        max-width: 100%;
        margin-bottom: 16px;
        padding: 7px 16px;
        font-size: 11px;
        letter-spacing: 1.8px;
        white-space: normal;
    }

    .slide-title {
        font-size: clamp(31px, 10vw, 43px);
        line-height: 1.12;
        margin-bottom: 16px;
        overflow-wrap: anywhere;
    }

    .slide-title .highlight::after {
        bottom: 2px;
        height: 5px;
    }

    .slide-subtitle {
        max-width: 440px;
        margin: 0 auto 24px;
        font-size: 15px;
        line-height: 1.65;
    }

    .slide-subtitle br {
        display: none;
    }

    .slide-btns {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 10px;
    }

    .slide-btns .btn-primary,
    .slide-btns .btn-secondary {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
    }

    .slider-dots {
        bottom: 18px;
    }

    .dot {
        width: 11px;
        height: 11px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Consistent mobile spacing */
    .stats-section,
    .about-section,
    .schedule-section,
    .live-section,
    .gallery-section,
    .partners-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .stats-grid,
    .about-container,
    .schedule-container,
    .live-container,
    .gallery-container,
    .partners-container,
    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-header {
        margin-bottom: 38px !important;
        padding: 0 18px;
    }

    .section-header .tag {
        margin-bottom: 9px;
        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .section-header h2 {
        margin-bottom: 12px;
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.2;
    }

    .section-header p {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Stats work better as a compact 2x2 grid on phones. */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        min-width: 0;
        padding: 24px 8px;
        border-radius: 15px;
    }

    .stat-icon {
        margin-bottom: 11px;
        font-size: 28px;
    }

    .stat-number {
        margin-bottom: 7px;
        font-size: clamp(27px, 8vw, 37px);
        overflow-wrap: anywhere;
    }

    .stat-label {
        font-size: 12px;
        line-height: 1.35;
    }

    /* About */
    .about-container {
        gap: 34px;
    }

    .about-img-main {
        height: clamp(230px, 68vw, 310px);
        border-radius: 16px;
    }

    .about-content .subtitle {
        margin-bottom: 9px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .about-content h2 {
        margin-bottom: 16px;
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.25;
    }

    .about-content p {
        margin-bottom: 17px;
        font-size: 15px;
        line-height: 1.75;
    }

    .about-features {
        gap: 10px;
        margin-top: 22px;
    }

    .feature-item {
        min-height: 62px;
        padding: 11px 12px;
    }

    .feature-item i {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .feature-item span {
        font-size: 13px;
        line-height: 1.35;
    }

    /* Timeline */
    .timeline {
        padding-left: 28px;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-dot {
        left: -28px;
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .timeline-item {
        margin-bottom: 22px;
        padding: 20px 16px;
        border-radius: 15px;
    }

    .timeline-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 10px;
        padding: 5px 12px;
        font-size: 10px;
    }

    .timeline-date {
        font-size: 12px;
    }

    .timeline-title {
        padding-right: 0;
        font-size: 19px;
        line-height: 1.3;
    }

    .timeline-location,
    .timeline-distance {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Live */
    .live-grid {
        gap: 18px;
    }

    .live-main,
    .camera-card {
        border-radius: 16px;
    }

    .live-video {
        height: clamp(210px, 58vw, 280px);
    }

    .live-play-btn {
        width: 70px;
        height: 70px;
    }

    .live-play-btn i {
        font-size: 25px;
    }

    .live-status {
        top: 12px;
        left: 12px;
        padding: 6px 11px;
    }

    .live-info {
        padding: 18px;
    }

    .live-info h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .camera-card {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 108px;
    }

    .camera-thumb {
        height: 100%;
        min-height: 108px;
    }

    .camera-thumb i {
        font-size: 29px;
    }

    .camera-status {
        top: 7px;
        right: 7px;
        padding: 3px 8px;
        font-size: 9px;
    }

    .camera-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        padding: 14px;
    }

    .camera-info h4 {
        font-size: 15px;
        line-height: 1.35;
    }

    .camera-info p {
        font-size: 12px;
        line-height: 1.45;
    }

    /* Gallery: a compact two-column mobile mosaic with readable overlays. */
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 155px;
        gap: 9px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
        border-radius: 12px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item.large {
        grid-row: span 2;
    }

    .gallery-overlay {
        justify-content: flex-end;
        padding: 13px;
        opacity: 1;
        background: linear-gradient(to top, rgba(15,15,26,0.88) 0%, rgba(15,15,26,0.08) 72%);
    }

    .gallery-overlay h4 {
        font-size: 13px;
        line-height: 1.35;
    }

    .gallery-overlay p {
        font-size: 11px;
    }

    .gallery-overlay .zoom-icon {
        display: none;
    }

    /* Partners */
    .partners-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
    }

    .partner-logo {
        width: 100%;
        height: 64px;
        padding: 8px;
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 58px 0 24px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 12px;
        line-height: 1.5;
    }

    /* Modal */
    .modal-overlay {
        padding: 14px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-box {
        width: 100%;
        max-width: 460px;
        margin: max(18px, env(safe-area-inset-top)) auto 18px;
        padding: 28px 18px 22px;
        border-radius: 18px;
    }

    .modal-box h2 {
        font-size: 25px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS auto-zoom. */
    }
}

@media (max-width: 380px) {
    .nav-container {
        padding: 0 9px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 11px;
    }

    .logo-text span {
        font-size: 6.5px;
        letter-spacing: 0.5px;
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .slide-content {
        padding: 0 15px;
    }

    .slide-title {
        font-size: 29px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 21px 5px;
    }

    .camera-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .gallery-grid {
        grid-auto-rows: 140px;
    }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 950px) {
    .lang-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .hero-slider {
        height: 600px;
        min-height: 600px;
    }

    .slide-content {
        top: 53%;
    }
}


/* Porto OLR v10 — blue and white identity */
::selection { background: #0b74c9; color: #fff; }
.lang-bar { background: #052b52; border-bottom-color: rgba(255,255,255,.12); }
.navbar.scrolled { background: rgba(5,43,82,.96); }
.hero-slider, .live-section, .footer { background-color: #052b52; }
.slide-overlay { background: linear-gradient(90deg, rgba(3,33,64,.88), rgba(3,50,91,.42) 58%, rgba(3,33,64,.18)); }
.btn-primary, .nav-cta, .form-submit { background: linear-gradient(135deg, #0868b8, #148de4); box-shadow: 0 10px 26px rgba(8,104,184,.28); }
.btn-primary:hover, .nav-cta:hover, .form-submit:hover { background: linear-gradient(135deg, #07579b, #0b74c9); }
.section-header .tag, .subtitle { color: #0b74c9; }
.stats-section, .gallery-section, .partners-section { background-color: #fff; }
.timeline-item, .member-card, .admin-card, .admin-stat-card { border: 1px solid rgba(11,116,201,.10); }
.timeline-dot { box-shadow: 0 0 0 4px #0b74c9, 0 0 0 8px rgba(11,116,201,.22); }
.footer { border-top: 4px solid #0b74c9; }
.footer a:hover, .social-links a:hover { color: #79bfff; }
.member-sidebar, .admin-sidebar { background: linear-gradient(180deg, #052b52, #073b70); }
.profile-info .badge, .badge-success { background: rgba(11,116,201,.10); color: #0b74c9; }
.photo-credit { max-width: 1240px; margin: 0 auto; padding: 16px 24px 0; color: rgba(255,255,255,.52); font-size: 11px; text-align: center; }
.photo-credit a { color: #9bd2ff; }
@media (max-width: 900px) {
  .lang-bar-container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .lang-bar-container::-webkit-scrollbar { display:none; }
  .lang-bar-container > span { display:none; }
  .lang-btn { flex: 0 0 auto; }
}
