/* CodeByTushu — LeetCode Design System */
/* Gold: #ffc400 | BG: #000000 | Text: #ffffff */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

/* ============================================
   CBT DESIGN TOKENS (matches main site exactly)
   ============================================ */
:root {
    --accent:      #ffc400;
    --bg-primary:  #000000;
    --bg-card:     #111111;
    --text:        #ffffff;
    --text-muted:  #aaaaaa;
    --glow:        rgba(255, 196, 0, 0.25);
    --glow-strong: rgba(255, 196, 0, 0.45);
    --border:      rgba(255, 196, 0, 0.25);
}

/* Global Reset */

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}


/* Body */

body {
    background: transparent;

    color: white;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}


/* Old LeetCode Navbar styles removed to inherit premium cbt-navbar from main styles.css */

/* Hero Button */

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    padding: 12px 28px;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.6);
    border-radius: 30px;
    color: #ffc400;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Hero Button Hover */

.hero-btn:hover {
    background: rgba(255, 196, 0, 0.1);
    transform: translateX(5px);
}

/* Bottom Logo */

.bottom-logo {

    display: flex;

    align-items: center;

    gap: 12px;
}


/* Unlock Icon */

.unlock-icon {

    width: 28px;

    height: 28px;

    object-fit: contain;

    margin-top: -2px;
}

/* Hero Section */

.hero-section {

    width: 100%;

    max-width: 1280px;

    margin: 160px auto 20px;

    padding: 75px 65px;

    min-height: 540px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-sizing: border-box;

    background: transparent;

    border-radius: 30px;

    position: relative;

    overflow: hidden;
}

/* Hero Tag */

.tag {

    position: absolute;

    top: 40px;
    right: 40px;

    background: rgba(0, 0, 0, 0.4);

    color: #ffc400;

    padding: 12px 24px;

    border-radius: 40px;

    border: 1px solid #ffc400;

    font-size: 15px;

    letter-spacing: 1px;
}


/* Hero Content */

.hero-content {

    width: 100%;

    max-width: 560px;

    z-index: 2;
}


/* Hero Heading */

.hero-content h2 {

    font-size: 72px;

    line-height: 1.1;

    font-weight: 900;

    margin-bottom: 30px;
}


/* Hero Text */

.hero-text {

    color: #9a9a9a;

    font-size: 20px;

    line-height: 1.8;

    max-width: 600px;
}


/* Stats Section */

.stats {

    display: flex;

    gap: 50px;

    margin-top: 20px;
}


/* Stats Small Text */

.stats span {
    color: #777;
}


/* Stats Big Text */

.stats h3 {

    font-size: 35px;

    margin-top: 10px;
}


/* =========================
   YEAR EXPLORE SECTION
========================= */

.year-explore-section {

    width: 85%;

    margin: 0 auto 100px auto;
}


/* =========================
   HEADING
========================= */

.explore-heading {

    text-align: center;

    margin-bottom: 55px;
}


.explore-heading h2 {

    font-size: 42px;

    color: white;

    margin-bottom: 18px;

    letter-spacing: 2px;
}


.explore-heading p {

    color: #9b9b9b;

    font-size: 16px;

    line-height: 1.8;

    width: 70%;

    margin: auto;
}


/* =========================
   CARD CONTAINER
========================= */

.year-card-container {

    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 25px;

    flex-wrap: wrap;
}


/* =========================
   YEAR CARD
========================= */

.year-card {
    width: 340px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* =========================
   GLOW EFFECT
========================= */

.year-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 196, 0, 0.08);
    border-radius: 50%;
    top: -70px;
    right: -70px;
    transition: 0.5s;
}

/* =========================
   CARD HOVER
========================= */

.year-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(255, 196, 0, 0.1);
}


.year-card:hover::before {

    transform: scale(1.2);
}


/* =========================
   BADGE
========================= */

.year-badge {

    display: inline-block;

    background: rgba(255, 196, 0, 0.15);

    color: #ffc400;

    padding: 7px 16px;

    border-radius: 50px;

    font-size: 11px;

    letter-spacing: 1px;

    margin-bottom: 22px;
}


/* =========================
   TITLE
========================= */

.year-card h3 {

    font-size: 24px;

    color: white;

    margin-bottom: 22px;

    line-height: 1.5;
}


/* =========================
   DESCRIPTION
========================= */

.year-card p {

    color: #9d9d9d;

    line-height: 1.9;

    font-size: 15px;

    margin-bottom: 35px;
}


/* =========================
   BUTTON
========================= */

.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffc400;
    color: black;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}


/* =========================
   BUTTON HOVER
========================= */

.explore-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 20px rgba(255, 196, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

/* CONTACT PAGE */

.contact-page {
    padding: 120px 7%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    width: 100%;
    max-width: 700px;
    background: #111117;
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box h1 {
    color: white;
    font-size: 55px;
    margin-bottom: 40px;
}

.contact-box form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 18px 20px;
    background: #0b0b12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: white;
    font-size: 16px;
    outline: none;
}

.contact-box textarea {
    resize: none;
}

.contact-box button {
    width: fit-content;
    padding: 16px 35px;
    background: #ffc400;
    border: none;
    border-radius: 12px;
    color: black;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-box button:hover {
    transform: translateY(-3px);
}

html {
    scroll-behavior: smooth;
}

/* Smooth Scroll */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Universal scroll offset — accounts for fixed navbar (68px + 20px padding = 88px + 2px buffer) */
[id] {
    scroll-margin-top: 90px;
}

#home {
    scroll-margin-top: 90px;
}

#problems {
    scroll-margin-top: 90px;
}

#explore {
    scroll-margin-top: 90px;
}

#contact {
    scroll-margin-top: 90px;
}

/* Section Scroll Offset */

section {
    scroll-margin-top: 90px;
}

/* =========================
   PROBLEMS PAGE
========================= */

.problems-page {

    width: 85%;

    margin: 120px auto;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
}


/* =========================
   CONTENT
========================= */

.problems-content {

    max-width: 850px;
}


/* =========================
   BADGE
========================= */

.problem-badge {

    display: inline-block;

    background: rgba(255, 196, 0, 0.12);

    color: #ffc400;

    padding: 10px 22px;

    border-radius: 50px;

    font-size: 13px;

    letter-spacing: 1px;

    margin-bottom: 30px;
}


/* =========================
   TITLE
========================= */

.problems-content h1 {

    font-size: 62px;

    color: white;

    line-height: 1.3;

    margin-bottom: 25px;
}


/* =========================
   DESCRIPTION
========================= */

.problems-content p {

    color: #9a9a9a;

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 45px;
}


/* =========================
   BUTTON
========================= */

.start-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #ffc400;

    color: black;

    text-decoration: none;

    padding: 16px 34px;

    border-radius: 14px;

    font-size: 16px;

    font-weight: 700;

    transition: 0.3s ease;
}


/* =========================
   BUTTON HOVER
========================= */

.start-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(255, 196, 0, 0.25);
}

/* =========================
   BACK BUTTON
========================= */

.back-btn-container {

    width: 85%;

    margin: 40px auto 20px;

    position: relative;

    z-index: 999;
}


/* =========================
   BUTTON STYLE
========================= */

.back-btn {

    display: inline-block;

    text-decoration: none;

    background: #17171d;

    color: white;

    padding: 14px 28px;

    border-radius: 14px;

    border: 1px solid #2a2a32;

    font-size: 15px;

    font-weight: 600;

    transition: 0.3s ease;
}


/* =========================
   BUTTON HOVER
========================= */

.back-btn:hover {

    background: #ffc400;

    color: black;

    border-color: #ffc400;

    transform: translateX(-5px);

    box-shadow: 0 10px 25px rgba(255, 196, 0, 0.2);
}

/* =========================
   MONTHS SECTION
========================= */

.months-section {

    width: 85%;

    margin: 120px auto;
}


/* =========================
   HEADING
========================= */

.months-heading {

    text-align: center;

    margin-bottom: 60px;
}


.months-heading h2 {

    color: white;

    font-size: 42px;

    margin-bottom: 20px;
}


.months-heading p {

    color: #8f8f8f;

    font-size: 17px;

    line-height: 1.8;

    width: 70%;

    margin: auto;
}


/* =========================
   GRID
========================= */

.months-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(280px, 1fr));

    gap: 32px;

    justify-content: center;
}

/* MONTHS RESPONSIVE */

@media(max-width:1000px) {

    .months-grid {

        grid-template-columns: repeat(2, 1fr);
    }

}


@media(max-width:600px) {

    .months-grid {

        grid-template-columns: 1fr;
    }

}


/* =========================
   MONTH CARD
========================= */

.month-card {

    background: linear-gradient(145deg,
            #17171d,
            #101014);

    border: 1px solid #23232b;

    border-radius: 22px;

    padding: 35px;

    text-decoration: none;

    position: relative;

    overflow: hidden;

    transition: 0.4s ease;
}


/* Glow */

.month-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    background: rgba(255, 196, 0, 0.07);

    border-radius: 50%;

    top: -80px;

    right: -80px;
}


/* Hover */

.month-card:hover {

    transform: translateY(-10px);

    border-color: #ffc400;

    box-shadow: 0 0 30px rgba(255, 196, 0, 0.15);
}


/* Month Number */

.month-card span {

    display: inline-block;

    color: #ffc400;

    font-size: 14px;

    margin-bottom: 18px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* Month Title */

.month-card h3 {

    color: white;

    font-size: 28px;

    line-height: 1.5;
}

/* =========================
   DAYS SECTION
========================= */

.days-section {

    width: 88%;

    margin: 120px auto;
}


/* =========================
   HEADING
========================= */

.days-heading {

    text-align: center;

    margin-bottom: 70px;
}


.days-heading h1 {

    font-size: 60px;

    color: white;

    margin-bottom: 20px;
}


.days-heading p {

    color: #9d9d9d;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================
   DAYS GRID
========================= */

.days-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;
}


/* =========================
   DAY CARD
========================= */

.day-card {

    background: linear-gradient(145deg,
            #17171d,
            #101014);

    border: 1px solid #25252c;

    border-radius: 24px;

    padding: 40px 20px;

    text-align: center;

    text-decoration: none;

    transition: 0.4s ease;

    position: relative;

    overflow: hidden;
}


/* Glow */

.day-card::before {

    content: "";

    position: absolute;

    width: 140px;

    height: 140px;

    background: rgba(255, 196, 0, 0.08);

    border-radius: 50%;

    top: -50px;

    right: -50px;
}


/* Hover */

.day-card:hover {

    transform: translateY(-10px);

    border-color: #ffc400;

    box-shadow: 0 0 30px rgba(255, 196, 0, 0.15);
}


.day-card span {

    color: #ffc400;

    font-size: 20px;

    font-weight: 700;

    display: block;

    margin-bottom: 20px;
}


.day-card h3 {

    color: white;

    font-size: 32px;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1000px) {

    .days-grid {

        grid-template-columns: repeat(2, 1fr);
    }

}


@media(max-width:600px) {

    .days-grid {

        grid-template-columns: 1fr;
    }

}


/* ==============================================
   DONATE SECTION (between Archive & Contact)
   ============================================== */

.donate-section {
    width: 85%;
    margin: 0 auto 100px;
}

.donate-section-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 60px 55px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.donate-section-inner:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(255, 196, 0, 0.1);
}

.donate-section-inner::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,196,0,0.1) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    border-radius: 50%;
    pointer-events: none;
}

.donate-section-inner:hover {
    border-color: rgba(255,196,0,0.35);
    box-shadow: 0 0 40px rgba(255,196,0,0.08);
}

/* ---- Left Text Block ---- */
.donate-text-block {
    flex: 1;
    min-width: 0;
}

.donate-badge {
    display: inline-block;
    background: rgba(255, 196, 0, 0.15);
    color: #ffc400;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.donate-text-block h2 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.gold-highlight {
    color: #ffc400;
    text-shadow: 0 0 20px rgba(255,196,0,0.35);
}

.donate-text-block > p {
    color: #9b9b9b;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 440px;
}

.donate-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.donate-perks li {
    color: #c0c0c0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Go to Donate Page Button */
.donate-go-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffc400;
    color: #000;
    text-decoration: none;
    padding: 15px 34px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,196,0,0.25);
}

.donate-go-btn:hover {
    transform: translateY(-4px);
    background: #ffc04a;
    box-shadow: 0 10px 32px rgba(255,196,0,0.4);
}

/* ---- Right Visual Card (mini preview) ---- */
.donate-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-card-preview {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 36px 40px;
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

/* Mini logo ring */
.dp-logo-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2.5px solid #ffc400;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 0 20px rgba(255,196,0,0.15);
    margin-bottom: 4px;
}

.dp-arrow {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.dp-d {
    color: #ffc400;
    font-size: 26px;
    font-weight: 900;
}

.donate-card-preview h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.donate-card-preview > p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Mini boba row */
.dp-boba-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px 18px;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.dp-boba-icon {
    font-size: 28px;
    line-height: 1;
}

.dp-x {
    color: #555;
    font-size: 16px;
}

.dp-qty-wrap {
    display: flex;
    gap: 6px;
}

.dp-qty {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #111;
    border: 1.5px solid #333;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dp-qty.active {
    background: #ffc400;
    border-color: #ffc400;
    color: #000;
}

/* Mini support button */
.dp-support-btn {
    width: 100%;
    padding: 12px;
    background: #ffc400;
    color: #000;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    margin-top: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

/* ---- Responsive ---- */
@media(max-width: 900px) {
    .donate-section-inner {
        flex-direction: column;
        padding: 40px 28px;
        gap: 40px;
        text-align: center;
    }
    .donate-text-block > p {
        max-width: 100%;
    }
    .donate-perks {
        align-items: center;
    }
    .donate-text-block h2 {
        font-size: 28px;
    }
    .donate-card-preview {
        width: 100%;
        max-width: 300px;
    }
}

/* LeetCode Footer 4-Column Layout (Desktop Only) */
@media (min-width: 1025px) {
    .cbt-footer-container.cbt-footer-4col {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}