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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1e1e20;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ffffff;
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

/* Decorative Divider */
.divider {
    margin-bottom: 35px;
    width: 100%;
    max-width: 420px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.chalk-line {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

/* Description Text */
.description {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.description p {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Form Styles */
.signup-form {
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

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

.submit-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: #dc3545;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Thank You Page Styles */
.back-link {
    animation: fadeIn 1s ease-out 0.7s both;
}

.back-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 220px;
    }
    
    .description p {
        font-size: 18px;
    }
    
    .divider {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .divider {
        margin-bottom: 30px;
        max-width: 280px;
    }
    
    .description {
        margin-bottom: 30px;
    }
    
    .description p {
        font-size: 16px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

