@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #c0392b; /* Holiday Red */
    --secondary-color: #f1c40f; /* Gold */
    --bg-color: #1a252f; /* Dark Night Blue */
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    border: 2px solid var(--secondary-color);
}

/* Festive Header Decoration */
.container::before {
    content: '🎄';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    background: var(--bg-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    margin-top: 1rem;
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
}

button, .btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #a93226;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #d4ac0d;
}

a {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.error {
    background: #fdecea;
    color: #c0392b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #ebccd1;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

/* Dashboard Specifics */
.dashboard-container {
    max-width: 700px;
    padding-top: 3rem;
}

.countdown {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.match-info {
    background: #e8f6f3;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px dashed var(--primary-color);
}

.match-email {
    display: block;
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: bold;
    margin-top: 10px;
}

.budget {
    font-size: 1.4rem;
    color: #7f8c8d;
    font-style: italic;
    margin: 15px 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    border: 4px solid var(--secondary-color);
    position: relative;
}

.modal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 0;
}

/* Snowfall Animation */
@keyframes snow {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 500px 1000px, 400px 400px, 300px 300px; }
}

body {
    animation: snow 20s linear infinite;
}

