/* ========================================
   OLDEST GOLDEN TREASURE - MAIN STYLESHEET
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #d4af37;
  --dark: #1a1a1a;
  --darker: #0d0d0d;
  --accent: #8b7355;
  --light: #f5f5f5;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--light);
  background: var(--darker);
  overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
}

.logo {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary), #b8922e);
  color: var(--darker);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========================================
   HERO SECTION (Landing Page)
   ======================================== */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.6);
  z-index: 1;
}

.hero-video {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 2rem;
}

.hero-text h1 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), #f4d03f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #b8922e);
  color: var(--darker);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  padding: 1rem 2.5rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--darker);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--darker);
  transform: translateY(-5px);
}

/* ========================================
   PAGE HEADER (Privacy & Creators Pages)
   ======================================== */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--darker));
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.page-header h1 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(245, 245, 245, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   SECTIONS & CONTENT
   ======================================== */
section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: rgba(245, 245, 245, 0.7);
}

.section-block {
  margin-bottom: 5rem;
}

.section-block h2 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

/* ========================================
   ABOUT SECTION (Landing Page)
   ======================================== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  margin-bottom: 3rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: rgba(245, 245, 245, 0.8);
}

.about-text strong {
  color: var(--primary);
  font-size: 1.3rem;
  display: block;
  margin: 2rem 0 1rem 0;
}

.about-gif {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16/9;
  background: var(--dark);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.screenshot-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/9;
  background: var(--dark);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  border-radius: 50%;
  top: -100px;
  left: -100px;
}

.cta-section h3 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(245, 245, 245, 0.8);
}

/* ========================================
   PRIVACY PAGE SPECIFIC STYLES
   ======================================== */
.privacy-content h2 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.privacy-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.privacy-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(245, 245, 245, 0.8);
}

.privacy-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.privacy-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  color: rgba(245, 245, 245, 0.8);
}

.privacy-content strong {
  color: var(--primary);
}

.privacy-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.last-updated {
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

/* ========================================
   CREATORS PAGE SPECIFIC STYLES
   ======================================== */
.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.8);
  margin-bottom: 1.5rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text strong {
  color: var(--primary);
}

.game-info {
  background: var(--dark);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-item h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.info-item p {
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.6;
  font-size: 1.05rem;
}

.info-item ul {
  list-style: none;
  padding: 0;
}

.info-item li {
  color: rgba(245, 245, 245, 0.8);
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.info-item li:before {
  content: "▸ ";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

.description-text {
  background: rgba(212, 175, 55, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin-top: 2rem;
}

.description-text p {
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.description-text p:last-child {
  margin-bottom: 0;
}

.description-text h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.asset-card {
  background: var(--dark);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.asset-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.asset-preview {
  width: 100%;
  height: 200px;
  background: var(--darker);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
}

.asset-preview img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.asset-preview i {
  font-size: 4rem;
  color: var(--primary);
}

.asset-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.asset-card p {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.download-btn {
  background: linear-gradient(135deg, var(--primary), #b8922e);
  color: var(--darker);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.download-btn i {
  font-size: 1.2rem;
}

.contact-section {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-section h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'IM Fell DW Pica SC', serif;
}

.contact-section p {
  color: rgba(245, 245, 245, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}

.contact-btn:hover {
  background: var(--primary);
  color: var(--darker);
  transform: translateY(-2px);
}

.contact-btn i {
  font-size: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--darker);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Hero adjustments for mobile */
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 4rem;
  }

  .hero-content {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    z-index: 2;
    background: var(--darker);
    width: 100%;
    padding: 3rem 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .privacy-content h2 {
    font-size: 1.75rem;
  }

  .section-block h2 {
    font-size: 2rem;
  }

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

  .contact-links {
    flex-direction: column;
  }
}