/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --secondary-red: #b91c1c;
    --primary-green: #16a34a;
    --secondary-green: #15803d;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    flex-wrap: nowrap;
}

.nav-logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.btn-login {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-login:hover {
    background-color: white;
    color: var(--primary-red);
}

.btn-register {
    background-color: var(--primary-green);
    color: white;
}

.btn-register:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-red);
    border-color: var(--secondary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.9), rgba(102, 51, 153, 0.9)), url('public/images/hero-casino.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('public/images/pattern.webp') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-image {
    margin-top: 2rem;
    max-width: 400px;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('public/images/pattern.webp') repeat;
    opacity: 0.1;
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Stats Counter Animation */
.stat-number {
    transition: all 0.3s ease;
}

.stat-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for numbers during counting */
.stat-number.counting {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Registration Steps */
.registration-steps {
    padding: 4rem 0;
    background-color: white;
    position: relative;
}

.registration-steps h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.steps-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 60px;
    bottom: 60px;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-green));
    border-radius: 2px;
    z-index: 1;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 2rem;
    margin-left: 80px;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.step-number {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    border: 4px solid white;
    box-shadow: var(--shadow);
    z-index: 3;
}

.step h4 {
    color: var(--primary-red);
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.step h4::before {
    content: 'Step';
    background: var(--primary-green);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.8rem;
    font-weight: normal;
}

.step p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

    /* Login Section */
    .login-section {
        padding: 4rem 0;
        background-color: #f8f9fa;
        position: relative;
    }

    .login-section h3 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: var(--text-dark);
    }

    .login-steps-container {
        display: flex;
        flex-direction: column;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
    }

    .login-steps-container::before {
        content: '';
        position: absolute;
        left: 50px;
        top: 60px;
        bottom: 60px;
        width: 4px;
        background: linear-gradient(to bottom, var(--primary-green), var(--primary-red));
        border-radius: 2px;
        z-index: 1;
    }

    .login-step {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: var(--shadow);
        border: 2px solid var(--border-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        margin-bottom: 2rem;
        margin-left: 80px;
        z-index: 2;
    }

    .login-step:last-child {
        margin-bottom: 0;
    }

    .login-step:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-red);
    }

    .login-step .step-number {
        position: absolute;
        left: -60px;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.3rem;
        border: 4px solid white;
        box-shadow: var(--shadow);
        z-index: 3;
    }

    .login-step h4 {
        color: var(--primary-red);
        margin: 0 0 1rem 0;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
    }

    .login-step h4::before {
        content: 'Step';
        background: var(--primary-red);
        color: white;
        padding: 0.2rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        margin-right: 0.8rem;
        font-weight: normal;
    }

    .login-step p {
        color: var(--text-dark);
        line-height: 1.7;
        margin: 0;
    }

    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        color: white;
        text-align: center;
    }

    .cta-section h3 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Games Section */
    .games-section {
        padding: 4rem 0;
        background-color: white;
    }

    .games-section h3 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: var(--text-dark);
    }

    .games-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .game-category {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: var(--shadow);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--border-color);
    }

    .game-category:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .game-category img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
        border-radius: 50%;
        background: var(--light-bg);
        padding: 1rem;
    }

    .game-category h4 {
        color: var(--primary-red);
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .game-category p {
        color: var(--text-dark);
        line-height: 1.6;
    }

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
}

.features-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    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 img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile background optimization */
    .hero-section,
    .page-header,
    .error-section {
        background-attachment: scroll;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-red);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 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 {
        padding: 2rem 1rem;
        margin: 0 15px;
        border-radius: 16px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .hero-image {
        max-width: 300px;
        margin-top: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .steps-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .steps-container::before {
        left: 30px;
    }

    .step {
        margin-left: 60px;
    }

    .step-number {
        left: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .login-steps-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .login-steps-container::before {
        left: 30px;
    }

    .login-step {
        margin-left: 60px;
    }

    .login-step .step-number {
        left: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .nav-buttons {
        display: none;
    }

    /* Mobile menu buttons */
    .nav-menu .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 2rem;
    }

    .nav-menu .nav-buttons .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Contact page responsive */
    .contact-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }

    /* FAQ section responsive */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-section .faq-item {
        padding: 1.5rem;
    }

    .faq-section h3 {
        font-size: 2rem;
    }

    /* 404 page responsive */
    .error-content {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .error-code h1 {
        font-size: 8rem;
    }

    .error-code h2 {
        font-size: 2rem;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .suggestion-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-container {
        padding: 1.5rem 1rem;
        margin: 0 10px;
    }

    .hero-image {
        max-width: 250px;
    }

    /* Contact page small mobile */
    .contact-content {
        padding: 0 0.5rem;
    }

    .contact-method {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .registration-steps h3,
    .features-section h3,
    .login-section h3,
    .cta-section h3,
    .games-section h3,
    .stats-section h3 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* 404 page small mobile */
    .error-content {
        padding: 2rem 1rem;
        margin: 0 0.5rem;
    }

    .error-code h1 {
        font-size: 6rem;
    }

    .error-code h2 {
        font-size: 1.5rem;
    }

    .error-message p {
        font-size: 1.1rem;
    }

    .suggestion-card {
        padding: 1rem;
    }

    .action-buttons {
        gap: 1rem;
    }

    .action-buttons .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-buttons,
    .hero-buttons {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section {
        background: white;
        color: black;
    }

    .features-section {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-red: #dc0000;
        --primary-green: #00dc00;
        --text-dark: #000000;
        --text-light: #ffffff;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9)), url('public/images/hero-casino.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Section Styles */
.content-section {
    padding: 3rem 0;
    background-color: white;
}

.policy-content, .contact-content, .faq-content, .about-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2, .contact-content h2, .faq-content h2, .about-content h2 {
    color: var(--primary-red);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.policy-content h3, .contact-content h3, .faq-content h3, .about-content h3 {
    color: var(--primary-green);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.policy-content p, .contact-content p, .faq-content p, .about-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-content ul, .contact-content ul, .faq-content ul, .about-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li, .contact-content li, .faq-content li, .about-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    padding: 2rem;
    border-radius: 16px;
    border-left: 6px solid var(--primary-green);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary-red);
}

.contact-method:hover::before {
    opacity: 1;
}

.contact-method h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method h3::before {
    content: '📞';
    font-size: 1.2rem;
}

.contact-method:nth-child(2) h3::before {
    content: '✉️';
}

.contact-method:nth-child(3) h3::before {
    content: '💬';
}

.contact-method ul {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.contact-method ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method ul li:last-child {
    border-bottom: none;
}

.contact-method ul li::before {
    content: '→';
    color: var(--primary-green);
    font-weight: bold;
}

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-red));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
}

.form-group label::after {
    content: ' *';
    color: var(--primary-red);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    transform: scale(1.2);
    accent-color: var(--primary-green);
}

/* Contact form submit button */
.contact-form .btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .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 ease;
}

.contact-form .btn:hover::before {
    left: 100%;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
}

/* FAQ Page Styles */
.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-categories {
    display: grid;
    gap: 2rem;
}

.faq-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-category h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    border-radius: 12px;
}

/* About Us Page Styles */
.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-sections {
    display: grid;
    gap: 2rem;
}

.about-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.value-item h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.feature-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* 404 Error Page Styles */
.error-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9)), url('public/images/hero-casino.webp');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('public/images/pattern.webp') repeat;
    opacity: 0.1;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.error-code {
    margin-bottom: 2rem;
    position: relative;
}

.error-code h1 {
    font-size: 12rem;
    margin: 0;
    text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.05em;
    animation: errorGlow 3s ease-in-out infinite alternate;
}

@keyframes errorGlow {
    0% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)); }
}

.error-code h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-message {
    margin-bottom: 3rem;
}

.error-message p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.suggestion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.suggestion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.suggestion-card:hover::before {
    left: 100%;
}

.suggestion-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.suggestion-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.suggestion-card p {
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.error-actions {
    margin: 4rem 0 2rem;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.action-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-buttons .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 ease;
}

.action-buttons .btn:hover::before {
    left: 100%;
}

.error-help, .error-tips {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.error-help:hover, .error-tips:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.error-help h3, .error-tips h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-help h3::before {
    content: '💡';
    font-size: 1.3rem;
}

.error-tips h3::before {
    content: '🔧';
    font-size: 1.3rem;
}

.error-help ul, .error-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-help li, .error-tips li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-help li:last-child, .error-tips li:last-child {
    border-bottom: none;
}

    .error-help li::before, .error-tips li::before {
        content: '→';
        color: var(--primary-green);
        font-weight: bold;
        font-size: 1.1rem;
    }

    /* Homepage FAQ Section */
    .faq-section {
        padding: 4rem 0;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        color: white;
    }

    .faq-section h3 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .faq-section .faq-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 2rem;
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .faq-section .faq-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .faq-section .faq-item h4 {
        color: var(--primary-red);
        margin-bottom: 1rem;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .faq-section .faq-item p {
        line-height: 1.6;
        opacity: 0.9;
    }

    .faq-cta {
        text-align: center;
        margin-top: 2rem;
    }

    .faq-cta p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

.error-help ul, .error-tips ul {
    text-align: left;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Support Features Styles */
.support-features {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.support-features h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a1a;
        --text-dark: #ffffff;
        --border-color: #404040;
    }

    body {
        background-color: var(--light-bg);
        color: var(--text-dark);
    }

    .registration-steps {
        background-color: #2a2a2a;
    }

    .step {
        background: #2a2a2a;
        color: var(--text-dark);
    }

    .content-section {
        background-color: #2a2a2a;
    }

    .contact-method,
    .faq-category,
    .about-section,
    .contact-form {
        background: #3a3a3a;
    }

    .value-item,
    .feature-item {
        background: #3a3a3a;
    }
} 