/* Social Igloo Games - Main Stylesheet */

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

:root {
    /* Color Palette - Winter Theme */
    --primary: #0D1B2A;
    --secondary: #1B263B;
    --accent: #E63946;
    --background: #F1FAEE;
    --text: #1D3557;
    --white: #FFFFFF;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #495057;
    
    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
    --element-spacing: 1.5rem;
    
    /* Border Radius - Rounded edges for friendly feel */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-light: 0 2px 4px rgba(13, 27, 42, 0.1);
    --shadow-medium: 0 4px 8px rgba(13, 27, 42, 0.15);
    --shadow-heavy: 0 8px 24px rgba(13, 27, 42, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Typography */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* Container and Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

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

.text-right {
    text-align: right;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* TopBar Component */
.topbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: 40px;
    transition: transform var(--transition-fast);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 2px 0;
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-image {
        height: 32px;
        width: 32px;
    }
}

/* Footer Component */
.site-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--light-gray);
    font-size: 0.875rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-gray);
    transition: color var(--transition-fast);
}

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

.footer-text {
    color: var(--light-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--secondary);
    padding-top: 1rem;
}

.copyright {
    text-align: center;
    color: var(--light-gray);
    font-size: 0.75rem;
}

/* Disclaimer Component */
.disclaimer-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #d32f2f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin: 2rem 0;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-medium);
}

.disclaimer-text h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.disclaimer-text p {
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Age Verification Notice Component */
.age-verification-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-large);
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    z-index: 9999;
    max-width: 300px;
    animation: slideInFromLeft 0.4s ease-out;
}

.age-notice-content {
    text-align: left;
}

.age-notice-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.age-notice-icon {
    font-size: 1.25rem;
}

.age-notice-header h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.age-notice-content p {
    color: var(--text);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.age-notice-buttons {
    display: flex;
    gap: 0.5rem;
}

.age-notice-buttons .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Cookie Notice Component */
.cookie-notice-corner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-large);
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    max-width: 280px;
    animation: slideInFromRight 0.4s ease-out;
}

.cookie-notice-content {
    text-align: left;
}

.cookie-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-notice-header h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-notice-icon {
    font-size: 1.125rem;
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
}

.cookie-close-btn:hover {
    color: var(--accent);
}

.cookie-notice-text {
    color: var(--text);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cookie-notice-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-notice-buttons .btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.cookie-learn-more {
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: underline;
}

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

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

@media (max-width: 768px) {
    .age-verification-notice {
        bottom: 10px;
        left: 10px;
        max-width: 260px;
        padding: 1.25rem;
    }
    
    .cookie-notice-corner {
        bottom: 10px;
        right: 10px;
        max-width: 250px;
        padding: 1.25rem;
    }
    
    .age-notice-buttons .btn,
    .cookie-notice-buttons .btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Game Card Component */
.game-card {
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.game-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.8) 0%, rgba(230, 57, 70, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity var(--transition-medium);
}



.play-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-medium);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.play-button:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.game-card-content {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0.5rem;
}

.game-description {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Highlight Section Component */
.highlight-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background) 0%, #e8f4f8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-medium);
}

.highlight-card:hover {
    transform: translateY(-8px);
}

.highlight-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 27, 42, 0.9) 0%, rgba(230, 57, 70, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity var(--transition-medium);
}


.highlight-content {
    text-align: center;
    padding: 2rem;
}

.highlight-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.highlight-description {
    color: var(--light-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.highlight-actions {
    text-align: center;
}

/* Welcome Page Styles */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::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="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

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

.welcome-message {
    text-align: center;
    max-width: 500px;
}

.welcome-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 auto 2rem;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: welcomePulse 3s ease-in-out infinite;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.welcome-text {
    font-size: 1.125rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-large);
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.125rem;
}

.badge-text {
    white-space: nowrap;
}

@keyframes welcomePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Features Section - Keep existing styles but rename */

.features-section {
    padding: var(--section-padding);
}

/* Game Statistics Section */
.game-stats-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.game-stats-section .section-title,
.game-stats-section .section-description {
    color: var(--white);
    text-align: center;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-large);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--light-gray);
    line-height: 1.4;
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--section-padding);
    background: var(--background);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-item {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-medium);
}

.step-content {
    margin-top: 1rem;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.step-content h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.step-content p {
    color: var(--text);
    line-height: 1.6;
    text-align: center;
}

.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #d32f2f 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow-heavy);
}

.cta-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #d32f2f 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Collection Page Styles */
.collection-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.page-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--light-gray);
    margin-bottom: 0;
}

.collection-filters {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.search-input,
.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-medium);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast);
}

.search-input:focus,
.sort-select:focus {
    outline: none;
    border-color: var(--accent);
}

.search-input {
    width: 300px;
}

.games-collection {
    padding: var(--section-padding);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-results-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.collection-info {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--light-gray);
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-content p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
}

/* Play Area Page Styles */
.game-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 2rem 0;
}

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

.back-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-medium);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.back-button:hover {
    background: var(--white);
    color: var(--primary);
}

.game-info {
    flex-grow: 1;
    text-align: center;
}

.game-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.game-subtitle {
    color: var(--light-gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.game-actions {
    display: flex;
    gap: 1rem;
}

.game-container {
    padding: 2rem 0;
}

.game-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

.game-iframe-container {
    position: relative;
    background: var(--primary);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

#game-iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
}

.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

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

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--white);
    font-size: 1rem;
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-details,
.disclaimer-sidebar,
.related-games {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
}

.game-details h3,
.disclaimer-sidebar h4,
.related-games h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: var(--primary);
}

.detail-item span {
    color: var(--text);
}

.disclaimer-sidebar p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

.related-games-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-game-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--background);
    border-radius: var(--radius-medium);
}

.related-game-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-small);
    object-fit: cover;
}

.related-game-info {
    flex-grow: 1;
}

.related-game-info h5 {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.about-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.about-story {
    padding: var(--section-padding);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.story-visual {
    display: flex;
    justify-content: center;
}

.story-card {
    background: linear-gradient(135deg, var(--accent) 0%, #d32f2f 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.story-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.story-card p {
    margin-bottom: 0;
}

.about-mission {
    padding: var(--section-padding);
    background: var(--background);
}

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

.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
}

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text);
    line-height: 1.6;
}

.about-timeline {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-large);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    flex: 1;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}

.about-commitment {
    padding: var(--section-padding);
    background: var(--background);
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.commitment-content h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.commitment-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.commitment-item h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.commitment-item p {
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Legal and Privacy Page Styles */
.legal-header,
.privacy-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.last-updated {
    color: var(--light-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.legal-content,
.privacy-content {
    padding: var(--section-padding);
}

.legal-sections,
.privacy-sections {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section,
.privacy-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.legal-section:last-child,
.privacy-section:last-child {
    margin-bottom: 0;
}

.legal-section h2,
.privacy-section h2 {
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-text h3,
.privacy-text h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text,
.privacy-text {
    color: var(--text);
    line-height: 1.7;
}

.legal-text ul,
.privacy-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-text li,
.privacy-text li {
    margin-bottom: 0.5rem;
}

.legal-text strong,
.privacy-text strong {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .game-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-games-preview {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-game-card {
        transform: none !important;
        width: 100px;
        height: 130px;
    }
    
    .filters-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
    }
    
    .disclaimer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .game-header-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-actions .btn {
        width: auto;
    }
    
    .age-gate-content {
        padding: 2rem 1.5rem;
    }
    
    .age-gate-buttons {
        flex-direction: column;
    }
    
    .legal-section,
    .privacy-section {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .topbar,
    .age-verification-notice,
    .cookie-notice-corner,
    .back-button,
    .play-button,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
