* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000000;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Logo Section - Left side */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.site-slogan {
    font-size: 1rem;
    color: #cccccc;
    margin: 0.3rem 0 0 0;
    font-style: italic;
    letter-spacing: 1px;
}

/* Auth Section - Right side */
.auth-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 0;
}

.welcome-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.login-btn:hover {
    background-color: #ffd700;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.register-btn {
    background-color: #ffd700;
    color: #000000;
    border: 2px solid #ffd700;
}

.register-btn:hover {
    background-color: #ffed4a;
    border-color: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Main content area */
.main-content {
    margin-top: 100px; /* Adjust based on header height */
    padding: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem 1.5rem;
    }

    .site-title {
        font-size: 2rem;
    }

    .site-slogan {
        font-size: 0.9rem;
    }

    .auth-buttons {
        gap: 0.5rem;
    }

    .auth-btn {
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .main-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .logo-section, .auth-section {
        align-items: center;
        margin: 0.5rem 0;
    }

    .auth-buttons {
        flex-direction: row;
    }
}

/* Removing the overlay gradient as it might contribute to the brightness */
body::before {
    content: none; /* Removed the additional gradient overlay */
}

/* Animation for the gradient */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.site-logo {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.site-slogan {
    color: #ffe666;
    font-style: italic;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Solid gray login container */
.login-container {
    background: #2d2d2d; /* Same gray as in the gradient */
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 2;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffd700;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffe666;
    font-size: 0.9rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    background: #242424; /* Slightly darker than container */
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 215, 0, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    background: #242424; /* Maintain solid color when focused */
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffed4a, #ffd700);
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #ff9999;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.forgot-password,
.register-link {
    color: #ffe666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.forgot-password:hover,
.register-link:hover {
    color: #ffd700;
}

@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .site-logo {
        font-size: 2.5rem;
    }
}

/* Additional styles for registration page */
.register-container {
    max-width: 500px;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: #ffd700;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
}

input[type="date"] {
    color-scheme: dark;
}

.login-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #ffed4a;
    text-decoration: underline;
}

/* Password strength indicator (optional) */
.password-strength {
    height: 4px;
    background: #444;
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.weak { background: #ff4444; width: 33.33%; }
.medium { background: #ffbb33; width: 66.66%; }
.strong { background: #00C851; width: 100%; }

/* Authentication message styles */
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.message:not(:empty) {
    display: block;
}

.message.error {
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff9999;
}

.message.success {
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

/* Remember me checkbox styles */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-group label {
    color: #ffe666;
    font-size: 0.9rem;
}

/* Password Reset Styles */
.reset-container {
    max-width: 450px;
}

.reset-step {
    display: none;
}

.reset-step.active {
    display: block;
}

.reset-info {
    color: #cccccc;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.resend-btn {
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.resend-btn:hover {
    color: #ffed4a;
    text-decoration: underline;
}

.back-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.back-link:hover {
    color: #ffed4a;
    text-decoration: underline;
}

#resetCode {
    letter-spacing: 4px;
    font-size: 1.2rem;
    text-align: center;
}

.welcome-bonus-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 800px;
}

.bonus-amount {
    font-size: 3rem;
    color: #ffd700;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.bonus-extra {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.claim-bonus-btn {
    background: #ffd700;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.claim-bonus-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .welcome-bonus-section {
        padding: 1rem;
    }

    .bonus-amount {
        font-size: 2rem;
    }

    .game-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

.loading-spinner {
    border: 4px solid rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add these new styles for the welcome page */
.welcome-container {
    background: #2d2d2d;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.action-buttons .submit-btn {
    text-decoration: none;
    text-align: center;
}

.submit-btn.register {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.submit-btn.register:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Update the back-home style to match other links */
.back-home {
    color: #ffd700; /* Same gold color as other links */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.back-home:hover {
    color: #ffed4a; /* Same hover color as other links */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Make sure all footer links have consistent styling */
.forgot-password,
.register-link,
.login-link,
.back-link,
.back-home {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover,
.register-link:hover,
.login-link:hover,
.back-link:hover,
.back-home:hover {
    color: #ffed4a;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Animation Area */
.area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: -1;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.2);
    animation: animate-circles 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate-circles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
} 

/* Navigation Styles */
.main-nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 10px 0;
    margin-top: 80px; /* Space below header */
}

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

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-list li {
    padding: 0;
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: block;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link:hover::after {
    width: 100%;
}