/* === VARIABLES & RESET === */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-overlay: rgba(10, 10, 10, 0.95);
    
    --primary-red: #ff3b30;
    --primary-red-glow: rgba(255, 59, 48, 0.5);
    
    --accent-gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    
    --gradient-red: linear-gradient(135deg, #ff3b30 0%, #ff0055 100%);
    --gradient-dark: linear-gradient(180deg, rgba(20,20,20,0) 0%, #0a0a0a 100%);
    
    --shadow-glow: 0 0 20px var(--primary-red-glow);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
.no-scroll { overflow: hidden; }

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.red-text { color: var(--primary-red); }
.gradient-text {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === NAVBAR === */
.navbar {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    height: 70px;
    border-bottom: 1px solid rgba(255,59,48,0.2);
}

.nav-wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--primary-red); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.auth-buttons { display: flex; gap: 15px; }

.btn-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-login:hover { border-color: white; }

.btn-signup {
    background: var(--gradient-red);
    border: none;
    color: white;
    padding: 8px 25px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.5);
}

.burger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === MOBILE MENU === */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    z-index: 1100;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav-overlay.active { right: 0; }

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.mobile-auth { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 15px; }
.full-width { width: 100%; padding: 15px; }

/* === HERO SECTION === */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    width: 100%;
    overflow: hidden;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('banner.jpg') center/cover no-repeat;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.9) 100%);
    z-index: -2;
}


.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 59, 48, 0.1);
    color: var(--primary-red);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.hero-text-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 20px; }

.btn-primary-large {
    background: var(--gradient-red);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-red-glow);
}

.btn-outline-large {
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-outline-large:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* Hero Visual Animation */
.samurai-card {
    width: 350px;
    height: 450px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.samurai-card i {
    font-size: 8rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,59,48,0.3));
}

.jackpot-tag {
    margin-top: 30px;
    text-align: center;
    font-family: var(--font-display);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.jackpot-tag span {
    display: block;
    font-size: 2rem;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* === TICKER === */
.winners-ticker {
    background: #000;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.ticker-item {
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item i { color: var(--accent-gold); }
.ticker-item b { color: var(--primary-red); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assumes duplication */
}

/* === GAME CATEGORIES === */
.game-categories { padding: 80px 0; }

.category-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.red-marker { color: var(--primary-red); }

.category-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.category-slider::-webkit-scrollbar { display: none; }

.cat-item {
    background: var(--bg-card);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cat-item:hover, .cat-item.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.3);
}

/* === GAMES GRID === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,59,48,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-img {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-img img {
    transform: scale(1.1);
}

/* Placeholders for game images */
.gradient-1 { background: linear-gradient(45deg, #2c3e50, #fd746c); }
.gradient-2 { background: linear-gradient(45deg, #434343, #000000); }
.gradient-3 { background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59); }
.gradient-4 { background: linear-gradient(45deg, #ffd89b, #19547b); }

.game-img i {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}

.game-badge.hot { background: var(--primary-red); color: white; }
.game-badge.new { background: var(--accent-gold); color: black; }

.game-info {
    padding: 15px;
}

.game-info h3 { font-size: 1rem; margin-bottom: 5px; }
.game-info .provider { font-size: 0.8rem; color: var(--text-muted); }

.game-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-hover { opacity: 1; }

.btn-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255,59,48,0.5);
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-play:hover { transform: scale(1.1); }

.center-btn { text-align: center; }

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* === SEO CONTENT SECTION === */
.seo-content-section {
    padding: 60px 0 100px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.seo-content-section .container > div {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
}

.seo-content-section h2, .seo-content-section h3 {
    color: var(--text-main);
    font-family: var(--font-display);
    margin-bottom: 20px;
    margin-top: 40px;
}

.seo-content-section h2 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-top: 0;
}

.seo-content-section p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.seo-content-section ul {
    margin-bottom: 30px;
    padding-left: 0;
}

.seo-content-section ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.seo-content-section ul li::before {
    content: '\f00c'; /* Font Awesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.seo-content-section ul li strong {
    color: var(--text-main);
}

/* SEO Table */
.seo-content-section .container > div > div {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.seo-content-section table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.seo-content-section table th, .seo-content-section table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.seo-content-section table th {
    background: rgba(255,255,255,0.05);
    color: var(--primary-red);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.seo-content-section table tr:last-child td { border-bottom: none; }
.seo-content-section table tr:hover td { background: rgba(255,255,255,0.02); }

/* === FOOTER === */
.footer {
    background: #050505;
    border-top: 1px solid #222;
    padding-top: 60px;
    font-size: 0.9rem;
    color: #888;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary-red); }

.socials { display: flex; gap: 15px; margin-top: 20px; }
.socials a { font-size: 1.2rem; }

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #111;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .nav-links, .auth-buttons { display: none; }
    .burger-menu { display: block; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-visual { display: none; }
    
    .hero-text-content h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-text-content p { margin: 0 auto 30px; }
}

@media (max-width: 576px) {
    .hero-text-content h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
    .btn-primary-large, .btn-outline-large { width: 100%; justify-content: center; }
}