/* ============================================
   国际大学生新材料创新创意大赛 官网样式
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1B3A6E;
    --primary-dark: #122B52;
    --secondary: #2D7DD2;
    --accent: #E8A838;
    --accent-light: #F5D485;
    --bg: #FFFFFF;
    --bg-alt: #F4F6FA;
    --text: #2D3748;
    --text-light: #718096;
    --text-lighter: #A0AEC0;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
}
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Section Base --- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-en {
    display: inline-block;
    font-family: "Georgia", serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-lighter);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin: 14px auto 18px;
}
.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}
.nav-logo-image {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 19px;
    flex-shrink: 0;
}
.logo-text {
    font-size: 15px;
    white-space: nowrap;
}
.nav-menu {
    display: flex;
    gap: 4px;
}
.nav-link {
    padding: 6px 12px;
    font-size: 14px;
    color: var(--text-light);
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
    font-weight: 500;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(27,58,110,0.06);
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(27, 58, 110, 0.16);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    flex-shrink: 0;
}
.lang-option {
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    transition: all var(--transition);
}
.lang-option.active {
    background: var(--primary);
    color: #fff;
}
.lang-separator {
    font-size: 12px;
    color: var(--text-lighter);
    padding: 0 2px;
    user-select: none;
}
.lang-switch:hover {
    border-color: rgba(27, 58, 110, 0.28);
}
.lang-switch:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 2px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s ease;
        pointer-events: none;
    }
    .nav-actions {
        gap: 8px;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link { padding: 12px 16px; font-size: 15px; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 480px) {
    .nav-container { padding: 0 16px; }
    .nav-logo { gap: 8px; }
    .nav-logo-image { width: 46px; height: 46px; }
    .logo-text { font-size: 14px; }
    .lang-option {
        min-width: 30px;
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 68px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(27,58,110,0.92), rgba(45,125,210,0.78)),
        url('../images/hero-campus-800.jpg') center/cover no-repeat;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, transparent 0%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 24px;
    max-width: 900px;
}
.hero-tag {
    display: inline-block;
    background: rgba(232,168,56,0.9);
    color: #fff;
    padding: 6px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    opacity: 0.92;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 1px;
}
.hero-theme {
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 3px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 1px;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(232,168,56,0.35);
}
.btn-primary:hover {
    background: #d4962e;
    border-color: #d4962e;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(232,168,56,0.45);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.1;
}
.stat-label {
    font-size: 14px;
    opacity: 0.75;
    letter-spacing: 1px;
}
.scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px; height: 44px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    animation: bounce 2s infinite;
}
.scroll-down span {
    width: 4px; height: 10px;
    background: rgba(255,255,255,0.65);
    border-radius: 4px;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(8px); }
    60% { transform: translateX(-50%) translateY(4px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-text p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}
.about-text strong { color: var(--primary); }
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--secondary);
}
.info-icon { font-size: 32px; margin-bottom: 10px; }
.info-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}
.info-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ORG
   ============================================ */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.org-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}
.org-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.org-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.org-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.org-list li {
    padding: 6px 0;
    font-size: 15.5px;
    color: var(--text);
    border-bottom: 1px dashed var(--border);
}
.org-list li:last-child { border-bottom: none; }
.org-note {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 8px;
}
.org-sponsor { border-left: 4px solid var(--accent); }

/* ============================================
   TRACKS & FIELDS
   ============================================ */
.track-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}
.track-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.track-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.track-1::before { background: linear-gradient(90deg, #2563EB, #3B82F6); }
.track-2::before { background: linear-gradient(90deg, #059669, #10B981); }
.track-3::before { background: linear-gradient(90deg, #D97706, #F59E0B); }
.track-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.track-no {
    font-size: 48px;
    font-weight: 900;
    opacity: 0.07;
    position: absolute;
    top: 16px; right: 24px;
    line-height: 1;
}
.track-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 6px;
}
.track-type {
    display: inline-block;
    font-size: 13px;
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}
.track-1 .track-type { background: #EFF6FF; color: #2563EB; }
.track-2 .track-type { background: #ECFDF5; color: #059669; }
.track-3 .track-type { background: #FFFBEB; color: #D97706; }
.track-card > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}
.track-points {
    list-style: none;
}
.track-points li {
    padding: 5px 0 5px 22px;
    font-size: 14px;
    color: var(--text);
    position: relative;
}
.track-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.fields-title {
    text-align: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 28px;
    font-weight: 700;
}
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.field-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition);
}
.field-item:hover {
    border-color: var(--secondary);
    background: #EEF4FF;
    transform: translateY(-2px);
}
.field-item span {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding-left: 72px;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 16px;
    top: 4px;
    width: 23px; height: 23px;
    background: var(--secondary);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--secondary);
    z-index: 1;
}
.timeline-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.timeline-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.timeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.timeline-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 6px;
}
.timeline-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   RULES
   ============================================ */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.rule-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    border-top: 3px solid var(--secondary);
    transition: all var(--transition);
}
.rule-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.rule-card h3 {
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.rule-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
}
.rule-sub {
    font-size: 14px !important;
    color: var(--text-light) !important;
    margin-top: 8px;
}

/* ============================================
   AWARDS
   ============================================ */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.award-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.award-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
}
.award-special::after { background: linear-gradient(90deg, #E8A838, #F59E0B); }
.award-first::after { background: linear-gradient(90deg, #DC2626, #EF4444); }
.award-second::after { background: linear-gradient(90deg, #2563EB, #3B82F6); }
.award-third::after { background: linear-gradient(90deg, #059669, #10B981); }
.award-org::after { background: linear-gradient(90deg, #7C3AED, #8B5CF6); }

.award-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.award-medal {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    font-weight: 900;
}
.award-special .award-medal { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #B45309; }
.award-first .award-medal { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: #991B1B; }
.award-second .award-medal { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); color: #1E40AF; }
.award-third .award-medal { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #047857; }
.award-org .award-medal { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #5B21B6; }

.award-card h3 {
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 8px;
}
.award-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--border);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 28px 14px 12px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}
.gallery-item:hover .gallery-cap {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    user-select: none;
}
.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-caption {
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
    font-size: 15px;
}

/* ============================================
   VIDEO
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 28px;
}
.video-card video {
    width: 100%;
    border-radius: var(--radius);
    background: #000;
    aspect-ratio: 16/9;
    object-fit: contain;
}
.video-card p {
    text-align: center;
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ============================================
   REGISTER
   ============================================ */
.register-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.reg-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.reg-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--secondary);
}
.reg-num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 16px;
}
.reg-step h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}
.reg-step p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}

.register-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.reg-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}
.reg-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    opacity: 0.9;
}
.reg-email {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    word-break: break-all;
}
.reg-info p { font-size: 15px; opacity: 0.85; line-height: 1.7; }
.reg-tip a { color: var(--accent-light); text-decoration: underline; }
.reg-info:last-child { background: linear-gradient(135deg, var(--secondary), #1B5AB8); }
@media (max-width: 640px) {
    .register-box { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--secondary);
}
.contact-icon {
    font-size: 36px;
    margin-bottom: 14px;
}
.contact-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
.contact-card a { color: var(--secondary); font-weight: 600; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.82);
    padding: 56px 0 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
}
.footer-logo .logo-mark {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.footer-theme {
    font-size: 15px;
    opacity: 0.7;
    margin-top: 6px;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.55;
    line-height: 1.9;
}
.footer-bottom p + p { margin-top: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }
    .hero-stats { gap: 28px; }
    .stat-num { font-size: 32px; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 54px; }
    .timeline-dot { left: 8px; width: 20px; height: 20px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-title { letter-spacing: 2px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .track-cards { grid-template-columns: 1fr; }
    .fields-grid { grid-template-columns: 1fr 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr 1fr; }
    .register-steps { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html[lang="en"] .logo-text {
    font-size: 14px;
}

html[lang="en"] .nav-link {
    font-size: 13px;
    padding: 6px 10px;
}

html[lang="en"] .hero-title {
    letter-spacing: 2px;
}

html[lang="en"] .hero-subtitle,
html[lang="en"] .hero-theme,
html[lang="en"] .section-desc,
html[lang="en"] .about-text p,
html[lang="en"] .info-card p,
html[lang="en"] .org-list li,
html[lang="en"] .track-card > p,
html[lang="en"] .track-points li,
html[lang="en"] .timeline-card p,
html[lang="en"] .rule-card p,
html[lang="en"] .award-card p,
html[lang="en"] .video-card p,
html[lang="en"] .reg-step p,
html[lang="en"] .reg-info p,
html[lang="en"] .contact-card p,
html[lang="en"] .footer-bottom {
    line-height: 1.7;
}
