/* Zypher Social Casino Games Platform - Main Stylesheet */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #475569;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 48px;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.btn-outline {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-outline:hover {
    background: #4f46e5;
    color: white;
}

.btn-play {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-text {
    background: transparent;
    color: #4f46e5;
    padding: 8px 16px;
    min-height: auto;
}

.btn-text:hover {
    background: rgba(79, 70, 229, 0.1);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

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

.logo-image {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.logo h1 {
    color: #1a1a2e;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .tagline {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #4f46e5;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4f46e5;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

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

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Enhanced Hero Section Elements */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-main {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.hero-main h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.game-preview-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.game-preview-card:nth-child(2n) {
    animation-delay: -2s;
}

.game-preview-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-preview-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-weight: 600;
}

.game-preview-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.game-preview-type {
    font-size: 0.75rem;
    color: #94a3b8;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: -4s;
}

.hero-cta-enhanced {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hero-features {
    display: flex;
    gap: 32px;
    align-items: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.feature-icon {
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.625rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Featured Games */
.featured-games {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-info {
    padding: 24px;
    text-align: center;
}

.game-info h4 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.view-all {
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

.feature h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    color: #64748b;
    font-size: 1.125rem;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #cbd5e1;
    font-size: 1.125rem;
}

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

.link-group h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.75rem;
}

.link-group a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #4f46e5;
}

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 3rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-main {
        text-align: center;
    }
    
    .hero-main h1 {
        font-size: 2.5rem;
    }
    
    .hero-main h2 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .game-preview-grid {
        max-width: 300px;
        gap: 12px;
    }
    
    .hero-cta-enhanced {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .featured-games,
    .features {
        padding: 60px 0;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }
    
    .footer-logo {
        height: 35px;
    }
    
    .hero-main h1 {
        font-size: 2rem;
    }
    
    .hero-main h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .game-preview-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 24px;
        font-size: 0.875rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .game-card {
        margin: 0 10px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #4f46e5;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Age Verification Modal */
.age-gate {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 350px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    border: 1px solid #e2e8f0;
    animation: slideInLeft 0.4s ease-out;
}

.age-gate-content {
    padding: 1.5rem;
}

.age-gate-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.age-gate-header h3 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.age-gate-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.age-verification-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.age-verification-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
    min-height: auto;
}

.age-gate-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.age-gate-footer p {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

/* Privacy Consent Modal */
.privacy-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
    border: 1px solid #e2e8f0;
}

/* Alternative left positioning */
.privacy-consent.left-positioned {
    left: 20px;
    right: auto;
    animation: slideInLeft 0.4s ease-out;
}

.consent-content {
    padding: 1.5rem;
}

.consent-header h3 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.consent-header p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.consent-options {
    margin: 1rem 0;
    display: none;
}

.consent-option {
    margin-bottom: 1rem;
}

.consent-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.consent-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s ease;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #4f46e5;
    border-color: #4f46e5;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-checkbox input[type="checkbox"]:disabled + .checkmark {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.option-details {
    flex: 1;
}

.option-details strong {
    display: block;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.option-details span {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.4;
}

.consent-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1rem;
}

.consent-actions .btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    min-height: auto;
}

.consent-actions .btn-text {
    background: none;
    color: #6b7280;
    text-decoration: underline;
    padding: 4px 0;
}

.consent-actions .btn-text:hover {
    color: #4f46e5;
}

.consent-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.consent-footer p {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0;
}

.consent-footer a {
    color: #4f46e5;
    text-decoration: none;
}

.consent-footer a:hover {
    text-decoration: underline;
}

/* Alternative Left Positioning for Cookie Consent */
@media (max-width: 768px) {
    .privacy-consent {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .age-gate {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .age-gate-content {
        padding: 1.25rem;
    }
    
    .age-gate-header h3 {
        font-size: 1.125rem;
    }
    
    .consent-content {
        padding: 1.25rem;
    }
    
    .consent-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .consent-actions .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .age-verification-actions {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .age-gate {
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 12px;
    }
    
    .age-gate-content {
        padding: 1rem;
    }
    
    .privacy-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 12px;
    }
    
    .consent-header h3 {
        font-size: 1rem;
    }
    
    .consent-header p {
        font-size: 0.8rem;
    }
    
    .age-gate-header h3 {
        font-size: 1rem;
    }
    
    .age-gate-header p {
        font-size: 0.875rem;
    }
}

/* Body states when modals are active */
body.age-gate-active .age-gate {
    display: block;
}

body.consent-active .privacy-consent {
    display: block;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Button improvements for modals */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Page-specific styles */
/* Legal Terms Page */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.legal-footer {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.legal-footer p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Privacy Center Page */
.privacy-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.privacy-navigation {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.privacy-nav {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.privacy-nav .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.privacy-nav .nav-link:hover {
    background: #e2e8f0;
    color: #4f46e5;
}

.privacy-sections {
    max-width: 800px;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.privacy-section h3 {
    color: #374151;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.25rem;
}

.privacy-section h4 {
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.privacy-section li {
    margin-bottom: 0.75rem;
    color: #475569;
    line-height: 1.6;
}

.cookie-controls {
    margin-top: 1.5rem;
}

.regional-rights {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.right-region {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-method {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.privacy-footer {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.privacy-footer p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Play Responsibly Page */
.responsible-gaming-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.warning-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning-content h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-content p {
    color: #78350f;
    margin: 0;
    font-weight: 500;
}

.rg-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.rg-section:last-child {
    border-bottom: none;
}

.rg-section h2 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.principle-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.principle-card,
.tip-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.principle-card h4,
.tip-card h4 {
    color: #4f46e5;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.warning-signs {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.warning-signs h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.warning-signs ul {
    padding-left: 1.5rem;
}

.warning-signs li {
    color: #7f1d1d;
    margin-bottom: 0.5rem;
}

.self-assessment {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.assessment-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.question-group h4 {
    color: #374151;
    margin-bottom: 0.75rem;
}

.question-group ul {
    padding-left: 1rem;
}

.question-group li {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.assessment-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem;
}

.assessment-note p {
    color: #1e40af;
    margin: 0;
    font-weight: 500;
}

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

.resource-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
}

.resource-card h4 {
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.resource-card p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.feature-item h4 {
    color: #166534;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-item p {
    color: #15803d;
    margin: 0;
    font-size: 0.9rem;
}

.contact-support {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.contact-support h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.support-contact {
    margin-top: 1rem;
}

.support-contact p {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Page-specific responsive styles */
@media (max-width: 768px) {
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .privacy-navigation {
        position: static;
    }
    
    .privacy-nav {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .privacy-nav .nav-link {
        white-space: nowrap;
        margin-right: 0.5rem;
        margin-bottom: 0;
    }
    
    .principle-grid,
    .tips-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .assessment-questions {
        grid-template-columns: 1fr;
    }
}

/* Social Gaming Disclaimer */
.social-gaming-disclaimer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    padding: 2rem 0;
    margin: 4rem 0;
}

.disclaimer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.disclaimer-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    align-self: flex-start;
}

.disclaimer-text {
    flex: 1;
}

.disclaimer-text h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.disclaimer-text p {
    color: #475569;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.disclaimer-text p strong {
    color: #1a1a2e;
    font-weight: 700;
}

.disclaimer-warning {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-text {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.warning-text strong {
    color: #78350f;
    font-weight: 700;
}

/* Responsive Design for Disclaimer */
@media (max-width: 768px) {
    .disclaimer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .disclaimer-badge {
        margin: 0 auto;
        width: fit-content;
    }
    
    .disclaimer-text {
        text-align: left;
    }
    
    .disclaimer-warning {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .social-gaming-disclaimer {
        padding: 1.5rem 0;
        margin: 2rem 0;
    }
    
    .disclaimer-content {
        padding: 1rem;
        border-radius: 12px;
        gap: 1rem;
    }
    
    .disclaimer-text h4 {
        font-size: 1rem;
    }
    
    .disclaimer-text p {
        font-size: 0.85rem;
    }
    
    .disclaimer-warning {
        padding: 0.75rem 1rem;
    }
    
    .warning-text {
        font-size: 0.8rem;
    }
}

/* Homepage Additional Sections */
/* Game Categories Section */
.game-categories {
    padding: 4rem 0;
    background: #f8fafc;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
}

.category-card h4 {
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.category-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-features li {
    color: #475569;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.category-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.category-features li:last-child {
    border-bottom: none;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.why-choose-us .section-header h3 {
    color: white;
}

.why-choose-us .section-header p {
    color: #cbd5e1;
}

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

.reason-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.reason-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.reason-number {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.reason-item h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.reason-item p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* Getting Started Section */
.getting-started {
    padding: 4rem 0;
    background: #f8fafc;
}

.getting-started-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.getting-started-text h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.getting-started-text p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.steps-list {
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-text {
    color: #374151;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.getting-started-features {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.feature-highlight h4 {
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.highlight-list li {
    color: #475569;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-list li:before {
    content: '●';
    position: absolute;
    left: 0;
    color: #4f46e5;
    font-weight: bold;
}

.highlight-list li:last-child {
    border-bottom: none;
}

/* Additional responsive styles for new sections */
@media (max-width: 768px) {
    .categories-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .getting-started-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .getting-started-text h3 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .step-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-categories,
    .why-choose-us,
    .getting-started {
        padding: 2rem 0;
    }
    
    .category-card,
    .getting-started-features {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
