:root {
    --bg-main: #050712;
    --bg-panel: #0c1020;
    --accent-pink: #ff00c3;
    --accent-blue: #00e5ff;
    --accent-yellow: #ffd54a;
    --text-main: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1c2340 0, #050712 50%, #02030a 100%);
    color: var(--text-main);
    min-height: 100vh;
 
}

a {
    color: inherit;
    text-decoration: none;
}

/* STICKY HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 7, 18, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 195, 0.6);
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--accent-pink));
    box-shadow: 0 0 12px rgba(255, 0, 195, 0.8);
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    opacity: 0.8;
    cursor: pointer;
}

.nav-link:hover {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 0, 195, 0.7);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.9);
    filter: brightness(1.1);
}

.btn-ghost {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    font-size: 13px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
}

.btn-ghost:hover {
    opacity: 1;
    border-color: var(--accent-blue);
}

/* HERO */
.hero {
    max-width: 1200px;
    margin: 20px auto 10px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.hero-text h1 span {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-main-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-side {
    background: radial-gradient(circle at top, rgba(0, 229, 255, 0.3), rgba(5, 7, 18, 0.9));
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-side h2 {
    font-size: 16px;
    margin-bottom: 6px;
}

.hero-side p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-side-mini {
    font-size: 11px;
    opacity: 0.75;
}

/* SECTIONS */
.section {
    max-width: 1200px;
    margin: 12px auto 30px;
    padding: 0 16px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title span {
    font-size: 18px;
}

.section-title-small {
    margin-top: 18px;
}

/* CLICK INFO */
.click-info {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.click-info span {
    font-weight: 700;
    color: var(--accent-yellow);
}

/* GAME FRAME */
.game-frame-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(0, 229, 255, 0.15), #050712);
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.3);
    min-height: 320px;
}

.game-frame-wrapper iframe {
    width: 100%;
    height: calc(100vh - 100px);
    max-height: 720px;
    border: none;
    display: block;
}

/* LOADER */
.loader-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(5, 7, 18, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
}

.loader-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid rgba(0, 229, 255, 0.2);
    border-top-color: var(--accent-pink);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
}

.loader-text {
    font-size: 13px;
    opacity: 0.9;
    text-align: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SLIDER SUB JOC */
.slider-thumbs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.thumb-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
    min-width: 220px;
}

.thumb-item img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
}

.thumb-text {
    font-size: 12px;
    line-height: 1.3;
}

.thumb-item.active {
    border-color: rgba(0, 229, 255, 0.9);
    background: radial-gradient(circle at left, rgba(0, 229, 255, 0.25), rgba(255, 255, 255, 0.04));
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
    transform: translateY(-1px);
}

.thumb-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.slider-note {
    font-size: 12px;
    opacity: 0.75;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    font-size: 13px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(12, 16, 32, 0.96), rgba(15, 10, 30, 0.95));
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.feature-title {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-title span {
    font-size: 16px;
}

.feature-text {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px 20px;
    font-size: 11px;
    text-align: center;
    opacity: 0.7;
}

/* POPUP */
.popup-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.popup-bg.active {
    opacity: 1;
    pointer-events: all;
}

.popup-box {
    position: relative;
    background: radial-gradient(circle at top, #3a0b4a, #12061f);
    border-radius: 20px;
    padding: 26px 20px 22px;
    width: 90%;
    max-width: 420px;
    box-shadow:
        0 0 35px rgba(255, 0, 195, 0.8),
        0 0 15px rgba(0, 229, 255, 0.6);
    overflow: hidden;
}

.popup-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.7);
}

.popup-text {
    font-size: 14px;
    text-align: center;
    margin-bottom: 14px;
    opacity: 0.95;
}

.popup-gift {
    font-size: 30px;
    text-align: center;
    margin-bottom: 8px;
}

.popup-btn-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.popup-btn-main {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-pink));
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    color: #1a0621;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 213, 74, 0.9);
}

.popup-btn-main:hover {
    filter: brightness(1.08);
}

.popup-close {
    font-size: 12px;
    opacity: 0.8;
    cursor: pointer;
    text-decoration: underline;
}

.popup-x {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
}

.popup-x:hover {
    opacity: 1;
}

/* GIFT RAIN */
.gift-rain {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.gift {
    position: absolute;
    top: -40px;
    font-size: 22px;
    animation: fall 2.7s linear forwards;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    0% { transform: translateY(-40px); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(260px); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        margin-top: 10px;
    }
    .hero-main-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .slider-thumbs-row {
        flex-direction: column;
    }
    .game-frame-wrapper iframe {
        height: calc(100vh - 200px);
    }
}
#popup {
    display: none;
}
/* Animație background */
.popup-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.popup-bg.active {
    opacity: 1;
    pointer-events: all;
}

/* Animație cutie */
.popup-box {
    position: relative;
    background: radial-gradient(circle at top, #3a0b4a, #12061f);
    border-radius: 20px;
    padding: 26px 20px 22px;
    width: 90%;
    max-width: 420px;
    box-shadow:
        0 0 35px rgba(255, 0, 195, 0.8),
        0 0 15px rgba(0, 229, 255, 0.6);

    transform: scale(0.75);
    opacity: 0;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1),
        opacity .35s ease;
}

.popup-bg.active .popup-box {
    transform: scale(1);
    opacity: 1;
}
/* ---------------------------------------------------
   FLOATING BONUS BUTTONS (desktop + mobile)
--------------------------------------------------- */

.bonus-container {
    position: relative;
}

/* Vertical neon buttons */
.floating-bonus {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);

    padding: 10px 20px;
    background: linear-gradient(90deg, #ff00c3, #00e5ff);
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;

    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
    z-index: 40;

    animation: neonPulse 2s infinite alternate;
}

/* Left */
.floating-bonus.left {
    left: -80px;
}

/* Right */
.floating-bonus.right {
    right: -80px;
}

/* Apare când e vizibil */
.floating-bonus.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(-50%) rotate(90deg) scale(1.05);
}

/* Pulse neon */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 8px #ff00c3;
    }

    100% {
        box-shadow: 0 0 22px #00e5ff;
    }
}

/* MOBILE VERSION */
.bonus-mobile {
    display: none;
    background: linear-gradient(90deg, #ff00c3, #00e5ff);
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;

    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    margin-top: 15px;
    animation: neonPulse 2s infinite alternate;
}

/* Mobile active */
.bonus-mobile.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive — Hide left/right, show bottom button */
@media (max-width: 700px) {

    .floating-bonus.left,
    .floating-bonus.right {
        display: none;
    }

    .bonus-mobile {
        display: block;
    }
}
.bonus-btn {
    position: fixed;
    z-index: 999999;
    background: linear-gradient(90deg, #ff00f7, #ff5f00);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    animation: neonPulse 1.2s infinite;
}

.bonus-btn.visible {
    display: block;
}

.bonus-left {
    left: 15px;
    top: 35%;
    transform: translateY(-50%);
}

.bonus-right {
    right: 15px;
    top: 35%;
    transform: translateY(-50%);
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 8px #ff00f7;
    }

    50% {
        box-shadow: 0 0 18px #ff5f00;
    }

    100% {
        box-shadow: 0 0 8px #ff00f7;
    }
}
@media (max-width: 700px) {

    .bonus-left,
    .bonus-right {
        display: none !important;
    }

    .bonus-mobile {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}