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

:root {
  --olympikus-blue: #1a2b5a;
  --olympikus-dark: #0f1a3a;
  --white: #ffffff;
  --gold: #c9a227;
  --gold-light: #e8d47f;
  --red: #d42b2b;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--olympikus-dark);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== SPLASH SCREEN ========== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--olympikus-dark) 0%, var(--olympikus-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  z-index: 2;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.logo {
  width: 280px;
  max-width: 80vw;
  filter: brightness(0) invert(1);
  animation: logoReveal 1.5s ease-out forwards;
  opacity: 0;
  transform: scale(0.8);
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 150px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
  opacity: 0;
  animation-delay: 1s;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.splash-text {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1.2s;
}

.year-text {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.5);
  margin-bottom: 10px;
}

.holiday-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.holiday-text .separator {
  color: var(--gold);
  font-size: 1.5rem;
}

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

/* ========== SNOWFLAKES ========== */
.snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: var(--white);
  font-size: 1rem;
  opacity: 0.8;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ========== MAIN CONTENT ========== */
.main-content {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--olympikus-dark) 0%, var(--olympikus-blue) 50%, var(--olympikus-dark) 100%);
  position: relative;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.main-content.hidden {
  opacity: 0;
  pointer-events: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  background: linear-gradient(180deg, rgba(15, 26, 58, 0.95) 0%, transparent 100%);
  z-index: 100;
}

.header-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

/* Decorations */
.decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.ornament {
  position: absolute;
  width: 60px;
  height: 70px;
  border-radius: 50% 50% 50% 50%;
  animation: swing 3s ease-in-out infinite;
}

.ornament::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 15px;
  background: var(--gold);
  border-radius: 3px;
}

.ornament::after {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--gold-light);
}

.ornament-1 {
  top: 15%;
  left: 10%;
  background: linear-gradient(135deg, var(--red) 0%, #a01e1e 100%);
  animation-delay: 0s;
}

.ornament-2 {
  top: 20%;
  right: 15%;
  background: linear-gradient(135deg, var(--gold) 0%, #9a7a1e 100%);
  animation-delay: 0.5s;
}

.ornament-3 {
  bottom: 25%;
  left: 8%;
  background: linear-gradient(135deg, var(--olympikus-blue) 0%, #2a4080 100%);
  animation-delay: 1s;
}

@keyframes swing {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

/* ========== POPUP ========== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 26, 58, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.popup-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.popup-container {
  position: relative;
  background: linear-gradient(145deg, var(--olympikus-blue) 0%, var(--olympikus-dark) 100%);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 162, 39, 0.3);
  animation: popupSlideIn 0.5s ease-out;
  overflow: hidden;
}

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

.popup-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
  animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.popup-content {
  position: relative;
  z-index: 2;
}

.popup-icon {
  position: relative;
  margin-bottom: 25px;
}

.gift-box {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  animation: bounce 1s ease-in-out infinite;
}

.gift-body {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 60px;
  height: 50px;
  background: linear-gradient(135deg, var(--red) 0%, #a01e1e 100%);
  border-radius: 5px;
}

.gift-lid {
  position: absolute;
  top: 15px;
  left: 5px;
  width: 70px;
  height: 18px;
  background: linear-gradient(135deg, #e63939 0%, var(--red) 100%);
  border-radius: 5px;
  animation: lidBounce 1s ease-in-out infinite;
}

.gift-ribbon-v {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 50px;
  background: var(--gold);
  border-radius: 2px;
}

.gift-ribbon-h {
  position: absolute;
  top: 35px;
  left: 10px;
  width: 60px;
  height: 12px;
  background: var(--gold);
  border-radius: 2px;
}

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

@keyframes lidBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-5deg);
  }
}

.sparkles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.sparkles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: sparkle 1.5s ease-in-out infinite;
}

.sparkles span:nth-child(1) {
  top: 0;
  left: 50%;
  animation-delay: 0s;
}
.sparkles span:nth-child(2) {
  top: 20%;
  right: 0;
  animation-delay: 0.2s;
}
.sparkles span:nth-child(3) {
  bottom: 20%;
  right: 0;
  animation-delay: 0.4s;
}
.sparkles span:nth-child(4) {
  bottom: 0;
  left: 50%;
  animation-delay: 0.6s;
}
.sparkles span:nth-child(5) {
  bottom: 20%;
  left: 0;
  animation-delay: 0.8s;
}
.sparkles span:nth-child(6) {
  top: 20%;
  left: 0;
  animation-delay: 1s;
}

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

.popup-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.popup-message {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.6;
}

.popup-message strong {
  color: var(--gold);
}

.popup-highlight {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--olympikus-dark);
  font-size: 1.8rem;
  font-weight: 800;
  padding: 8px 25px;
  border-radius: 50px;
  margin-bottom: 10px;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.popup-highlight p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--olympikus-dark);
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.5);
}

.cta-button:active {
  transform: translateY(0);
}

.popup-terms {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .logo {
    width: 200px;
  }

  .year-text {
    font-size: 3rem;
  }

  .holiday-text {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .header {
    padding: 15px 20px;
  }

  .header-logo {
    height: 30px;
  }

  .popup-container {
    padding: 40px 25px;
  }

  .popup-title {
    font-size: 1.8rem;
  }

  .discount-badge {
    font-size: 1.4rem;
  }

  .ornament {
    width: 40px;
    height: 50px;
  }

  .ornament-1 {
    left: 5%;
  }

  .ornament-2 {
    right: 5%;
  }

  .ornament-3 {
    display: none;
  }
}
