@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

:root {
  --primary: #FFD700;
  --accent: #5c4fcb;
  --bg-gradient: linear-gradient(rgb(28,55,105), rgb(92,79,203));
  --text: #fff;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lilita One', cursive;
  color: var(--text);
  background: var(--bg-gradient);
  line-height: 1.6;
}

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

h1, h2 {
  color: var(--primary);
}

/* Sections */
.section {
  padding: 15px 20px; /* tighter spacing overall */
  text-align: center;
}
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 8px; /* reduced margin */
}
.section p {
  max-width: 800px;
  margin: 0 auto 15px; /* smaller spacing */
  font-size: 1.2rem;
}
@media (min-width: 1024px) {
  .section {
    padding: 20px 20px; /* controlled spacing on desktop */
  }
}

/* Smooth scroll offset for sections */
#about, #games {
  scroll-margin-top: 70px; /* slightly smaller offset */
}

/* Privacy/document pages */
.doc-page {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: left;
  line-height: 1.7;
}
.doc-page h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.doc-page h2 {
  font-size: 1.8rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--primary);
}
.doc-page p, .doc-page li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.doc-page ul {
  margin-left: 20px;
  padding-left: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: black;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
}

/* Header + nav */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2); /* separator line */
}
.site-header img {
  height: 70px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.1rem;
}
nav ul li a:hover {
  color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
}

/* Hero */
.hero {
  text-align: center;
  padding: 10px 20px 10px; /* tighter vertical padding */
}
.hero h1 {
  font-size: 5rem;
  white-space: nowrap;     /* 🚀 prevents line breaks */
  overflow: hidden;        /* hides overflow if any */
  text-overflow: ellipsis; /* optional */
  text-align: center;
  line-height: 1.1;
  margin: 15px 0;          /* reduced gap above/below */
}
@media (min-width: 1440px) {
  .hero h1 {
    font-size: 6rem;
  }
}
/* Hero tagline sub-heading */
.tagline-sub {
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--primary);
  margin-top: 8px;
  text-align: center;
}
@media (max-width: 768px) {
  .tagline-sub {
    font-size: 1.1rem;
  }
}

/* Footer */
.site-footer {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 5px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-info {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.footer-info > div {
  display: flex;
  flex-direction: column;
  min-width: 130px;
}
.footer-info h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}
@media (min-width: 1024px) {
  .footer-info h3 {
    font-size: 1.4rem;
  }
}

/* Footer logo text */
.footer-logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary);
}
@media (min-width: 1024px) {
  .footer-logo {
    font-size: 2rem;
  }
}

/* Footer links */
.footer-info a {
  color: var(--primary);
  text-decoration: none;
}
.footer-info a:visited {
  color: var(--primary);
}
.footer-info a:hover {
  color: white;
}

/* Footer mobile layout */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .site-footer p {
    text-align: center;
    width: 100%;
  }
}

/* Mobile nav + hero text */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 65px;
    right: 20px;
    z-index: 10;
  }
  nav.show { display: flex; }
  nav ul { flex-direction: column; gap: 18px; }
  .hamburger { display: block; }

  /* Hero text smaller on mobile, always single line */
  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
}

/* Global link styling */
a {
  color: var(--primary);
  text-decoration: none;
}
a:visited {
  color: var(--primary);
}
a:hover {
  color: white;
}
