/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cyan:      #00B1C9;
    --cyan-dark: #0090b8;
    --dark:      #0d1117;
    --text:      #1a1a1a;
    --muted:     #6b7280;
    --light:     #9ca3af;
    --bg-white:  #ffffff;
    --bg-gray:   #f8f9fa;
    --border:    #e5e7eb;
    --max-w:     1200px;
}

html { scroll-behavior: smooth; }

/* ===== WRAPPER ===== */
.page-wrapper {
    background: #fff;
    max-width: var(--max-w);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* ===== SECTION BASE ===== */
.section { padding: 64px 48px; }
.section.bg-gray { background: var(--bg-gray); }
.section + .section { border-top: 1px solid var(--border); }

.section-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-title-line {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--cyan);
    border-radius: 2px;
    margin: 16px 0 36px;
}

/* ===== HERO ===== */
.hero {
    background: var(--dark);
    padding: 80px 56px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 10% 60%, rgba(0,177,201,0.10) 0%, transparent 48%),
            radial-gradient(circle at 90% 25%, rgba(0,153,185,0.07) 0%, transparent 42%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(0,177,201,0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,177,201,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* Two-column layout */
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-shield {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(0,177,201,0.28));
    animation: shieldFloat 4s ease-in-out infinite;
}

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

.hero-univ {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.hero-title .accent { color: var(--cyan); }

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.75;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.badge {
    background: rgba(0,177,201,0.1);
    border: 1px solid rgba(0,177,201,0.28);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.btn {
    display: inline-block;
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--cyan-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,177,201,0.38);
}

/* ===== ABOUT ===== */
.about-body {
    border-left: 4px solid var(--cyan);
    padding-left: 24px;
    margin-top: 4px;
}

.about-body p {
    font-size: 0.98rem;
    color: #374151;
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-body p:last-child { margin-bottom: 0; }

.about-body strong { color: var(--text); font-weight: 600; }

/* ===== TRACKS ===== */
.tracks-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.track-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px 44px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.track-panel:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-color: rgba(0,177,201,0.3);
}

/* Watermark number */
.track-panel-bg-num {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9rem;
    font-weight: 900;
    color: var(--cyan);
    opacity: 0.045;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
}

/* Left column */
.track-panel-left {
    flex: 0 0 300px;
    min-width: 0;
}

.track-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0,177,201,0.1);
    border: 1px solid rgba(0,177,201,0.25);
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.track-panel-label { display: none; }

.track-panel-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.track-panel-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
}

/* Vertical divider */
.track-panel-left::after {
    content: '';
    display: none;
}

/* Right column */
.track-panel-right {
    flex: 1;
    min-width: 0;
    padding-left: 48px;
    border-left: 1px solid var(--border);
}

.track-panel-tasks-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.track-tag {
    background: rgba(0,177,201,0.07);
    border: 1px solid rgba(0,177,201,0.22);
    color: #0a3d5c;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 99px;
    transition: all 0.2s ease;
    cursor: default;
}

.track-tag:hover {
    background: rgba(0,177,201,0.15);
    border-color: rgba(0,177,201,0.45);
    color: #022d4a;
}

/* ===== STAGES ===== */
.stages-row {
    display: flex;
    gap: 0;
    position: relative;
    margin-top: 8px;
}

.stages-row::before {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(16.66% + 12px);
    right: calc(16.66% + 12px);
    height: 2px;
    background: linear-gradient(90deg, var(--cyan) 0%, rgba(0,177,201,0.15) 100%);
}

.stage {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.stage-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(0,177,201,0.07);
}

.stage-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
}

.stage-date {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.stage-info {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===== CONDITIONS ===== */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cond-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cond-item:hover {
    border-color: rgba(0,177,201,0.35);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.cond-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cyan);
    opacity: 0.35;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}

.cond-text {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.6;
}

.cond-text strong { color: var(--text); }

.cond-text a {
    color: var(--cyan-dark);
    text-decoration: none;
    font-weight: 600;
}

.cond-text a:hover { text-decoration: underline; }

/* ===== CRITERIA ===== */
.criteria-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 32px;
    font-style: italic;
}

.criteria-list { display: flex; flex-direction: column; gap: 20px; }

.criterion { }

.criterion-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 12px;
}

.criterion-name {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}

.criterion-score {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cyan);
    white-space: nowrap;
    flex-shrink: 0;
}

.criterion-score span {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--light);
}

.progress-track {
    height: 8px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
    border-radius: 99px;
    transition: width 0.6s ease;
}

/* ===== PRIZES ===== */
.prizes-total {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 40px;
}

.prizes-total strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cyan);
}

.prizes-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.prize-card {
    flex: 1;
    max-width: 200px;
    border-radius: 12px 12px 0 0;
    padding: 28px 16px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.prize-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
}

.prize-card.gold {
    height: 300px;
    background: linear-gradient(180deg, rgba(0,177,201,0.08) 0%, #f8f9fa 100%);
    border: 2px solid rgba(0,177,201,0.3);
    border-bottom: none;
}
.prize-card.gold::after { background: var(--cyan); }

.prize-card.silver {
    height: 240px;
    background: #f8f9fa;
    border: 2px solid var(--border);
    border-bottom: none;
}
.prize-card.silver::after { background: #9ca3af; }

.prize-card.bronze {
    height: 200px;
    background: #f8f9fa;
    border: 2px solid var(--border);
    border-bottom: none;
}
.prize-card.bronze::after { background: #cd7f32; }

.prize-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.09); }

.prize-emoji { font-size: 2rem; margin-bottom: 8px; }

.prize-place-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.prize-track-note {
    font-size: 0.7rem;
    color: var(--light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.prize-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.prize-card.gold .prize-amount {
    color: var(--cyan-dark);
    font-size: 1.6rem;
}

.prize-currency {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 3px;
}

/* Special nomination */
.special-nomination {
    background: linear-gradient(135deg, rgba(0,177,201,0.06), rgba(0,153,185,0.03));
    border: 1px solid rgba(0,177,201,0.25);
    border-radius: 10px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 540px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.special-nomination:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border-color: rgba(0,177,201,0.4);
}

.special-nom-icon { font-size: 2.2rem; flex-shrink: 0; }

.special-nom-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.special-nom-sub {
    font-size: 0.8rem;
    color: var(--muted);
}

.special-nom-amount {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.special-nom-amount .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cyan-dark);
}

.special-nom-amount .cur {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ===== ORGANIZERS ===== */
.org-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.org-card {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 26px 28px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.org-card:hover {
    border-color: rgba(0,177,201,0.3);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.org-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.org-name {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.org-person {
    font-size: 0.84rem;
    color: var(--muted);
}

.org-location {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.org-location-icon { font-size: 1.3rem; flex-shrink: 0; }

.org-location-text strong { display: block; font-size: 0.95rem; }


/* ===== SECTION 1: HERO (hi-*) ===== */
.hi-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background: #fff;
    min-height: 500px;
    overflow: hidden;
}

.hi-text { max-width: 55%; }

.hi-univ {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #00B5C8;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hi-h1 {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.hi-sub {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #00B5C8;
    text-transform: uppercase;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hi-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hi-badge {
    background: #00B5C8;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 16px;
}

.hi-btn {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #00B5C8;
    color: #00B5C8;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 40px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.hi-btn:hover { background: #00B5C8; color: #fff; }

.hi-robot {
    width: 42%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-shrink: 0;
}

.hi-robot img {
    max-height: 480px;
    object-fit: contain;
    margin-top: 60px;
    max-width: 100%;
}

/* ===== SECTION 2: ABOUT (about-*) ===== */
.about-s {
    display: flex;
    min-height: 600px;
    background: #fff;
    overflow: visible;
}

.about-photo-col {
    width: 45%;
    position: relative;
    flex-shrink: 0;
}

.about-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
}

.about-title-box {
    position: absolute;
    top: -60px;
    left: 0;
    right: -35%;
    background: #00B5C8;
    padding: 28px 40px;
    z-index: 10;
}

.about-title-box h2 {
    font-size: 38px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.about-body-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 64px;
    position: relative;
    z-index: 1;
}

.about-body-col p {
    font-size: 13.5px;
    line-height: 1.9;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #1e1e1e;
    margin: 0;
    text-align: justify;
}

/* ===== SECTION ORGANIZERS (org-s) ===== */
.org-s { padding: 64px 48px; }

.org-s-inner {
    display: flex;
    flex-direction: column;
}

.org-s-inner .section-title-line { margin-bottom: 32px; }
.org-s-inner .org-grid { margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .section { padding: 56px 32px; }
    .org-s { padding: 56px 32px; }
    .conditions-grid { grid-template-columns: repeat(2, 1fr); }

    .track-panel { gap: 32px; padding: 32px; }
    .track-panel-left { flex: 0 0 220px; }
    .track-panel-right { padding-left: 32px; }

    /* Hero */
    .hi-section { padding: 48px 40px; }

    /* About */
    .about-s { min-height: auto; }
    .about-photo-col { width: 40%; }
    .about-title-box { right: -20%; padding: 20px 28px; }
    .about-title-box h2 { font-size: 28px; }
    .about-body-col { padding: 48px 36px; }
    .about-body-col p { font-size: 12px; }
}

@media (max-width: 680px) {
    body { padding: 0; }
    .page-wrapper { border-radius: 0; box-shadow: none; }
    .section { padding: 44px 20px; }
    .org-s { padding: 44px 20px; }

    /* ---- Hero section mobile ---- */
    .hi-section {
        flex-direction: column;
        padding: 40px 20px 36px;
        min-height: auto;
        text-align: center;
        gap: 0;
    }
    .hi-text { max-width: 100%; }
    .hi-h1 { font-size: clamp(30px, 9vw, 48px); }
    .hi-badges { justify-content: center; }
    /* Hide robot on mobile */
    .hi-robot { display: none; }

    /* ---- About section mobile: hide photo, keep title + text ---- */
    .about-s {
        flex-direction: column;
        min-height: auto;
        overflow: hidden;
    }
    /* Hide the photo image but keep the column for the title */
    .about-photo-col {
        width: 100%;
        flex-shrink: 0;
    }
    .about-photo-col img { display: none; }
    .about-title-box {
        position: static;
        right: auto;
        top: auto;
        padding: 24px 20px;
    }
    .about-title-box h2 { font-size: 22px; }
    .about-body-col {
        padding: 24px 20px 36px;
        align-items: flex-start;
    }
    .about-body-col p {
        font-size: 11.5px;
        letter-spacing: 0.04em;
        line-height: 1.85;
    }

    /* ---- Tracks ---- */
    .track-panel { flex-direction: column; gap: 20px; padding: 24px 20px; }
    .track-panel-left { flex: none; width: 100%; }
    .track-panel-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-top: 20px;
    }
    .track-panel-bg-num { font-size: 6rem; opacity: 0.03; }

    /* ---- Conditions ---- */
    .conditions-grid { grid-template-columns: 1fr; }

    /* ---- Stages ---- */
    .stages-row { flex-direction: column; gap: 24px; }
    .stages-row::before { display: none; }

    /* ---- Prizes ---- */
    .prizes-podium { gap: 8px; }
    .prize-card.gold   { height: 260px; }
    .prize-card.silver { height: 218px; }
    .prize-card.bronze { height: 183px; }

    .special-nomination { flex-wrap: wrap; }
    .special-nom-amount { margin-left: 0; }

    /* ---- Organizers ---- */
    .org-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .prizes-podium { flex-direction: column; align-items: stretch; }
    .prize-card,
    .prize-card.gold,
    .prize-card.silver,
    .prize-card.bronze {
        height: auto !important;
        padding: 26px 20px;
        border-radius: 10px;
        border-bottom: 2px solid;
        max-width: 100%;
    }
    .prize-card.gold   { border-color: rgba(0,177,201,0.3); order: -1; }
    .prize-card.silver { border-color: var(--border); }
    .prize-card.bronze { border-color: var(--border); }

    .hi-badges { flex-direction: column; align-items: center; }
}