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

:root {
    --primary-christmas: #d42426;
    --secondary-christmas: #f1c40f;
    --primary-newyear: #1a1a2e;
    --secondary-newyear: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.christmas {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('c.jpeg');
}

body.new-year {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('R.jpeg');
}

.container {
    max-width: 800px;
    width: 90%;
    margin: 2rem auto;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeIn 1.2s ease-out;
}

.logo {
    width: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.christmas h1 {
    background: linear-gradient(to bottom, #f1c40f, #ffd700);
    -webkit-background-clip: text;
}

h2 {
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.message-box {
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 2rem;
}

.btn-switch {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.btn-switch:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.visual-image {
    width: 150px;
    margin: 2rem auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 600px) {
    h1 { font-size: 3rem; }
    .container { padding: 2rem 1.5rem; }
    h3 { font-size: 1.4rem; }
}

/* Snowflake styling */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #000;
  position: fixed;
  top: -10%;
  z-index: 9999;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

@keyframes snowflakes-fall {
  0% { top: -10%; }
  100% { top: 100%; }
}

@keyframes snowflakes-shake {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(80px); }
}
