﻿/* ========================================================= */
/* ================= BACKGROUND ============================ */
/* ========================================================= */

body {
    background: radial-gradient(circle at top, #0c1428, #020617 65%);
    color: #fff;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: -20%;
        background-image: url("https://7hegodfamilia.com/wp-content/uploads/2025/09/logo-home-page-1024x912.png");
        background-size: cover;
        background-position: center;
        filter: blur(40px);
        opacity: .06;
        transform: var(--bg-move, translate3d(0,0,0) scale(1.1));
        transition: transform .15s linear;
        z-index: -1;
    }


/* ========================================================= */
/* ================= PAGE ================================== */
/* ========================================================= */

.giveaways-page {
    max-width: 1300px;
    margin: auto;
    padding: 110px 30px;
}


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

.giveaways-hero {
    text-align: center;
    margin-bottom: 100px;
}

    .giveaways-hero h1 {
        font-size: 52px;
        font-weight: 900;
        background: linear-gradient(135deg,#f5a524,#ffcc70);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.subtitle,
.community-message {
    color: #9ca3af;
}


/* ========================================================= */
/* ================= 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;
    }

