/* --------- CSS Variables - Tema Asli Hebohtoto --------- */
:root {
    --bg-dark: #000000;
    --gold: #d4a245;
    --gold-glow: rgba(212, 162, 69, 0.4);
    --gold-light: #f5c875;
    --text-main: #fcfcfc;
    --text-muted: #a3a3b3;
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: var(--gold);
    --wa-green: #25D366;
    --red-dark: #910203;
    --red-accent: #ff0000;
    --gradient-box: linear-gradient(to right, #a48346, #f5c875, #c58e29, #f0ae35, #c48c25);
    --gradient-gold-full: repeating-linear-gradient(to right, #a2682a 0%, #be8c3c 8%, #be8c3c 18%, #d3b15f 27%, #faf0a0 35%, #ffffc2 40%, #faf0a0 50%, #d3b15f 58%, #be8c3c 67%, #b17b32 77%, #bb8332 83%, #d4a245 88%, #e1b453 93%, #a4692a 100%);
}

/* --------- Global Styles --------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(ellipse at top, rgba(100, 50, 0, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(145, 2, 3, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --------- Glowing Orbs --------- */
.glow { position: absolute; width: 300px; height: 300px; filter: blur(150px); border-radius: 50%; opacity: 0.1; z-index: -1; pointer-events: none; }
.top-glow { top: -100px; right: -100px; background: var(--gold); }
.bottom-glow { bottom: 10%; left: -50px; background: var(--red-dark); opacity: 0.15; }

/* --------- Info Ticker / Running Text --------- */
.info-ticker {
    background: var(--gradient-box);
    background-size: 200% 100%;
    animation: glowing 5s backwards infinite;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-content {
    display: inline-block;
    animation: ticker-scroll 25s linear infinite;
    font-weight: 700;
    color: #000;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --------- Header --------- */
header { padding: 1.5rem 0; }
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0px 0px 8px var(--gold-glow));
}
.live-date {
    font-size: 0.85rem;
    color: var(--gold);
    background: rgba(145, 2, 3, 0.5);
    border: 1px solid var(--gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.live-date::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 10px #25D366;
    animation: blink 1.5s infinite;
}

/* --------- Hero Banner --------- */
.hero-banner {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}
.banner-img {
    width: 100%;
    max-width: 900px;
    border-radius: 14px;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--gold-glow);
}

/* --------- Hero Section --------- */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0 1rem 0;
}
.hero-content {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge {
    display: inline-block;
    background: var(--gradient-box);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px var(--gold-glow);
    animation: floatBadge 3s ease-in-out infinite;
}
.headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.highlight {
    background: var(--gradient-box);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Gold Animated Text (khas footer Hebohtoto) */
.gold-animated {
    background-image: var(--gradient-gold-full);
    background-size: 150%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Yantramanav', sans-serif;
    filter: drop-shadow(0 0 1px rgba(255, 200, 0, .3));
    animation: MoveBackgroundPosition 6s ease-in-out infinite;
}

/* --------- Pasaran Highlight Cards --------- */
.pasaran-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 1rem 0 2rem 0;
}
.pasaran-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pasaran-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--gold-glow);
    background: var(--red-dark);
}
.pasaran-flag { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }
.pasaran-card h4 { color: var(--gold); font-size: 1.1rem; font-weight: 900; letter-spacing: 2px; margin-bottom: 0.5rem; }
.pasaran-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* --------- Togel Icons Grid --------- */
.pasaran-togel {
    margin: 1rem auto 2rem auto;
    padding: 2rem 1rem;
    background: rgba(145, 2, 3, 0.35);
    border: 1px solid var(--gold);
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(145, 2, 3, 0.4), inset 0 0 10px rgba(212, 162, 69, 0.15);
    text-align: center;
}
.pasaran-title {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--gold-glow);
}
.togel-grid, .games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.togel-grid img, .games-grid img {
    height: 60px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: shadow-pulse 2s infinite alternate;
}
.togel-grid img:hover, .games-grid img:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 162, 69, 0.8);
    border-color: #fff;
}

/* --------- Live Games Section --------- */
.live-games {
    padding: 2rem 0;
    text-align: center;
}

/* --------- Buttons --------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-box);
    color: #000;
    padding: 1.1rem 2.5rem;
    border-radius: 18px;
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid gold;
    box-shadow: 0 10px 30px var(--gold-glow);
    transition: all 0.3s ease;
    background-size: 200% 100%;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    border-color: var(--red-accent);
    background: gold;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
    animation: glowing 5s linear infinite;
}
.btn-primary i {
    font-size: 1.6rem;
    color: var(--wa-green);
    background: #fff;
    padding: 5px;
    border-radius: 50%;
}
.btn-primary:hover i { color: #fff; background: var(--wa-green); }
.trusted-by { margin-top: 1.5rem; font-size: 0.9rem; color: var(--gold); font-weight: bold; text-align: center; }

/* --------- Section Title --------- */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.why-us { padding: 2rem 0; }

/* --------- Features --------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--gold);
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    background: var(--red-dark);
    box-shadow: inset 0 0 20px rgba(212, 162, 69, 0.3), 0 10px 30px rgba(0,0,0,0.8);
}
.feature-card .icon {
    width: 65px; height: 65px;
    margin: 0 auto 1.2rem auto;
    background: var(--gradient-box);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--gold); }
.feature-card p { color: var(--text-main); font-size: 0.9rem; line-height: 1.7; }

/* --------- Payment / Bank Section --------- */
.payment-section {
    padding: 2rem 0;
    text-align: center;
}
.bank-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.bank-grid img {
    height: 45px;
    width: auto;
    border-radius: 8px;
    background: #1a1a1a;
    padding: 5px;
    border: 1px solid rgba(212, 162, 69, 0.3);
    transition: transform 0.3s ease;
}
.bank-grid img:hover {
    transform: scale(1.1);
    border-color: var(--gold);
}

/* --------- CTA Bottom --------- */
.cta-bottom { padding: 2rem 0 3rem 0; }
.cta-box {
    background: var(--gradient-box);
    border-radius: 18px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--gold-glow);
}
.cta-box h3 { color: #000; font-size: 1.7rem; font-weight: 900; margin-bottom: 1rem; }
.cta-box p { color: #333; font-size: 1rem; max-width: 600px; margin: 0 auto 2rem auto; line-height: 1.7; }
.cta-box .btn-primary { background: #000; color: var(--gold); border-color: #000; }
.cta-box .btn-primary i { color: #fff; background: var(--wa-green); }
.cta-box .btn-primary:hover { background: var(--red-dark); color: #fff; border-color: var(--red-dark); }

/* --------- Footer --------- */
footer {
    border-top: 1px solid var(--gold);
    padding: 2.5rem 0;
    text-align: center;
    background: #000;
}
.footer-content { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-brand { font-size: 2.5rem; margin-bottom: 0.5rem; }
footer p { color: var(--text-muted); font-size: 0.85rem; max-width: 600px; }
.disclaimer { font-size: 0.75rem; opacity: 0.5; }

/* --------- Floating WA Button --------- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px; height: 65px;
    background-color: var(--wa-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease;
    border: 2px solid #fff;
}
.floating-wa:hover { transform: scale(1.1); }
.pulsing-circle {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--wa-green);
    animation: pulsering 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: -1;
}

/* --------- Animations --------- */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes glowing { 0% { background-position: 0 0; } 50% { background-position: 300% 0; } 100% { background-position: 0 0; } }
@keyframes pulsering { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
@keyframes MoveBackgroundPosition { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes ticker-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
@keyframes shadow-pulse { 0% { box-shadow: inset 0 -5px 10px rgba(212, 162, 69, 0.2); } 100% { box-shadow: inset 0 -5px 10px rgba(145, 2, 3, 0.4); } }

/* Scroll Reveal */
[data-aos="fade-up"] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* --------- Responsive: Tablet (max 900px) --------- */
@media (max-width: 900px) {
    .headline { font-size: 2.2rem; }
    .pasaran-cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.5rem; }
    .banner-img { border-radius: 10px; }
    .hero { min-height: auto; padding: 1.5rem 0; }
    .cta-box { padding: 2rem 1.5rem; }
    .togel-grid img, .games-grid img { height: 55px; }
}

/* --------- Responsive: Mobile (max 600px) --------- */
@media (max-width: 600px) {
    /* Header */
    header { padding: 1rem 0; }
    header .container { flex-direction: column; gap: 10px; text-align: center; }
    .brand-logo { max-width: 180px; }
    .live-date { font-size: 0.75rem; padding: 0.3rem 0.8rem; }

    /* Ticker */
    .info-ticker { padding: 6px 0; }
    .ticker-content { font-size: 0.75rem; }

    /* Banner */
    .hero-banner { margin-bottom: 0.5rem; }
    .banner-img { border-radius: 8px; border-width: 1px; }

    /* Hero */
    .hero { min-height: auto; padding: 1rem 0 0.5rem 0; }
    .hero-content { max-width: 100%; }
    .badge { font-size: 0.7rem; padding: 0.4rem 1rem; margin-bottom: 1rem; }
    .headline { font-size: 1.5rem; margin-bottom: 1rem; }
    .subheadline { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .btn-primary { padding: 0.9rem 1.2rem; font-size: 0.95rem; width: 100%; border-radius: 14px; }
    .btn-primary i { font-size: 1.3rem; }
    .trusted-by { font-size: 0.8rem; }

    /* Pasaran Cards */
    .pasaran-cards { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; padding: 0.5rem 0 1rem 0; }
    .pasaran-card { padding: 1rem 0.8rem; border-radius: 12px; }
    .pasaran-flag { font-size: 1.5rem; }
    .pasaran-card h4 { font-size: 0.9rem; letter-spacing: 1px; }
    .pasaran-card p { font-size: 0.75rem; }

    /* Togel & Games Grid */
    .pasaran-togel { padding: 1.5rem 0.8rem; margin: 0.5rem auto 1rem auto; border-radius: 14px; }
    .pasaran-title { font-size: 0.9rem; margin-bottom: 1rem; }
    .togel-grid img, .games-grid img { height: 45px; gap: 8px; }
    .togel-grid, .games-grid { gap: 10px; }

    /* Section Titles */
    .section-title { font-size: 1.2rem; margin-bottom: 1.2rem; }

    /* Features */
    .why-us { padding: 1rem 0; }
    .features { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem 1rem; border-radius: 14px; }
    .feature-card .icon { width: 55px; height: 55px; font-size: 1.5rem; margin-bottom: 1rem; }
    .feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
    .feature-card p { font-size: 0.85rem; }

    /* Bank / Payment */
    .payment-section { padding: 1rem 0; }
    .bank-grid img { height: 35px; padding: 3px; }
    .bank-grid { gap: 10px; }

    /* CTA Bottom */
    .cta-bottom { padding: 1rem 0 2rem 0; }
    .cta-box { padding: 2rem 1rem; border-radius: 14px; }
    .cta-box h3 { font-size: 1.2rem; }
    .cta-box p { font-size: 0.85rem; }

    /* Footer */
    footer { padding: 1.5rem 0; }
    .footer-brand { font-size: 1.8rem; }
    footer p { font-size: 0.75rem; }

    /* Floating WA */
    .floating-wa { bottom: 18px; right: 18px; width: 55px; height: 55px; font-size: 1.6rem; }
}

/* --------- Responsive: Very Small (max 380px) --------- */
@media (max-width: 380px) {
    .headline { font-size: 1.3rem; }
    .pasaran-cards { grid-template-columns: 1fr; }
    .togel-grid img, .games-grid img { height: 38px; }
    .bank-grid img { height: 30px; }
}
