/* ============================
   Book of Ra Classic - Styles
   ============================ */

:root {
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    --dark-bg: #0A0A0A;
    --dark-secondary: #1A1A1A;
    --dark-tertiary: #2A2A2A;
    --egyptian-blue: #1034A6;
    --egyptian-red: #8B0000;
    --text-light: #F5F5F5;
    --text-gold: #FFD700;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

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

/* ============================
   Header
   ============================ */

.header {
    background: linear-gradient(180deg, #000000 0%, #1A1A1A 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    margin-bottom: 2px;
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1;
}

.logo .subtitle {
    font-size: 11px;
    color: var(--gold-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.header-cta {
    padding: 12px 30px !important;
}

/* ============================
   Buttons
   ============================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    border: 2px solid var(--gold-light);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.8);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-icon {
    margin: 0 8px;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 4px 35px rgba(212, 175, 55, 0.9);
    }
}

.cta-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* ============================
   Game Preview Section
   ============================ */

.game-preview {
    padding: 40px 0 60px;
    background: #000000;
    position: relative;
}

.game-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.preview-image {
    width: 100%;
    max-width: 600px;
}

.book-of-ra-preview {
    position: relative;
    width: 100%;
    height: 350px;
    background: #000;
    border-radius: 20px;
    border: 2px solid var(--gold);
    overflow: hidden;
    box-shadow:
        0 10px 60px rgba(212, 175, 55, 0.5),
        inset 0 0 80px rgba(212, 175, 55, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Removed emoji - using real images now */

/* Deluxe and Magic use background images now */

.preview-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.preview-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.7),
        2px 2px 8px rgba(0, 0, 0, 1);
    white-space: nowrap;
    z-index: 3;
}

.preview-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    flex-wrap: wrap;
    justify-content: center;
}

.preview-btn {
    flex: 1;
    min-width: 250px;
    padding: 24px 35px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.preview-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.preview-btn:hover::before {
    left: 100%;
}

.preview-btn .btn-icon {
    font-size: 36px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.preview-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 1;
}

.preview-btn .btn-text strong {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 0.3px;
}

.preview-btn .btn-text small {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    font-weight: 400;
}

.demo-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--gold);
    color: var(--gold);
}

.demo-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
    border-color: var(--gold-light);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.demo-btn .btn-text strong {
    color: var(--gold-light);
}

.demo-btn .btn-text small {
    color: var(--text-light);
}

.real-btn {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #F4D03F 100%);
    border: 2px solid #F4D03F;
    color: #000;
    font-weight: 700;
}

.real-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 45px rgba(212, 175, 55, 0.8);
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #FFE55C 100%);
}

.real-btn .btn-text strong {
    color: #000;
}

.real-btn .btn-text small {
    color: #000;
    opacity: 0.8;
}

/* ============================
   Hero Section
   ============================ */

.hero {
    display: none; /* Hidden - causes scrolling issues */
    position: relative;
    background: #000000;
    padding: 120px 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
    }
    50% {
        text-shadow: 0 0 60px rgba(212, 175, 55, 1);
    }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--dark-bg) 100%);
}

/* ============================
   Game Section
   ============================ */

.game-section {
    padding: 60px 0;
    background: #000000;
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.game-container {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
}

.game-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-dark), transparent, var(--gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
}

.game-controls {
    display: none;
}

.game-toggle-btn {
    flex: 1;
    max-width: 250px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.game-toggle-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.game-toggle-btn:hover::after {
    width: 300px;
    height: 300px;
}

.game-toggle-btn .icon {
    font-size: 26px;
    position: relative;
    z-index: 1;
}

.game-toggle-btn:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.game-toggle-btn.active {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    color: #000;
    border-color: var(--gold-light);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
    font-weight: 700;
}

.game-toggle-btn.active .icon {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.game-frame-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    isolation: isolate;
}

.iframe-container {
    display: none;
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 650px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.iframe-container.active {
    display: block;
}

#demo-frame {
    display: block !important;
}

#real-frame {
    display: none !important;
}

/* Game Info Bar */
.game-info-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px 30px;
    margin-top: -15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.game-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.info-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.free-spins-btn {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    color: #000;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: none;
    cursor: pointer;
}

.free-spins-btn:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.info-bar-center {
    flex: 1;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.info-bar-center strong {
    color: var(--gold-light);
}

.info-bar-center a {
    color: #4A9EFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-bar-center a:hover {
    color: #6BB3FF;
    text-decoration: underline;
}

.info-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-label {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
}

.rating-display {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Cinzel', serif;
}

.rating-max {
    font-size: 16px;
    color: #999;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.real-money-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.overlay-content {
    text-align: center;
    padding: 40px;
}

.overlay-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.overlay-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.game-cta {
    text-align: center;
}

/* ============================
   Features Section
   ============================ */

.features {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #CCC;
    line-height: 1.6;
}

/* ============================
   About Section
   ============================ */

.about {
    padding: 80px 0;
    background: #000000;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: #CCC;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.image-frame {
    background: var(--dark-secondary);
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.about-game-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    display: block;
}

/* ============================
   Symbols Section
   ============================ */

.symbols {
    padding: 80px 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    position: relative;
}

.symbols::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.symbol-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.symbol-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
}

.symbol-card:hover::after {
    width: 200%;
    height: 200%;
}

.symbol-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.symbol-card > * {
    position: relative;
    z-index: 1;
}

.symbol-icon {
    font-size: 72px;
    margin-bottom: 15px;
    display: block;
}

.symbol-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.symbol-card p {
    color: #999;
    margin-bottom: 10px;
}

.payout {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

/* ============================
   CTA Section
   ============================ */

.cta-section {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: #CCC;
    margin-bottom: 40px;
}

/* ============================
   FAQ Section
   ============================ */

.faq {
    padding: 80px 0;
    background: #000000;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-dark), var(--gold), var(--gold-light));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item:hover::before,
.faq-item.active::before {
    transform: scaleY(1);
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.2);
}

.faq-item.active {
    border-color: var(--gold);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #CCC;
    line-height: 1.8;
}

/* ============================
   Footer
   ============================ */

.footer {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    padding: 60px 0 30px;
    border-top: 2px solid var(--gold);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #999;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-tertiary);
    color: #666;
}

/* ============================
   Fixed Bottom CTA Button
   ============================ */

.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.95) 20%, rgba(10, 10, 10, 0.98) 100%);
    padding: 15px 20px;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.fixed-cta.hidden {
    transform: translateY(150%);
}

.fixed-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fixed-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: #000;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--gold-light);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.6);
    transition: all 0.3s ease;
    animation: ctaPulse 2s ease-in-out infinite;
}

.fixed-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.9);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.6);
    }
    50% {
        box-shadow: 0 5px 40px rgba(212, 175, 55, 1);
    }
}

/* ============================
   Casino Cards Sidebar
   ============================ */

.casino-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.casino-card {
    background: linear-gradient(135deg, #2a3142 0%, #1e2230 100%);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    overflow: hidden;
    max-height: 90px;
}

.casino-card.expanded {
    max-height: 500px;
    padding: 20px;
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.casino-card:hover {
    border-color: var(--gold);
}

.casino-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.casino-logo {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.casino-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--gold-light);
    font-family: 'Cinzel', serif;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #aaa;
}

.rating-stars {
    color: var(--gold);
    font-size: 16px;
}

.rating-value {
    font-weight: 700;
    color: var(--gold-light);
    font-size: 16px;
}

.casino-bonus {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 3px solid var(--gold);
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-bonus {
    opacity: 1;
    max-height: 200px;
}

.bonus-title {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.bonus-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.bonus-details {
    font-size: 13px;
    color: #bbb;
    line-height: 1.5;
}

.casino-features {
    margin: 15px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-features {
    opacity: 1;
    max-height: 150px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #ccc;
}

.feature-item::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
}

.casino-cta {
    margin-top: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-cta {
    opacity: 1;
    max-height: 100px;
}

.casino-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    border: none;
    cursor: pointer;
}

.casino-btn:hover {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.casino-terms {
    margin-top: 10px;
    font-size: 11px;
    color: #888;
    text-align: center;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-terms {
    opacity: 1;
    max-height: 50px;
}

.casino-country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.casino-card.expanded .casino-country {
    opacity: 1;
    max-height: 50px;
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* Game Section with Sidebar Layout */
.game-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Casino Cards Wrapper */
.casino-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

@media (max-width: 768px) {
    /* Body padding to avoid content being hidden by fixed CTA */
    body {
        padding-bottom: 90px;
    }

    .game-section-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .casino-sidebar {
        position: static;
        order: 1;
    }

    .game-container {
        order: 0;
    }

    .casino-cards-wrapper {
        gap: 15px;
    }

    /* Expand all cards on mobile */
    .casino-card {
        max-height: none;
        padding: 20px;
    }

    .casino-card .casino-bonus,
    .casino-card .casino-features,
    .casino-card .casino-cta,
    .casino-card .casino-terms,
    .casino-card .casino-country {
        opacity: 1;
        max-height: none;
    }

    .casino-card .casino-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .iframe-container {
        height: 550px;
        max-width: 100%;
        position: relative;
    }

    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        transform: none !important;
        -webkit-transform: none !important;
    }

    .game-info-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .info-bar-left,
    .info-bar-center,
    .info-bar-right {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .free-spins-btn {
        width: 100%;
        justify-content: center;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .preview-buttons {
        flex-direction: column;
    }

    .preview-btn {
        min-width: 100%;
    }

    .book-of-ra-preview {
        height: 280px;
    }

    .book-of-ra-preview::before {
        font-size: 100px;
    }

    .preview-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .about-stats {
        justify-content: space-around;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .game-container {
        padding: 20px 15px;
    }

    .game-frame-wrapper {
        margin-bottom: 20px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .logo .subtitle {
        font-size: 10px;
    }

    .fixed-cta-btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 85px;
    }

    .iframe-container {
        height: 600px;
        max-width: 100%;
        position: relative;
    }

    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
    }

    .game-controls {
        flex-direction: column;
    }

    .game-toggle-btn {
        max-width: 100%;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    .overlay-content h3 {
        font-size: 24px;
    }

    .overlay-content p {
        font-size: 16px;
    }

    .fixed-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 15px;
    }

    .fixed-cta {
        padding: 12px 15px;
    }

    .header-cta {
        width: 100%;
        text-align: center;
    }

    .game-section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix for mobile iframe interaction */
    .game-frame-wrapper {
        transform: none !important;
        -webkit-transform: none !important;
    }

    .game-container {
        transform: none !important;
        -webkit-transform: none !important;
    }

    .iframe-container {
        -webkit-overflow-scrolling: touch;
        transform: none !important;
        -webkit-transform: none !important;
    }

    .iframe-container iframe {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        transform: none !important;
        -webkit-transform: none !important;
    }
}
