/* orivoryvoryx.xyz - Desert Sand & Coral Theme - Asymmetric Layout */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Work+Sans:wght@300;400;600;700&display=swap');

:root {
  --coral: #e07856;
  --sand: #f5e6d3;
  --midnight: #1c1426;
  --plum: #3d2054;
  --gold: #d4a853;
  --cream: #faf3eb;
  --text-dark: #2c1e35;
  --text-light: #f0e8dd;
}

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

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--midnight);
  color: var(--text-light);
  line-height: 1.8;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

a { color: var(--coral); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

/* NAV */
.nav-bar {
  background: rgba(28, 20, 38, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(224, 120, 86, 0.3);
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo svg { width: 34px; height: 34px; }

.nav-menu { display: flex; list-style: none; gap: 2rem; }

.nav-menu a {
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.7;
}

.nav-menu a:hover, .nav-menu a.current { opacity: 1; color: var(--coral); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--coral);
  border-radius: 3px;
  transition: 0.3s;
}

/* HERO - Asymmetric */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 70vh;
  overflow: hidden;
}

.hero-text {
  padding: 6rem 4rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: var(--sand);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 520px;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.play-btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  transition: background 0.3s, transform 0.3s;
}

.play-btn:hover {
  background: var(--gold);
  color: var(--midnight);
  transform: translateY(-2px);
}

.hero-visual {
  background: linear-gradient(135deg, var(--plum), var(--midnight));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,120,86,0.15), transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

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

.hero-emblem {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(224,120,86,0.15);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* NOTICE BAR */
.notice-bar {
  background: linear-gradient(90deg, var(--coral), #c0623e);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.notice-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

/* CONTENT BLOCKS */
.block {
  max-width: 1500px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.block-shaded {
  background: var(--plum);
  padding: 5rem 3rem;
}

.block-shaded .block-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.block h2 {
  font-size: 2.3rem;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.block-shaded h2 {
  font-size: 2.3rem;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.block p, .block-shaded p {
  max-width: 800px;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

/* FEATURE TILES */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tile {
  background: rgba(61, 32, 84, 0.5);
  border: 1px solid rgba(224, 120, 86, 0.2);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--coral);
}

.tile h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.tile p { font-size: 0.95rem; opacity: 0.8; }

/* GAME FRAME */
.game-frame {
  max-width: 960px;
  margin: 2rem auto;
  border: 3px solid var(--coral);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(224, 120, 86, 0.1);
}

.game-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* COUNTERS */
.counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.counter {
  text-align: center;
  padding: 1.5rem;
  background: rgba(28, 20, 38, 0.6);
  border-radius: 10px;
}

.counter .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  color: var(--coral);
  font-weight: 700;
}

.counter .desc {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 0.3rem;
}

/* FOOTER */
footer {
  background: var(--midnight);
  border-top: 2px solid var(--plum);
  padding: 2.5rem 2rem;
  text-align: center;
}

.ft-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ft-links a { color: var(--text-light); opacity: 0.6; font-size: 0.85rem; }
.ft-links a:hover { opacity: 1; color: var(--coral); }

.ft-copy { font-size: 0.75rem; opacity: 0.35; margin-top: 1rem; }

/* AGE POPUP */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-dialog {
  background: linear-gradient(145deg, var(--plum), var(--midnight));
  border: 2px solid var(--coral);
  border-radius: 14px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 430px;
  width: 90%;
}

.age-dialog h2 { font-size: 1.7rem; color: var(--sand); margin-bottom: 1rem; }
.age-dialog p { margin-bottom: 2rem; opacity: 0.8; }

.age-actions { display: flex; gap: 1rem; justify-content: center; }

.age-actions button {
  padding: 0.8rem 2.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.age-actions button:hover { transform: scale(1.05); }

.btn-enter { background: var(--coral); color: #fff; }
.btn-leave { background: transparent; border: 2px solid var(--coral) !important; color: var(--coral); }

/* PAGE TEXT */
.text-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.text-page h1 { font-size: 2.5rem; color: var(--sand); margin-bottom: 1.5rem; }
.text-page h2 { font-size: 1.5rem; color: var(--gold); margin-top: 2.5rem; margin-bottom: 1rem; }
.text-page p { margin-bottom: 1.1rem; opacity: 0.9; }
.text-page ul { margin: 1rem 0 1.5rem 1.5rem; }
.text-page li { margin-bottom: 0.5rem; opacity: 0.85; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(28,20,38,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--coral);
  }
  .nav-menu.open { display: flex; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { padding: 4rem 2rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .tile-grid { grid-template-columns: 1fr; }
  .counter-row { grid-template-columns: 1fr 1fr; }
  .game-frame iframe { height: 380px; }
}
