
/* Reset CSS */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --primary-color: #b100e8;
    --primary-dark: #8a00b3;
    --primary-light: #d358ff;
    --secondary-color: #ffc107;
    --secondary-dark: #c79100;
    --secondary-light: #fff350;
    --dark-bg: #0a0a0a;
    --dark-bg-2: #121212;
    --dark-bg-3: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --border-color: #333333;
    --success-color: #00c853;
    --danger-color: #ff3d00;
    --gradient-purple: linear-gradient(45deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    --gradient-gold: linear-gradient(45deg, #bf9b30, #ffde59, #ffea00);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Typography */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
    font-display: swap;
}

/* Base Styles */
html, body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(177, 0, 232, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 0, 232, 0.6);
    color: white;
}

.btn-secondary {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    color: var(--dark-bg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-register {
    background: var(--gradient-purple);
    color: white;
}

.btn-login {
    background: var(--gradient-gold);
    color: var(--dark-bg);
}

.btn-play {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(177, 0, 232, 0.5);
    color: white;
}

/* Header Styles */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    max-width: 180px;
}

.logo {
    width: 100%;
    height: auto;
}

.cta-header {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 2rem;
    background: linear-gradient(180deg, var(--dark-bg), var(--dark-bg-2));
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.slide {
    width: 100%;
}

.slide-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.jackpot-container {
    background: var(--dark-bg-3);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.jackpot-label {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.jackpot-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Game Categories Section */
.game-categories {
    background-color: var(--dark-bg-2);
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-card {
    background-color: var(--dark-bg-3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(177, 0, 232, 0.2);
    border-color: var(--primary-color);
}

.game-thumb {
    position: relative;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
    transform: scale(1.05);
}

.rtp-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rtp-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rtp-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 0.5rem;
    overflow: hidden;
}

.rtp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--danger-color), var(--success-color));
    border-radius: 4px;
    width: 85%;
}

.rtp-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success-color);
}

.game-title {
    padding: 0.75rem;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-more {
    text-align: center;
    margin: 2rem 0;
}

.more-games-container {
    display: none;
    margin-top: 2rem;
}

/* Providers Section */
.providers {
    background-color: var(--dark-bg);
    padding: 3rem 0;
}

.providers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.provider-card {
    background-color: var(--dark-bg-3);
    border-radius: var(--border-radius);
    padding: 1rem;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(177, 0, 232, 0.2);
    border-color: var(--primary-color);
}

.provider-logo {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* Promo Section */
.promo {
    background-color: var(--dark-bg-2);
    padding: 3rem 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.promo-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(177, 0, 232, 0.3);
}

.promo-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-img {
    transform: scale(1.05);
}

/* About Section */
.about {
    background-color: var(--dark-bg);
    padding: 3rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--dark-bg-3);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-content h3 {
    margin-top: 1.5rem;
    color: var(--primary-light);
}

.feature-list {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* FAQ Section */
.faq {
    background-color: var(--dark-bg-2);
    padding: 3rem 0;
}

.accordion {
    max-width: 800px;
    margin: 2rem auto 0;
}

.accordion-item {
    background-color: var(--dark-bg-3);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.accordion-header {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--primary-light);
}

.accordion-header:after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-header:after {
    content: "-";
}

.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1rem;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('https://gambar.jalursukses.top/asset/baru/banner720/banner2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg-3);
    padding: 3rem 0 7rem;
    border-top: 4px solid var(--primary-color);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 200px;
}

.footer h3 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.contact-link:hover {
    color: var(--primary-light);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.copyright {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Fixed Menu */
.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-top: 2px solid var(--primary-color);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 0.75rem;
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.25rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .jackpot-value {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .game-title {
        font-size: 0.875rem;
    }
    
    .provider-card {
        width: 120px;
        height: 70px;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .logo-container {
        max-width: 150px;
    }
    
    .cta-header .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .provider-card {
        width: 100px;
        height: 60px;
    }
    
    .about-content {
        padding: 1rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

section {
    animation: fadeIn 1s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.game-card, .provider-card, .promo-card {
    animation: slideInUp 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
