
.gmg-slot-hero {
    
    --gmg-slot-purple: var(--gmg-main-primary, #7c3aed);
    --gmg-slot-purple-glow: var(--gmg-main-secondary, #a855f7);
    --gmg-slot-pink: var(--gmg-main-accent, #c026d4);
    --gmg-slot-gold: var(--gmg-main-warning, #facc15);
    --gmg-slot-soft: var(--gmg-main-primary-soft, rgba(124, 58, 237, 0.12));
    --gmg-slot-shadow: var(--gmg-main-shadow, 0 10px 30px -12px rgba(0, 0, 0, 0.35));

    
    --gmg-slot-text: var(--gmg-main-text, #f8fafc);
    --gmg-slot-text-muted: var(--gmg-main-text, #f8fafc);
}

.gmg-slot-hero * {
    box-sizing: border-box;
}


.gmg-slot-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid color-mix(in srgb, var(--gmg-slot-purple-glow) 35%, transparent);
    background: var(--gmg-main-bg, #0c0f1c);
}


.gmg-slot-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.gmg-slot-particle {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gmg-slot-purple-glow);
    box-shadow: 0 0 8px 2px var(--gmg-slot-purple-glow);
    opacity: 0;
    animation-name: gmg-slot-particle-float;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes gmg-slot-particle-float {
    0%   { transform: translateY(0) scale(0.6); opacity: 0; }
    10%  { opacity: 0.85; }
    50%  { transform: translateY(-180px) scale(1); opacity: 0.6; }
    90%  { opacity: 0; }
    100% { transform: translateY(-340px) scale(0.4); opacity: 0; }
}


.gmg-slot-slides {
    position: relative;
    height: 100%;
    min-height: 380px;
}

.gmg-slot-slide {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease;
}

.gmg-slot-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.gmg-slot-bg {
    position: absolute;
    inset: 0;
}

.gmg-slot-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.gmg-slot-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 6, 18, 0.95) 20%, rgba(10, 6, 18, 0.4) 70%);
    z-index: 1;
}

[dir="rtl"] .gmg-slot-gradient {
    background: linear-gradient(-90deg, rgba(10, 6, 18, 0.95) 20%, rgba(10, 6, 18, 0.4) 70%);
}


.gmg-slot-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    height: 100%;
    min-height: 380px;
}

.gmg-slot-text {
    animation: gmg-slot-fade-up 700ms ease both;
}

@keyframes gmg-slot-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gmg-slot-title {
    margin: 0;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gmg-slot-text), var(--gmg-slot-purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px color-mix(in srgb, var(--gmg-slot-purple-glow) 50%, transparent);
}
html[data-gmg-theme="light"] .gmg-slot-title {
    background: linear-gradient(135deg, #ffffff, var(--gmg-slot-purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gmg-slot-subtitle {
    color: var(--gmg-slot-text-muted);
    margin: 14px 0 24px;
    font-weight: 600;
    line-height: 1.6;
}

.gmg-slot-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gmg-slot-purple), var(--gmg-slot-pink));
    border: none;
    
    color: #fff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 0 30px color-mix(in srgb, var(--gmg-slot-purple) 50%, transparent);
    animation: gmg-slot-pulse-glow 2.5s ease-in-out infinite;
}

@keyframes gmg-slot-pulse-glow {
    0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--gmg-slot-purple) 40%, transparent); }
    50%      { box-shadow: 0 0 40px color-mix(in srgb, var(--gmg-slot-pink) 60%, transparent); }
}

.gmg-slot-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gmg-main-primary-hover, var(--gmg-slot-purple)), var(--gmg-slot-pink));
}


.gmg-slot-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.gmg-slot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 300ms ease;
}

.gmg-slot-dot.active {
    background: var(--gmg-slot-purple-glow);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--gmg-slot-purple-glow);
}


.gmg-slot-character {
    flex-shrink: 0;
}

.gmg-slot-character img {
    max-height: 340px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 30px color-mix(in srgb, var(--gmg-slot-purple-glow) 40%, transparent));
    animation: gmg-slot-float-char 4s ease-in-out infinite;
}

@keyframes gmg-slot-float-char {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}


.gmg-slot-leaderboard {
    position: absolute;
    top: 50%;
    inset-inline-end: 40px;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gmg-slot-prize {
    display: flex;
    align-items: center;
    gap: 12px;
    background: color-mix(in srgb, var(--gmg-main-surface, #150c24) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--gmg-slot-purple-glow) 30%, transparent);
    padding: 10px 16px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    animation: gmg-slot-fade-left 600ms ease both;
}

.gmg-slot-leaderboard .gmg-slot-prize:nth-child(1) { animation-delay: 100ms; }
.gmg-slot-leaderboard .gmg-slot-prize:nth-child(2) { animation-delay: 200ms; }
.gmg-slot-leaderboard .gmg-slot-prize:nth-child(3) { animation-delay: 300ms; }
.gmg-slot-leaderboard .gmg-slot-prize:nth-child(n+4) { animation-delay: 380ms; }

@keyframes gmg-slot-fade-left {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

[dir="rtl"] .gmg-slot-leaderboard {
    animation-name: none;
}

.gmg-slot-prize-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmg-slot-prize-icon.gold {
    color: var(--gmg-slot-gold);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--gmg-slot-gold) 60%, transparent));
}


.gmg-slot-prize-icon.silver {
    color: #cbd5e1;
}

.gmg-slot-prize-icon.bronze {
    color: #d97757;
}

.gmg-slot-prize-icon.other {
    color: var(--gmg-main-muted, #7a8293);
}

.gmg-slot-prize-info {
    min-width: 0;
}

.gmg-slot-prize-label {
    font-size: 11px;
    color: var(--gmg-slot-text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.gmg-slot-prize-amount {
    font-weight: 800;
    font-size: 16px;
    color: var(--gmg-slot-text);
    font-variant-numeric: tabular-nums;
}

.gmg-slot-prize-amount span {
    font-size: 10px;
    color: var(--gmg-slot-text-muted);
    font-weight: 400;
    margin-inline-start: 4px;
}


.gmg-slot-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    pointer-events: none;
    animation: gmg-slot-ripple-anim 600ms ease-out;
}

@keyframes gmg-slot-ripple-anim {
    to { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .gmg-slot-hero .gmg-slot-particle,
    .gmg-slot-hero .gmg-slot-btn,
    .gmg-slot-hero .gmg-slot-character img,
    .gmg-slot-hero .gmg-slot-text,
    .gmg-slot-hero .gmg-slot-prize {
        animation: none;
    }
}


@media (max-width: 992px) {
    .gmg-slot-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 32px 24px;
    }

    .gmg-slot-dots {
        justify-content: center;
    }

    .gmg-slot-leaderboard {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 24px;
    }

    .gmg-slot-title {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .gmg-slot-card {
        min-height: auto;
    }

    .gmg-slot-slides,
    .gmg-slot-content {
        min-height: 0;
    }

    .gmg-slot-content {
        padding: 28px 18px;
    }

    .gmg-slot-title {
        font-size: 26px;
    }

    .gmg-slot-character img {
        max-height: 220px;
    }

    .gmg-slot-btn {
        width: 100%;
        justify-content: center;
    }

    .gmg-slot-leaderboard {
        flex-direction: column;
    }

    .gmg-slot-prize-label {
        max-width: none;
    }
}
