/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.hero {
    text-align: center;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    border-radius: 10px;
    margin-top: 20px;
}

.hero-with-image {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('header.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-cta {
    margin-top: 30px;
}

.game-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.tagline {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* Main content */
.content {
    flex: 1;
    padding: 0 0 40px 0;
}

.game-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.game-description h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.game-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.signup-btn {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

/* Login page styles */
.login-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 20px;
}

.login-header-with-image {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('header.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 10px;
}

.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.login-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffd700;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

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

.login-submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ff6b6b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #20c997;
}

.success-message a {
    color: #28a745;
    text-decoration: underline;
}

.success-message a:hover {
    color: #20c997;
}

.login-footer {
    text-align: center;
}

.login-footer a {
    color: #ffd700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    color: #b0b0b0;
}

/* Responsive design */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .game-description,
    .cta-section {
        padding: 30px 20px;
    }
    
    .login-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 40px 0;
    }
}