/* Performance Optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimize animations and transitions */
* {
    will-change: auto;
}

/* Optimize for mobile performance */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize fonts */
body {
    font-display: swap;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Reset and Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles with Performance Optimizations */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* Left Navigation */
.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
}

/* Center Brand */
.nav-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.brand-link:hover {
    color: #667eea;
    transform: scale(1.05) translateZ(0);
}

.nav-logo {
    width: 35px;
    height: 35px;
    margin-right: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: translateZ(0);
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Right Navigation */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-login {
    background: #667eea;
    color: white;
}

.btn-login:hover {
    background: #5a6fd8;
}

.btn-register {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-register:hover {
    background: #667eea;
    color: white;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu - Hidden by default on desktop */
.mobile-menu {
    display: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.hero-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.hero-logo:hover .hero-logo-img {
    transform: scale(1.1);
}

.hero-logo-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-logo-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Game Introduction Section */
.game-intro {
    padding: 80px 0;
    background: white;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 30px;
    font-weight: 600;
}

.intro-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.intro-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.intro-feature i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

.intro-feature span {
    font-weight: 600;
    color: #333;
}

.intro-visual {
    display: flex;
    justify-content: center;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.game-card-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.game-card-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.game-card-showcase i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.game-card-showcase h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-card-showcase p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Auth Section */
.auth-section {
    padding: 80px 0;
    background: white;
}

.auth-container {
    max-width: 800px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* Steps Content */
.steps-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.step-content strong {
    color: #667eea;
    font-weight: 600;
}

.step-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.step-content a:hover {
    text-decoration: underline;
}

/* Help Links */
.help-links {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.help-links h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.help-links ul {
    list-style: none;
    padding: 0;
}

.help-links ul li {
    margin-bottom: 10px;
}

.help-links ul li:last-child {
    margin-bottom: 0;
}

.help-links ul li a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-links ul li a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #667eea;
}

/* Gaming Guide Section Styles */
.gaming-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.guide-content {
    max-width: 1200px;
    margin: 0 auto;
}

.guide-header {
    text-align: center;
    margin-bottom: 60px;
}

.guide-header h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: white !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.guide-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.guide-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.guide-icon i {
    font-size: 1.5rem;
    color: white;
}

.guide-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.guide-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 15px 0;
    color: white;
}

.guide-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: list-item;
}

.guide-steps li {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: white;
}

.guide-steps li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.guide-tip i {
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 2px;
}

.guide-tip p {
    margin: 0;
    font-size: 0.95rem;
    color: white;
}

.mobile-experience {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-header i {
    font-size: 2rem;
    color: #4CAF50;
}

.mobile-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.mobile-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: white;
}

.feature-list li i {
    color: #4CAF50;
    font-size: 1.1rem;
    width: 20px;
}

.key-features {
    margin-bottom: 60px;
}

.key-features h3 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: white;
}

.key-features > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-card .feature-icon i {
    font-size: 1.3rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: white;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h3 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    color: white !important;
    line-height: 1.3 !important;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.faq-question i {
    color: white;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

.community-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.community-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.community-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.community-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: white;
}

.community-feature i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.social-connect {
    text-align: center;
}

.social-connect h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.social-connect p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.social-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.social-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

.social-card i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.social-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.social-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    color: white;
}

/* Additional Gaming Guide Styles */
.guide-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
}

.guide-section ol {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: white;
}

.guide-section ol li {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: white;
}

.guide-section ol li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.guide-section ol {
    counter-reset: list-item;
}

/* Ensure gaming guide titles are always visible */
.gaming-guide .guide-header h2 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.gaming-guide .faq-section h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: white !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    line-height: 1.3 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Additional fallback styles */
.gaming-guide h2,
.gaming-guide h3 {
    font-family: 'Inter', sans-serif !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-left {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    /* Mobile Menu Styles */
    .nav-container {
        position: relative;
    }
    
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    .mobile-menu .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        border-radius: 10px;
        margin: 0 20px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    
    .nav-buttons {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }
    
    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .policy-section {
        padding: 25px;
    }
    
    .contact-form-card {
        padding: 25px;
    }
    
    .nav-brand-center {
        position: static;
        transform: none;
        justify-content: center;
        width: 100%;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .nav-logo {
        width: 30px;
        height: 30px;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-logo {
        padding: 30px;
    }
    
    .hero-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .hero-logo-text h3 {
        font-size: 1.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .game-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-social-links {
        justify-content: center;
    }
    
    .gaming-guide {
        padding: 60px 0;
    }
    
    .guide-content {
        padding: 0 20px;
    }
    
    .guide-header {
        margin-bottom: 40px;
    }
    
    .guide-header h2 {
        font-size: 2rem !important;
    }
    
    .guide-intro {
        font-size: 1rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-section {
        padding: 20px;
    }
    
    .guide-icon {
        width: 50px;
        height: 50px;
    }
    
    .guide-icon i {
        font-size: 1.3rem;
    }
    
    .guide-section h3 {
        font-size: 1.3rem;
    }
    
    .guide-section h4 {
        font-size: 1.1rem;
    }
    
    .guide-steps li {
        padding: 8px 0 8px 25px;
    }
    
    .guide-steps li::before {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .guide-tip {
        padding: 12px;
    }
    
    .guide-tip i {
        font-size: 1rem;
    }
    
    .guide-tip p {
        font-size: 0.9rem;
    }
    
    .mobile-experience {
        padding: 30px 20px;
    }
    
    .mobile-header {
        margin-bottom: 15px;
    }
    
    .mobile-header i {
        font-size: 1.5rem;
    }
    
    .mobile-header h3 {
        font-size: 1.5rem;
    }
    
    .mobile-features h4 {
        font-size: 1.1rem;
        margin: 20px 0 10px 0;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .feature-list li {
        padding: 8px 0;
    }
    
    .feature-list li i {
        font-size: 1rem;
    }
    
    .key-features {
        margin-bottom: 40px;
    }
    
    .key-features h3 {
        font-size: 1.8rem;
    }
    
    .key-features > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .feature-card .feature-icon i {
        font-size: 1.1rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .faq-section {
        margin-bottom: 40px;
    }
    
    .faq-section h3 {
        font-size: 1.8rem !important;
    }
    
    .faq-grid {
        gap: 12px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }
    
    .community-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .community-content h3 {
        font-size: 1.8rem;
    }
    
    .community-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .community-features {
        gap: 12px;
    }
    
    .community-feature {
        font-size: 0.9rem;
    }
    
    .social-connect {
        margin-bottom: 40px;
    }
    
    .social-connect h3 {
        font-size: 1.8rem;
    }
    
    .social-connect p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-card {
        padding: 15px;
    }
    
    .social-card i {
        font-size: 1.3rem;
        width: 25px;
    }
    
    .social-info h4 {
        font-size: 1rem;
    }
    
    .social-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .policy-section {
        padding: 20px;
    }
    
    .contact-form-card {
        padding: 20px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-social-links {
        flex-direction: column;
    }
    
    .contact-social-link {
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-logo {
        padding: 25px;
    }
    
    .hero-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .hero-logo-text h3 {
        font-size: 1.3rem;
    }
    
    .hero-logo-text p {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .policy-section {
        padding: 20px;
    }
    
    .step-item {
        padding: 20px;
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .help-links {
        padding: 20px;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-description p {
        font-size: 1rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .guide-header h2 {
        font-size: 2rem !important;
    }
    
    .guide-intro {
        font-size: 1rem;
    }
    
    .mobile-header h3 {
        font-size: 1.3rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .key-features h3 {
        font-size: 1.6rem;
    }
    
    .faq-section h3 {
        font-size: 1.6rem !important;
    }
    
    .community-content h3 {
        font-size: 1.6rem;
    }
    
    .social-connect h3 {
        font-size: 1.6rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .game-card-showcase {
        padding: 20px 15px;
    }
    
    .gaming-guide {
        padding: 60px 0;
    }
    
    .guide-section {
        padding: 20px;
    }
    
    .mobile-experience {
        padding: 25px 15px;
    }
    
    .community-section {
        padding: 25px 15px;
    }
    
    .social-card {
        padding: 12px;
    }
    
    /* Mobile specific gaming guide title styles */
    .gaming-guide .guide-header h2 {
        font-size: 2rem !important;
    }
    
    .gaming-guide .faq-section h3 {
        font-size: 1.8rem !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.hero-content,
.page-header {
    animation: fadeInUp 0.8s ease-out;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Policy Content Styles */
.policy-content {
    padding: 80px 0;
    background: white;
}

.policy-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.policy-section {
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.policy-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.policy-section ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.policy-section ul li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.policy-section strong {
    color: #333;
    font-weight: 600;
}

/* Contact Content Styles */
.contact-content {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.contact-info-section > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 5px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.social-contact {
    margin-top: 40px;
}

.social-contact h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.contact-social-link i {
    font-size: 1.1rem;
}

.contact-form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form-card {
    padding: 40px;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-form-card > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

/* 404 Error Page Styles */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.error-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-image {
    margin-bottom: 30px;
}

.error-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.error-title {
    font-size: 6rem;
    font-weight: 900;
    color: #667eea;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.error-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.error-suggestions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.error-suggestions h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.suggestion-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.suggestion-links li {
    margin: 0;
}

.suggestion-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.1);
}

.suggestion-links a:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.2);
}

/* Responsive 404 Error Page */
@media (max-width: 768px) {
    .error-content {
        padding: 40px 20px;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .suggestion-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .error-section {
        padding: 20px 10px;
    }
    
    .error-content {
        padding: 30px 15px;
    }
    
    .error-title {
        font-size: 3rem;
    }
    
    .error-subtitle {
        font-size: 1.2rem;
    }
    
    .error-logo {
        width: 60px;
        height: 60px;
    }
} 