@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --accent: #d4af37;
  --text-muted: #9ca3af;
  --dark-bg: #04120b;
  --font-ko: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 81, 50, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
        linear-gradient(135deg, var(--dark-bg) 0%, #082114 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    font-family: var(--font-ko);
    color: #f3f4f6;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animations for loading */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.top-bar {
    width: 100%;
    padding: 30px 0 20px 0;
    /* Transparent top-bar to let gradient show through */
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInDown 1s ease-out forwards;
}

.logo {
    width: 130px;
    max-width: 80%;
    height: auto;
    /* Subtle drop shadow for logo to pop on background */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* Premium Card Wrapper */
.card-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 6px; /* Reduced inner padding */
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(255, 255, 255, 0.05) inset,
        0 0 80px rgba(10, 64, 37, 0.2);
    width: 96%; /* Increased width */
    max-width: 550px; /* Allow it to be larger on desktop */
    margin-bottom: 35px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}



.image-container {
    width: 100%;
    background-color: transparent; /* Removes the problematic white background */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit; /* parent's radius */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Fix for jagged edges during animations */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}



/* Call to Action Button */
.cta-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--accent) 0%, #b89224 100%);
  color: #0b1f15;
  font-family: var(--font-ko);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 30px rgba(212, 175, 55, 0.4),
    0 0 0 4px rgba(212, 175, 55, 0.15);
  background: linear-gradient(135deg, #f0c94d 0%, #ca9f27 100%);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 
    0 5px 15px rgba(212, 175, 55, 0.3),
    0 0 0 2px rgba(212, 175, 55, 0.15);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Footer Section */
footer {
  margin-top: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  z-index: 1;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

footer p {
  margin: 0;
  padding: 0;
}

/* Responsiveness overrides */
@media (max-width: 480px) {
  .btn-primary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}
