/* Social Casino Website - Bright Casino Colors */

:root {
    --primary-gold: #FFD700;
    --primary-red: #DC143C;
    --primary-purple: #8B00FF;
    --primary-blue: #0066FF;
    --dark-bg: #0A0A0A;
    --darker-bg: #050505;
    --light-text: #FFFFFF;
    --accent-yellow: #FFEB3B;
    --accent-pink: #FF1493;
    --accent-cyan: #00FFFF;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 215, 0, 0.3);
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 50%, #1a0033 100%);
    background-attachment: fixed;
    color: var(--light-text);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 0, 51, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-gold);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-disclaimer {
    background: rgba(220, 20, 60, 0.2);
    border-bottom: 2px solid var(--primary-red);
    padding: 8px 0;
    text-align: center;
}

.header-disclaimer-text {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
}

.logo h1 {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    font-weight: bold;
}

.logo a {
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.2);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background-image: url('/assets/bgcas.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-section {
        background-attachment: fixed;
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 0, 51, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
    border-radius: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--light-text);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-yellow) 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--primary-gold) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-pink) 100%);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

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

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

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

/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-gold);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 16 / 9;
    will-change: transform;
}

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

.game-info {
    padding: 20px;
}

.game-category {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.game-info p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.game-stat-label {
    color: var(--primary-gold);
    font-weight: 600;
    opacity: 0.8;
}

.game-stat-value {
    color: var(--light-text);
    font-weight: 600;
}

.game-stat-value.volatility-low {
    color: #4CAF50;
}

.game-stat-value.volatility-medium {
    color: var(--accent-yellow);
}

.game-stat-value.volatility-high {
    color: var(--primary-red);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-top: 60px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-gold);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    text-align: center;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-detail-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.about-detail-item h3 {
    font-size: 1.6rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    text-align: center;
}

.about-detail-item p {
    text-align: left;
    margin-bottom: 15px;
}

.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-values-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    opacity: 0.9;
    text-align: left;
}

.about-values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 20px;
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-gold);
}

.why-choose-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    text-align: center;
}

.why-reasons-title {
    font-size: 2rem;
    color: var(--accent-yellow);
    text-align: center;
    margin: 50px 0 40px;
}

.why-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.why-reason-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.why-reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-gold);
}

.why-reason-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.why-reason-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.why-reason-card p {
    line-height: 1.7;
    opacity: 0.9;
    text-align: left;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-top: 60px;
}

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

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-gold);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.feature-card p {
    line-height: 1.7;
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works-section {
    padding: 60px 20px;
    margin-top: 60px;
}

.how-it-works-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.how-it-works-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.9;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-gold);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-yellow));
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.step-card p {
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(220, 20, 60, 0.1) 50%, rgba(139, 0, 255, 0.1) 100%);
    border-radius: 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage Warning Section */
.homepage-warning-section {
    padding: 60px 20px;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15) 0%, rgba(255, 69, 0, 0.15) 50%, rgba(139, 0, 255, 0.15) 100%);
    border-radius: 20px;
    border: 3px solid var(--primary-red);
}

.homepage-warning-content {
    max-width: 1000px;
    margin: 0 auto;
}

.warning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.age-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.5));
}

.warning-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin: 0;
    text-align: center;
}

.warning-text {
    text-align: center;
    margin-bottom: 40px;
}

.warning-18 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 700;
}

.warning-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 15px;
}

.warning-resources {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.warning-resources h3 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 15px;
}

.resources-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.resource-item {
    text-align: center;
}

.resource-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 150px;
}

.resource-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.resource-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.resource-link:hover .resource-logo {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.resource-name {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.warning-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.warning-footer p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1rem;
}

/* Games Page */
.games-page-section {
    padding: 20px 0;
}

.games-search {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.games-search form {
    display: flex;
    gap: 10px;
}

.games-search input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1rem;
}

.games-search input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.games-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.no-games {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Game Detail Page */
.game-detail-section {
    padding: 20px 0;
}

.back-link {
    display: inline-block;
    color: var(--primary-gold);
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.game-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.game-detail-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.game-detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.game-description,
.game-features {
    margin-bottom: 30px;
}

.game-description h2,
.game-features h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.game-description p {
    line-height: 1.8;
    opacity: 0.9;
}

.game-features ul {
    list-style: none;
    padding-left: 0;
}

.game-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    opacity: 0.9;
}

.game-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.game-actions {
    margin-top: 40px;
}

/* Game Iframe Container */
.game-iframe-container {
    margin-top: 40px;
    width: 100%;
}

.game-iframe-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    text-align: center;
}

.game-iframe-wrapper {
    width: 100%;
    min-height: 600px;
    height: 80vh;
    max-height: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--card-border);
    background: var(--dark-bg);
    position: relative;
}

.game-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Adjust game detail layout when iframe is present */
.game-detail-content:has(.game-iframe-container) {
    grid-column: 1 / -1;
}

.game-detail.has-iframe {
    grid-template-columns: 1fr;
}

.game-detail.has-iframe .game-detail-image {
    max-width: 500px;
    margin: 0 auto;
}

/* Disclaimer Page */
.disclaimer-section {
    padding: 40px 0;
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.disclaimer-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.disclaimer-box h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.disclaimer-box h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.disclaimer-box p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.disclaimer-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.disclaimer-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    opacity: 0.9;
}

.disclaimer-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.disclaimer-box.warning-box {
    border-color: var(--primary-red);
    background: rgba(220, 20, 60, 0.1);
}

.disclaimer-box.warning-box h2 {
    color: var(--primary-red);
}

.disclaimer-box.help-box {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
}

.help-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.help-resource-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.help-resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-gold);
}

.help-resource-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.help-resource-item h4 a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-resource-item h4 a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.help-resource-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.help-resource-item a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-resource-item a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 0, 51, 0.95) 100%);
    border-top: 3px solid var(--primary-gold);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-disclaimer {
    background: rgba(220, 20, 60, 0.2);
    border-top: 2px solid var(--primary-red);
    padding: 12px 0;
    text-align: center;
    margin-bottom: 30px;
}

.footer-disclaimer-text {
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    opacity: 0.7;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 0, 51, 0.98) 100%);
    border: 3px solid var(--primary-gold);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    text-align: center;
}

.age-modal-header h2 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-modal-body {
    color: var(--light-text);
}

.age-warning-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.age-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin: 25px 0;
}

.age-warning-box {
    background: rgba(220, 20, 60, 0.2);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.age-warning-box p {
    margin: 10px 0;
    line-height: 1.6;
}

.age-warning-box strong {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* No Real Money Banner */
.no-real-money-banner {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(255, 69, 0, 0.2) 100%);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.no-real-money-banner p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-text);
}

.no-real-money-banner strong {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Game Warning */
.game-warning {
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 0.85rem;
    color: var(--primary-red);
    text-align: center;
    font-weight: 600;
}

/* Policy Pages */
.policy-section {
    padding: 40px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.policy-box h2 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.policy-box h3 {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-box h4 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-box p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.policy-box ul {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-box li {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .game-detail {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        width: 100%;
    }
    
    .lang-switcher {
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-iframe-wrapper {
        height: 70vh;
        min-height: 500px;
    }
    
    .game-iframe-container h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .homepage-warning-section {
        padding: 40px 15px;
    }
    
    .warning-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .warning-header h2 {
        font-size: 2rem;
    }
    
    .age-icon {
        width: 60px;
        height: 60px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .resource-link {
        min-height: 120px;
        padding: 15px;
    }
    
    .resource-logo {
        max-width: 100px;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .age-modal-buttons {
        flex-direction: column;
    }
    
    .age-modal-buttons .btn {
        width: 100%;
    }
    
    .policy-box {
        padding: 25px 20px;
    }
    
    .help-resources {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-box {
        padding: 20px 15px;
    }
    
    .disclaimer-box h2 {
        font-size: 1.5rem;
    }
    
    .disclaimer-box h3 {
        font-size: 1.2rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 0, 51, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--primary-gold);
    box-shadow: 0 -4px 20px rgba(255, 215, 0, 0.3);
    z-index: 10000;
    padding: 20px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: var(--light-text);
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--primary-gold);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: var(--accent-yellow);
}

.cookie-banner-buttons .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cookie-banner-text {
        text-align: center;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner-buttons .btn {
        width: 100%;
    }
    
    .cookie-link {
        text-align: center;
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }
    
    .cookie-banner-text h3 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .cookie-banner-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .game-iframe-wrapper {
        height: 60vh;
        min-height: 400px;
        border-radius: 10px;
    }
    
    .game-iframe-container h2 {
        font-size: 1.3rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .homepage-warning-section {
        padding: 40px 15px;
    }
    
    .warning-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .warning-header h2 {
        font-size: 1.8rem;
    }
    
    .age-icon {
        width: 60px;
        height: 60px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .resource-link {
        min-height: 120px;
        padding: 15px;
    }
    
    .resource-logo {
        max-width: 90px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

