/* Shared styling for Olimpos Efsaneleri */
:root {
  --bg: #050109;
  --bg-alt: #0f061a;
  --panel: rgba(24, 8, 41, 0.9);
  --border: rgba(168, 85, 247, 0.35);
  --accent: #a855f7;
  --accent-strong: #d08bff;
  --text: #f4efff;
  --muted: #bba4e3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Roboto', sans-serif;
  background: radial-gradient(circle at top, #150427, var(--bg));
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

body.cookie-banner-open {
  padding-bottom: clamp(180px, 24vh, 320px);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

main {
  padding-top: 110px;
}

section {
  padding: 4.5rem min(8vw, 6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

section h1,
section h2 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.image-center {
  text-align: center;
}

.image-center img {
  margin: 0 auto;
  max-width: 640px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(5, 1, 9, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 1rem min(8vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
}

.primary-nav {
  display: flex;
  gap: 2.2rem;
}

.primary-nav a {
  position: relative;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s ease;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 -6px 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--accent);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(5, 1, 9, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 950;
  padding: 2rem;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.mobile-nav .menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 1.6rem;
  background: rgba(168, 85, 247, 0.1);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.15);
  color: var(--text);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #050109;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.info-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.8rem;
  background: rgba(15, 5, 28, 0.8);
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.info-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 4, 20, 0.95);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-panel {
  padding: 0 1.5rem 1.4rem;
}

.accordion-item.active .accordion-panel p {
  margin-top: 1rem;
}

/* Game */
.game-section .panel {
  display: grid;
  gap: 2rem;
}

.game-area {
  position: relative;
  min-height: 300px;
  border-radius: 26px;
  border: 1px dashed var(--border);
  background: rgba(5, 1, 9, 0.8);
  overflow: hidden;
}

.lightning {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-strong), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050109;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.9);
}

.game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-weight: 600;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.game-actions .btn {
  min-width: 180px;
  text-align: center;
}

/* Footer */
footer {
  padding: 2.5rem min(8vw, 5rem) 4rem;
  background: #030106;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-links button {
  border-bottom: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.footer-social button:hover,
.footer-links button:hover {
  border-bottom-color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 1, 6, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1200;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: min(520px, 100%);
  background: rgba(12, 3, 26, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

/* Cookie prompt */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 360px;
  background: rgba(12, 3, 26, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 1300;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  cursor: pointer;
}

.gallery-grid figcaption {
  text-align: center;
  margin-top: 0.8rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(5, 1, 9, 0.8);
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

iframe {
  border-radius: 24px;
  border: none;
  width: 100%;
  min-height: 320px;
  box-shadow: var(--shadow);
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  section {
    padding: 3.5rem 7vw;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0.8rem 6vw;
  }

  .panel {
    padding: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}

