/* ==========================================
   GLOBALNE POSTAVKE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #e8e8e8;
    background-color: #0d160c;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0d160c;
}
::-webkit-scrollbar-thumb {
    background: #223420;
    border-radius: 5px;
    border: 2px solid #0d160c;
}
::-webkit-scrollbar-thumb:hover {
    background: #53FC18;
}


/* ==========================================
   HERO SEKCIJA
   ========================================== */
.hero {
    background: radial-gradient(circle at center, #0f2e13 0%, #081207 70%, #121212 100%);
    padding: 35px 15px 40px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #1c3d18;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-avatar::before,
.hero-avatar::after {
    content: "";
    position: absolute;
    width: 115%;
    height: 115%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(83,252,24,0.45) 0%,
        rgba(83,252,24,0.15) 45%,
        rgba(83,252,24,0) 75%
    );
    animation: heroPulse 3s infinite ease-out;
    z-index: 0;
}

.hero-avatar::after {
    animation-delay: 1.5s;
}

.hero-avatar img {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #53FC18;
    box-shadow: 0 0 20px rgba(83,252,24,.45), 0 0 50px rgba(83,252,24,.25);
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #53FC18;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3px;
    text-shadow: 0 0 22px rgba(83, 252, 24, 0.6);
    word-break: break-word;
}

@keyframes heroPulse {
    0% { transform: scale(0.8); opacity: .8; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================
   BREWING / LEADERBOARD SEKCIJA
   ========================================== */
.brewing-wrapper {
    margin: 15px auto;
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.brewing-top-label {
    font-size: clamp(14.5px, 2.3vw, 18px);
    font-weight: 800;
    color: #53FC18;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.brewing-main-heading {
    font-size: clamp(34px, 7vw, 65px);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2.9px;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(83, 252, 24, 0.5);
    line-height: 1.08;
    word-break: break-word;
}

.brewing-desc {
    color: #aaaaaa;
    font-size: clamp(13.5px, 1.8vw, 15.5px);
    font-weight: 500;
    max-width: 515px;
    margin: 0 auto 14px auto;
    line-height: 1.5;
}

.btn-discord-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #53FC18;
    color: #000000;
    padding: 12px 26px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 900;
    font-size: clamp(13.5px, 1.48vw, 15.5px);
    text-transform: uppercase;
    box-shadow: 0 4px 19px rgba(83, 252, 24, 0.33);
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.btn-discord-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 23px rgba(83, 252, 24, 0.6);
}

.brewing-note {
    color: #777777;
    font-size: clamp(11px, 1.18vw, 12.8px);
    letter-spacing: 0.5px;
}

/* ==========================================
   EKSKLUZIVNI BONUSI
   ========================================== */
.bonuses-section {
    padding: 28px 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.bonuses-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #92b88b;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 420px));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 992px) {
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

.bonus-card {
    background-color: #121212;
    border: 2px solid #53FC18;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.15);
    width: 100%;
}

.bonus-logo {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bonus-logo img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.bonus-logo span {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    word-break: break-word;
}

.bonus-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
}

.feature-item {
    background-color: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    padding: 14px 16px;
    color: #e8e8e8;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    word-break: break-word;
}

/* Stilovi za raspored stavki u trećoj kartici */
.bonus-card.winovo-card .bonus-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}

/* Red koji drži drugu i treću stavku jednu pored druge */
.bonus-card.winovo-card .feature-row-double {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

/* Prilagođavanje veličine elemenata da se sve savršeno uklopi */
.bonus-card.winovo-card .feature-item {
    padding: 8px 10px;
    font-size: 13px;
    width: 100%;
}

.check-icon {
    background-color: #53FC18;
    color: #000000;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.bonus-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-code-box {
    background-color: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    color: #53FC18;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1px;
    word-break: break-all;
}

.btn-play {
    background-color: #53FC18;
    color: #000000;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(83, 252, 24, 0.4);
    display: block;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(83, 252, 24, 0.8);
}

.responsible-gaming {
    text-align: center;
    font-size: 12px;
    color: #777777;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================
   GIVEAWAY PREVIEW SEKCIJA
   ========================================== */
.giveaway-preview-section {
    padding: 10px 15px 50px 15px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

.gwp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.gwp-card {
    background-color: #1a1a1a;
    border: 2px solid #53FC18;
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gwp-card:hover {
    transform: translateY(-4px);
    border-color: #53FC18;
    box-shadow: 0 8px 24px rgba(83, 252, 24, 0.35);
}

.gwp-card-image {
    position: relative;
    background-color: #1c1c1c;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gwp-card-image img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.gwp-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(83, 252, 24, 0.12);
    border: 1px solid #53FC18;
    color: #53FC18;
    font-weight: 900;
    font-size: 13px;
    padding: 4px 9px;
    border-radius: 8px;
}

.gwp-card-body {
    padding: 12px 14px 16px 14px;
}

.gwp-card-name {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 3px;
    word-break: break-word;
}

.gwp-card-wear {
    font-size: 11.5px;
    font-weight: 600;
    color: #92b88b;
    word-break: break-word;
}

.gwp-deposit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0f1a0e;
    border: 1px solid #223420;
    border-radius: 8px;
    padding: 9px 10px;
    margin-top: 12px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #8fa88c;
    text-transform: uppercase;
}

.gwp-deposit-value {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.gwp-join-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #53FC18;
    color: #000000;
    padding: 10px 12px;
    margin-top: 9px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gwp-join-btn:hover {
    background-color: #6dff3d;
    box-shadow: 0 4px 16px rgba(83, 252, 24, 0.4);
    transform: translateY(-2px);
}

.gwp-view-all-wrapper {
    text-align: center;
    margin-top: 32px;
}

.gwp-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #53FC18;
    border: 2px solid #53FC18;
    padding: 12px 26px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.gwp-view-all-btn:hover {
    background-color: #53FC18;
    color: #000000;
    box-shadow: 0 4px 16px rgba(83, 252, 24, 0.4);
    transform: translateY(-2px);
}

.gwp-arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.gwp-view-all-btn:hover .gwp-arrow-icon {
    transform: translateX(3px);
}

/* ==========================================
   LIVE POPUP
   ========================================== */
.live-popup {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #121212;
    border: 2px solid #53FC18;
    border-radius: 18px;
    padding: 18px 26px;
    z-index: 99999;
    color: white;
    box-shadow: 0 0 20px rgba(83,252,24,.35);
    gap: 18px;
    min-width: 320px;
}

.live-popup.show {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: liveAppear .3s ease forwards;
}

.live-popup-icon {
    background: #53FC18;
    color: #000;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
}

.live-popup-text {
    display: flex;
    flex-direction: column;
}

.live-popup-text strong {
    color: #53FC18;
    font-size: 18px;
    font-weight: 900;
}

.live-popup-text span {
    color: #aaa;
    font-size: 14px;
    margin-top: 4px;
}

@keyframes liveAppear {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================
   ANIMACIJE I IKONICE
   ========================================== */
.reveal-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-fade.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotateGift {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gift-icon {
    display: inline-block;
    animation: rotateGift 2s linear infinite;
}

/* ==========================================
   FOOTER I ODGOVORNO IGRANJE
   ========================================== */
.footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 20px 15px;
    margin-top: 40px;
    border-top: 1px solid #2c2c2c;
    font-size: 14px;
}

.global-responsible-gaming {
    text-align: center;
    width: 100%;
    padding: 20px 15px;
    font-size: 13px;
    color: #888888;
    background-color: #161616;
    border-top: 1px solid #252525;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.global-responsible-gaming a {
    color: #53FC18;
    text-decoration: none;
    transition: color .2s;
}

.global-responsible-gaming a:hover {
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE / MEDIJSKI UPITI
   ========================================== */
@media (max-width: 900px) {
    .brewing-main-heading {
        font-size: clamp(28px, 8vw, 45px);
        letter-spacing: 1.5px;
        line-height: 1.1;
        padding: 0 10px;
    }

    .header-inner {
        position: relative;
        height: auto !important;
        min-height: 62px;
        display: flex;
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 10px;
    }

    .header-left {
        flex: 1;
        min-width: max-content;
    }

    .header-center {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-right {
        margin-left: auto;
        min-width: max-content;
    }

    .nav-pill-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .gwp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .gwp-card-image {
        height: 110px;
    }
}

@media (max-width: 550px) {
    .hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-container {
        width: 100%;
    }

    .brewing-wrapper {
        width: 100%;
        padding: 0 5px;
    }

    .brewing-main-heading {
        font-size: clamp(24px, 9vw, 34px);
        letter-spacing: 0.5px;
        line-height: 1.15;
        white-space: normal;
        max-width: 100%;
    }

    .live-popup {
        left: 12px;
        bottom: 15px;
        padding: 10px 14px;
    }
}

@media (max-width: 360px) {
    .brewing-main-heading {
        font-size: 24px;
        letter-spacing: 0;
    }
}
/* ==========================================
   PAGE LOADING
   ========================================== */

html {
    opacity: 0;
}

html.page-ready {
    opacity: 1;
    transition: opacity 0.15s ease;
}