:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --dark-bg: #0f0f23;
  --darker-bg: #0a0a1a;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Exo 2", sans-serif;
  background: radial-gradient(
      ellipse at top left,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at center,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 70%
    ),
    linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-size: 16px; /* Base font size for better readability */
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Performance optimized animations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* Navbar with glassmorphism */
.navbar {
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 15, 35, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-secondary) !important;
  margin-right: 1rem;
  font-size: 1.125rem; /* Increased from 1.1rem to 18px */
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

/* Redesigned Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  padding-top: 70px;
  box-sizing: border-box;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem;
  min-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px);
}

.hero-content {
  text-align: left;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem); /* Increased minimum from 2.5rem */
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 2rem); /* Increased minimum from 1.1rem */
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.4;
}

.hero-description {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); /* Increased minimum from 1rem */
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary-hero {
  padding: 1rem 2.5rem;
  font-size: clamp(1.125rem, 1.2vw, 1.25rem); /* Increased minimum font size */
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  color: var(--text-primary);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  white-space: nowrap;
}

.btn-secondary-hero {
  padding: 1rem 2.5rem;
  font-size: clamp(1.125rem, 1.2vw, 1.25rem); /* Increased minimum font size */
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-primary);
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary-hero:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-game-preview {
  width: 100%;
  max-width: 450px;
  height: 350px;
  background: var(--glass-bg);
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.game-preview-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
}

.game-preview-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.game-preview-icon {
  font-size: 3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

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

@keyframes titleGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
  }
  100% {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
  }
}

.game-preview-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.game-preview-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: floatElements 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes floatElements {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Social Icons */
.social-icons a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
}

/* Background Canvas - optimized */
#backgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: transparent;
}

/* Enhanced Full-Screen Loading with Spectacular Design */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(
      ellipse at top left,
      rgba(99, 102, 241, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(236, 72, 153, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at center,
      rgba(139, 92, 246, 0.2) 0%,
      transparent 70%
    ),
    linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 100vh;
  max-height: 100vh;
}

/* Animated Background Particles */
.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 8s infinite linear;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 20%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 30%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 40%;
  animation-delay: 0.5s;
}
.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  left: 50%;
  animation-delay: 1.5s;
}
.particle:nth-child(6) {
  width: 6px;
  height: 6px;
  left: 60%;
  animation-delay: 3s;
}
.particle:nth-child(7) {
  width: 3px;
  height: 3px;
  left: 70%;
  animation-delay: 2.5s;
}
.particle:nth-child(8) {
  width: 5px;
  height: 5px;
  left: 80%;
  animation-delay: 4s;
}
.particle:nth-child(9) {
  width: 4px;
  height: 4px;
  left: 90%;
  animation-delay: 0.8s;
}
.particle:nth-child(10) {
  width: 6px;
  height: 6px;
  left: 95%;
  animation-delay: 3.5s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Main Loading Content */
.loading-content {
  text-align: center;
  color: var(--text-primary);
  z-index: 2;
  position: relative;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: contentFloat 4s ease-in-out infinite;
  width: 90vw;
  max-width: 500px;
  min-height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Enhanced Logo with Multiple Effects */
.loading-logo {
  font-size: clamp(1.8rem, 8vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--primary-color) 0%,
    var(--accent-color) 25%,
    var(--secondary-color) 50%,
    var(--primary-color) 75%,
    var(--accent-color) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: logoGradientShift 3s ease-in-out infinite,
    logoGlow 2s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  line-height: 1.1;
}

.loading-logo::before {
  content: "JACK OF SPACE";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* filter: blur(10px); */
  opacity: 0.7;
  z-index: -1;
  animation: logoBlur 3s ease-in-out infinite;
}

@keyframes logoGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes logoBlur {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

/* Revolutionary Spinner Design */
.loading-spinner-container {
  position: relative;
  width: clamp(60px, 15vw, 100px);
  height: clamp(60px, 15vw, 100px);
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.loading-spinner-ring {
  position: absolute;
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.loading-spinner-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  animation: spinnerRotate 2s linear infinite;
}

.loading-spinner-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--accent-color);
  border-left: 2px solid var(--accent-color);
  animation: spinnerRotate 1.5s linear infinite reverse;
}

.loading-spinner-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border: 2px solid transparent;
  border-top: 2px solid var(--secondary-color);
  border-right: 2px solid var(--secondary-color);
  animation: spinnerRotate 1s linear infinite;
}

.loading-spinner-ring:nth-child(4) {
  width: 25%;
  height: 25%;
  top: 37.5%;
  left: 37.5%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  animation: centerPulse 1.5s ease-in-out infinite;
}

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

@keyframes centerPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* Enhanced Loading Text with Typewriter Effect */
.loading-text {
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
  animation: textPulse 2s ease-in-out infinite;
  position: relative;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  line-height: 1.3;
}

.loading-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color),
    transparent
  );
  animation: lineExpand 2s ease-in-out infinite;
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: translateY(0px);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes lineExpand {
  0%,
  100% {
    width: 20px;
    opacity: 0.5;
  }
  50% {
    width: 100px;
    opacity: 1;
  }
}

/* Enhanced Dots Animation */
.loading-dots {
  display: inline-block;
  position: relative;
}

.loading-dots::after {
  content: "";
  animation: dotsAnimation 1.5s infinite;
}

/* Floating Icons Around Loading */
.loading-float-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  color: var(--primary-color);
  font-size: 1.5rem;
  opacity: 0.3;
  animation: floatIcon 6s ease-in-out infinite;
}

.float-icon:nth-child(1) {
  top: 15%;
  left: 15%;
  animation-delay: 0s;
  color: var(--primary-color);
}

.float-icon:nth-child(2) {
  top: 20%;
  right: 20%;
  animation-delay: 1s;
  color: var(--accent-color);
}

.float-icon:nth-child(3) {
  bottom: 25%;
  left: 25%;
  animation-delay: 2s;
  color: var(--secondary-color);
}

.float-icon:nth-child(4) {
  bottom: 30%;
  right: 15%;
  animation-delay: 3s;
  color: var(--primary-color);
}

.float-icon:nth-child(5) {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
  color: var(--accent-color);
}

.float-icon:nth-child(6) {
  top: 60%;
  right: 8%;
  animation-delay: 5s;
  color: var(--secondary-color);
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg) scale(1.1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-10px) rotate(180deg) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-30px) rotate(270deg) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes logoGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
  }
}

@keyframes dotsAnimation {
  0%,
  20% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75%,
  100% {
    content: "...";
  }
}

/* Loading Status Bar */
.loading-status {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
}

.loading-status-text {
  font-size: clamp(0.8rem, 3vw, 0.95rem);
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.loading-progress-bar {
  width: 100%;
  max-width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  animation: progressPulse 2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes progressPulse {
  0% {
    transform: scaleX(0.3);
    opacity: 0.8;
  }
  50% {
    transform: scaleX(0.7);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.9);
    opacity: 0.8;
  }
}

/* Enhanced Footer */
footer {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    rgba(15, 15, 35, 0.95) 50%,
    var(--dark-bg) 100%
  );
  color: var(--text-secondary);
  padding: 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
}

.footer-content {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-about {
  max-width: 400px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: "▶";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(15px);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-platforms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-secondary);
}

.platform-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.platform-link-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.platform-link:hover .platform-link-icon {
  transform: scale(1.1);
}

.platform-link-content h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
}

.platform-link-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 0 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-social-icons {
    gap: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .platform-link {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .platform-link-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .hero-section {
    padding: 0.8rem 0.3rem;
    padding-top: 80px;
    padding-bottom: 1.5rem;
  }

  .hero-container {
    padding: 0.3rem;
    gap: 1.2rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 12vw, 2.4rem);
    margin-bottom: 0.6rem;
  }

  .hero-buttons {
    gap: 0.6rem;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.7rem 1.2rem;
    font-size: 1rem; /* Increased minimum button font size */
    max-width: 250px;
  }

  .platform-selector {
    gap: 0.8rem;
  }

  .platform-header {
    margin-bottom: 0.6rem;
  }

  .platform-card {
    padding: 0.6rem;
  }

  .platform-card-content {
    gap: 0.5rem;
  }

  .platform-info {
    gap: 0.6rem;
  }

  .platform-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .platform-icon-wrapper i {
    font-size: 1.1rem;
  }

  .platform-name {
    font-size: 1rem; /* Maintain readable size */
  }

  .platform-desc {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .platform-action {
    font-size: 0.875rem; /* Minimum readable size */
  }
}

/* Remove fixed height constraints for better mobile experience */
@media (max-height: 600px) and (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 1rem;
    padding-top: 80px;
    padding-bottom: 1.5rem;
  }

  .hero-container {
    min-height: auto;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 1rem;
    padding-top: 70px;
    padding-bottom: 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    min-height: auto;
  }

  .hero-content {
    text-align: left;
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 0.8rem;
    justify-content: flex-start;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    width: auto;
  }
}

/* Sections with improved styling */
section {
  padding: 5rem 1rem;
  position: relative;
  z-index: 1;
  scroll-margin-top: 120px; /* Add scroll margin for better positioning */
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Increased minimum from 2rem */
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: "";
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

/* Gallery improvements */
#gallery {
  overflow: hidden;
}

/* Swiper optimizations */
.swiper-container {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid var(--glass-border);
}

.swiper-slide:hover {
  transform: scale(1.05);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.1);
}

/* Enhanced ship cards */
.ship-descriptions .card {
  background: var(--glass-bg);
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.ship-descriptions .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
}

.ship-descriptions .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ship-descriptions .card:hover .card-img-top {
  transform: scale(1.1);
}

.ship-descriptions .card-title {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.625rem; /* Increased from 1.5rem */
  font-weight: 700;
  text-transform: uppercase;
}

/* Enhanced features */
.feature {
  background: var(--glass-bg);
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature i {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Video Section */
.video-section {
  position: relative;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 70%
  );
}

.video-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem;
}

.video-content .ratio {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--glass-border);
}

/* Enhanced Footer */
footer {
  background: linear-gradient(
    135deg,
    var(--darker-bg) 0%,
    rgba(15, 15, 35, 0.95) 50%,
    var(--dark-bg) 100%
  );
  color: var(--text-secondary);
  padding: 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
}

.footer-content {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-about {
  max-width: 400px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: "▶";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(15px);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-platforms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-secondary);
}

.platform-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.platform-link-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.platform-link:hover .platform-link-icon {
  transform: scale(1.1);
}

.platform-link-content h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
}

.platform-link-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 0 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-social-icons {
    gap: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .platform-link {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .platform-link-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .hero-section {
    padding: 0.8rem 0.3rem;
    padding-top: 80px;
    padding-bottom: 1.5rem;
  }

  .hero-container {
    padding: 0.3rem;
    gap: 1.2rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 12vw, 2.4rem);
    margin-bottom: 0.6rem;
  }

  .hero-buttons {
    gap: 0.6rem;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.7rem 1.2rem;
    font-size: 1rem; /* Increased minimum button font size */
    max-width: 250px;
  }

  .platform-selector {
    gap: 0.8rem;
  }

  .platform-header {
    margin-bottom: 0.6rem;
  }

  .platform-card {
    padding: 0.6rem;
  }

  .platform-card-content {
    gap: 0.5rem;
  }

  .platform-info {
    gap: 0.6rem;
  }

  .platform-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .platform-icon-wrapper i {
    font-size: 1.1rem;
  }

  .platform-name {
    font-size: 1rem; /* Maintain readable size */
  }

  .platform-desc {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .platform-action {
    font-size: 0.875rem; /* Minimum readable size */
  }
}

/* Remove fixed height constraints for better mobile experience */
@media (max-height: 600px) and (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 1rem;
    padding-top: 80px;
    padding-bottom: 1.5rem;
  }

  .hero-container {
    min-height: auto;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 1rem;
    padding-top: 70px;
    padding-bottom: 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    min-height: auto;
  }

  .hero-content {
    text-align: left;
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 0.8rem;
    justify-content: flex-start;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    width: auto;
  }
}

/* Missing Platform Selector Styles */
.platform-selector {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.platform-header .platform-icon {
  font-size: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  animation: float 3s ease-in-out infinite;
}

.platform-title {
  font-size: 1.625rem; /* Increased from 1.5rem */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.platform-subtitle {
  font-size: 1rem; /* Increased from 0.9rem */
  color: var(--text-muted);
  margin: 0;
}

.platforms-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-card {
  background: rgba(255, 255, 255, 0.05);
  /* backdrop-filter: blur(15px); */
  /* -webkit-backdrop-filter: blur(15px); */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--accent-color)
  );
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.platform-card:hover::before {
  transform: scaleY(1);
}

.platform-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0; /* Prevents flex item from overflowing */
}

.platform-icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon-wrapper {
  transform: scale(1.1);
}

.platform-icon-wrapper i {
  font-size: 1.5rem;
  color: white;
}

.platform-details {
  flex: 1;
  min-width: 0; /* Prevents text overflow */
  text-align: left;
}

.platform-name {
  font-size: 1.25rem; /* Increased from 1.1rem */
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.platform-desc {
  font-size: 1rem; /* Increased from 0.85rem */
  color: var(--text-muted);
  line-height: 1.3;
  margin: 0;
}

.platform-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: 1rem; /* Increased from 0.9rem */
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.platform-card:hover .platform-action {
  color: var(--accent-color);
  transform: translateX(5px);
}

.platform-action i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-action i {
  transform: translateX(3px);
}

.platform-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cross-platform-note {
  font-size: 0.9rem; /* Increased from 0.8rem */
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cross-platform-note i {
  color: var(--primary-color);
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Missing Content Float Animation */
@keyframes contentFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-container {
    gap: 3rem;
    padding: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 1rem;
    padding-top: 90px;
    padding-bottom: 3rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    min-height: auto;
    max-height: none;
  }

  .hero-content {
    text-align: center;
    order: 1;
    max-width: none;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
  }

  .floating-element {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 1.5rem 1rem;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-container {
    gap: 2rem;
    padding: 1rem;
    min-height: auto;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
  }

  .hero-buttons {
    gap: 1rem;
    justify-content: center;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .platform-selector {
    max-width: 100%;
  }

  .platform-card {
    padding: 1rem;
  }

  .platform-card-content {
    gap: 0.8rem;
    align-items: center;
  }

  .platform-info {
    gap: 0.8rem;
    align-items: center;
  }

  .platform-details {
    text-align: left;
  }

  .platform-action {
    align-self: center;
    font-size: 0.85rem;
  }

  .platform-header .platform-icon {
    font-size: 2rem;
  }

  .platform-title {
    font-size: 1.5rem;
  }

  .platform-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
    padding: 1rem 0.5rem;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-container {
    padding: 0.5rem;
    gap: 1.5rem;
    min-height: auto;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 1.2rem;
  }

  .hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .platform-card {
    padding: 0.8rem;
    border-radius: 12px;
  }

  .platform-card-content {
    gap: 0.6rem;
  }

  .platform-info {
    gap: 0.6rem;
  }

  .platform-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .platform-icon-wrapper i {
    font-size: 1.2rem;
  }

  .platform-name {
    font-size: 1rem; /* Maintain readable size */
  }

  .platform-desc {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .platform-action {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .platform-header .platform-icon {
    font-size: 1.8rem;
  }

  .platform-title {
    font-size: 1.25rem; /* Maintain readable size */
  }

  .platform-subtitle {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .cross-platform-note {
    font-size: 0.875rem; /* Minimum readable size */
  }

  .loading-text {
    font-size: 1.25rem; /* Maintain readable size */
  }

  .loading-status-text {
    font-size: 0.875rem; /* Minimum readable size */
  }
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}
