/* ================= getgamebox.fun Theme ================= */
:root {
    /* Primary Colors - Dark Theme with Purple/Pink/Blue Gradients */
    --gamephoria-dark: #B07174;
    --gamephoria-deeper: #48B5BE;
    --gamephoria-primary: #5E738E;
    --gamephoria-secondary: #C675C1;
    --gamephoria-accent: #3890A7;
    --gamephoria-orange: ##6A9463;
    --gamephoria-blue: ##6F6676;
    --light: #3F8D41;
    --white: #ffffff;

    /* Gradients */
    --gamephoria-gradient-primary: linear-gradient(135deg, var(--gamephoria-primary) 0%, var(--gamephoria-accent) 50%, var(--gamephoria-secondary) 100%);
    --gamephoria-gradient-dark: linear-gradient(135deg, var(--gamephoria-deeper) 0%, #090412 100%);
    --gamephoria-gradient-glow: linear-gradient(135deg, rgba(166, 242, 255, 0.22) 0%, rgba(123,213,255,0.22) 50%, rgba(105,224,255,0.22) 100%);

    --gamephoria-shadow: 0 8px 32px rgba(255, 200, 200, 0.26);
    --gamephoria-shadow-hover: 0 12px 40px rgba(255, 200, 200, 0.34);
    --gamephoria-transition: all 0.42s cubic-bezier(0.33, 0, 0.2, 1);



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

    /* Spacing & Effects */
    --gamephoria-radius: 9px;
    --gamephoria-border: 2px solid transparent;
}

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

body {
  font-family: var(--gamephoria-font-secondary);
  background: var(--gamephoria-gradient-dark);
  color: #ffffff;
  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(--gamephoria-darker);
}

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

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

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

/* Ensure all text elements are white */
p, span, div, label, li, td, th, a, small, .form-label, .form-text, .form-check-label, .badge, .alert {
  color: #ffffff !important;
}

/* Links should be white by default, but can be overridden for special cases */
a {
  color: #ffffff;
}

/* Keep primary color for special links only */
a[style*="--gamephoria-primary"] {
  color: var(--gamephoria-primary) !important;
}

.section-title {
  font-size: 2.41rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-sub {
  font-size: 1.15rem;
  color: #ffffff;
  opacity: 0.94;
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

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

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

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

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

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

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

.gamephoria-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); }
}

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

.gamephoria-hero-title {
  font-size: 3.26rem;
  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;
  color: var(--white);
}

.gamephoria-hero-title span {
  color: var(--white);
  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);
  }
}

.gamephoria-hero-sub {
  font-size: 1.53rem;
  margin-bottom: 2.5rem;
  opacity: 0.91;
  font-weight: 400;
  max-width: 600px;
}

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

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

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

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

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

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

.gamephoria-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gamephoria-feature {
  text-align: center;
  padding: 2.2rem;
  height: 100%;
}

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

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

.gamephoria-feature-text {
  color: #ffffff;
  opacity: 0.9;
}

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

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

.gamephoria-about-img {
  border-radius: var(--gamephoria-radius);
  transition: var(--gamephoria-transition);
}

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

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

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

.gamephoria-review {
  padding: 2.15rem;
  position: relative;
}

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

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

.gamephoria-review-name {
  font-size: 1.29rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.gamephoria-review-text {
  color: #ffffff;
  font-style: italic;
}

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

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

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

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

.gamephoria-footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: var(--gamephoria-transition);
}

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

.gamephoria-footer-disclaimer {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #ffffff;
  opacity: 0.79;
}

.gamephoria-footer-copy {
  text-align: center;
  color: #ffffff;
  opacity: 0.7;
}

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

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

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

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

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

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

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

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

.gamephoria-age-text {
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .gamephoria-hero .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  
  .gamephoria-hero-title {
    font-size: 2.73rem;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  .gamephoria-hero-sub {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  .gamephoria-hero-text {
    text-align: center;
    margin-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .gamephoria-hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .gamephoria-hero-img {
    transform: none;
    border-width: 2px;
  }
  
  .gamephoria-hero-img:hover {
    transform: scale(0.99);
  }
  
  .gamephoria-hero .row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .gamephoria-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;
  }
  
  .gamephoria-hero .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .gamephoria-hero-media {
    margin-top: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gamephoria-game-info {
    padding: 1.08rem;
  }
  
  .gamephoria-game-info .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2.16rem;
  }
  
  .gamephoria-btn {
    padding: 0.7rem 2rem;
    font-size: 1.07rem;
  }
  
  .gamephoria-reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .gamephoria-footer-nav {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .gamephoria-hero {
    padding-top: 100px;
    padding-left: 0;
    padding-right: 0;
  }
  
  .gamephoria-hero .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gamephoria-hero-title {
    font-size: 2.22rem;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .gamephoria-hero-sub {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .gamephoria-hero-text {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  
  .gamephoria-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;
  }
  
  .gamephoria-hero .col-lg-6 {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gamephoria-navbar {
    padding: 0.54rem 0;
  }
  
  .gamephoria-logo {
    max-height: 65px;
  }
  
  /* Adjust padding for mobile on non-home pages */
  body:not(.home-page) {
    padding-top: 100px;
  }
  
  .gamephoria-age-dialog {
    margin: 1.05rem;
  }
}

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

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

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

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