/* ==========================================
   SLOTS PAGE - Additional Styles
   ========================================== */

/* ==========================================
   PREMIUM HERO SECTION
   ========================================== */
.slots-hero-premium {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.slots-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slots-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a12 0%, #1a1a2e 50%, #0a0a12 100%);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float-around 15s ease-in-out infinite;
}

.float-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.float-2 {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.float-3 {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
}

.float-4 {
    bottom: 20%;
    right: 8%;
    animation-delay: 6s;
}

.float-5 {
    top: 45%;
    left: 15%;
    animation-delay: 8s;
}

.float-6 {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float-around {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Hero Content */
.slots-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.slots-hero-left {
    max-width: 650px;
}

.slots-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.slots-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
}

.slots-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.slots-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.slots-main-cta {
    font-size: 1.1rem !important;
    padding: 18px 36px !important;
}

.slots-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.slots-hero-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.slots-hero-trust .trust-item span {
    font-size: 1.1rem;
}

/* Jackpot Display */
.slots-hero-right {
    display: flex;
    justify-content: center;
}

.jackpot-display {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.02));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 320px;
}

.jackpot-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.jackpot-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.jackpot-amount {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: pulse-text 2s ease infinite;
}

@keyframes pulse-text {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.jackpot-game {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.jackpot-play-btn {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.jackpot-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Old Hero (keep for fallback) */
.slots-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.slots-bg {
    object-position: center 30%;
}

.slots-overlay {
    background: linear-gradient(135deg,
            rgba(10, 10, 18, 0.75) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(10, 10, 18, 0.9) 100%);
}

/* Mobile Responsive for Hero */
@media (max-width: 1024px) {
    .slots-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .slots-hero-left {
        max-width: 100%;
    }

    .slots-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .slots-hero-ctas {
        justify-content: center;
    }

    .slots-hero-trust {
        justify-content: center;
    }

    .jackpot-display {
        min-width: auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .slots-hero-premium {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .slots-hero-title {
        font-size: 2.2rem;
    }

    .slots-hero-subtitle {
        font-size: 1rem;
    }

    .jackpot-display {
        padding: 30px 20px;
    }

    .jackpot-amount {
        font-size: 2rem;
    }

    .float-icon {
        display: none;
    }
}

/* Slots Stats */
.slots-stats {
    padding: 40px 0;
    background: linear-gradient(90deg, var(--purple-dark) 0%, #1a1a2e 100%);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.stats-row .stat-item {
    text-align: center;
}

.stats-row .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-clip: text;
}

.stats-row .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Playable Slots Section */
.playable-slots {
    padding: 100px 0;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Slot Card - Enhanced Premium */
.slot-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.slot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, 0.5), rgba(255, 215, 0, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.slot-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.15);
}

.slot-card:hover::before {
    opacity: 1;
}

.slot-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.slot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Slot Themes */
.slot-placeholder.book-of-dead {
    background: linear-gradient(135deg, #d4a373 0%, #8b5e34 100%);
}

.slot-placeholder.sweet-bonanza {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
}

.slot-placeholder.gates-olympus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slot-placeholder.starburst {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
}

.slot-placeholder.big-bass {
    background: linear-gradient(135deg, #22c55e 0%, #0d9488 100%);
}

.slot-placeholder.gonzos {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.slot-placeholder.wolf-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.slot-placeholder.razor-shark {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.slot-placeholder.dead-alive {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
}

.slot-placeholder.dog-house {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}

.slot-placeholder.fruit-party {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.slot-placeholder.reactoonz {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.slot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.play-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
}

.slot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.slot-badge.hot {
    background: linear-gradient(90deg, #dc2626 0%, #ea580c 100%);
}

.slot-badge.popular {
    background: var(--gold-gradient);
    color: #000;
}

.slot-badge.new {
    background: var(--purple-gradient);
}

.slot-badge.jackpot {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
}

.slot-info {
    padding: 16px;
}

.slot-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.slot-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.slot-features {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.slot-features span {
    padding: 3px 8px;
    background: var(--glass-bg);
    border-radius: 4px;
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* Load More Button */
.load-more {
    text-align: center;
}

/* Game Modal */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.game-modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 700px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.modal-provider {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Demo Slot Machine */
.game-container {
    padding: 24px;
}

.demo-slot {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
}

.slot-machine {
    margin-bottom: 20px;
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: #0a0a12;
    padding: 20px;
    border-radius: 12px;
    border: 3px solid var(--gold);
}

.reel {
    width: 80px;
    height: 80px;
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.symbol {
    font-size: 3rem;
    position: absolute;
    transition: transform 0.1s ease;
}

.reel.spinning .symbol {
    animation: spin-symbol 0.1s linear infinite;
}

@keyframes spin-symbol {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.demo-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.demo-balance,
.demo-bet {
    padding: 10px 16px;
    background: var(--glass-bg);
    border-radius: 8px;
    font-size: 0.875rem;
}

.demo-balance span:last-child,
.demo-bet span:last-child {
    font-weight: 700;
    color: var(--gold);
}

.spin-btn {
    padding: 16px 40px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.spin-btn:hover {
    transform: scale(1.05);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.win-display {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    margin-top: 16px;
}

.win-display.jackpot {
    font-size: 1.75rem;
    animation: jackpot-flash 0.3s ease infinite alternate;
}

@keyframes jackpot-flash {
    from {
        color: var(--gold);
    }

    to {
        color: #fff;
    }
}

/* Modal CTA */
.modal-cta {
    padding: 20px 24px;
    background: rgba(255, 215, 0, 0.05);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.modal-cta p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Top Slots Table */
.top-slots-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.top-slots-table {
    overflow-x: auto;
}

.top-slots-table table {
    width: 100%;
    border-collapse: collapse;
}

.top-slots-table th,
.top-slots-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.top-slots-table th {
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.top-slots-table .rank {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.top-slots-table .rank.gold {
    background: var(--gold-gradient);
    color: #000;
}

/* Providers Section */
.providers-section {
    padding: 80px 0;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.provider-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.provider-card:hover {
    border-color: var(--gold);
}

.provider-icon {
    font-size: 2rem;
}

.provider-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slot-image {
        height: 140px;
    }

    .slot-placeholder {
        font-size: 3rem;
    }

    .slot-reels {
        gap: 8px;
        padding: 16px;
    }

    .reel {
        width: 60px;
        height: 60px;
    }

    .symbol {
        font-size: 2rem;
    }

    .demo-controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-row {
        gap: 16px;
    }

    .stats-row .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: 1fr;
    }
}