/* ====================================================================== */
/* GIVEAWAYS PAGE — PREMIUM (loads after home.css)                        */
/* ====================================================================== */

.giveaways-body {
    background: radial-gradient(circle at top, #0c1428, #020617 65%);
}

.giveaways-main {
    flex: 1;
    width: 100%;
}

/* ----- Hero ----- */
.giveaways-hero {
    position: relative;
    padding: 28px 40px 18px;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(245, 165, 36, 0.08);
}

.giveaways-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.32;
    pointer-events: none;
}

.giveaways-hero-glow-a {
    width: 300px;
    height: 300px;
    background: #f5a524;
    top: -70px;
    left: 8%;
}

.giveaways-hero-glow-b {
    width: 240px;
    height: 240px;
    background: #e1306c;
    bottom: -50px;
    right: 10%;
}

.giveaways-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.giveaways-hero .hero-eyebrow {
    margin-bottom: 8px;
    padding: 4px 12px;
    font-size: 10px;
    display: inline-block;
}

.giveaways-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.giveaways-hero h1 span {
    color: #f5a524;
}

.giveaways-hero-lead {
    margin: 0 0 6px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.giveaways-hero-note {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
}

/* ----- Status bar ----- */
.gw-results-bar {
    display: flex;
    justify-content: center;
    padding: 12px 40px 4px;
}

.gw-results-count {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.gw-results-count strong {
    color: #f5a524;
}

/* ----- Sections ----- */
.gw-section {
    padding: 24px 40px 56px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.gw-section-head {
    text-align: center;
    margin-bottom: 28px;
}

.gw-section-head .section-title {
    margin-bottom: 8px;
}

.gw-section-head .section-subtitle {
    margin: 0 auto;
    max-width: 560px;
}

.gw-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 20px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.gw-empty.hidden,
.hidden {
    display: none !important;
}

.giveaways-rg {
    max-width: 1280px;
    margin: 0 auto 40px;
}

@media (max-width: 768px) {
    .giveaways-hero {
        padding: 24px 20px 16px;
    }

    .giveaways-hero-glow {
        opacity: 0.22;
    }

    .gw-results-bar,
    .gw-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Legacy page wrapper — keep grid spacing */
.giveaways-page {
    max-width: 1300px;
    margin: auto;
    padding: 0;
}

.giveaways-grid-section {
    margin-bottom: 0;
}

.ended-giveaways {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 48px;
}

.ended-giveaways > h2 {
    display: none;
}

/* ========================================================= */
/* ================= LEGACY / CARDS ======================== */
/* ========================================================= */

body.giveaways-body {
    color: #e5e7eb;
    overflow-x: hidden;
}

/* ========================================================= */
/* ================= ACTIVE CARD =========================== */
/* ========================================================= */

.active-giveaway {
    display: none;
    border-radius: 40px;
    padding: 70px;
    margin-bottom: 130px;
    background: linear-gradient(180deg,#0f172a,#050b18);
    border: 1px solid rgba(245,165,36,.15);
    box-shadow: 0 50px 140px rgba(0,0,0,.9), inset 0 0 60px rgba(245,165,36,.04);
}

.active-giveaway-inner {
    max-width: 1050px;
    margin: auto;
    text-align: center;
}


/* ===== HERO IMAGE ===== */

.hero-img {
    max-width: 600px;
    width: 100%;
    border-radius: 24px;
    margin-bottom: 30px;
    border: 1px solid rgba(245,165,36,.25);
    box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 60px rgba(245,165,36,.2);
}


/* ===== BADGE ===== */

.badge-live,
.badge-ended {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 12px;
}

.badge-live {
    background: linear-gradient(135deg,#dc2626,#ef4444);
    box-shadow: 0 0 20px rgba(239,68,68,.5);
}

.badge-ended {
    background: linear-gradient(135deg,#374151,#111827);
}

.countdown {
    font-weight: 700;
    color: #f5a524;
    margin-bottom: 16px;
}


/* ========================================================= */
/* ================= PRIZES NEW STRUCTURE ================== */
/* ========================================================= */

.prizes-wrapper {
    margin: 60px 0;
}

.main-prize {
    max-width: 480px;
    margin: 0 auto 50px;
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(180deg,#2a1b05,#0a0f1e);
    border: 1px solid rgba(245,165,36,.4);
    box-shadow: 0 30px 100px rgba(245,165,36,.35), 0 0 80px rgba(245,165,36,.2);
}

.prize-rank {
    font-size: 13px;
    letter-spacing: 1px;
    color: #f5a524;
    margin-bottom: 12px;
}

.prize-amount {
    font-size: 36px;
    font-weight: 900;
}

.other-prizes {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.prize-mini {
    min-width: 160px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg,#0f172a,#050b18);
    border: 1px solid rgba(255,255,255,.06);
    transition: .3s ease;
}

    .prize-mini:hover {
        transform: translateY(-8px);
        border-color: rgba(245,165,36,.5);
    }

.mini-amount {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 6px;
}


/* ========================================================= */
/* ================= ENTRIES HIGHLIGHT ===================== */
/* ========================================================= */

.entries-highlight {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.entry-tier {
    padding: 28px 34px;
    border-radius: 22px;
    background: linear-gradient(180deg,#0f172a,#050b18);
    border: 1px solid rgba(255,255,255,.08);
    text-align: center;
    transition: .3s ease;
}

    .entry-tier:hover {
        transform: translateY(-10px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 20px 60px rgba(245,165,36,.3);
    }

.tier-amount {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
}

.tier-entries {
    color: #f5a524;
    font-weight: 700;
}


/* ========================================================= */
/* ================= CTA =================================== */
/* ========================================================= */

.cta-btn {
    padding: 18px 48px;
    border-radius: 999px;
    background: linear-gradient(135deg,#f5a524,#ffcc70);
    color: #000;
    font-weight: 900;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(245,165,36,.4);
    transition: .3s ease;
}

    .cta-btn:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 90px rgba(245,165,36,.6);
    }


/* ========================================================= */
/* ================= ENDED ================================= */
/* ========================================================= */

#endedGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 40px;
}

@media (max-width: 600px) {
    #endedGrid {
        grid-template-columns: 1fr;
    }
}

.giveaway-card {
    border-radius: 28px;
    background: linear-gradient(180deg,#0f172a,#050b18);
    padding: 30px;
    border: 1px solid rgba(255,255,255,.05);
    transition: .3s ease;
}

    .giveaway-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 40px 100px rgba(0,0,0,.8);
    }

.view-details-btn {
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg,#f5a524,#ffcc70);
    color: #000;
    font-weight: 900;
    text-decoration: none;
}


/* ========================================================= */
/* ================= RESPONSIVE ============================ */
/* ========================================================= */

@media (max-width: 1000px) {
    .entries-highlight {
        gap: 20px;
    }
}

@media (max-width: 600px) {

    .active-giveaway {
        padding: 30px;
    }

    .main-prize {
        padding: 28px;
    }

    .entries-highlight {
        flex-direction: column;
        align-items: center;
    }

    .hero-img {
        max-width: 100%;
    }
}

/* ================= PRIZE GRID ================= */

.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 28px;
    margin: 60px 0;
}

.prize-card {
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    text-align: center;
    transition: .3s ease;
}

    .prize-card:hover {
        transform: translateY(-10px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 25px 80px rgba(245,165,36,.25);
    }

.prize-value {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
}

.prize-rank {
    color: #f5a524;
    font-size: 13px;
}


/* ================= ENTRIES SECTION ================= */

.entries-section {
    margin: 40px 0 20px;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 20px;
}

.entry-card {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    text-align: center;
    transition: .3s ease;
}

    .entry-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245,165,36,.4);
    }

.entry-amount {
    font-size: 20px;
    font-weight: 900;
}

.entry-count {
    margin-top: 6px;
    color: #f5a524;
    font-weight: 700;
}

/* ================= PRIZE CAROUSEL ================= */

.prize-carousel-wrapper {
    overflow: hidden;
    margin: 60px 0;
}

.prize-carousel {
    display: flex;
    gap: 24px;
    width: max-content;
}

.prize-slide {
    min-width: 220px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    text-align: center;
    transition: .3s ease;
}

    .prize-slide:hover {
        transform: translateY(-8px);
        border-color: rgba(245,165,36,.6);
        box-shadow: 0 20px 60px rgba(245,165,36,.25);
    }

.slide-value {
    font-size: 24px;
    font-weight: 900;
}

.slide-rank {
    margin-top: 6px;
    color: #f5a524;
    font-size: 13px;
}

.entries-section {
    margin: 50px 0;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 20px;
}

/* ================= ENTRIES SECTION ================= */

.entries-section {
    margin: 60px 0 30px;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 22px;
}

.entry-card {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    text-align: center;
    transition: .3s ease;
}

    .entry-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 20px 60px rgba(245,165,36,.25);
    }

.entry-amount {
    font-size: 20px;
    font-weight: 900;
}

.entry-count {
    margin-top: 8px;
    color: #f5a524;
    font-weight: 700;
}

/* ================= PRIZE ROADMAP ================= */

.prize-roadmap {
    position: relative;
    max-width: 650px;
    margin: 80px auto;
    padding-left: 60px;
}

    .prize-roadmap::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, #f5a524, rgba(245,165,36,.2));
    }

.roadmap-item {
    position: relative;
    margin-bottom: 50px;
}

.roadmap-dot {
    position: absolute;
    left: -60px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f5a524,#ffcc70);
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(245,165,36,.6);
}

.roadmap-card {
    background: linear-gradient(180deg,#0f172a,#060d1a);
    padding: 28px 32px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.06);
    transition: .3s ease;
}

    .roadmap-card:hover {
        transform: translateX(6px);
        border-color: rgba(245,165,36,.6);
        box-shadow: 0 20px 60px rgba(245,165,36,.2);
    }

.roadmap-value {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px;
}

.roadmap-rank {
    font-size: 13px;
    color: #f5a524;
}

/* ================= ALTERNATING TIMELINE ================= */

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px 0;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        width: 2px;
        top: 0;
        bottom: 0;
        background: linear-gradient(to bottom,#f5a524,rgba(245,165,36,.2));
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
        text-align: left;
    }

.timeline-content {
    background: linear-gradient(180deg,#0f172a,#060d1a);
    padding: 28px 32px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.06);
    display: inline-block;
    min-width: 260px;
    transition: .3s ease;
}

    .timeline-content:hover {
        transform: translateY(-6px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 20px 60px rgba(245,165,36,.2);
    }

.timeline-value {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
}

.timeline-rank {
    font-size: 13px;
    color: #f5a524;
}

.timeline-dot {
    position: absolute;
    top: 35px;
    left: 50%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f5a524,#ffcc70);
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    box-shadow: 0 0 25px rgba(245,165,36,.6);
}

@media (max-width: 768px) {

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

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 50px;
    }

        .timeline-item.left,
        .timeline-item.right {
            left: 0;
            text-align: left;
        }

    .timeline-dot {
        left: 20px;
        transform: none;
    }
}

/* ================= CLEAN PRIZE GRID ================= */

.prize-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 70px auto;
}

.prize-card-clean {
    position: relative;
    padding: 40px 30px 30px;
    border-radius: 22px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    text-align: center;
    transition: .3s ease;
}

    .prize-card-clean:hover {
        transform: translateY(-8px);
        border-color: rgba(245,165,36,.6);
        box-shadow: 0 25px 80px rgba(245,165,36,.25);
    }

.prize-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f5a524,#ffcc70);
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(245,165,36,.6);
}

.prize-value {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}

.prize-rank {
    font-size: 13px;
    color: #f5a524;
}

@media (max-width: 1000px) {
    .prize-grid-clean {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prize-grid-clean {
        grid-template-columns: 1fr;
    }
}

/* ================= ENTRIES ================= */

.entries-section {
    margin: 80px auto 40px;
    max-width: 1000px;
}

.entries-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #9ca3af;
    text-transform: uppercase;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.entry-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg,#0c1424,#050b18);
    border: 1px solid rgba(255,255,255,.04);
    text-align: center;
    transition: .2s ease;
}

    .entry-card:hover {
        border-color: rgba(245,165,36,.4);
        transform: translateY(-4px);
    }

.entry-amount {
    font-size: 16px;
    font-weight: 800;
}

.entry-count {
    margin-top: 4px;
    font-size: 12px;
    color: #f5a524;
}

@media (max-width: 1100px) {
    .entries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .entries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .entries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.prize-description-wrapper {
    margin-top: 14px;
}

.prize-description {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    overflow: hidden;
    position: relative;
    transition: max-height .3s ease;
}

.desc-toggle {
    margin-top: 6px;
    background: none;
    border: none;
    color: #f5a524;
    font-size: 12px;
    cursor: pointer;
}

/* ================= PRIZE IMAGE ================= */

.prize-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #0c1424;
}

    .prize-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.prize-card-clean:hover .prize-image-wrapper img {
    transform: scale(1.05);
}

.prize-description-wrapper {
    margin-top: 14px;
}

.prize-description {
    display: none;
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

    .prize-description.open {
        display: block;
    }

.desc-toggle {
    margin-top: 8px;
    background: none;
    border: none;
    color: #f5a524;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

/* ================= HOW TO ENTER ================= */

.how-to-enter {
    margin: 120px auto 80px;
    max-width: 1100px;
    text-align: center;
}

    .how-to-enter h2 {
        font-size: 22px;
        margin-bottom: 50px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #9ca3af;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    padding: 40px 30px;
    border-radius: 22px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    transition: .3s ease;
    position: relative;
}

    .step:hover {
        transform: translateY(-10px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 25px 80px rgba(245,165,36,.25);
    }

    .step span {
        position: absolute;
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg,#f5a524,#ffcc70);
        color: #000;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 25px rgba(245,165,36,.6);
    }

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* ================= HOW TO ENTER ================= */

.how-to-enter {
    margin: 120px auto 80px;
    max-width: 1100px;
    text-align: center;
}

    .how-to-enter h2 {
        font-size: 22px;
        margin-bottom: 50px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #9ca3af;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    padding: 40px 30px;
    border-radius: 22px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.06);
    transition: .3s ease;
    position: relative;
}

    .step:hover {
        transform: translateY(-10px);
        border-color: rgba(245,165,36,.5);
        box-shadow: 0 25px 80px rgba(245,165,36,.25);
    }

    .step span {
        position: absolute;
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg,#f5a524,#ffcc70);
        color: #000;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 25px rgba(245,165,36,.6);
    }

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.no-ended {
    text-align: center;
    padding: 60px;
    border-radius: 24px;
    background: linear-gradient(180deg,#0f172a,#060d1a);
    border: 1px solid rgba(255,255,255,.05);
    color: #9ca3af;
}

.hero-wrapper {
    margin-top: 25px;
}

.giveaway-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

    /* Completed – πράσινο */
    .status-badge.completed {
        background: rgba(34,197,94,.15);
        border: 1px solid #22c55e;
        color: #22c55e;
    }

    /* Pending – κίτρινο */
    .status-badge.pending {
        background: rgba(245,165,36,.15);
        border: 1px solid #f5a524;
        color: #f5a524;
    }

    .status-badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
    }

/* ========================================================= */
/* ================= ΔΙΟΡΘΩΣΗ NAVIGATION =================== */
/* ========================================================= */

/* 1. Βασικό στυλ για όλα τα links */
.topbar nav a {
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

    /* 2. Δημιουργούμε τη γραμμή (::after) για ΟΛΑ τα links */
    .topbar nav a::after {
        content: '';
        position: absolute;
        width: 0; /* Ξεκινάει κλειστή */
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: #f5a524;
        transition: width 0.3s ease;
    }

/* 3. DESKTOP ANIMATION: Μόνο όταν υπάρχει ποντίκι */
@media (hover: hover) {
    .topbar nav a:hover::after {
        width: 100%;
    }

    .topbar nav a:hover {
        color: #fff;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
}

/* 4. ACTIVE STATE: Η γραμμή είναι μόνιμα στο 100% (ΧΩΡΙΣ border-bottom) */
.topbar nav a.active {
    color: #fff !important;
}

    .topbar nav a.active::after {
        width: 100%; /* Κρατάει τη γραμμή ανοιχτή χωρίς δεύτερο border */
    }

/* 5. MOBILE SETTINGS */
@media (max-width: 768px) {
    /* Στο κινητό βγάζουμε τελείως τη γραμμή για να είναι clean το menu */
    .topbar nav a::after {
        display: none !important;
    }

    .topbar nav a.active {
        color: #f5a524 !important; /* Απλά αλλάζουμε χρώμα στο κείμενο */
        border-bottom: none !important;
    }
}



/* [cite: 2026-03-12] - Premium Partner Section CSS */
.participating-wrapper {
    margin: 40px 0 60px;
    text-align: center;
}

.premium-brands-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.premium-brand-card {
    position: relative;
    width: 190px;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 165, 36, 0.15);
    border-radius: 28px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-brand-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(245, 165, 36, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 165, 36, 0.2);
}

.brand-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 800;
}

.brand-name-main {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
}

.brand-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}

/* Hover effect: Το logo καθαρίζει στο hover */
.premium-brand-card:hover .brand-icon-wrapper {
    background: #323c55;
    transform: rotate(3deg);
}

.brand-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Gold Glow Animation */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 165, 36, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
}

.premium-brand-card:hover .card-glow {
    opacity: 1;
    transform: translate(20%, 20%);
}

/* ================= GIVEAWAYS GRID ================= */

.giveaways-grid-section {
    margin-bottom: 100px;
}

.gg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 1 giveaway → centered */
.gg-grid.gg-single {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.gg-card {
    border-radius: 28px;
    background: linear-gradient(180deg, #0f172a, #050b18);
    border: 1px solid rgba(245, 165, 36, .15);
    overflow: hidden;
    transition: .3s ease;
}

.gg-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 165, 36, .5);
    box-shadow: 0 30px 80px rgba(245, 165, 36, .15);
}

.gg-image-wrap {
    width: 100%;
    height: 280px;        /* fixed height, ίδιο και για τα 2 cards */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.gg-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;   /* ← δείχνει από πάνω */
    transition: transform .4s ease;
    display: block;
}

.gg-card:hover .gg-image-wrap img {
    transform: scale(1.04);
}

.gg-body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gg-title {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.gg-prize-pool {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #f5a524;
}

.gg-countdown {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.ended-pool {
    margin: 0 0 16px;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.no-ended {
    text-align: center;
    color: #64748b;
    padding: 32px 16px;
    font-size: 15px;
}

.gg-brands {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden; /* ← αυτό λείπει */
}

.gg-brand-chip {
    width: 64px;
    height: 64px;
    min-width: 64px;  /* ← prevent shrink */
    max-width: 64px;  /* ← prevent grow */
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: .2s ease;
    text-decoration: none;
    box-sizing: border-box; /* ← αυτό λείπει */
    flex-shrink: 0;          /* ← αυτό λείπει */
}

.gg-brand-chip img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block; /* ← removes inline spacing */
}

.gg-brand-chip {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: .2s ease;
    text-decoration: none;
}

/* Action buttons */
.gg-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.gg-btn-primary,
.gg-btn-secondary {
    flex: 1;
    min-width: 130px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: .3s ease;
    cursor: pointer;
}

.gg-btn-primary {
    background: linear-gradient(135deg, #f5a524, #ffcc70);
    color: #000;
    box-shadow: 0 10px 30px rgba(245, 165, 36, .35);
}

.gg-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(245, 165, 36, .55);
}

.gg-btn-secondary {
    background: transparent;
    color: #f5a524;
    border: 1px solid rgba(245, 165, 36, .4);
}

.gg-btn-secondary:hover {
    background: rgba(245, 165, 36, .08);
    border-color: rgba(245, 165, 36, .7);
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .gg-grid {
        grid-template-columns: 1fr;
    }
}

/* LIVE badge - fix width */
.gg-body .badge-live {
    display: inline-block;  /* όχι block/full width */
    width: auto;
    padding: 6px 16px;
    font-size: 12px;
    letter-spacing: 2px;
}

/* Participating brands label (legacy block — kept for specificity) */
.gg-brands-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
    margin-bottom: 8px;
}

/* Chip animations */
.gg-brand-chip {
    width: 64px;
    height: 64px;
    min-width: 64px;
    max-width: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
    box-sizing: border-box;
    flex-shrink: 0;

    /* Animation */
    animation: chipFadeIn .4s ease both;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.gg-brand-chip:nth-child(1) { animation-delay: .05s; }
.gg-brand-chip:nth-child(2) { animation-delay: .10s; }
.gg-brand-chip:nth-child(3) { animation-delay: .15s; }
.gg-brand-chip:nth-child(4) { animation-delay: .20s; }
.gg-brand-chip:nth-child(5) { animation-delay: .25s; }

.gg-brand-chip:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(245, 165, 36, .6);
    box-shadow: 0 10px 30px rgba(245, 165, 36, .25);
}

@keyframes chipFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card entrance animation */
.gg-card {
    animation: cardEntrance .5s ease both;
}

.gg-grid .gg-card:nth-child(1) { animation-delay: .1s; }
.gg-grid .gg-card:nth-child(2) { animation-delay: .2s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LIVE BADGE FIX ===== */
.gg-body .badge-live {
    display: inline-flex;
    width: fit-content;        /* ← κλειδί */
    max-width: fit-content;
    padding: 5px 14px;
    font-size: 11px;
    letter-spacing: 2px;
    border-radius: 999px;      /* pill shape */
    align-self: flex-start;    /* αν το parent είναι flex */
}

/* gg-body σε flex column για να δουλεύει το align-self */
.gg-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .gg-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .gg-grid.gg-single {
        grid-template-columns: 1fr;
    }

    .gg-image-wrap {
        aspect-ratio: 16 / 9;
    }

    .gg-title {
        font-size: 17px;
    }

    .gg-brand-chip {
        width: 52px;
        height: 52px;
        min-width: 52px;
        max-width: 52px;
    }

    .gg-actions {
        flex-direction: column;
        gap: 10px;
    }

    .gg-btn-primary,
    .gg-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}