/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d1b69 100%);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.floating-shapes::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes::after {
    top: 60%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.3; }
    100% { transform: translateY(0px) rotate(360deg); opacity: 0.7; }
}

.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo h1 {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-login:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-register {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: 2px solid #ffd700;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000;
}

.btn-login-large, .btn-register-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.8) 0%, rgba(26, 26, 58, 0.8) 100%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.features-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Login and Register Sections */
.login-section, .register-section {
    padding: 4rem 0;
}

.login-section {
    background: rgba(45, 27, 105, 0.3);
}

.register-section {
    background: rgba(26, 26, 58, 0.3);
}

.login-content, .register-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-info h4, .register-info h4 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.login-info p, .register-info p {
    margin-bottom: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

.login-action, .register-action {
    text-align: center;
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.game-card h4 {
    color: #ffd700;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.game-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

/* Content Pages Styles */
.content-section {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Policy Content Styles */
.policy-content, .terms-content, .disclaimer-content {
    line-height: 1.8;
}

.last-updated {
    text-align: center;
    color: #cccccc;
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.policy-content h3, .terms-content h3, .disclaimer-content h3 {
    color: #ffd700;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.policy-content p, .terms-content p, .disclaimer-content p {
    margin-bottom: 1rem;
    color: #cccccc;
}

.policy-content ul, .terms-content ul, .disclaimer-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li, .terms-content li, .disclaimer-content li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.policy-footer, .terms-footer, .disclaimer-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.warning-box h3 {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-method h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.contact-detail {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.contact-form-section {
    margin-bottom: 3rem;
}

.contact-form-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #cccccc;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: #ffd700;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h3 {
    color: #ffd700;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #ffd700;
}

.faq-item h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #cccccc;
    margin: 0;
}

/* Support Hours */
.support-hours {
    text-align: center;
}

.support-hours h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.support-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.schedule-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: #cccccc;
}

/* 404 Error Page Styles */
.error-section {
    padding: 4rem 0;
    text-align: center;
    min-height: calc(100vh - 80px);
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 6rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.error-subtitle {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-help {
    margin-bottom: 3rem;
}

.error-help h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.help-link {
    color: #ffd700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.help-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

.error-games {
    margin-bottom: 2rem;
}

.error-games h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.games-suggestions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.game-suggestion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
}

.game-icon {
    font-size: 2rem;
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .games-suggestions {
        gap: 1rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .login-content, .register-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .floating-shapes::before,
    .floating-shapes::after,
    .particle {
        animation: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #ffffff;
    }
    
    .btn {
        border-width: 3px;
    }
}
