.header1{
    height: 70px;
     background: rgba(8,12,18,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
#logo_F{
    width: 80px;
    margin-top: 0;
}
.participation-boxes{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.participation-box{
    display: flex;
    justify-content: center;
    align-items: center
    ;flex-direction: column;
    width: 650px;
    height: 400px;
    background-color: #151f30;
    margin-left: 20px;
    border: 3px solid #162030;
    border-radius: 10px;
    cursor: pointer;
}
#box2{
    width: 650px;
    height: 430px;
    margin-top: 25px;
}
#box2 > div{
    height: 22%;
    margin-bottom: 45px;
}
.participation-box:hover{
    border-bottom: 8px solid #1d2e49;
    transition: 0.5s ease;
    margin-bottom: 5px;
    padding: 10px;
}
.participation-box > div{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 23%;
    background-color: #1d2e49;
    border-radius: 100px;
    margin-bottom: 20px;
    font-size: 35px;
}
.participation-box > h1 {
    font-size: 18px;
    margin-bottom: 30px;
}
.participation-box > span{
    font-size: 15px;
}
.layout-div{
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: row;
    margin-top: 50px;
}
.layout-div > div{
    width: 50%;
    height: 100%;
    background-color: #1d2e49;
    margin-left: 20px;
    border-radius: 10px;
    padding-top: 0px;
}
.layout-div > div:hover{
    box-shadow: 0px 0px 10px #21314b;
    transition: 0.7s ease;
}
.layout-div > div > h2{
    font-size: 30px;
    margin-top: 30px;
    font-weight: bold;
}

.layout-span{
    text-align: justify;
    padding: 20px;
    padding-top: 0;
    font-size: 16px;
}

.timeline{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 600px;
}
.timeline > h2{
    font-size: 50px;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 70px;
}
.timeline-line{
    position: absolute;
    width: 5px;
    height: 65%;
    background-color: #1d2e49;
    margin-top: 180px;
    border-radius: 20px;
}
.concepts-section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 50px;
}
.concepts-div{
    width: 300px;
    height: fit-content;
    padding: 10px;
    background-color: #162030;
    margin-left: 10px;
    border-radius: 10px;
    font-size: 23px;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}
 .syllabus-heading{
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-top: 50px;
}
.syllabus-button{
    width: 80%;
    height: 65px;
    background-color: #21314b;
    color: white;
    font-size: 23px;
    font-family: 'Cormorant Garamond', serif;
    border: 2px solid #1d2e49;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 30px;
}
.syllabus-button:hover{
    background-color: #1a283f;
    transition: 0.7s ease;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 330px;
    height: 70px;
    background-color: #162030;
    border-radius: 15px;
    margin-top: 25px;
    font-size: 25px;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}
.right-container{
    margin-left: 450px;
}
.left-container{
    margin-right: 450px;
}
.rules-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 300px;
}
.rules-section > h2{
    font-family: 'Cormorant Garamond', serif;
    font-size: 50px;
    font-weight: 800;
    font-style: italic;
    margin-top: 50px;
}
#rules-boxes > div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 40%;
    height: 150px;
    background-color: #21314b;
    margin-top: 10px;
    margin-left: 20px;
    border-radius: 10px;
    padding: 20px;
}

#rules-boxes{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 500px;
}
#rules-boxes > div > h2 {
    font-size: 100px;
    font-family: 'Cormorant Garamond', serif;
    margin-right: 150px;
    margin-bottom: 90px;
}
#rules-boxes > div > span{
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}
#warning-span{
    margin-top: 30px;
    color: red;
    font-family: 'Cormorant Garamond', serif;
}
.competition-banner {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 90%;
    height: 300px;
    margin-top: 250px;
    margin-left: 60px;
    padding: 20px;
    background-color: #151f30;
    border-radius: 20px;
}
.competition-info-div {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 300px;
    padding-top: 20px;
}
.competition-info-div > h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
}
.competition-info-div > span {
    font-size: 25px;
}
.left-side-competition-div > button {
    width: 200px;
    height: 55px;
    background-color: #21314b;
    color: white;
    font-size: 22px;
    font-family: 'Cormorant Garamond', serif;
    border: 2px solid #1d2e49;
    border-radius: 10px;
    cursor: not-allowed;
    margin-right: 20px;
}
.competition-banner > img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
}
.left-side-competition-div{
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 170px;
    margin-top: 200px;
}
.social-links{
        margin-top: 10px;
        margin-right: 20px;
    }
#footer{
    margin-top: 100px;
}


@media screen and (max-width: 1120px){
    #rules-boxes > div > span{
        font-size: 16px;
    }
    .competition-info-div > h2 {
        font-size: 45px;
    }
    .competition-info-div > span {
        font-size: 25px;
    }
}
@media screen and (max-width: 750px){
    .participation-boxes{
        flex-direction: column;
    }
    .participation-box{
        width: 90%;
        max-width: 300px;
        max-height: 450px;
        margin-top: 10px;
    }
    .participation-box > div{
        max-width: 80px;
        max-height: 80px;
    }
    .timeline > h2 {
        font-size: 35px;
    }
    .layout-div{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 1200px;
    }
    .layout-div > div {
        width: 90%;
        margin-top: 20px;
    }
    .right-container{
        margin-left: 0;
    }
    .left-container{
        margin-right: 0;
    }
    .timeline-line{
       display: none;
    }
    .concepts-section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .concepts-div{
        margin-top: 10px;
        margin-right: 20px;
    }
    .rules-section > h2{
        font-size: 38px;
        margin-top: 20px;
    }
    #rules-boxes{
        flex-wrap: nowrap;
        flex-direction: column;
        margin-top: 120px;
    }
    #rules-boxes > div {
        width: 90%;
    }
    #rules-boxes > div > span{
        font-size: 14px;
    }
    #warning-span {
        margin-top: 120px;
        margin-left: 50px;
        font-size: 15px;
    }
    .competition-banner {
        flex-direction: column;
        margin-top: 600px;
        width: 480px;
        height: 750px;
        margin-left: 20px;
    }
    .competition-info-div > h2 {
        font-size: 55px;
        margin-left: 0px;
    }
    .competition-info-div > span {
        font-size: 18px;
        margin-top: 20px;
        text-align: justify;
    }
    .competition-banner > img {
        margin-top: 140px;
    }
    .competition-info-div > button {
        position: absolute;
        height: 50px;
        margin-left: 40px;
        margin-top: 310px;
    }
    .left-side-competition-div{
        flex-direction: column;
        margin-top: 330px;
        margin-left: 180px;
    }

}
@media screen and (max-width: 365px){
    #rules-boxes > div > h2 {
        font-size: 70px;
    }
    #rules-boxes > div > span{
        font-size: 10px;
    }
    .competition-banner {
        width: 100%;
        margin-left: 0px;
    }
    .competition-info-div > h2 {
        position: absolute;
        font-size: 40px;
        margin-left: 0px;
    }
    .competition-info-div > span {
        font-size: 16px;
        margin-top: 150px;
    }
    .competition-info-div > button {
        margin-left: 0;
        margin-top: 270px;
    }
    .left-side-competition-div{
        flex-direction: column;
        margin-top: 300px;
        margin-left: 200px;
    }

}

        /* ── BB-specific overrides — all tokens from style.css :root ── */

        /* Hero layout */
        .bb-hero-body {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            flex: 1;
            padding: 100px 24px 80px;
            min-height: 100vh;
        }

        .bb-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--accent-dim);
            border: 1px solid var(--border-hover);
            border-radius: 100px;
            padding: 6px 20px;
            font-size: 0.72rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 28px;
            animation: fadeUp 0.8s ease both;
        }

        .bb-hero-h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(3rem, 8vw, 6rem);
            font-weight: 300;
            color: var(--white);
            line-height: 1.05;
            letter-spacing: -0.02em;
            margin-bottom: 24px;
            animation: fadeUp 0.9s ease 0.1s both;
        }

        .bb-hero-h1 span {
            font-style: italic;
            color: var(--accent);
        }

        .bb-hero-sub {
            font-size: 1.05rem;
            color: var(--muted);
            max-width: 520px;
            line-height: 1.75;
            margin-bottom: 44px;
            animation: fadeUp 1s ease 0.2s both;
        }

        .bb-hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeUp 1s ease 0.3s both;
        }

        .bb-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            height: 48px;
            padding: 0 30px;
            border-radius: 100px;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            text-decoration: none;
            transition: all var(--transition);
        }

        .bb-btn-fill {
            background: var(--accent);
            color: var(--black);
            border: 1px solid var(--accent);
        }
        .bb-btn-fill:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow); }
        .bb-btn-fill:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

        .bb-btn-ghost {
            background: transparent;
            color: var(--white);
            border: 1px solid var(--border-hover);
        }
        .bb-btn-ghost:hover { background: var(--accent-dim); border-color: var(--accent); }

        .bb-scroll-hint {
            position: absolute;
            bottom: 32px; left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            color: var(--muted);
            font-size: 1.2rem;
            animation: bob 2.2s ease-in-out infinite;
        }
        @keyframes bob {
            0%,100% { transform: translateX(-50%) translateY(0); }
            50%      { transform: translateX(-50%) translateY(8px); }
        }

        /* ── Shared section wrapper ── */
        .bb-section {
            width: min(1100px, 92%);
            margin: 0 auto;
            padding: 88px 0;
        }

        .bb-label {
            font-size: 0.7rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 10px;
        }

        .bb-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 400;
            color: var(--white);
            line-height: 1.15;
            margin-bottom: 14px;
        }

        .bb-lead {
            font-size: 1rem;
            color: var(--muted);
            max-width: 600px;
            line-height: 1.8;
        }

        .bb-divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 0;
        }

        /* ── Stat pills ── */
        .bb-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 14px;
            margin-top: 52px;
        }

        .bb-stat {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 22px 24px;
            display: flex;
            align-items: center;
            gap: 18px;
            transition: border-color var(--transition);
        }
        .bb-stat:hover { border-color: var(--border-hover); }

        .bb-stat-icon {
            width: 44px; height: 44px;
            border-radius: 10px;
            background: var(--accent-dim);
            border: 1px solid var(--border);
            display: flex; align-items: center; justify-content: center;
            color: var(--accent);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .bb-stat strong {
            display: block;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--white);
            line-height: 1.2;
        }
        .bb-stat span { font-size: 0.8rem; color: var(--muted); }

        /* ── Alt background sections ── */
        .bb-alt { background: var(--surface); }

        /* ── Eligibility cards ── */
        .bb-elig-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 16px;
            margin-top: 48px;
        }

        .bb-elig-card {
            background: var(--blackk);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px 24px;
            position: relative;
            overflow: hidden;
            transition: border-color var(--transition), transform var(--transition);
        }
        .bb-elig-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            opacity: 0;
            transition: opacity var(--transition);
        }
        .bb-elig-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
        .bb-elig-card:hover::before { opacity: 1; }

        .bb-elig-card i {
            font-size: 1.3rem;
            color: var(--accent);
            margin-bottom: 14px;
            display: block;
        }
        .bb-elig-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
        .bb-elig-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

        /* ── Why cards ── */
        .bb-why-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 52px;
        }

        .bb-why-card {
            background: var(--blackk);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 36px 32px;
            transition: border-color var(--transition), transform var(--transition);
        }
        .bb-why-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

        .bb-why-card i {
            font-size: 1.6rem;
            color: var(--accent2);
            margin-bottom: 18px;
            display: block;
        }
        .bb-why-card h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
        .bb-why-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

        /* ── Round cards ── */
        .bb-rounds {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 52px;
        }
        @media(max-width:700px) { .bb-rounds { grid-template-columns: 1fr; } }

        .bb-round {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 36px 32px;
            position: relative;
            overflow: hidden;
            transition: border-color var(--transition);
        }
        .bb-round:hover { border-color: var(--border-hover); }

        .bb-round-ghost {
            position: absolute;
            top: -20px; right: 16px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 9rem;
            font-weight: 600;
            color: var(--accent);
            opacity: 0.05;
            line-height: 1;
            pointer-events: none;
            user-select: none;
        }

        .bb-round-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--accent-dim);
            border: 1px solid var(--border-hover);
            color: var(--accent);
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 4px 14px;
            border-radius: 100px;
            margin-bottom: 20px;
        }

        .bb-round h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.9rem;
            font-weight: 400;
            color: var(--white);
            margin-bottom: 14px;
        }
        .bb-round p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }

        .bb-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .bb-chip {
            background: var(--blackk);
            border: 1px solid var(--border);
            border-radius: 100px;
            padding: 4px 14px;
            font-size: 0.78rem;
            color: var(--muted);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .bb-chip i { color: var(--accent); font-size: 0.72rem; }

        /* ── Timeline ── */
        .bb-tl {
            margin-top: 60px;
            position: relative;
            padding-left: 36px;
        }
        .bb-tl::before {
            content: '';
            position: absolute;
            left: 8px; top: 8px; bottom: 8px;
            width: 1px;
            background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
        }
        .bb-tl-item {
            position: relative;
            margin-bottom: 40px;
        }
        .bb-tl-item:last-child { margin-bottom: 0; }
        .bb-tl-item::before {
            content: '';
            position: absolute;
            left: -32px; top: 5px;
            width: 12px; height: 12px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 0 4px var(--accent-dim);
        }
        .bb-tl-step {
            font-size: 0.68rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 4px;
        }
        .bb-tl-item h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
        .bb-tl-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

        /* ── Concepts ── */
        .bb-concepts {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 12px;
            margin-top: 48px;
        }
        .bb-concept {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 22px 16px;
            text-align: center;
            transition: border-color var(--transition), background var(--transition);
            cursor: default;
        }
        .bb-concept:hover { border-color: var(--border-hover); background: var(--accent-dim); }
        .bb-concept i { display: block; font-size: 1.4rem; color: var(--accent2); margin-bottom: 10px; }
        .bb-concept span { font-size: 0.85rem; font-weight: 500; color: var(--text-body); }

        .bb-syllabus-cta { margin-top: 44px; text-align: center; }
        .bb-syllabus-cta p { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }

        /* ── Rules ── */
        .bb-rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin-top: 48px;
        }
        .bb-rule {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px 24px;
        }
        .bb-rule-num {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.5rem;
            font-weight: 300;
            color: var(--accent);
            opacity: 0.5;
            line-height: 1;
            margin-bottom: 12px;
        }
        .bb-rule p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }
        .bb-rule p strong { color: var(--text-body); font-weight: 600; }

        .bb-warning {
            margin-top: 24px;
            background: rgba(220,80,80,0.08);
            border: 1px solid rgba(220,80,80,0.25);
            border-radius: var(--radius-sm, 8px);
            padding: 14px 20px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.85rem;
            color: #e09090;
            line-height: 1.65;
        }
        .bb-warning i { font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }

        /* ── CTA banner ── */
        .bb-cta {
            background: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 88px 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .bb-cta::before {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%,-50%);
            width: 700px; height: 400px;
            background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
            pointer-events: none;
        }
        .bb-cta-inner {
            position: relative;
            z-index: 1;
            max-width: 580px;
            margin: 0 auto;
        }
        .bb-cta img {
            width: 90px; height: 90px;
            object-fit: contain;
            border-radius: 18px;
            border: 1px solid var(--border);
            margin-bottom: 28px;
        }
        .bb-cta h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 400;
            color: var(--white);
            margin-bottom: 14px;
        }
        .bb-cta p { font-size: 0.95rem; color: var(--muted); margin-bottom: 36px; line-height: 1.75; }

        .bb-cta-social {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 24px;
        }
        .bb-cta-social a {
            width: 40px; height: 40px;
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all var(--transition);
        }
        .bb-cta-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

        /* ── Mobile tweaks ── */
        @media(max-width:600px) {
            .bb-section { padding: 60px 0; }
            .bb-hero-h1 { font-size: 2.8rem; }
            .bb-hero-actions { flex-direction: column; align-items: center; }
        }
