/* WagiBet Casino - Main Stylesheet */
/* Premium dark casino design for Filipino players */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d111c;
    --bg-secondary: #1a1f2e;
    --bg-card: #1e2532;
    --accent-yellow: #FFD700;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --black: #000000;
    --sidebar-width: 80px;
    --sidebar-expanded: 260px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-yellow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== LAYOUT STRUCTURE ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar:hover {
    width: var(--sidebar-expanded);
}

.sidebar-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    transition: var(--transition);
}

.sidebar:hover .sidebar-logo img {
    width: 120px;
    height: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 20px 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-yellow);
    border-left: 3px solid var(--accent-yellow);
}

.sidebar-nav-icon {
    min-width: 40px;
    font-size: 20px;
    text-align: center;
}

.sidebar-nav-text {
    opacity: 0;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.sidebar:hover .sidebar-nav-text {
    opacity: 1;
}

.main-container {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-secondary);
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-yellow {
    background: var(--accent-yellow);
    color: var(--black);
}

.btn-yellow:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-outline:hover {
    background: var(--accent-yellow);
    color: var(--black);
}

/* ===== CONTENT AREA ===== */
.content {
    flex: 1;
    padding: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
}

/* ===== CARDS & SECTIONS ===== */
.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: linear-gradient(135deg, #1a1f2e, #0d111c);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-banner h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.hero-banner p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURE BOXES ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ===== GAME GRID ===== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.game-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.game-card-title {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== FAQ SECTION ===== */
.faq-list {
    max-width: 900px;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
    color: var(--accent-yellow);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-container {
    max-width: 700px;
}

.contact-info {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    color: var(--accent-yellow);
    display: block;
    margin-bottom: 5px;
}

/* ===== BONUS TABLE ===== */
.bonus-table {
    width: 100%;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.bonus-table table {
    width: 100%;
    border-collapse: collapse;
}

.bonus-table th,
.bonus-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bonus-table th {
    background: var(--bg-secondary);
    color: var(--accent-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.bonus-table td {
    color: var(--text-secondary);
}

.bonus-table tr:last-child td {
    border-bottom: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--accent-yellow);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 900px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.menu-toggle-label span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .content {
        padding: 30px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .hero-banner h2 {
        font-size: 38px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .menu-toggle-label {
        display: flex;
    }
    
    /* Hide sidebar by default on mobile */
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-expanded);
    }
    
    /* Show sidebar when checkbox is checked */
    .menu-toggle-checkbox:checked ~ .sidebar {
        transform: translateX(0);
    }
    
    .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Mobile sidebar always shows text */
    .sidebar .sidebar-nav-text {
        opacity: 1;
    }
    
    /* Adjust main container */
    .main-container {
        margin-left: 0;
    }
    
    /* Header adjustments */
    .header {
        padding: 15px 20px;
    }
    
    .header-title {
        font-size: 20px;
    }
    
    .header-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Content adjustments */
    .content {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .hero-banner {
        padding: 40px 20px;
    }
    
    .hero-banner h2 {
        font-size: 32px;
    }
    
    .hero-banner p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .card-grid,
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .hero-banner h2 {
        font-size: 26px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .card-grid,
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-yellow {
    color: var(--accent-yellow);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

