/* =========================================================
   ELITSLOTS - MAIN STYLE
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #12131d;
    font-family: Arial, sans-serif;
    color: white;
}

/* =========================================================
   HEADER
========================================================= */

header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: #18182b;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

/* =========================================================
   NAV
========================================================= */

.nav-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 16px;

    color: #aeb2c2;
    text-decoration: none;

    border-radius: 10px;

    transition: .25s ease;
}

.nav-item:hover {
    color: white;
    background: rgba(117, 66, 255, .12);
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 14px;
}

/* =========================================================
   AUTH BUTTONS
========================================================= */

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* LOGIN */

.login-btn {
    padding: 14px 28px;

    border-radius: 999px;

    background: transparent;
    border: 2px solid #3c82ff;

    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: .35s;
}

.login-btn:hover {
    border-color: #8b4dff;

    box-shadow:
        0 0 20px rgba(90, 110, 255, .5);

    transform: translateY(-2px);
}

/* REGISTER */

.register-btn {
    padding: 14px 28px;

    border: none;
    border-radius: 999px;

    cursor: pointer;

    color: white;

    font-size: 16px;
    font-weight: bold;

    background: linear-gradient(
        90deg,
        #2979ff,
        #8b3dff
    );

    transition: .35s;

    box-shadow:
        0 0 18px rgba(104, 87, 255, .45);
}

.register-btn:hover {
    transform: translateY(-2px) scale(1.03);

    box-shadow:
        0 0 28px rgba(120, 70, 255, .65);
}

/* =========================================================
   HERO — ELIT SLOTS BANNER
========================================================= */

.hero {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 350px;

    margin: 12px 0 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url("../images/elit-slots-banner.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: 0;
    overflow: hidden;
    position: relative;
}

/* Większy baner na dużych ekranach */
@media (min-width: 1200px) {
    .hero {
        min-height: 420px;
    }
}

/* Telefony */
@media (max-width: 600px) {
    .hero {
        width: 100%;
        min-height: 200px;
        margin-top: 8px;
        border-radius: 0;
        background-position: center;
    }
}
/* =========================================================
   GAMES
========================================================= */

.games {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );

    gap: 20px;

    padding: 30px 40px;
}

/* =========================================================
   GAME CARD
========================================================= */

.card {
    width: 100%;
    min-width: 0;

    height: 260px;

    background: #22253a;

    border-radius: 12px;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35);
}

/* =========================================================
   GAME IMAGE
========================================================= */

.card img {
    display: block;

    width: 100%;
    height: 180px;

    object-fit: cover;
}

/* =========================================================
   GAME CARD CONTENT
========================================================= */

.card-content {
    padding: 15px;
}

.card h2,
.card h3,
.card p {
    margin-top: 0;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    header {
        padding: 0 20px;
    }

    .games {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        padding: 25px 20px;
    }

}

@media (max-width: 600px) {

    header {
        height: auto;
        min-height: 80px;

        flex-wrap: wrap;

        gap: 15px;

        padding: 15px 20px;
    }

    .nav-bar {
        order: 3;

        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .auth-buttons {
        gap: 8px;
    }

    .login-btn,
    .register-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .games {
        grid-template-columns: 1fr;

        padding: 20px;
    }

    .card {
        height: 260px;
    }

}

/* GAME CARD TEXT FIX */
.games .game-card-link {
    color: inherit;
    text-decoration: none;
}

.games .game-card-link:visited,
.games .game-card-link:hover,
.games .game-card-link:active {
    color: inherit;
    text-decoration: none;
}

.games .game-card-info h3 {
    color: #ffffff;
}

.games .game-card-info p {
    color: #70788e;
}
/* FIX: pełna szerokość banera ELITSLOTS */
.hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc((100% - 100vw) / 2) !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}
/* Coming soon game card */
.games .coming-soon-card { background:linear-gradient(155deg,#17142a 0%,#12131d 70%,#191628 100%); border:1px solid rgba(139,77,255,.28); }
.games .coming-soon-card:hover { border-color:rgba(154,91,255,.62); box-shadow:0 15px 35px rgba(0,0,0,.35),0 0 24px rgba(117,66,255,.12); }
.coming-soon-visual { height:180px; position:relative; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 55%,rgba(129,76,255,.28),transparent 38%),linear-gradient(135deg,#17152b,#10131d); }
.coming-soon-visual::before { content:""; position:absolute; inset:0; opacity:.28; background-image:radial-gradient(rgba(189,155,255,.65) 1px,transparent 1px); background-size:24px 24px; mask-image:linear-gradient(to bottom,transparent,#000); }
.coming-soon-icon { position:relative; z-index:1; color:#c09aff; font-size:46px; filter:drop-shadow(0 0 18px rgba(150,91,255,.75)); animation:comingSoonFloat 3s ease-in-out infinite; }
.coming-soon-badge { position:absolute; z-index:2; top:14px; left:14px; padding:6px 10px; border-radius:7px; color:#fff; background:linear-gradient(90deg,#6b35e8,#974eff); font-size:10px; font-weight:900; letter-spacing:.8px; }
.coming-soon-orbit { position:absolute; width:112px; height:112px; border:1px solid rgba(177,133,255,.22); border-radius:50%; }
.coming-soon-orbit-one { transform:scaleX(1.55) rotate(35deg); }
.coming-soon-orbit-two { transform:scaleX(1.55) rotate(-35deg); }
.games .coming-soon-info { min-height:80px; padding:12px 14px; }
.games .coming-soon-info h3 { margin:0 0 6px; color:#fff; }
.games .coming-soon-info p { margin:0; color:#9295a7; font-size:12px; line-height:1.45; }
@keyframes comingSoonFloat { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-5px) scale(1.04); } }
@media (prefers-reduced-motion:reduce) { .coming-soon-icon { animation:none; } }

/* Homepage game cards: remove overlay labels and bring game titles upward */
.games .game-card-info {
    padding-top: 4px;
}

.games .game-card-info h3 {
    margin-top: 0;
    margin-bottom: 4px;
    line-height: 1.15;
}
