/* ==========================================
   GIVEAWAY STRANICA - gw.css
   Jedinstvena tamno-zelena paleta, usklađena sa
   hero sekcijom sajta. Učitava se POSLE style2.css.
   ========================================== */

/* Pozadina cele stranice - blago zelena, ne čisto crna,
   da se hero "utopi" u nju bez oštrog preloma */
body {
    background-color: #0d160c;
}

.hero {
    background: radial-gradient(circle at center, #0f2e13 0%, #081207 60%, #0d160c 100%);
    border-bottom: none;
}
/* FIX HEADER STICKY */
/* FIX HEADER NA GW STRANICI */
.header {
    position: sticky;
    top: 0;
    z-index: 99999;
    background-color: #1a1a1a;
}
.gw-hero {

min-height: 420px !important;

height:auto !important;

padding:90px 15px 70px !important;

background:
radial-gradient(
circle at center,
rgba(83,252,24,0.18),
transparent 60%
);

}
.gw-hero .hero-container {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

/* Ikonica na vrhu (poklon) */
.gw-hero-icon {

    width: 90px;
    height: 90px;

    margin: 0 auto 22px auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(83, 252, 24, 0.10);

    border: 1px solid rgba(83, 252, 24, 0.45);

    border-radius: 22px;

    font-size: 42px;

    box-shadow:
        0 0 30px rgba(83,252,24,0.25);

}
.gw-hero .hero-title {
    font-size: clamp(32px, 6vw, 46px);
    margin-bottom: 8px;
}

.gw-hero .brewing-desc {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.giveaway-section {
    padding: 40px 15px 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   TABOVI: ACTIVE / FINISHED
   ========================================== */
.gw-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 26px auto 34px auto;
    flex-wrap: wrap;
}

.gw-tab-btn {
    background-color: #162214;
    color: #9db89a;
    border: 1px solid #23331f;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gw-tab-btn:hover {
    color: #ffffff;
    border-color: #53FC18;
}

.gw-tab-btn.active {
    background-color: #53FC18;
    color: #0a0a0a;
    border-color: #53FC18;
    box-shadow: 0 4px 16px rgba(83, 252, 24, 0.35);
}

/* ==========================================
   SEKCIJA / GRID
   ========================================== */
.giveaway-section {
    padding: 40px 15px 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gw-panel {
    display: none;
}

.gw-panel.active {
    display: block;
}

.gw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
}

/* ==========================================
   KARTICA GIVEAWAY-A
   ========================================== */
.gw-card {
    background-color: #141f13;
    border: 1px solid #223420;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gw-card:hover {
    transform: translateY(-4px);
    border-color: #53FC18;
    box-shadow: 0 8px 24px rgba(83, 252, 24, 0.15);
}

.gw-card-image {
    position: relative;
    background-color: #1b241a;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gw-card-image img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.gw-price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(83, 252, 24, 0.12);
    border: 1px solid #53FC18;
    color: #53FC18;
    font-weight: 900;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 8px;
}

.gw-done-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #3d4f3a;
    color: #cccccc;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.8px;
    padding: 5px 9px;
    border-radius: 8px;
    text-transform: uppercase;
}

.gw-card-body {
    padding: 16px 18px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.gw-card-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.gw-card-name small {
    display: block;
    color: #92b88b;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.gw-deposit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0f1a0e;
    border: 1px solid #223420;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #8fa88c;
    text-transform: uppercase;
}

.gw-deposit-value {
    color: #ffffff;
    font-size: 13px;
}

.gw-join-btn {
    display: block;
    text-align: center;
    background-color: #53FC18;
    color: #000000;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.gw-join-btn:hover {
    background-color: #6dff3d;
    box-shadow: 0 4px 16px rgba(83, 252, 24, 0.4);
}

/* Završeni giveaway-i */
.gw-card--done .gw-card-image img {
    opacity:1;
    filter:none;
}
.gw-winner-row {

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:9px 12px;

    border-radius:8px;

    background-color:#0f1a0e;

    border:1px solid #223420;

}

.gw-winner-label {

    font-size:11px;
    font-weight:800;

    letter-spacing:.5px;

    color:#8fa88c;

    text-transform:uppercase;

}


.gw-winner-name {

    font-size:13px;

    font-weight:800;

    color:#ffffff;

}
.gw-card--done:hover {

    transform:translateY(-4px);

    border-color:#53FC18;

    box-shadow:
    0 8px 24px rgba(83,252,24,0.15);

}
/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 560px) {
    .gw-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .gw-card-image {
        height: 130px;
    }

    .gw-card-body {
        padding: 12px 12px 16px 12px;
        gap: 9px;
    }

    .gw-tab-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .gw-grid {
        grid-template-columns: 1fr;
    }
}
.gw-view-all-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.gw-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    background: #162214;
    border: 1px solid #53FC18;
    border-radius: 10px;

    color: #53FC18;
    text-decoration: none;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;

    transition: all .2s ease;
}

.gw-view-all:hover {
    background: #53FC18;
    color: #000;
    box-shadow: 0 4px 18px rgba(83,252,24,.35);
}
