/* --- Base and Font Styles --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #e5e7eb; /* text-gray-200 */
    
    /* --- NEW: Sticky Footer Styles --- */
    /* This makes the body a flex container that arranges children vertically */
    display: flex;
    flex-direction: column;
    /* This ensures the body is at least as tall as the browser window */
    min-height: 100vh;
}

.font-minecraft {
    font-family: 'Press Start 2P', cursive;
}

/* --- Main Background Photo Style --- */
.bg-pattern {
    background-image: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)), url('../images/background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


/* --- Shared Layout Components --- */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #22d3ee; /* border-cyan-400 */
}

/* --- Pixel Button Style --- */
.btn-pixel {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: white;
    padding: 10px 20px;
    border: 2px solid #312e81; /* border-indigo-900 */
    box-shadow: 4px 4px 0px #1e1b4b; /* shadow with indigo-950 */
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn-pixel:hover {
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #1e1b4b;
}

.btn-pixel:active {
    transform: translateY(2px) translateX(2px);
    box-shadow: 2px 2px 0px #1e1b4b;
}

/* --- NEW: Main Content Area Style --- */
/* This tells the main content area to grow and take up any available space,
   pushing the footer down to the bottom. */
main {
    flex-grow: 1;
}

/* --- Form Styles --- */
.form-input {
    width: 100%;
    background-color: #374151; /* bg-gray-700 */
    padding: 0.75rem; /* p-3 */
    border-radius: 0.375rem; /* rounded */
    margin-bottom: 1rem; /* mb-4 */
    border: 2px solid transparent;
}
.form-input:focus {
    outline: none;
    border-color: #22d3ee; /* focus:ring-cyan-400 */
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5);
}

/* --- Header & Footer --- */
header {
    background-color: rgba(17, 24, 39, 0.5); /* bg-gray-900/50 */
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5); /* border-gray-700/50 */
}

footer {
    background-color: #111827; /* bg-gray-900 */
    padding: 2rem 0; /* py-8 */
    text-align: center;
    color: #9ca3af; /* text-gray-400 */
}
