/* ========================================
   River Belle Casino - Styles
   Color Scheme: Dark Brown & Gold
   ======================================== */

:root {
    --primary-brown: #3d2417;
    --dark-brown: #2a1810;
    --gold: #d4af37;
    --light-gold: #f4d03f;
    --bronze: #cd7f32;
    --cream: #f5f5dc;
    --white: #ffffff;
    --text-dark: #2a1810;
    --overlay-dark: rgba(42, 24, 16, 0.85);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--dark-brown);
    overflow-x: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

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

/* ========================================
   Header
   ======================================== */
#header {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--gold);
    color: var(--dark-brown);
    transform: translateY(-2px);
}

.login-btn {
    background: var(--gold) !important;
    color: var(--dark-brown) !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
}

.login-btn:hover {
    background: var(--light-gold) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 600px;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: url('images/rbc-bg.webp') center center / cover no-repeat;
    background-attachment: fixed;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-text {
    color: var(--white);
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.bonus-badge {
    display: inline-block;
    background: rgba(42, 24, 16, 0.8);
    color: var(--light-gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
    margin-top: 60px;
    line-height: 1.3;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CTA Buttons
   ======================================== */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    border: 3px solid var(--light-gold);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold) 100%);
}

/* Pulse Animation for Sign Up Buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(212, 175, 55, 0.7), 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    }
}

/* Join Now Button - Extra Prominent */
.join-now-btn {
    font-size: 1.5rem;
    padding: 25px 60px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #ff6b6b;
    animation: mega-pulse 1.5s infinite;
}

@keyframes mega-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 40px rgba(231, 76, 60, 0.8), 0 0 0 15px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.5);
    }
}

.join-now-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
}

/* ========================================
   Content Sections
   ======================================== */
.about-section,
.software-section,
.games-section,
.bonuses-section,
.join-section {
    padding: 80px 0;
    width: 100%;
}

.about-section {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    color: var(--cream);
}

.software-section {
    background: url('images/rbc-trust-bg.jpg') center center / cover no-repeat;
    color: var(--cream);
    position: relative;
}

.software-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 24, 16, 0.85);
    z-index: 0;
}

.software-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.software-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.software-section ol,
.software-section ul {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.content-text .cta-button {
    margin-top: 30px;
    display: inline-block;
}

.games-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    color: var(--cream);
}

.bonuses-section {
    background: var(--cream);
    color: var(--text-dark);
}

.join-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    color: var(--white);
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

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

.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.bonuses-section h2 {
    color: var(--primary-brown);
}

.content-text h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--light-gold);
}

.bonuses-section h3 {
    color: var(--bronze);
}

.content-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.feature-column h4 {
    color: var(--light-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-column ul {
    list-style: none;
}

.feature-column li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.support-text {
    background: rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-left: 4px solid var(--gold);
    margin: 20px 0;
    border-radius: 5px;
}

/* ========================================
   Tables
   ======================================== */
table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 1rem;
    background-color: rgba(42, 24, 16, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

thead tr {
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    color: var(--white);
    text-align: left;
    font-weight: 700;
}

th {
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--cream);
}

tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.15);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ========================================
   Lists (General Content)
   ======================================== */
.content-text ol {
    margin: 20px auto;
    padding-left: 0;
    counter-reset: item;
    list-style: none;
    max-width: 600px;
    text-align: left;
}

.content-text ol li {
    counter-increment: item;
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
    line-height: 1.8;
}

.content-text ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.content-text ul {
    margin: 20px auto;
    padding-left: 0;
    list-style: none;
    max-width: 600px;
    text-align: left;
}

.content-text ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Image Placeholders */
.content-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vintage-image {
    background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
    border-radius: 10px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--gold);
    overflow: hidden;
}

.vintage-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 7px;
}

.vintage-image.large {
    min-height: 400px;
}

.vintage-image.large img {
    height: 100%;
    object-fit: cover;
}

.join-text {
    font-size: 1.3rem;
    margin: 20px auto 40px;
    max-width: 800px;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 60px 0 20px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-logo h3 span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
}

.footer-desc,
.footer-license {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(245, 245, 220, 0.8);
}

.footer-column h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-badges span {
    background: var(--primary-brown);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--gold);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-disclaimer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.9rem;
    color: rgba(245, 245, 220, 0.7);
}

/* ========================================
   Mobile Bottom Navigation
   ======================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    gap: 15px;
}

.mobile-nav-btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: var(--gold);
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-btn:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.register-mobile {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    animation: pulse 2s infinite;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--dark-brown);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--light-gold);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 50px;
    }

    .hero-image img {
        max-width: 400px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-brown);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-top: 30px;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .bonus-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .hero-image img {
        max-width: 300px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 15px 35px;
    }

    .join-now-btn {
        font-size: 1.2rem;
        padding: 20px 40px;
    }

    .about-section,
    .software-section,
    .games-section,
    .bonuses-section,
    .join-section {
        padding: 40px 0;
    }

    .content-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .content-text h3 {
        font-size: 1.4rem;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .content-text h4 {
        font-size: 1.2rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .content-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .content-grid {
        max-width: 100%;
        gap: 30px;
    }

    table {
        font-size: 0.85rem;
        margin: 20px auto;
    }

    th, td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .content-text ul,
    .content-text ol {
        max-width: 100%;
        margin: 15px auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    .content-text ul li,
    .content-text ol li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .back-to-top {
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-top: 20px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .about-section,
    .software-section,
    .games-section,
    .bonuses-section,
    .join-section {
        padding: 30px 0;
    }

    .content-text h2 {
        font-size: 1.5rem;
    }

    .content-text h3 {
        font-size: 1.2rem;
    }

    .content-text h4 {
        font-size: 1.1rem;
    }

    .content-text p {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 12px 25px;
        letter-spacing: 1px;
    }

    .join-now-btn {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .join-text {
        font-size: 1rem;
    }

    .features-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .content-text ul li,
    .content-text ol li {
        font-size: 0.9rem;
        padding-left: 25px;
    }

    .content-text ol li::before {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
