/* RESET & VARIABLES */
:root {
    /* Setebit Color Palette */
    --bg-dark: #00122e; 
    --bg-surface: #001c47;
    --primary: #006FE4;
    --primary-hover: #00A4FF;
    --cyan: #00e5ff;
    --cyan-dim: rgba(0, 229, 255, 0.1);
    
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-light: #f4f7f9;
    --text-dark: #111827;
    --text-dark-muted: #4b5563;
    
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-light: rgba(0, 0, 0, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-dark: 0 10px 30px rgba(0,0,0,0.3);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--text-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.text-cyan { color: var(--cyan); }
.text-white { color: var(--text-light); }
.text-muted { color: var(--text-dark-muted); }
.bg-dark .text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.justify-center { justify-content: center !important; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; margin-inline: auto; }
.max-w-3xl { max-width: 48rem; margin-inline: auto; }
.max-w-4xl { max-width: 56rem; margin-inline: auto; }
.mx-auto { margin-inline: auto; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.hero-title { font-size: 3rem; margin-bottom: 1rem; color: var(--text-light); }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--bg-dark); }
.bg-dark .section-title { color: var(--text-light); }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600;
    transition: all 0.3s; gap: 0.5rem; font-size: 1rem;
}
.btn-primary { background: var(--primary); color: var(--text-light); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 111, 228, 0.4); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text-light); }
.btn-outline-white { border: 2px solid var(--text-light); color: var(--text-light); }
.btn-outline-white:hover { background: var(--text-light); color: var(--bg-dark); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.action-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(0, 18, 46, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass); transition: all 0.3s;
}
.header.scrolled { padding: 0.5rem 0; box-shadow: var(--shadow-dark); }
.header-container {
    display: flex; justify-content: space-between; align-items: center; height: 70px;
}
.logo img { height: 35px; }

.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-light); font-weight: 500; transition: color 0.2s; font-size: 0.95rem; }
.nav-link:hover { color: var(--cyan); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--bg-surface);
    border: 1px solid var(--border-glass); border-radius: var(--radius-md);
    padding: 0.5rem 0; min-width: 220px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all 0.2s; box-shadow: var(--shadow-dark);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 0.75rem 1.5rem; color: var(--text-light);
    font-size: 0.9rem; transition: background 0.2s;
}
.dropdown-menu a:hover { background: var(--border-glass); color: var(--cyan); }

.mobile-toggle { display: none; color: var(--text-light); font-size: 1.5rem; }

/* Mobile Nav */
.mobile-nav {
    position: fixed; top: 70px; left: 0; width: 100%; background: var(--bg-dark);
    padding: 1.5rem; flex-direction: column; gap: 1rem; display: none;
    border-bottom: 1px solid var(--border-glass);
}
.mobile-nav.active { display: flex; }
.mobile-link { color: var(--text-light); font-size: 1.1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-glass); }

/* HERO */
.hero {
    padding: 10rem 0 6rem;
    background: var(--bg-dark);
    position: relative; overflow: hidden;
}
.hero::before {
    display: none;
}
.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; max-width: 90%; }
.hero-visual img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); transform: scale(1.05); }

/* QUICK NAV CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.quick-card {
    background: #fff; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-light);
    transition: all 0.3s; text-align: left; display: block; box-shadow: var(--shadow-soft);
}
.quick-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0, 111, 228, 0.1); }
.card-icon { color: var(--primary); margin-bottom: 1rem; width: 32px; height: 32px; }
.quick-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--bg-dark); }
.quick-card p { font-size: 0.85rem; color: var(--text-dark-muted); }

/* BENEFITS */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.benefit-item { text-align: center; }
.benefit-item i { color: var(--cyan); width: 40px; height: 40px; margin-bottom: 1rem; background: var(--bg-dark); padding: 0.5rem; border-radius: var(--radius-md); }
.benefit-item h4 { font-size: 1.05rem; color: var(--bg-dark); }

/* PRODUCT SECTIONS */
.product-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.product-container.inverse .product-info { order: 2; }
.product-container.inverse .product-visual { order: 1; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-weight: 500; }
.feature-list i { color: var(--primary); flex-shrink: 0; margin-top: 0.15rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-weight: 500; }
.feature-grid li { display: flex; align-items: center; gap: 0.5rem; }
.feature-grid i { color: var(--primary); }
.product-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-dark); }
.product-visual img.no-shadow { box-shadow: none !important; border-radius: 0 !important; background: transparent !important; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); }

/* CASINO TABS */
.casino-tabs-nav { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.tab-btn {
    padding: 0.75rem 2rem; border-radius: 50px; background: #fff; border: 1px solid var(--border-light);
    font-weight: 600; color: var(--text-dark-muted); display: flex; align-items: center; gap: 0.5rem; transition: all 0.3s;
}
.tab-btn:hover { background: var(--bg-light); }
.tab-btn.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.tab-btn.active i { color: var(--cyan); }
.casino-tab-content { display: none; animation: fadeIn 0.4s ease; }
.casino-tab-content.active { display: block; }

.tab-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.tab-info h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.feature-list.small li { font-size: 0.9rem; margin-bottom: 0.5rem; }
.feature-list.small i { width: 18px; height: 18px; }
.kpis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; background: #fff; padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--border-light); align-items: start; }
.kpi { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; }
.kpi strong { font-size: 1.25rem; color: var(--primary); font-family: var(--font-heading); line-height: 1.2; }
.kpi span { font-size: 0.75rem; color: var(--text-dark-muted); text-transform: uppercase; font-weight: 600; line-height: 1.4; }
.tab-visual img { width: 100%; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-card h3 { font-size: 2.5rem; color: var(--cyan); margin-bottom: 0.5rem; }
.stat-card p { font-size: 0.9rem; opacity: 0.8; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

/* FAQ */
.accordion { border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    width: 100%; text-align: left; padding: 1.25rem 1.5rem; font-weight: 600; color: var(--bg-dark);
    display: flex; justify-content: space-between; align-items: center; transition: background 0.3s;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-header i { transition: transform 0.3s; }
.accordion-header.active i { transform: rotate(180deg); color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; }
.accordion-content p { padding: 0 1.5rem 1.25rem; color: var(--text-dark-muted); font-size: 0.95rem; }

/* FOOTER */
.footer { background: var(--bg-dark); color: var(--text-muted); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 40px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.footer-links h4 { color: var(--text-light); margin-bottom: 1.25rem; font-size: 1.1rem; }
.footer-links a { display: block; margin-bottom: 0.75rem; transition: color 0.2s; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-glass); font-size: 0.85rem; }

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(5px);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: #fff; width: 90%; max-width: 500px; padding: 2.5rem;
    border-radius: var(--radius-lg); position: relative;
    transform: translateY(20px); transition: transform 0.3s; box-shadow: var(--shadow-dark);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 1rem; right: 1rem; color: var(--text-dark-muted); transition: color 0.2s; }
.modal-close:hover { color: var(--bg-dark); }
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--bg-dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-light);
    border-radius: var(--radius-md); font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--cyan-dim);
}
.text-success { color: #10b981; }

/* UTILS & ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.hidden { display: none !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* TICKER SLIDER */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.ticker {
    display: flex;
    width: calc(200px * 14);
    animation: ticker-scroll 25s linear infinite;
}
.ticker-item {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
}
.ticker-item img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.ticker-item img:hover {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 7)); }
}

/* RETENTION SECTION */
.retention-section {
    background-color: var(--bg-dark);
    overflow: hidden;
}

.retention-cards {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ret-card {
    position: absolute;
    width: 300px;
    height: 180px;
    background: #041b3b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.ret-card i {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: white;
}

.ret-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.ret-card-1 {
    transform: translate(-70px, -110px) rotate(-6deg);
    z-index: 1;
    background: #021229;
}

.ret-card-2 {
    transform: translate(50px, 0px) rotate(2deg);
    z-index: 2;
    background: #041c40;
}

.ret-card-3 {
    transform: translate(-60px, 120px) rotate(-4deg);
    z-index: 3;
    background: #031530;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* RESPONSIVE DESIGN (MOBILE FIRST APPROACHED BY OVERRIDING DESKTOP FOR SMALLER SCREENS) */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .cards-grid, .benefits-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tab-grid { grid-template-columns: 1fr; }
    .tab-visual { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    
    .hero { padding: 7rem 0 4rem; text-align: center; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    
    .product-container, .product-container.inverse { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .product-info { order: 2 !important; }
    .product-visual { order: 1 !important; }
    .feature-list li { justify-content: flex-start; text-align: left; }
    .feature-grid { text-align: left; }
    .action-group { justify-content: center; }

    .casino-tabs-nav { overflow-x: auto; padding-bottom: 1rem; justify-content: flex-start; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .tab-btn { flex-shrink: 0; scroll-snap-align: start; }
    .kpis-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .cards-grid, .benefits-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
    .action-group { flex-direction: column; width: 100%; }
    .action-group .btn { width: 100%; }
}
