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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
        url('https://images.peopleimages.com/picture/202309/2916102-waving-american-flag-illustrated-in-grungy-style.-background-wallpaper-concept-zoom_90.jpg') center/cover no-repeat;
}

.flag-background {
    display: none;
}

.main-header {
    text-align: center;
    padding: 40px 20px;
    z-index: 10;
}

.main-header h1 {
    font-family: 'Old English Text MT', 'UnifrakturMaguntia', 'Cinzel Decorative', 'Libre Baskerville', serif;
    font-size: 5rem;
    line-height: 1;
    color: #000000;
    letter-spacing: 3px;
    margin: 0;
    text-transform: none;
    -webkit-text-stroke: 2px #ffffff;
    paint-order: stroke fill;
    text-shadow:
        0 0 1px #ffffff,
        0 0 2px #ffffff,
        2px 2px 0 rgba(0, 0, 0, 0.45),
        4px 4px 6px rgba(0, 0, 0, 0.35);
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 20px;
    z-index: 10;
}

.auth-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 400px;
}

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

.form-group label {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #b22234;
    box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.2);
}

.auth-button {
    width: 100%;
    padding: 18px;
    background: #b22234;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.auth-button:hover {
    background: #8b1a29;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 52, 0.4);
}

.form-toggle {
    text-align: center;
    margin-top: 20px;
}

.toggle-link {
    background: none;
    border: none;
    color: #b22234;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.toggle-link:hover {
    color: #8b1a29;
}

.main-footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 100%;
    z-index: 10;
}

.main-footer p {
    font-size: 0.9rem;
    margin: 5px 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .main-header h1 {
        font-size: 3rem;
    }
    
    .auth-form {
        padding: 30px 20px;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 2rem;
    }
    
    .auth-form {
        padding: 25px 15px;
    }
}