/* ==============================
   ROOT VARIABLES
   ============================== */
:root {
  --bg: #5d2e17;
  --heading: #ffac1a;
  --text: #ffedce;
  --accent: #ffac1a;
  --btn-bg: #ffac1a;
  --btn-text: #0a0028;
  --btn-hover: #ffedce;
  --glow: rgba(255,172,26,0.5);
  --radius: 14px;
  --transition: all .25s ease-in-out;
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Roboto", sans-serif;
}

/* ==============================
   BODY
   ============================== */
body.pinekaly-top {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==============================
   HEADINGS
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  text-shadow: 0 0 4px var(--glow);
  letter-spacing: 1px;
}

/* ==============================
   LINKS
   ============================== */
a { text-decoration: none; transition: var(--transition);}
a:hover { color: var(--btn-hover);}

/* ==============================
   NAVBAR
   ============================== */
.pinekaly-top-navbar {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,172,26,0.2);
}
.pinekaly-top-navbar .site-logo {
  height: 70px;
}
/* Center logo and navbar links */
.pinekaly-top-navbar .navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pinekaly-top-navbar .navbar-nav {
  justify-content: center;
  width: 100%;
}

.pinekaly-top-navbar .nav-link {
  color: var(--text) !important;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.pinekaly-top-navbar .nav-link.active,
.pinekaly-top-navbar .nav-link:hover {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent);
}

/* Mobile adjustments */
@media (max-width:768px) {
  .pinekaly-top-navbar .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
  .pinekaly-top-navbar .navbar-toggler {
    align-self: center;
  }
}

/* ==============================
   HERO
   ============================== */
.pinekaly-top-hero {
  height: 80vh;
  min-height: 600px;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  text-align: center;
  position: relative;
  padding: 0 20px; /* optional padding for small screens */
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-btn {
  padding: 12px 30px;
  margin: 0 5px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}

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

.btn-outline {
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
}

.btn-outline:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
}

/* ==============================
   DISCLAIMER CARD
   ============================== */
.pinekaly-top .disclaimer-card {
  background: linear-gradient(145deg, rgba(255,172,26,0.05), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,172,26,0.4);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), inset 0 0 15px rgba(255,172,26,0.2);
  backdrop-filter: blur(8px);
  max-width: 900px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pinekaly-top .disclaimer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,172,26,0.3);
}
.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--heading);
  text-shadow: 0 0 8px rgba(255,172,26,0.7);
}
.disclaimer-text {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
}


/* ==============================
   GAMES
   ============================== */
.pinekaly-top-games .game-card {
  max-width: 900px;          /* Limit game card width */
  margin: 0 auto 2rem;       /* Center and spacing below */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255,172,26,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255,172,26,0.05); /* subtle highlight */
}



.game-frame {
  position: relative;
  padding-top: 56.25%;       /* 16:9 aspect ratio */
}

.game-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}


/* ==============================
   FEATURES
   ============================== */
.pinekaly-top #features {
  background: #5d2e17;
  padding: 80px 0;
}

.pinekaly-top .section-title {
  font-size: 2.75rem;
  color: #ffac1a;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255,172,26,0.6);
  margin-bottom: 1rem;
}

.pinekaly-top .section-text {
  font-size: 1.15rem;
  color: #ffedce;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.pinekaly-top .feature-card {
  background: rgba(255,172,26,0.08);
  border: 1px solid rgba(255,172,26,0.3);
  border-radius: 18px;
  padding: 2rem 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pinekaly-top .feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 35px rgba(255,172,26,0.5);
  background: rgba(255,172,26,0.15);
}

.pinekaly-top .feature-icon {
  font-size: 2.5rem;
  color: #ffac1a;
  margin-bottom: 1rem;
  display: block;
}

.pinekaly-top .feature-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffac1a;
  margin-bottom: 0.5rem;
}

.pinekaly-top .feature-card p {
  font-size: 0.95rem;
  color: #ffedce;
  line-height: 1.5;
}


/* ==============================
   ABOUT
   ============================== */
.pinekaly-top-about .about-img { border-radius: var(--radius); }
.section-text { margin-bottom: 1rem; }

/* ==============================
   REVIEWS / TESTIMONIALS
   ============================== */
.pinekaly-top #reviews {
  background: #5d2e17;
  padding: 80px 0;
}

.pinekaly-top #reviews .section-title {
  font-size: 2.5rem;
  color: #ffac1a;
  text-shadow: 0 0 6px rgba(255,172,26,0.6);
}

.pinekaly-top #reviews .section-text {
  color: #ffedce;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.pinekaly-top .review-card {
  background: rgba(255,172,26,0.08);
  border: 1px solid rgba(255,172,26,0.3);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pinekaly-top .review-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 30px rgba(255,172,26,0.5);
  background: rgba(255,172,26,0.15);
}

.pinekaly-top .review-text {
  font-size: 1rem;
  color: #ffedce;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pinekaly-top .reviewer-name {
  font-size: 0.95rem;
  color: #ffac1a;
  font-weight: 600;
}


/* ==============================
   CONTACT
   ============================== */
.input-field {
  border-radius: var(--radius);
  background: #3a1f0d;   /* Dark field background */
  color: #ffedce;        /* Light text */
  border: 1px solid rgba(255,172,26,0.4); /* subtle accent border */
  padding: 10px 15px;
  transition: var(--transition);
}

.input-field::placeholder {
  color: rgba(255,237,206,0.7); /* slightly muted placeholder */
}

.input-field:focus {
  outline: none;
  border-color: #ffac1a;
  box-shadow: 0 0 10px rgba(255,172,26,0.4);
  background: #4b2613;  /* slightly lighter on focus */
}

.contact-form button {
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 12px 30px;
  font-weight: 600;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255,172,26,0.4);
}

/* ==============================
   FOOTER
   ============================== */
.pinekaly-top-footer {
  background: #5d2e17;
  color: #ffedce;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  z-index: 1;
}

.pinekaly-top-footer .footer-logo {
  height: 80px;
  filter: drop-shadow(0 0 8px rgba(255,172,26,0.6));
}

.pinekaly-top-footer .footer-links {
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.pinekaly-top-footer .footer-links li {
  display: inline-block;
  margin: 0 10px;
}

.pinekaly-top-footer .footer-links a {
  color: #ffedce;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.pinekaly-top-footer .footer-links a:hover,
.pinekaly-top-footer .footer-links a.active {
  color: #ffac1a;
  border-bottom: 2px solid #ffac1a;
}

.pinekaly-top-footer .footer-disclaimer-heading {
  font-size: 1.25rem;
  color: #ffac1a;
  text-shadow: 0 0 4px rgba(255,172,26,0.5);
  margin-bottom: 1rem;
}

.pinekaly-top-footer .footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.7;
  font-size: 0.9rem;
  color: #ffedce;
}

.pinekaly-top-footer a {
  color: #ffac1a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
}

.pinekaly-top-footer a:hover {
  color: #ffedce;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .pinekaly-top-footer .footer-links li {
    display: block;
    margin: 8px 0;
  }

  .pinekaly-top-footer .footer-disclaimer {
    font-size: 0.85rem;
    padding: 0 15px;
  }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width:768px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .navbar-nav { text-align: center; }
  .feature { margin-bottom: 15px; }
}


/* ==============================
   DISCLAIMER POPUP
   ============================== */
.disclaimer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.disclaimer-card-popup {
  max-width: 500px;
  background: #5d2e17;
  color: #ffedce;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255,172,26,0.5);
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}

.disclaimer-card-popup h2 {
  color: #ffac1a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px rgba(255,172,26,0.6);
}

.disclaimer-card-popup p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.disclaimer-card-popup .popup-actions button {
  margin: 0 10px;
  padding: 10px 25px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
}

.disclaimer-card-popup .btn-primary {
  background: #ffac1a;
  color: #0a0028;
  border: none;
}

.disclaimer-card-popup .btn-primary:hover {
  background: #ffedce;
  color: #0a0028;
}

.disclaimer-card-popup .btn-outline {
  background: transparent;
  color: #ffac1a;
  border: 2px solid #ffac1a;
}

.disclaimer-card-popup .btn-outline:hover {
  background: #ffac1a;
  color: #0a0028;
}

/* ==============================
   SCROLL TO TOP BUTTON
   ============================== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #ffac1a;
  color: #0a0028;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 0 15px rgba(255,172,26,0.6);
  transition: all 0.3s ease-in-out;
}

.scroll-top:hover {
  background: #ffedce;
  color: #0a0028;
}



/* ==============================
   LEGAL PAGES
   ============================== */
.legal-section {
  background: #5d2e17;
  color: #ffedce;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  padding-top: 80px;
  padding-bottom: 80px;
}

.legal-section h1.section-title {
  color: #ffac1a;
  font-size: 2.5rem;
  text-align: center;
  text-shadow: 0 0 6px rgba(255,172,26,0.5);
  margin-bottom: 2rem;
}

.legal-section h2.subheading {
  color: #ffac1a;
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 4px rgba(255,172,26,0.4);
}

.legal-section p.section-text {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-section a {
  color: #ffac1a;
  text-decoration: underline;
  transition: all 0.25s ease-in-out;
}

.legal-section a:hover {
  color: #ffedce;
}
