/**
 * Casino page — specific styles
 * Requires: app.css
 */

/* Games grid layout */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Staggered border pulse animation on cards */
.games-grid .game-card { animation: cardBorderPulse 4s ease-in-out infinite; }
.games-grid .game-card:nth-child(2)  { animation-delay: .5s; }
.games-grid .game-card:nth-child(3)  { animation-delay: 1s; }
.games-grid .game-card:nth-child(4)  { animation-delay: 1.5s; }
.games-grid .game-card:nth-child(5)  { animation-delay: 2s; }
.games-grid .game-card:nth-child(6)  { animation-delay: 2.5s; }
.games-grid .game-card:nth-child(7)  { animation-delay: 3s; }
.games-grid .game-card:nth-child(8)  { animation-delay: 3.5s; }
.games-grid .game-card:nth-child(9)  { animation-delay: 4s; }
.games-grid .game-card:nth-child(10) { animation-delay: 4.5s; }
.games-grid .game-card:nth-child(11) { animation-delay: 5s; }
.games-grid .game-card:nth-child(12) { animation-delay: 5.5s; }
.games-grid .game-card:nth-child(13) { animation-delay: 6s; }
.games-grid .game-card:nth-child(14) { animation-delay: 6.5s; }
.games-grid .game-card:nth-child(15) { animation-delay: 7s; }
.games-grid .game-card:nth-child(16) { animation-delay: 7.5s; }

/* Holographic overlay on game cards */
.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, transparent 30%, rgba(168, 85, 247, 0.03) 45%, rgba(6, 182, 212, 0.03) 55%, transparent 70%);
    background-size: 300% 300%;
    animation: holoShift 8s ease infinite;
    pointer-events: none;
}

@keyframes holoShift {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Recent wins ticker (if present) */
.recent-wins {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    padding: 10px 14px;
}

.recent-wins-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.win-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}
.win-item:last-child { border-bottom: none; }
.win-item .win-amount { color: var(--success); font-weight: 800; }
