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

/* CSS Custom Properties */
:root {
    --gold: #c9a227;
    --gold-bright: #f0d55c;
    --gold-dark: #a8861f;
    --secondary-color: #8b4513;
    --text-color: #ffffff;
    --text-dark: #1a1510;
    --bg-color: #1a1a1a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Beta Ribbon */
.beta-ribbon {
    position: fixed;
    top: 20px;
    left: -35px;
    width: 150px;
    padding: 8px 0;
    background: linear-gradient(135deg, #8b4557 0%, #5c2a35 100%);
    color: #f5e6d3;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Layout */
main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

/* Landing Page Specific Styles */
.landing-page {
    background:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url('../assets/images/landing-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.main-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow:
        0 0 20px rgba(201, 162, 39, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.start-btn,
.submit-btn {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-btn:hover,
.submit-btn:hover {
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(201, 162, 39, 0.4);
}

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

/* Form Elements */
input[type="text"],
input[type="password"] {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gold);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: var(--transition);
    width: 100%;
    max-width: 300px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #e5b685;
}

/* Feedback Messages */
.feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.feedback.success {
    background-color: rgba(76, 175, 80, 0.3);
    color: #90ee90;
}

.feedback.error {
    background-color: rgba(244, 67, 54, 0.3);
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .beta-ribbon {
        top: 15px;
        left: -40px;
        width: 120px;
        padding: 6px 0;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .start-btn,
    .submit-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
