/* Reset and Base Styles */
@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Italic variants */
@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f0f0f0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Desktop buttons styling */
.desktop-buttons {
    display: flex;
    gap: 1rem;
}

/* Hide nav-buttons inside nav-menu on desktop */
.nav-menu .nav-buttons {
    display: none;
}

/* Ensure nav-buttons are properly styled */
.nav-buttons .btn {
    white-space: nowrap;
    min-width: 80px;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
/* ================ */
.btn-login {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-login:hover {
    background-color: white;
    color: #183B4E;
}

.btn-register {
    background-color: white;
    color: #183B4E;
}

.btn-register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}
/* ========================== */
/* ================ */
.btn-Club_Game {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-Club_Game:hover {
    background-color: #183B4E;
    color: white;
}

.btn-PlayingNow {
    background-color: white;
    color: #183B4E;
}

.btn-PlayingNow:hover {
    background-color: #183B4E;
    color: white;
    border: 2px solid white;
    /* transform: translateY(-2px); */
}
/* ========================== */
.btn-primary {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 59, 78, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #183B4E;
    border: 2px solid #183B4E;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: #183B4E;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #183B4E;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #183B4E;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Registration Steps */
.registration-steps {
    padding: 5rem 0;
    background: white;
}

.registration-steps h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #183B4E;
    margin-bottom: 3rem;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #183B4E;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.cta-buttons {
    text-align: center;
    margin-top: 3rem;
}

/* Games Preview */
.games-preview {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.games-preview h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #183B4E;
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h4 {
    color: #183B4E;
    font-size: 1.3rem;
    margin: 1rem;
    font-weight: 600;
}

.game-card p {
    color: #666;
    margin: 0 1rem 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #183B4E;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hide nav-buttons in desktop position */
    .desktop-buttons {
        display: none;
    }

    /* Show nav-buttons inside nav-menu on mobile */
    .nav-menu .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 2rem;
    }

    .nav-menu .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .features h3,
    .registration-steps h3,
    .games-preview h3 {
        font-size: 2rem;
    }

    /* Ensure nav-buttons are properly sized on very small screens */
    .nav-buttons .btn {
        min-width: 70px;
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }

    .nav-menu .nav-buttons .btn {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* Accessibility Improvements */
@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 {
    outline: 2px solid #27548A;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section Styles */
.content-section {
    padding: 4rem 0;
    background: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: #183B4E;
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-wrapper ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-wrapper ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.content-wrapper strong {
    color: #183B4E;
    font-weight: 600;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #183B4E 0%, #27548A 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Warning Box Styles */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #856404;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.warning-box p {
    color: #856404;
    margin: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    color: #183B4E;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon img {
    width: 50px;
    height: 50px;
}

.contact-details h3 {
    color: #183B4E;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.support-features h3 {
    color: #183B4E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.support-features ul {
    list-style: none;
    padding: 0;
}

.support-features ul li {
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.support-features ul li:last-child {
    border-bottom: none;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #183B4E;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #183B4E;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27548A;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: #27548A;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    color: #183B4E;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #27548A;
}

.faq-item h3 {
    color: #183B4E;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Error Page Styles */
.error-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.error-image img {
    max-width: 100%;
    height: auto;
}

.error-text h1 {
    font-size: 6rem;
    color: #183B4E;
    margin: 0;
    font-weight: 700;
}

.error-text h2 {
    font-size: 2.5rem;
    color: #27548A;
    margin: 1rem 0;
}

.error-text p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.helpful-links {
    margin: 2rem 0;
}

.helpful-links h3 {
    color: #183B4E;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
}

.helpful-links ul li {
    margin-bottom: 0.5rem;
}

.helpful-links ul li a {
    color: #27548A;
    text-decoration: none;
    font-weight: 500;
}

.helpful-links ul li a:hover {
    text-decoration: underline;
}

.search-suggestion {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.search-suggestion h3 {
    color: #183B4E;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.search-suggestion p {
    color: #666;
    margin: 0;
}

.search-suggestion a {
    color: #27548A;
    text-decoration: none;
    font-weight: 500;
}

.search-suggestion a:hover {
    text-decoration: underline;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-text h1 {
        font-size: 4rem;
    }
    
    .error-text h2 {
        font-size: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .error-text h1 {
        font-size: 3rem;
    }
    
    .error-text h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .main {
        margin-top: 0;
    }
} 