:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --primary: #FFD700;
    --primary-dark: #b8860b;
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --gold-glow: 0 0 15px rgba(255, 215, 0, 0.3);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-head: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    padding-top: 60px;
    padding-bottom: 80px;
    background-image: radial-gradient(circle at top center, #1a1a1a 0%, var(--bg-dark) 60%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.tb-left {
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.btn-login,
.btn-register {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-right: 8px;
    background: rgba(255,255,255,0.05);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.running-text-wrapper {
    background: linear-gradient(90deg, #000, #1a1a1a, #000);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 10px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.rt-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.rt-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.hero-section {
    min-height: 520px;
    padding: 50px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(255, 215, 0, 0.1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/background.webp') no-repeat center top;
    background-size: cover;
    z-index: 0;
    filter: saturate(1.2);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(9, 9, 11, 1) 90%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    width: 100%;
}

.server-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2));
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    text-transform: uppercase;
}

.hero-section h2 {
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff 30%, #FFD700 60%, #9A7B0C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
}

.gradient-text {
    background: linear-gradient(to right, #FFD700, #FFF, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: shineGold 3s linear infinite;
    font-weight: 900;
}

.hero-description {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px #000;
    max-width: 90%;
    margin: 0 auto;
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-btn {
    margin-top: 25px;
    background: linear-gradient(180deg, #FFD700 0%, #F59E0B 100%);
    color: #000;
    font-weight: 900;
    padding: 16px 45px;
    border-radius: 5px;
    font-size: 1.1rem;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4), inset 0 2px 5px rgba(255,255,255,0.5);
    display: inline-block;
    animation: pulseLuxury 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), inset 0 2px 5px rgba(255,255,255,0.8);
}

.promo-banner {
    padding: 10px 15px;
    perspective: 1000px;
    margin-top: -40px;
    position: relative;
    z-index: 20;
}

.promo-banner-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.1);
    animation: floatLuxury 4s ease-in-out infinite;
    transition: transform 0.3s;
}

.jp-box {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #000);
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin: 35px 15px;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 2px rgba(255, 215, 0, 0.5);
    text-align: center;
    overflow: hidden;
}

.jp-box::before {
    content: '🏆';
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.03;
    transform: rotate(20deg);
    filter: grayscale(1) contrast(2);
}

.jp-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shinePass 4s infinite;
}

.jp-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
    animation: bounceLuxury 2s infinite;
}

.jp-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.jp-amount {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff 0%, #FFD700 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.container {
    padding: 0 15px;
    margin-bottom: 45px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    background: linear-gradient(90deg, rgba(255,215,0,0.05) 0%, transparent 100%);
    padding-left: 10px;
    border-radius: 4px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    border-radius: 3px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

.scroll-wrapper {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 25px;
    scrollbar-width: none;
    scroll-padding-left: 15px;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-bottom: 25px;
}

.game-card {
    background: #18181b;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    z-index: 5;
    border-color: var(--primary);
}

.game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-img {
    transform: scale(1.1);
}

.badge-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 5px;
    color: #000;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
}

.badge-hot {
    background: linear-gradient(45deg, #FFD700, #ff9f43);
}

.badge-new {
    background: linear-gradient(45deg, #ff4757, #ff6b6b);
    color: #fff;
}

.rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 50%;
    color: #000;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.rank-1 { background: linear-gradient(135deg, #FFF 0%, #FFD700 50%, #B8860B 100%); border: 1px solid #fff; }
.rank-2 { background: linear-gradient(135deg, #FFF 0%, #E0E0E0 50%, #BDBDBD 100%); border: 1px solid #fff; }
.rank-3 { background: linear-gradient(135deg, #FFF 0%, #CD7F32 50%, #A0522D 100%); border: 1px solid #fff; }

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .play-overlay {
    opacity: 1;
}

.btn-play-now {
    background: linear-gradient(to bottom, #FFD700, #F59E0B);
    color: #000;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transform: scale(0.9);
    transition: 0.3s;
}

.game-card:hover .btn-play-now {
    transform: scale(1);
}

.game-info {
    padding: 12px;
    background: linear-gradient(to bottom, #18181b, #111);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-name {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    color: #fff;
}

.rtp-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.rtp-provider {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.circular-rtp {
    position: relative;
    width: 36px;
    height: 36px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #2a2a2a;
    stroke-width: 3.5;
}

.circle {
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
    animation: fillProgress 1.5s ease-out forwards;
    filter: drop-shadow(0 0 3px var(--clr));
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.55rem;
    font-weight: 900;
}

@keyframes fillProgress {
    0% { stroke-dasharray: 0 100; }
}

.provider-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 30px;
    padding: 5px 5px 20px 5px;
    scrollbar-width: none;
}

.provider-pill {
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 5px 5px 15px #0a0a0a, -5px -5px 15px #2a2a2a;
}

.provider-pill:active {
    transform: scale(0.95);
}

.provider-pill.active {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    border: 1px solid #fff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), inset 0 2px 5px rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.p-dot {
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
}

.seo-box {
    text-align: left;
    background: linear-gradient(160deg, #18181b 0%, #0f0f11 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.seo-title {
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 25px;
    line-height: 1.3;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.seo-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.seo-body a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
    transition: 0.3s;
}

.seo-body a:hover {
    color: #fff;
    border-bottom-style: solid;
}

.seo-h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-h2 span {
    filter: drop-shadow(0 0 5px var(--primary));
}

.seo-list-item {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

.seo-quote-box {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), transparent);
    border-left: 5px solid var(--primary);
    padding: 25px;
    margin-top: 30px;
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: #131316;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-question {
    padding: 18px 20px;
    background: rgba(255,255,255,0.02);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e0e0e0;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #0a0a0c;
    color: var(--text-muted);
    padding: 0 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

.faq-item.active .faq-answer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer {
    text-align: center;
    background: #050507;
    padding: 40px 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
}

.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 900;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    padding-bottom: 5px;
}

.bm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    font-size: 0.65rem;
    gap: 6px;
    transition: 0.3s;
}

.bm-item span:first-child {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
    transition: 0.3s;
}

.bm-item.active {
    color: var(--primary);
}

.bm-item.active span:first-child {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px var(--primary));
}

.bm-center {
    position: relative;
    display: flex;
    justify-content: center;
    height: 100%;
}

.bm-play {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #F59E0B);
    border-radius: 50%;
    position: absolute;
    top: -35px;
    border: 4px solid var(--bg-dark);
    display: grid;
    place-items: center;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), inset 0 3px 5px rgba(255,255,255,0.5);
    font-size: 1.5rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bm-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.7);
}

.bm-center-text {
    position: absolute;
    bottom: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.game-not-found {
    grid-column: 1/-1;
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border: 2px dashed rgba(255, 215, 0, 0.2);
    border-radius: 8px;
}

@media (max-width: 380px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .section-title {
    font-size: 1.1rem;
}
}

@keyframes shineGold {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes pulseLuxury {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 15px 40px rgba(255, 215, 0, 0.7); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); }
}

@keyframes floatLuxury {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounceLuxury {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes shinePass {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}