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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4B0000 0%, #8B0000 50%, #660000 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header img {
    max-height: 104px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

/* Removed hover effect to prevent layout jitter */

.card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 0 3px rgba(139, 0, 0, 0.2);
    margin-bottom: 20px;
    border: 2px solid rgba(139, 0, 0, 0.3);
    position: relative;
}

.card::before {
    content: '🎄';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #8B0000;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

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

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

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #8B0000;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

#link-input {
    font-family: monospace;
    font-size: 14px;
    background: linear-gradient(145deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px dashed #FFD700;
}

.btn {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

/* Removed hover effect to prevent distraction */

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

.btn-secondary {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

/* Removed hover effect to prevent distraction */

.btn-danger {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

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

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #8B0000;
    color: #0f5132;
    border-left: 4px solid #8B0000;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #8B0000;
    color: #721c24;
    border-left: 4px solid #8B0000;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #FFD700;
    color: #0c5460;
    border-left: 4px solid #FFD700;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    position: relative;
}

.stat-card::before {
    content: '🎁';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.stat-label {
    color: #8B0000;
    font-size: 0.9rem;
    font-weight: 600;
}

.pairing-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    position: relative;
}

.pairing-card::before {
    content: '🎅';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B0000;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.pairing-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-controls {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    position: relative;
}

.admin-controls::before {
    content: '🎄';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #8B0000;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.admin-controls h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.link-display {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px dashed #FFD700;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.copy-btn {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Removed hover effect to prevent distraction */

.hidden {
    display: none;
}

.loading {
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8B0000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Removed hover effect to prevent distraction */

/* Removed twinkle animation from header h1 */

.reveal-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #DC143C;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

/* Removed hover effect to prevent distraction */

/* Removed Christmas decorative elements */

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header img {
        max-height: 78px;
    }
    
    .card {
        padding: 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}
