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

:root {
  --ocean-blue: #0D5C75;
  --caribbean-teal: #1B9AAA;
  --sand-beige: #F4E8C1;
  --gold: #D4AF37;
  --wood-brown: #4A3933;
  --cream: #FEF9EF;
  --dark-blue: #0A3847;
  --text-dark: #2C2416;
  --text-light: #F5F5F0;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #0D5C75 0%, #0A3847 100%);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Age Gate */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 92, 117, 0.95) 0%, rgba(10, 56, 71, 0.95) 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.age-gate-overlay.hidden {
  display: none;
}

.age-gate-container {
  position: relative;
  z-index: 2;
}

.treasure-chest {
  background: linear-gradient(145deg, var(--sand-beige) 0%, #E8D9B0 100%);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 3px solid var(--gold);
  position: relative;
}

.chest-lock {
  width: 40px;
  height: 50px;
  background: var(--gold);
  border-radius: 8px 8px 20px 20px;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chest-lock::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 20px;
  background: var(--wood-brown);
  border-radius: 0 0 6px 6px;
}

.brand-flag {
  font-family: 'Pirata One', cursive;
  font-size: 20px;
  color: var(--ocean-blue);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.gate-title {
  font-family: 'Rye', cursive;
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gold-text {
  color: var(--gold);
  display: block;
}

.silver-text {
  color: var(--ocean-blue);
  display: block;
}

.wave-divider {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--caribbean-teal) 0px,
    var(--caribbean-teal) 10px,
    transparent 10px,
    transparent 20px
  );
  margin: 20px auto 24px;
  width: 60%;
}

.gate-message {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.gate-submessage {
  font-size: 15px;
  color: var(--wood-brown);
  margin-bottom: 32px;
}

.gate-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pirate-btn {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.yes-btn {
  background: linear-gradient(135deg, var(--caribbean-teal) 0%, var(--ocean-blue) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(27, 154, 170, 0.4);
}

.yes-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 154, 170, 0.6);
}

.no-btn {
  background: var(--wood-brown);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(74, 57, 51, 0.3);
}

.no-btn:hover {
  background: #3a2d29;
}

.gate-disclaimer {
  font-size: 13px;
  color: var(--wood-brown);
  line-height: 1.5;
}

.ocean-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: repeating-linear-gradient(
    90deg,
    rgba(27, 154, 170, 0.1) 0px,
    rgba(27, 154, 170, 0.2) 50px,
    rgba(27, 154, 170, 0.1) 100px
  );
  animation: wave-move 3s linear infinite;
}

@keyframes wave-move {
  0% { background-position: 0 0; }
  100% { background-position: 100px 0; }
}

/* Navigation */
.pirate-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 56, 71, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 2px solid var(--caribbean-teal);
  transition: all 0.3s ease;
}

.pirate-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-anchor:hover {
  transform: translateY(-2px);
}

.anchor-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.anchor-icon::after {
  content: '⚓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--dark-blue);
}

.brand-name {
  font-family: 'Pirata One', cursive;
  font-size: 24px;
  color: var(--text-light);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-burger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-burger.active span:nth-child(2) {
  opacity: 0;
}

.menu-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--dark-blue) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(
    90deg,
    rgba(27, 154, 170, 0.2) 0px,
    rgba(27, 154, 170, 0.3) 100px,
    rgba(27, 154, 170, 0.2) 200px
  );
  animation: wave-move 5s linear infinite;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 40px 20px;
}

.compass-decoration {
  width: 60px;
  height: 60px;
  margin: 0 auto 32px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  animation: spin-slow 20s linear infinite;
}

.compass-decoration::before,
.compass-decoration::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.compass-decoration::before {
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 20px;
}

.compass-decoration::after {
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  width: 20px;
  height: 3px;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.main-title {
  font-family: 'Rye', cursive;
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-top {
  display: block;
  color: var(--gold);
}

.title-bottom {
  display: block;
  color: var(--text-light);
}

.hero-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--sand-beige);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--gold) 0%, #B8960F 100%);
  padding: 18px 48px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

/* Info Cards */
.info-cards {
  padding: 80px 0;
  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.info-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid var(--sand-beige);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--caribbean-teal) 100%);
  padding: 24px;
  text-align: center;
  position: relative;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.card-icon::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--dark-blue);
}

.card-header h2,
.card-header h3 {
  font-family: 'Rye', cursive;
  font-size: 22px;
  color: var(--text-light);
  margin: 0;
}

.card-body {
  padding: 28px;
}

.card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Story Section */
.story-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--ocean-blue) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.header-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-header h2 {
  font-family: 'Rye', cursive;
  font-size: 42px;
  color: var(--text-light);
  margin: 0;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(254, 249, 239, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.story-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sand-beige);
  text-align: center;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-box {
  background: white;
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--caribbean-teal);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--caribbean-teal) 100%);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
  font-family: 'Rye', cursive;
  font-size: 22px;
  color: var(--ocean-blue);
  margin-bottom: 16px;
}

.feature-box p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Game Section */
.game-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--dark-blue) 100%);
}

.game-layout {
  display: grid;
  grid-template-columns: 1fr ;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.game-info {
  background: rgba(254, 249, 239, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.game-info p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sand-beige);
}

.game-frame {
  background: rgba(254, 249, 239, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text-light);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.game-container {
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-blue);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--gold);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-box {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--caribbean-teal);
}

.about-box h3 {
  font-family: 'Rye', cursive;
  font-size: 24px;
  color: var(--ocean-blue);
  margin-bottom: 16px;
}

.about-box p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Footer */
.pirate-footer {
  background: linear-gradient(180deg, var(--dark-blue) 0%, #051f2a 100%);
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: repeating-linear-gradient(
    90deg,
    rgba(27, 154, 170, 0.15) 0px,
    rgba(27, 154, 170, 0.25) 100px,
    rgba(27, 154, 170, 0.15) 200px
  );
  animation: wave-move 4s linear infinite;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-top: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-anchor {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.footer-anchor::after {
  content: '⚓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: var(--dark-blue);
}

.footer-brand span {
  font-family: 'Pirata One', cursive;
  font-size: 28px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--sand-beige);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  background: rgba(254, 249, 239, 0.05);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-disclaimer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sand-beige);
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
  color: var(--sand-beige);
  font-size: 14px;
}

.footer-badges {
  display: flex;
  gap: 16px;
}

.badge {
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: scale(1.1);
}

.badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-burger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--dark-blue);
    flex-direction: column;
    padding: 32px 20px;
    gap: 24px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    left: 0;
  }

  .main-title {
    font-size: 48px;
  }

  .hero-text {
    font-size: 18px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 36px;
  }

  .treasure-chest {
    padding: 32px 24px;
  }

  .gate-title {
    font-size: 32px;
  }
}
.content {
    padding: 40px 10%;
   
}
.content-block {}

.content-block h2 {
    color: #d4af37;
    font-size: 2rem;
}

.content-block p,
ul {
    color: rgb(1, 59, 47);
    font-size: 1.2rem;
}

.play-ground-area {
    padding: 2rem;
    background: black;
}

.play-game {
    max-width: 940px;
    margin: 0 auto;
}

a {
    text-decoration: none;
}