/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #ffd700;
    --silver-color: #c0c0c0;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo h1 {
    font-size: 1.8rem;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--gold-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-color), #ffed4e);
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--gold-color);
}

.btn-secondary:hover {
    background: var(--gold-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-login {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-login:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-register {
    background: var(--gold-color);
    color: var(--text-dark);
}

.btn-register:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.btn-login-large, .btn-register-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gold-color);
    font-size: 2.5rem;
}

/* Login and Register Sections */
.login-section, .register-section {
    background: var(--gradient-accent);
}

.login-content, .register-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-info h3, .register-info h3 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.login-info p, .register-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.login-action, .register-action {
    text-align: center;
}

.login-note, .register-note {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.game-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--gold-color);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-color);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-category h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.game-category p {
    color: var(--text-light);
}

/* Features Section */
.features-section {
    background: var(--gradient-accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--gradient-primary);
}

.cta-section h2 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-accent);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Content Section Styles */
.content-section {
    padding: 4rem 0;
}

.policy-content, .terms-content, .disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    padding: 3rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.policy-content h2, .terms-content h2, .disclaimer-content h2 {
    color: var(--gold-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 2.6rem;
    font-weight: 900;
    border-bottom: 5px solid var(--gold-color);
    padding-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-content h3, .terms-content h3, .disclaimer-content h3 {
    color: var(--gold-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 2rem;
    font-weight: 800;
    border-left: 6px solid var(--gold-color);
    padding-left: 1.5rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.2);
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-content p, .terms-content p, .disclaimer-content p {
    color: #ffffff;
    margin-bottom: 1.8rem;
    line-height: 2.2;
    font-size: 1.3rem;
    text-align: left;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-content ul, .terms-content ul, .disclaimer-content ul {
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.policy-content li, .terms-content li, .disclaimer-content li {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-info, .policy-footer, .terms-footer, .disclaimer-footer {
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.contact-info p, .policy-footer p, .terms-footer p, .disclaimer-footer p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced Content Highlighting */
.content-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.content-highlight::before {
    content: "⚠️ Important";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gold-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.content-highlight h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-highlight p {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Summary Boxes */
.summary-box {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.summary-box::before {
    content: "📋 Summary";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.summary-box h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 123, 255, 0.3);
    letter-spacing: 0.4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.summary-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.summary-box li {
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced Lists */
.policy-content ul, .terms-content ul, .disclaimer-content ul {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.policy-content li, .terms-content li, .disclaimer-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.policy-content li::before, .terms-content li::before, .disclaimer-content li::before {
    content: "▶";
    color: var(--gold-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Page Navigation */
.page-nav {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-nav h3 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-nav li a {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-color);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    border: 2px solid rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 215, 0, 0.2);
    letter-spacing: 0.2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-nav li a:hover {
    background: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .policy-content, .terms-content, .disclaimer-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-content h2, .terms-content h2, .disclaimer-content h2 {
        font-size: 2.2rem;
        margin-top: 2rem;
        font-weight: 900;
    }
    
    .policy-content h3, .terms-content h3, .disclaimer-content h3 {
        font-size: 1.8rem;
        margin-top: 1.5rem;
        font-weight: 800;
    }
    
    .policy-content p, .terms-content p, .disclaimer-content p {
        font-size: 1.2rem;
        text-align: left;
        font-weight: 500;
    }
    
    .page-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-nav li a {
        display: block;
        text-align: center;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .content-highlight, .summary-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .content-highlight::before, .summary-box::before {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .content-highlight h3, .summary-box h3 {
        font-size: 1.6rem;
        font-weight: 800;
    }
    
    .content-highlight p, .summary-box li {
        font-size: 1.1rem;
        font-weight: 600;
    }
}

.important-notice {
    background: rgba(255, 215, 0, 0.2);
    border: 4px solid var(--gold-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.1);
}

.important-notice h3 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.important-notice p {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
    line-height: 2.0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-method h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.support-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-hours h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.support-hours ul {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.support-hours li {
    margin-bottom: 0.5rem;
}

.contact-form-container h2 {
    color: var(--gold-color);
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: var(--gold-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* FAQ Section Styles */
.faq-section {
    background: var(--gradient-accent);
    padding: 4rem 0;
}

.faq-section h2 {
    color: var(--gold-color);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.faq-item h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 404 Error Page Styles */
.error-section {
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.error-content h1 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.error-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-help {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    text-align: left;
}

.error-help h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    text-align: left;
}

.error-help p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.error-help ul {
    color: var(--text-light);
    padding-left: 2rem;
}

.error-help li {
    margin-bottom: 0.5rem;
}

.quick-links {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links h3 {
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.quick-link:hover {
    background: var(--gold-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* 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, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content, .terms-content, .disclaimer-content {
        padding: 2rem 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .error-section {
        padding: 6rem 0 3rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus, .nav-link:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #ffffff;
        --text-dark: #000000;
        --gold-color: #ffff00;
    }
}
