/* Template-003 — PlayTreasury esintili premium krem&gece tasarım */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #f5f2ea;
  --bg-dark: #0f1d2e;
  --card: #ffffff;
  --accent: #f0d199;
  --accent-2: #0f1d2e;
  --accent-3: #284b63;
  --text: #1b1b1b;
  --muted: #5c5b58;
  --shadow-soft: 0 25px 60px rgba(15, 29, 46, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(120deg, #fbf9f4 0%, #f3eee3 40%, #f7f4ec 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(240, 209, 153, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(240, 209, 153, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  z-index: 0;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 242, 234, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 29, 46, 0.08);
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent-2);
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #f7d8a8, #e6c38b);
  color: #1d1d1d;
  box-shadow: 0 15px 30px rgba(15, 29, 46, 0.1);
}

.btn-outline {
  border-color: rgba(15, 29, 46, 0.5);
  background: transparent;
  color: var(--accent-2);
}

.btn-ghost {
  background: rgba(15, 29, 46, 0.05);
  color: var(--accent-2);
}

.hero {
  padding: 120px 0 80px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 80px;
  right: 5%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(240, 209, 153, 0.5), transparent 70%);
  filter: blur(60px);
  opacity: 0.6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--accent-2);
  margin-bottom: 1.4rem;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.countdown-block {
  background: #fff;
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid rgba(15, 29, 46, 0.08);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.countdown-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-2);
}

.countdown-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.badges li {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 29, 46, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}

.hero-card {
  background: #0f1d2e;
  color: #f5f2ea;
  border-radius: 36px;
  padding: 2.6rem;
  box-shadow: 0 35px 60px rgba(15, 29, 46, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(240, 209, 153, 0.2), transparent 65%);
}

.hero-card * {
  position: relative;
  z-index: 2;
}

.prize-head {
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: rgba(245, 242, 234, 0.8);
}

.hero-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 1rem 0 0.8rem;
}

.hero-card .value {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.prize-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
  color: rgba(245, 242, 234, 0.85);
}

.features {
  padding: 90px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: #fff;
  border-radius: 28px;
  padding: 2.2rem;
  border: 1px solid rgba(15, 29, 46, 0.08);
  box-shadow: var(--shadow-soft);
}

.feature h3 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted);
}

.tickets {
  padding: 90px 0;
}

.tickets h2 {
  text-align: center;
  font-size: 2.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent-2);
}

.tickets h2::after {
  content: '';
  width: 70px;
  height: 3px;
  display: block;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ticket-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ticket-card {
  background: #fff;
  border-radius: 32px;
  padding: 2.2rem;
  border: 1px solid rgba(15, 29, 46, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ticket-card .price {
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent-2);
}

.ticket-card p {
  color: var(--muted);
}

.ticket-card.popular {
  border-color: rgba(240, 209, 153, 0.8);
  box-shadow: 0 45px 60px rgba(240, 209, 153, 0.25);
  position: relative;
}

.ticket-card.popular::after {
  content: 'FEATURED';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent-2);
}

.responsible {
  padding: 100px 0;
  background: #0f1d2e;
  color: #f5f2ea;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.responsible h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.responsible p {
  color: rgba(245, 242, 234, 0.8);
  max-width: 760px;
}

.licenses {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5f2ea;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.links a {
  text-decoration: none;
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 209, 153, 0.4);
}

.site-footer {
  padding: 60px 0;
  text-align: center;
  background: #0f1d2e;
  color: rgba(245, 242, 234, 0.7);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 46, 0.7);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 2.8rem);
  width: min(520px, 100%);
  box-shadow: var(--shadow-soft);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(15, 29, 46, 0.05);
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
}

.form input {
  border-radius: 16px;
  border: 1px solid rgba(15, 29, 46, 0.18);
  padding: 0.85rem 1rem;
}

.form input:focus {
  outline: none;
  border-color: var(--accent-2);
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.age-verification-modal {
  z-index: 1001;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card {
    order: -1;
  }
  .countdown {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero,
  .features,
  .tickets,
  .responsible {
    padding: 80px 0;
  }
  .btn,
  .links a {
    width: 100%;
  }
}
