:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #ffd700;
    --accent-dark: #e6b800;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(45deg, #1a1a2e 0%, #16213e 100%);
    --gradient-3: linear-gradient(135deg, #00b09b, #96c93d);
    --gradient-4: linear-gradient(45deg, #667eea, #764ba2);
    --text-light: #fff;
    --text-dark: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --border-radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================== */
/* NAVIGATION */
/* ======================================== */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--accent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-register {
    background: var(--accent);
    color: var(--primary);
    border: 2px solid var(--accent);
}

.btn-register:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ======================================== */
/* HERO SECTION */
/* ======================================== */
.hero {
    background: var(--gradient-2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    margin-top: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 40%;
    z-index: 1;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-3);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,176,155,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,176,155,0.4);
}

.btn-secondary {
    background: var(--gradient-4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.hero-image {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-image img {
    width: 30%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    padding: 12px 25px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: -20px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

/* ======================================== */
/* SCATTER HIGHLIGHT */
/* ======================================== */
.scatter-highlight {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-4);
    border-radius: var(--border-radius-full);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.scatter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.scatter-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.scatter-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.scatter-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.scatter-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.scatter-pattern {
    background: var(--bg-light);
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: 10px;
}

.scatter-win {
    font-size: 20px;
    font-weight: 800;
    color: var(--gradient-3);
}

.scatter-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-3);
    color: #fff;
    padding: 5px 15px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ======================================== */
/* POLA SECTION */
/* ======================================== */
.pola-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.pola-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: #fff;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-4);
    color: #fff;
    border-color: transparent;
}

.pola-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.pola-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.pola-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pola-time {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-dark);
}

.pola-pattern {
    font-size: 18px;
    font-weight: 700;
}

.pola-result {
    color: #00b09b;
    font-weight: 600;
}

.pola-win {
    font-size: 20px;
    font-weight: 800;
    color: var(--gradient-3);
}

/* ======================================== */
/* BOCORAN SECTION */
/* ======================================== */
.bocoran-section {
    padding: 80px 0;
    background: #fff;
}

.bocoran-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.bocoran-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.bocoran-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.bocoran-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bocoran-time {
    color: var(--text-muted);
    font-size: 14px;
}

.bocoran-verified {
    background: #00b09b;
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 600;
}

.bocoran-content {
    margin-bottom: 15px;
    font-style: italic;
}

.bocoran-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 14px;
}

.bocoran-cta {
    text-align: center;
}

/* ======================================== */
/* FEATURES SECTION */
/* ======================================== */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======================================== */
/* CTA SECTION */
/* ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-2);
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ======================================== */
/* FOOTER */
/* ======================================== */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges span {
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-full);
    font-size: 12px;
}

/* ======================================== */
/* FLOATING BUTTONS */
/* ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-daftar,
.floating-login,
.floating-chat,
.floating-scroll {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-size: 20px;
}

.floating-daftar {
    background: var(--gradient-3);
}

.floating-login {
    background: var(--gradient-4);
}

.floating-chat {
    background: var(--accent);
    color: var(--primary);
}

.floating-scroll {
    background: var(--primary);
    display: none;
}

.floating-scroll.show {
    display: flex;
}

.floating-daftar:hover,
.floating-login:hover,
.floating-chat:hover,
.floating-scroll:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pola-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        width: calc(50% - 10px);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .pola-grid,
    .bocoran-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
}