:root {
  /* Vibrant Game Studio Palette */
  --primary: #6366f1;
  /* Indigo/Violet */
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent-gold: #ffffff;
  /* Warm Honey */
  --accent-mint: #b095da;
  /* Emerald Mint */
  --accent-frog: #71C100;
  /* Signature Frog Green */
  --accent-cyan: #b095da;
  /* Electric Cyan */

  --text-main: #ffffff;
  --text-muted: #b095da;
  --bg-deep: #2e1065;
  /* Deepest Purple */
  --bg-gradient: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%);

  /* Game UI Tokens */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: 20px;
  --radius-lg: 32px;

  /* Bouncy Shadows */
  --shadow-bouncy: 0 10px 20px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--glass-border);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--primary);

  --transition-bouncy: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --hover-transform: translateY(-10px) scale(1.02);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 1.1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p {
  line-height: normal;
}
.display-hero {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #b095da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
}

a {
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(46, 16, 101, 0.4), rgba(46, 16, 101, 0.7)),
    url('../img/game-hero.webp') center/cover no-repeat;
  padding-top: 100px;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.card-app {
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition-smooth);
  height: 100%;
  box-shadow: var(--shadow-bouncy);
}

.card-app:hover {
  border-color: var(--primary);
  transform: var(--hover-transform);
  box-shadow: var(--shadow-hover);
}

.app-icon {
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}



.main-header {
  padding: 1.25rem 0;
  background: rgba(46, 16, 101, 0.7) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-bouncy);
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  transition: var(--transition-bouncy);
}

.nav-link:hover {
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Game Cards (Consolidated with above) */
.card-app:hover {
  border-color: var(--primary);
  transform: var(--hover-transform);
  box-shadow: var(--shadow-hover);
}

/* Bouncy Buttons */
.btn {
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  border-radius: 16px;
  transition: var(--transition-bouncy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
}

.btn-berry,
.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-berry {
  background: var(--accent-frog);
  color: white;
  border: none;
  box-shadow: 0 6px 0 #5da000;
}

.btn-berry:hover {
  background: #85d614;
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #5da000;
  color: white;
  text-decoration: none;
}

.btn-berry:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #5da000;
}

.btn-primary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--accent-glow);
  text-decoration: none;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(to bottom, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-accent {
  color: var(--accent-cyan) !important;
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}

.btn-outline-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--text-main);
  color: var(--text-main);
  text-decoration: none;
}

#values {
  background: url('../img/rocket-bgr.webp');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  position: relative;
  overflow: hidden;
}

#values::before,
#values::after {
  content: '';
  position: absolute;
  background-image: url('../img/star-bgr.webp');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

#values::before {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  transform: rotate(15deg);
  animation: float 8s ease-in-out infinite;
}

#values::after {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 10%;
  transform: rotate(-25deg);
  animation: float 10s ease-in-out infinite reverse;
}

#values .container {
  position: relative;
  z-index: 1;
}

#contact {
  background: url('../img/cta-bgr.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}


#contact .container {
  position: relative;
  z-index: 2;
}

#apps {
  background: transparent;
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}

#apps::before,
#apps::after {
  content: '';
  position: absolute;
  background-image: url('../img/star-bgr.webp');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

#apps::before {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 8%;
  transform: rotate(-20deg);
  animation: float 9s ease-in-out infinite;
}

#apps::after {
  width: 180px;
  height: 180px;
  bottom: 10%;
  left: 3%;
  transform: rotate(30deg);
  animation: float 12s ease-in-out infinite reverse;
}

#apps .container {
  position: relative;
  z-index: 1;
}

.card-app img.app-icon {
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.card-app:hover img.app-icon {
  transform: scale(1.05);
}

#services {

  color: var(--bg-deep);
}

#services .section-title {
  background: linear-gradient(to bottom, var(--bg-deep) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

#services .text-muted {
  color: #64748b !important;
}

#services .service-item {
  background: #faf6ff;
}

#services .service-item:hover {
  transform: var(--hover-transform);
  box-shadow: var(--shadow-hover);
}

#services .container {
  background: #ffffff;
  border-radius: 50px;
  padding: 50px;
}

.service-item {
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  height: 100%;
}

.service-item:hover {
  border-color: var(--primary);
  transform: var(--hover-transform);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: cover;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  transition: var(--transition-bouncy);
}

.service-item:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-cyan);
}

.value-text {
  flex-grow: 1;
}

.app-icon {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-accent {
  color: var(--accent) !important;
}

.ff-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 20px 0 20px;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-main);
  text-decoration: none;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative Stars */
.star-decoration {
  position: absolute;
  background-image: url('../img/star-bgr.webp');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* #apps section stars */
.star-1 {
  width: 90px;
  height: 90px;
  top: 5%;
  left: 15%;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}

.star-2 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 5%;
  transform: rotate(-15deg);
  animation: float 11s ease-in-out infinite reverse;
}

.star-3 {
  width: 140px;
  height: 140px;
  top: 70%;
  right: 20%;
  transform: rotate(60deg);
  animation: float 13s ease-in-out infinite;
}

.star-4 {
  width: 75px;
  height: 75px;
  top: 30%;
  left: 5%;
  transform: rotate(-30deg);
  animation: float 9s ease-in-out infinite reverse;
}

/* #values section stars */
.star-5 {
  width: 110px;
  height: 110px;
  top: 25%;
  right: 10%;
  transform: rotate(20deg);
  animation: float 10s ease-in-out infinite;
}

.star-6 {
  width: 85px;
  height: 85px;
  bottom: 20%;
  right: 5%;
  transform: rotate(-40deg);
  animation: float 8s ease-in-out infinite reverse;
}

.star-7 {
  width: 130px;
  height: 130px;
  top: 60%;
  left: 2%;
  transform: rotate(10deg);
  animation: float 14s ease-in-out infinite;
}

@media (max-width: 576px) {}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    display: block;
  }

  .d-md-grid {
    display: grid;
  }

  #apps {
    padding-bottom: 0;
  }
}


@media (max-width: 992px) {}

@media (max-width: 1200px) {}

@media (max-width: 1400px) {}