/* ================= HopGames.app Theme ================= */
:root {
    /* Primary Colors - Dark Theme with Purple/Pink/Blue Gradients */
    --hopgames-dark: #071917;
    --hopgames-deeper: #04120f;
    --hopgames-primary: #39d39b;
    --hopgames-secondary: #7bd5ff;
    --hopgames-accent: #ffd37d;
    --hopgames-orange: #ffc27a;
    --hopgames-blue: #69e0ff;
    --hopgames-light: #e9fff7;
    --hopgames-white: #ffffff;

    /* Gradients */
    --hopgames-gradient-primary: linear-gradient(135deg, #39d39b 0%, #7bd5ff 50%, #69e0ff 100%);
    --hopgames-gradient-dark: linear-gradient(135deg, #071917 0%, #04120f 100%);
    --hopgames-gradient-glow: linear-gradient(135deg, rgba(57,211,155,0.22) 0%, rgba(123,213,255,0.22) 50%, rgba(105,224,255,0.22) 100%);

    --hopgames-shadow: 0 8px 32px rgba(57,211,155,0.26);
    --hopgames-shadow-hover: 0 12px 40px rgba(255,211,125,0.34);
    --hopgames-transition: all 0.42s cubic-bezier(0.33, 0, 0.2, 1);



    /* Typography */
    --hopgames-font-primary: 'Orbitron', 'Arial Black', sans-serif;
    --hopgames-font-secondary: 'Exo 2', 'Segoe UI', sans-serif;

    /* Spacing & Effects */
    --hopgames-radius: 12px;
    --hopgames-border: 2px solid transparent;
}

/* ================= Global Styles ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--hopgames-font-secondary);
  background: var(--hopgames-gradient-dark);
  color: var(--hopgames-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Add padding for non-home pages to prevent navbar overlap */
body:not(.home-page) {
  padding-top: 120px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hopgames-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--hopgames-gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hopgames-secondary);
}

/* ================= Typography ================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hopgames-font-primary);
  font-weight: 700;
  color: var(--hopgames-white);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  background: var(--hopgames-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-sub {
  font-size: 1.2rem;
  color: var(--hopgames-light);
  opacity: 0.9;
  text-align: center;
  margin-bottom: 3rem;
}

/* ================= Navigation ================= */
.hopgames-navbar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.3);
  transition: var(--hopgames-transition);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.hopgames-navbar.scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: var(--hopgames-shadow);
}

.hopgames-logo {
  max-height: 80px;
  filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.5));
}

.hopgames-nav .nav-link {
  color: var(--hopgames-light);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem;
  border-radius: var(--hopgames-radius);
  transition: var(--hopgames-transition);
  position: relative;
}

.hopgames-nav .nav-link:hover,
.hopgames-nav .nav-link.active {
  color: var(--hopgames-white);
  background: var(--hopgames-gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--hopgames-shadow);
}

.hopgames-toggler {
  border: var(--hopgames-border);
  border-color: var(--hopgames-primary);
  border-radius: var(--hopgames-radius);
  background: transparent;
  color: var(--hopgames-primary);
}

.hopgames-toggler:focus {
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

/* ================= Hero Section ================= */
.hopgames-hero {
  background: var(--hopgames-gradient-dark);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hopgames-hero .row {
  width: 100%;
}

.hopgames-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hopgames-gradient-glow);
  opacity: 0.1;
  z-index: 1;
}

.hopgames-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
  animation: rotate-glow 20s linear infinite;
  z-index: 1;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hopgames-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hopgames-hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 30px rgba(108, 92, 231, 0.8);
    word-break: break-all;
}

.hopgames-hero-title span {
  background: var(--hopgames-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  0% { 
    filter: brightness(1);
    text-shadow: 0 0 20px rgba(253, 121, 168, 0.8);
  }
  100% { 
    filter: brightness(1.3);
    text-shadow: 0 0 40px rgba(253, 121, 168, 1);
  }
}

.hopgames-hero-sub {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 600px;
}

.hopgames-hero-text {
  position: relative;
  z-index: 3;
}

.hopgames-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.hopgames-hero-media {
  position: relative;
  perspective: 1000px;
  z-index: 1;
}

.hopgames-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--hopgames-radius);
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.4);
  transition: var(--hopgames-transition);
  transform: rotateY(5deg) rotateX(-2deg);
  border: 3px solid;
  border-image: var(--hopgames-gradient-primary) 1;
  position: relative;
  display: block;
}

.hopgames-hero-img:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: 0 30px 80px rgba(253, 121, 168, 0.6);
}

/* ================= Buttons ================= */
.hopgames-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--hopgames-gradient-primary);
  color: var(--hopgames-white);
  border: none;
  border-radius: var(--hopgames-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--hopgames-transition);
  box-shadow: var(--hopgames-shadow);
  position: relative;
  overflow: hidden;
  font-family: var(--hopgames-font-primary);
}

.hopgames-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.hopgames-btn:hover::before {
  left: 100%;
}

.hopgames-btn:hover {
  color: var(--hopgames-white);
  transform: translateY(-3px);
  box-shadow: var(--hopgames-shadow-hover);
}

.hopgames-btn-ghost {
  background: transparent;
  color: var(--hopgames-primary);
  border: 2px solid var(--hopgames-primary);
}

.hopgames-btn-ghost:hover {
  background: var(--hopgames-primary);
  color: var(--hopgames-white);
  border-color: var(--hopgames-primary);
}

/* ================= Game Section ================= */
.hopgames-game-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--hopgames-radius);
  overflow: hidden;
  background: var(--hopgames-deeper);
  border: 2px solid;
  border-image: var(--hopgames-gradient-primary) 1;
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.4);
}

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

.hopgames-game-info {
  background: rgba(26, 26, 46, 0.5);
  border-radius: var(--hopgames-radius);
  padding: 1.5rem;
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.hopgames-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--hopgames-gradient-glow);
  margin: 0 auto;
}

/* ================= Cards ================= */
.hopgames-card {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: var(--hopgames-radius);
  transition: var(--hopgames-transition);
  position: relative;
  overflow: hidden;
}

.hopgames-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hopgames-gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hopgames-card:hover::before {
  transform: scaleX(1);
}

.hopgames-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hopgames-shadow-hover);
  border-color: var(--hopgames-secondary);
}

/* ================= Features Section ================= */
.hopgames-features {
  padding: 5rem 0;
  background: var(--hopgames-deeper);
  position: relative;
}

.hopgames-feature {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.hopgames-feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--hopgames-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hopgames-feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--hopgames-white);
}

.hopgames-feature-text {
  color: var(--hopgames-light);
  opacity: 0.9;
}

/* ================= About Section ================= */
.hopgames-about {
  padding: 5rem 0;
  background: var(--hopgames-dark);
}

.hopgames-about-media {
  position: relative;
  text-align: center;
}

.hopgames-about-img {
  border-radius: var(--hopgames-radius);
  box-shadow: var(--hopgames-shadow);
  transition: var(--hopgames-transition);
}

.hopgames-about-img:hover {
  transform: scale(1.05);
  box-shadow: var(--hopgames-shadow-hover);
}

/* ================= Reviews Section ================= */
.hopgames-reviews {
  padding: 5rem 0;
  background: var(--hopgames-deeper);
}

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

.hopgames-review {
  padding: 2rem;
  position: relative;
}

.hopgames-review-head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.hopgames-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--hopgames-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--hopgames-white);
  margin-right: 1rem;
}

.hopgames-review-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.hopgames-review-text {
  color: var(--hopgames-light);
  font-style: italic;
}

/* ================= Footer ================= */
.hopgames-footer {
  background: var(--hopgames-dark);
  border-top: 1px solid rgba(108, 92, 231, 0.3);
  padding: 3rem 0 2rem 0;
}

.hopgames-footer-brand {
  display: inline-block;
  margin-bottom: 2rem;
}

.hopgames-footer-logo {
  max-height: 60px;
  filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.5));
}

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

.hopgames-footer-link {
  color: var(--hopgames-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--hopgames-transition);
}

.hopgames-footer-link:hover {
  color: var(--hopgames-secondary);
  text-decoration: underline;
}

.hopgames-footer-disclaimer {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: var(--hopgames-light);
  opacity: 0.8;
}

.hopgames-footer-copy {
  text-align: center;
  color: var(--hopgames-light);
  opacity: 0.7;
}

/* ================= Game Section ================= */
.hopgames-game {
  padding: 5rem 0;
  background: var(--hopgames-deeper);
}

.hopgames-game-frame {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--hopgames-radius);
  overflow: hidden;
  box-shadow: var(--hopgames-shadow-hover);
  border: 2px solid;
  border-image: var(--hopgames-gradient-primary) 1;
}

.hopgames-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.hopgames-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ================= Age Popup ================= */
.hopgames-age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.hopgames-age-popup.show {
  display: flex;
}

.hopgames-age-dialog {
  max-width: 500px;
  margin: 2rem;
  text-align: center;
}

.hopgames-age-title {
  color: var(--hopgames-white);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hopgames-age-text {
  color: var(--hopgames-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

/* ================= Scroll to Top ================= */
.hopgames-scrolltop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--hopgames-gradient-primary);
  color: var(--hopgames-white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--hopgames-shadow);
  transition: var(--hopgames-transition);
  z-index: 1000;
}

.hopgames-scrolltop:hover {
  transform: translateY(-3px);
  box-shadow: var(--hopgames-shadow-hover);
  color: var(--hopgames-white);
}

/* ================= Page Content Spacing ================= */
.container.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.hopgames-game {
  padding-top: 4rem !important;
}

/* ================= Responsive Design ================= */
@media (max-width: 991px) {
  .hopgames-hero .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
  
  .hopgames-hero-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hopgames-hero .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  
  .hopgames-hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero-sub {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero-text {
    text-align: center;
    margin-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .hopgames-hero-img {
    transform: none;
    border-width: 2px;
  }
  
  .hopgames-hero-img:hover {
    transform: scale(1.01);
  }
  
  .hopgames-hero .row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .hopgames-hero .col-lg-6:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hopgames-hero-media {
    margin-top: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hopgames-game-info {
    padding: 1rem;
  }
  
  .hopgames-game-info .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hopgames-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .hopgames-reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .hopgames-footer-nav {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hopgames-hero {
    padding-top: 100px;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hopgames-hero .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hopgames-hero-title {
    font-size: 2.2rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hopgames-hero-sub {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero-text {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hopgames-hero .col-lg-6:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hopgames-hero .col-lg-6 {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hopgames-navbar {
    padding: 0.5rem 0;
  }
  
  .hopgames-logo {
    max-height: 65px;
  }
  
  /* Adjust padding for mobile on non-home pages */
  body:not(.home-page) {
    padding-top: 100px;
  }
  
  .hopgames-age-dialog {
    margin: 1rem;
  }
}

/* ================= Animation Classes ================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow-effect {
  filter: drop-shadow(0 0 20px rgba(108, 92, 231, 0.6));
}

/* ================= Google Fonts Import ================= */
@import url('../css2');