:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --primary: #FFD700;
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --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;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    padding-top: 60px;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

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.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.tb-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.header-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.btn-login,
.btn-register {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
}

.btn-login {
    border: 1px solid var(--border);
    color: #fff;
    margin-right: 5px;
}

.btn-register {
    background: var(--primary);
    color: #000;
}



.logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
}

.nav-link {
    display: block;
    padding: 12px 0;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link:hover {
    color: var(--primary);
    padding-left: 5px;
    transition: 0.2s;
}

.running-text-wrapper {
    background: linear-gradient(90deg, #000000, #222, #000000);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 8px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.rt-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.8rem;
}

.rt-icon {
    color: var(--primary);
    margin-left: 10px;
    animation: flash 1s infinite;
}

.hero-section {
    min-height: 520px;
    padding: 40px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.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;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 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.05'%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.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
}

.server-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.hero-section h1, .hero-section h2 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

.gradient-text {
    background: linear-gradient(to bottom, #fff 20%, #FFD700 50%, #b8860b 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: shine 3s infinite linear;
}

.hero-description {
    color: #ddd;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px #000;
    max-width: 90%;
    margin: 0 auto;
}

.hero-btn {
    margin-top: 20px;
    background: linear-gradient(180deg, #FFD700 0%, #F59E0B 100%);
    color: #000;
    font-weight: 900;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 1rem;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    display: inline-block;
    animation: pulseBtn 1.5s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-banner {
    padding: 10px 15px;
    perspective: 1000px;
    margin-top: -30px;
    position: relative;
    z-index: 20;
}

.promo-banner-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
    animation: floatBanner 4s ease-in-out infinite;
    transition: transform 0.3s;
}

.promo-banner-img:active {
    transform: scale(0.98);
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.4);
}

.jp-box {
    position: relative;
    background: radial-gradient(circle at center, #2a2a2a 0%, #000 100%);
    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(to bottom, #FFD700, #8B4513);
    margin: 25px 15px;
    padding: 20px 15px;
    border-radius: 4px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.jp-box::before {
    content: '💰';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(15deg);
}

.jp-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shinePass 3s infinite;
}

.jp-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    display: block;
    animation: bounce 2s infinite;
}

.jp-title {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.jp-amount {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.container {
    padding: 0 15px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.section-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to right, #FFD700, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.scroll-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    scroll-padding-left: 15px;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 20px;
}

.game-card {
    background: #18181b;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    min-width: 100px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.1);
    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;
}

.game-card:hover .game-img {
    transform: scale(1.1);
}

.badge-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    color: #000;
    z-index: 10;
}

.badge-hot {
    background: linear-gradient(45deg, #ff9f43, #ff6b6b);
}

.badge-new {
    background: #ff4757;
    color: #fff;
}

.rank-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
    color: #000;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    border: 1px solid #fff;
}

.rank-2 {
    background: linear-gradient(135deg, #E0E0E0, #BDBDBD);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.game-card:hover .play-overlay {
    opacity: 1;
}

.btn-play-now {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.game-info {
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(24, 24, 27, 0.9));
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-name {
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.rtp-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.rtp-bar-container {
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 2px;
}

.provider-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-bottom: 25px;
    padding: 5px 5px 15px 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.provider-pill {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 5px 5px 10px #0b0b0b, -5px -5px 10px #252525;
}

.provider-pill:active {
    transform: scale(0.95);
}

.provider-pill.active {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.p-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.seo-box {
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 25px;
}

.seo-title {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.seo-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.seo-h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.seo-list-item {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.seo-quote-box {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--primary);
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background: var(--bg-card);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    background: #111;
    color: var(--text-muted);
    padding: 0 15px;
    font-size: 0.85rem;
}

.faq-item.active .faq-answer {
    padding: 15px;
}

.main-footer {
    text-align: center;
    background: #000;
    padding: 30px 15px;
    margin-top: 20px;
}

.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #09090b;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 900;
}

.bm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.6rem;
    gap: 4px;
}

.bm-item.active {
    color: var(--primary);
}

.bm-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.bm-play {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: -30px;
    border: 5px solid var(--bg-dark);
    display: grid;
    place-items: center;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.game-not-found {
    grid-column: 1/-1;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
}

@media (max-width: 380px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulseBtn {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes floatBanner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shinePass {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes shine {
    0% { background-position: -100%; }
    100% { background-position: 200%; }
}

.bm-center {
    position: relative;
    display: flex;
    justify-content: center;
    height: 100%;
}

.bm-center-text {
    position: absolute;
    bottom: 10px;
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}