/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Age Verification Banner */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.age-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.age-symbol {
    background: white;
    color: #ff6b6b;
    padding: 4px 8px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}

.age-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 40px;
    z-index: 100;
    margin-top: 40px;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

/* Buttons */
.cta-button,
.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    background: white;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.secondary-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid white;
}

.secondary-button:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

.features {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Game Preview Section */
.game-preview {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.game-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
}

.highlight h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Game Page Styles */
.game-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    text-align: center;
    margin: 2rem;
    border-radius: 20px;
    padding: 3rem 0;
}

.game-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.game-container {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.game-frame {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-info {
    padding: 2rem;
}

.game-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.info-card li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Game Tips Section */
.game-tips {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-tips h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.tips-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tip {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tip h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* About Page Styles */
.about-hero,
.privacy-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    text-align: center;
    margin: 2rem;
    border-radius: 20px;
    padding: 3rem 0;
}

.about-hero h1,
.privacy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-content,
.privacy-content {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem;
}

.about-section,
.privacy-section {
    margin-bottom: 3rem;
}

.about-section h2,
.privacy-section h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.about-section h3,
.privacy-section h3 {
    color: #764ba2;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.3rem;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mission-point {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.mission-point h3 {
    color: #667eea;
    margin-bottom: 1rem;
    margin-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.value-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1.3rem;
}

.responsibility-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.measure {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.measure h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-features {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.tech-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
}

.tech-features li:before {
    content: "🔒";
    position: absolute;
    left: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Privacy Policy Specific Styles */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.usage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.usage-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.rights-item {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.rights-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.authority-info {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 2rem 0;
}

/* Responsible Gaming Section */
.responsible-gaming {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    margin: 2rem;
    border-radius: 20px;
    color: white;
}

.disclaimer-box {
    padding: 3rem;
    text-align: center;
}

.disclaimer-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.disclaimer-box p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.disclaimer-box ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-box li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.disclaimer-box li:before {
    content: "•";
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.disclaimer-box a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.disclaimer-box a:hover {
    text-decoration: none;
}

.age-reminder {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 25px;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem 2rem;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.age-footer {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid,
    .game-highlights,
    .mission-points,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .privacy-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .game-container {
        margin: 1rem;
    }
    
    .game-frame {
        aspect-ratio: 4/3;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin: 1rem;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features,
    .game-preview,
    .responsible-gaming,
    footer {
        margin: 1rem;
    }
    
    .about-content,
    .privacy-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .disclaimer-box {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        padding: 2rem 1rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.secondary-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .age-verification,
    header,
    .responsible-gaming,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .features,
    .game-preview {
        background: white;
        box-shadow: none;
        margin: 0;
    }
}