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

:root {
  --primary-color: #e63946;
  --primary-dark: #c1121f;
  --secondary-color: #1d3557;
  --accent-gold: #ffb703;
  --bg-color: #0b132b;
  --card-bg: #1c2541;
  --text-main: #f8f9fa;
  --text-muted: #a0aec0;
  --border-color: rgba(255, 255, 255, 0.12);
  --modal-bg: rgba(15, 23, 42, 0.96);
  --radius-lg: 18px;
  --radius-md: 10px;
  --shadow-glow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 2rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.site-header h1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.site-header h1 span {
  color: var(--primary-color);
}

/* Main Banner Container */
.main-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex: 1;
}

.teaser-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.teaser-card:hover .image-wrapper img {
  transform: scale(1.02);
}

.click-badge {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--primary-color), #ff4d6d);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.7), 0 0 0 0 rgba(230, 57, 70, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: fab-pulse 2s infinite;
  z-index: 500;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.3px;
  border: 3px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.click-badge:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(230, 57, 70, 0.9), 0 0 0 8px rgba(230, 57, 70, 0.15);
}

.click-badge .fab-icon {
  font-size: 1.4rem;
  line-height: 1;
}

@keyframes fab-pulse {
  0%   { box-shadow: 0 8px 25px rgba(230,57,70,0.7), 0 0 0 0 rgba(230,57,70,0.4); }
  50%  { box-shadow: 0 12px 35px rgba(230,57,70,0.9), 0 0 0 10px rgba(230,57,70,0); }
  100% { box-shadow: 0 8px 25px rgba(230,57,70,0.7), 0 0 0 0 rgba(230,57,70,0); }
}

.info-teaser {
  padding: 1.5rem 2rem;
  text-align: center;
  background: rgba(28, 37, 65, 0.9);
}

.info-teaser h2 {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.info-teaser p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--modal-bg);
  width: 100%;
  max-width: 950px;
  max-height: 92vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0,0,0,0.7);
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: var(--primary-color);
}

/* Modal Body Layout */
.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 850px) {
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
}

.modal-left-column {
  padding: 2rem;
  background: rgba(11, 19, 43, 0.6);
  border-right: 1px solid var(--border-color);
}

.poster-preview {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.event-details-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  font-size: 1.2rem;
  background: rgba(230, 57, 70, 0.15);
  color: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-content label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}

.detail-content p {
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}

.modal-right-column {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.form-group label .required {
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.5);
}

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

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}
