/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #8b1a1a;
    --dark-red: #6b1414;
    --accent-gold: #d4a574;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Homepage specific styles */
body.home-page {
    height: 100vh;
    overflow: hidden;
}

body.home-page html {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo img {
    height: 60px;
    width: auto;
}

.search-box {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255,255,255,0.95);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-signup {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
}

.btn-signup {
    background: var(--white);
    color: var(--primary-red);
}

.btn-signup:hover {
    background: #f0f0f0;
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.nav-icon {
    font-size: 16px;
}

/* Burger Menu Button - Hidden on desktop */
.burger-menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu:hover span {
    background: var(--accent-gold);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav-header .logo img {
    height: 50px;
}

.close-menu {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: var(--accent-gold);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-login-mobile,
.btn-signup-mobile {
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-login-mobile {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-login-mobile:hover {
    background: rgba(255,255,255,0.1);
}

.btn-signup-mobile {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--white);
}

.btn-signup-mobile:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark-bg);
}

.mobile-search {
    position: relative;
    margin-bottom: 30px;
}

.search-input-mobile {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255,255,255,0.95);
}

.search-input-mobile::placeholder {
    color: #999;
}

.search-btn-mobile {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-links a {
    display: block;
    padding: 15px 0;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--accent-gold);
}

/* Breadcrumbs */
.breadcrumbs-section {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    flex-shrink: 0;
}

.breadcrumbs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-red);
}

.last-updated {
    font-size: 13px;
    color: var(--text-light);
}

/* Main Wrapper */
.main-wrapper {
    background: var(--white);
    padding: 30px 0 0;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

body:not(.home-page) .main-wrapper {
    overflow-y: visible;
}

.page-title {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.on-this-page {
    margin-bottom: 30px;
}

.on-this-page-toggle {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

/* Casino Section */
.casinos-section {
    padding: 0 0 40px;
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.6em;
    color: var(--text-dark);
    font-weight: 600;
}

.view-all {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.casino-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.casino-card-inner {
    padding: 0;
}

.casino-logo {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 20px;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-bonus {
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
    padding: 20px;
    text-align: center;
    color: var(--white);
}

.bonus-percent {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.1;
}

.bonus-details {
    display: block;
    font-size: 0.9em;
    line-height: 1.3;
    margin-top: 5px;
    opacity: 0.9;
}

.casino-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-play,
.btn-review {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-play {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-play:hover {
    background: var(--light-bg);
    transform: scale(1.02);
}

.btn-review {
    background: transparent;
    color: var(--primary-red);
    border: none;
    text-decoration: underline;
}

.btn-review:hover {
    color: var(--dark-red);
}

/* Content Intro */
.content-intro {
    padding: 30px 0;
    max-width: 1000px;
}

.content-intro p {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Content Section */
.content-section {
    background: var(--light-bg);
    padding: 50px 0;
}

.main-content {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 1000px;
}

.main-content h1 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.main-content h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.main-content h3 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.main-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05em;
    color: var(--text-dark);
}

.main-content ol {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.main-content li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
}

.about-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.disclaimer {
    margin-top: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.disclaimer a {
    color: var(--primary-red);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    padding: 30px 0 15px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-section {
    flex: 1;
    max-width: 400px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-warning {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    line-height: 1.5;
}

.btn-18 {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-18:hover {
    background: #e0b67e;
    transform: translateY(-2px);
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 15px;
}

.footer-bottom-bar p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Page Styles (for terms and cookies pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    flex-shrink: 0;
}

.page-header h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

.page-content {
    padding: 30px 0 50px;
    background: var(--light-bg);
}

.page-content-inner {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-content-inner h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-content-inner h3 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-content-inner p,
.page-content-inner li {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-content-inner ul {
    margin: 20px 0 20px 30px;
}

.btn-home {
    display: inline-block;
    margin: 30px 0;
    padding: 12px 30px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 26, 26, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Show burger menu on mobile */
    .burger-menu {
        display: flex;
    }
    
    /* Hide desktop elements on mobile */
    .search-box,
    .header-actions,
    .main-nav {
        display: none !important;
    }
    
    .header-content {
        border-bottom: none;
        padding: 15px 0;
    }

    .casino-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumbs-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .page-title {
        font-size: 1.8em;
    }

    .main-content,
    .page-content-inner {
        padding: 30px 20px;
    }

    /* Footer Mobile */
    .footer-main {
        flex-direction: column;
        gap: 25px;
    }

    .footer-logo-section {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column a {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5em;
    }

    .section-title {
        font-size: 1.3em;
    }
}