/* =========================
   HOME BUTTONS
========================= */

.home-btn{
    display:inline-block;
    margin:10px;
    padding:16px 28px;
    background:#6366f1;
    color:white;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    box-shadow:0 6px 16px rgba(0,0,0,.2);
    transition:all .2s ease;
}

.home-btn:hover{
    background:#4f46e5;
    transform:translateY(-2px);
}

/* =========================
   HOME LAYOUT
========================= */

.home-screen,
.guest-home{
    position:relative;
    max-width:1100px;
    margin:0 auto;
    padding:32px 18px 120px;
}

.home-screen{
    display:flex;
    flex-direction:column;
    gap:24px;
}

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

.premium-welcome{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-radius:32px;
    padding:30px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.welcome-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#eef2ff;
    color:#4338ca;
    padding:10px 16px;
    border-radius:999px;
    font-weight:800;
    margin-bottom:16px;
}

.welcome-title{
    font-size:2.2rem;
    font-weight:900;
    color:#111827;
    margin:0 0 10px;
}

.welcome-subtitle{
    color:#4b5563;
    font-size:1.05rem;
    line-height:1.6;
}

.welcome-stats{
    display:flex;
    gap:16px;
}

.mini-stat{
    min-width:110px;
    background:white;
    border-radius:24px;
    padding:18px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.mini-stat-number{
    display:block;
    font-size:1.8rem;
    font-weight:900;
    color:#4338ca;
}

.mini-stat-label{
    color:#6b7280;
    font-weight:700;
}

.reward-stat-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.reward-stat-image{
    width:52px;
    height:52px;
    object-fit:contain;
    margin-bottom:8px;
}

.reward-name{
    max-width:90px;
    text-align:center;
    line-height:1.2;
    font-size:0.9rem;
}

/* =========================
   GAME CARDS
========================= */

.game-list{
    display:grid;
    gap:24px;
}

.premium-game-card{
    background:linear-gradient(
        180deg,
        rgba(255,255,255,0.95),
        rgba(245,247,255,0.92)
    );
    border-radius:30px;
    padding:26px;
    text-decoration:none;
    color:inherit;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.05);
    transition:0.25s ease;
}

.premium-game-card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.08);
}

.game-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

.game-card-header{
    display:flex;
    align-items:center;
    gap:16px;
}

.player-avatar{
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.6rem;
    font-weight:900;
    color:white;
    box-shadow:0 8px 20px rgba(0,0,0,0.16);
}

.game-card-header h3{
    margin:0;
    font-size:1.5rem;
    color:#111827;
}

.game-card-subtitle{
    margin-top:6px;
    color:#6b7280;
}

.game-status-pill{
    background:#dcfce7;
    color:#166534;
    padding:10px 16px;
    border-radius:999px;
    font-weight:800;
}

.game-card-body{
    margin-top:24px;
}

.progress-label{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-weight:700;
    color:#374151;
}

.progress-bar{
    height:14px;
    background:#e5e7eb;
    border-radius:999px;
    overflow:hidden;
    margin-bottom:22px;
}

.progress-fill{
    height:100%;
    background:linear-gradient(90deg,#22c55e,#16a34a);
    border-radius:999px;
}

.continue-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    padding:14px 22px;
    border-radius:18px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(34,197,94,0.24);
}

.quick-actions{
    display:flex;
    justify-content:center;
    margin-top:28px;
}

.action-btn{
    background:linear-gradient(135deg,#6d5dfc,#4338ca);
    color:white;
    text-decoration:none;
    padding:18px 28px;
    border-radius:20px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(67,56,202,0.28);
}

/* =========================
   GUEST HOME
========================= */

.guest-home{
    text-align:center;
    overflow:hidden;
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(80px);
    opacity:0.4;
}

.hero-glow-1{
    width:260px;
    height:260px;
    background:#8b5cf6;
    top:80px;
    left:-80px;
}

.hero-glow-2{
    width:240px;
    height:240px;
    background:#22c55e;
    top:140px;
    right:-60px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    background:#eef2ff;
    color:#4338ca;
    padding:12px 18px;
    border-radius:999px;
    font-weight:800;
    margin-bottom:24px;
}

.guest-title{
    font-size:3.2rem;
    font-weight:900;
    color:#111827;
    margin-bottom:20px;
}

.guest-subtitle{
    max-width:700px;
    margin:0 auto 28px;
    font-size:1.25rem;
    line-height:1.7;
    color:#374151;
}

.feature-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    margin-bottom:40px;
}

.feature-pill{
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(12px);
    padding:14px 18px;
    border-radius:18px;
    font-weight:700;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#6d5dfc,#4338ca);
    color:white;
    padding:18px 32px;
    border-radius:22px;
    text-decoration:none;
    font-size:1.15rem;
    font-weight:900;
    box-shadow:0 14px 30px rgba(67,56,202,0.30);
    margin-bottom:18px;
}

.cta-secondary{
    display:block;
    margin-bottom:36px;
    color:#4338ca;
    font-weight:700;
}

.premium-onboard-card{
    max-width:560px;
    margin:0 auto;
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(18px);
    border-radius:30px;
    padding:32px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.onboard-icon{
    font-size:3rem;
    margin-bottom:14px;
}

.premium-onboard-card h3{
    font-size:2rem;
    margin-bottom:20px;
    color:#111827;
}

.how-it-works{
    text-align:left;
    line-height:2;
    color:#374151;
    font-size:1.08rem;
}

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

@media (max-width:768px){

    .premium-welcome{
        flex-direction:column;
        align-items:flex-start;
    }

    .welcome-title{
        font-size:1.8rem;
    }

    .welcome-stats{
        width:100%;
    }

    .mini-stat{
        flex:1;
    }

    .game-card-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .guest-title{
        font-size:2.2rem;
    }

    .guest-subtitle{
        font-size:1.05rem;
    }

    .feature-grid{
        gap:10px;
    }

    .feature-pill{
        width:100%;
    }
}
