/* CSS Variables for Color Scheme */
:root {
  --primary-orange: #ff6000;
  --secondary-orange: #ff8c42;
  --accent-orange: #ffa500;
  --dark-bg: #1b1b1b;
  --darker-bg: #000000;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --gradient-orange: linear-gradient(135deg, #ff6000, #ff8c42);
  --gradient-dark: linear-gradient(135deg, #1b1b1b, #000000);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--darker-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1.1rem;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.6);
  z-index: 1000;
  padding: 1rem;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu li a.active {
  color: var(--primary-orange);
}
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-orange);
}

.logo-img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-orange);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-orange);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-text-positioned h1 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: 4px;
}

.hero-text-positioned h2 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.hero-text-positioned p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button-hero {
  background: #000000;
  border: 1px solid transparent;
  padding: 0.6rem 4rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-light);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cta-button-hero:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 96, 0, 0.4);
}

.cta-button {
  background: var(--gradient-orange);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero-background-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
}

.hero-text-positioned {
  text-align: right;
  max-width: 500px;
  margin-right: 0;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
}

/* Soccer Ball Animation */
.soccer-ball {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.ball {
  width: 200px;
  height: 200px;
  background: #ffffff;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pentagon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--dark-bg);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.pentagon:nth-child(1) {
  transform: rotate(0deg) translateY(-60px);
}
.pentagon:nth-child(2) {
  transform: rotate(72deg) translateY(-60px);
}
.pentagon:nth-child(3) {
  transform: rotate(144deg) translateY(-60px);
}
.pentagon:nth-child(4) {
  transform: rotate(216deg) translateY(-60px);
}
.pentagon:nth-child(5) {
  transform: rotate(288deg) translateY(-60px);
}

.flames {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.flame {
  position: absolute;
  width: 20px;
  height: 40px;
  background: var(--gradient-orange);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flicker 1s ease-in-out infinite alternate;
}

.flame-1 {
  left: -40px;
  animation-delay: 0s;
}
.flame-2 {
  left: -20px;
  animation-delay: 0.2s;
}
.flame-3 {
  left: 0px;
  animation-delay: 0.4s;
}
.flame-4 {
  left: 20px;
  animation-delay: 0.6s;
}
.flame-5 {
  left: 40px;
  animation-delay: 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes flicker {
  0% {
    transform: scale(1) rotate(-2deg);
  }
  100% {
    transform: scale(1.1) rotate(2deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 2;
  text-decoration: none;
}

.scroll-indicator span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.scroll-indicator i {
  font-size: 1.7rem;
  color: var(--text-light);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Styles */
.section {
  padding: 3rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.title-accent {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.section:nth-child(even) {
  background: var(--darker-bg);
}
#about .section-header {
  margin-bottom: 0;
}
/* How to Play Section */
.how-to-play-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.play-feature {
  display: flex;
  align-items: center;
  max-height: 400px;
}

.feature-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.feature-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.05);
}

.card-pack {
  position: relative;
  perspective: 1000px;
}

.card {
  width: 120px;
  height: 180px;
  background: var(--gradient-orange);
  border-radius: 15px;
  position: absolute;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.card-1 {
  transform: rotate(-15deg) translateX(-20px);
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.card-2 {
  transform: rotate(0deg);
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  z-index: 2;
}

.card-3 {
  transform: rotate(15deg) translateX(20px);
  background: linear-gradient(135deg, #2196f3, #03dac6);
}

.card-pack:hover .card-1 {
  transform: rotate(-25deg) translateX(-40px);
}

.card-pack:hover .card-3 {
  transform: rotate(25deg) translateX(40px);
}

.feature-text {
  background: #1b1b1b;
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-text h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.2;
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.about-text {
  background: #1b1b1b;
  padding: 5rem 2rem;
  border-radius: 40px;
  max-width: none;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-gray);
}

.about-text strong {
  color: var(--primary-orange);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  margin: -60px -70px 0 0;
}

.about-image:hover {
  transform: scale(1.05);
}

/* Mini Games Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 3rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 20px;
  background-color: var(--primary-orange);
  text-align: center;
  border-radius: 25px;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: var(--primary-orange);
  background-color: var(--secondary-orange);
}
.carousel {
  width: 90%;
  margin: 0px auto;
}
.slick-slide {
  margin: 30px 20px;
}
.slick-slide img {
  width: 100%;
}
.slick-prev.slick-arrow {
  left: 50px;
}
.slick-next.slick-arrow {
  right: 50px;
}
.slick-arrow {
  background-color: transparent;
  border: none;
  position: absolute;
  top: 50%;
}
.slick-prev.slick-arrow img,
.slick-next.slick-arrow img {
  height: 40px;
  width: 40px;
  cursor: pointer;
}
.game-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.game-icon i {
  font-size: 2rem;
  color: var(--text-light);
}

.game-image {
  border-radius: 15px;
  margin: 0;
  object-fit: cover;
  height: 420px;
}

.game-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.game-card p {
  color: var(--text-light);
  font-size: 1rem;
}
.game-card div {
  padding: 5px;
}

.games-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav-btn {
  width: 50px;
  height: 50px;
  background: var(--gradient-orange);
  border: none;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  transform: scale(1.1);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

/* Download Section */
.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: flex-start;
}

.download-text {
  background: #1b1b1b;
  padding: 3rem 1.5rem;
  border-radius: 40px;
  max-width: none;
  margin-top: 40px;
}

.download-visual {
  display: flex;
  justify-content: center;
}

.app-mockup {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.app-mockup:hover {
  transform: scale(1.05);
}

.download-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.download-text strong {
  color: var(--primary-orange);
}

.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 40px 0 30px;
}

.download-btn {
  display: inline-block;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.download-btn:hover {
  transform: translateY(-3px);
}

.download-btn img {
  height: 60px;
  width: auto;
  border-radius: 10px;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 0 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.hline {
  border-top: 2px solid var(--secondary-orange);
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-orange);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-section ul li {
  margin-bottom: 0;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-orange);
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-social-label {
  color: var(--text-light);
  font-weight: 500;
  margin-right: 0.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 35px;
  height: 35px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  color: var(--primary-orange);
}

/* Download Modal Styles */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.download-modal-content {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border: 1px solid #333;
}

.download-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

.download-modal-header h3 {
  color: var(--primary-orange);
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--primary-orange);
}

.download-modal-body p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  text-align: center;
}

.platform-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-btn {
  display: block;
  transition: transform 0.3s ease;
}

.platform-btn:hover {
  transform: scale(1.05);
}

.platform-btn img {
  height: 60px;
  width: auto;
}

/* Page Transition Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Simple fade-in animation for elements */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Smooth page transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, var(--primary-orange), #ff8533);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
  transform: translateX(0);
}

.page-transition.exit {
  transform: translateX(100%);
}

/* Enhanced download button styles */
.download-btn {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.download-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--dark-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  .navbar {
    padding: 0.7rem 0;
  }
  .hero {
    align-items: flex-start;
  }
  .hero-text-positioned h1 {
    font-size: 2.5rem;
  }
  .hero-text-positioned h2 {
    font-size: 3rem;
  }
  .cta-button-hero,
  .feature-text h3 {
    font-size: 1.5rem;
  }
  .feature-text,
  .about-text,
  .download-text {
    padding: 1rem;
  }
  .about-image {
    margin: 0;
  }
  .slick-next.slick-arrow {
    right: 10px;
  }
  .slick-prev.slick-arrow img,
  .slick-next.slick-arrow img {
    height: 30px;
    width: 30px;
  }

  .slick-prev.slick-arrow {
    left: 10px;
  }

  .play-feature {
    max-height: none;
    flex-direction: column;
  }
  .hero-content-overlay {
    padding-right: 0;
    justify-content: center;
  }
  .hero-text-positioned {
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .download-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .download-buttons,
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  .hero-text-positioned h2 {
    font-size: 2rem;
  }
  .hero-text h1,
  .section-header h2 {
    font-size: 1.7rem;
  }
  .title-accent {
    height: 25px;
  }

  .section {
    padding: 2rem 0;
  }
  .ball {
    width: 150px;
    height: 150px;
  }

  .pentagon {
    width: 30px;
    height: 30px;
  }
  .footer-section ul {
    gap: 1rem;
  }

  .pentagon:nth-child(1) {
    transform: rotate(0deg) translateY(-45px);
  }
  .pentagon:nth-child(2) {
    transform: rotate(72deg) translateY(-45px);
  }
  .pentagon:nth-child(3) {
    transform: rotate(144deg) translateY(-45px);
  }
  .pentagon:nth-child(4) {
    transform: rotate(216deg) translateY(-45px);
  }
  .pentagon:nth-child(5) {
    transform: rotate(288deg) translateY(-45px);
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}
