@tailwind base;
@tailwind components;
@tailwind utilities;
body {
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #0c1e3e, #1a3a5f, #2c5a7c);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Global Styles */
.glow-text {
  text-shadow: 0 0 10px rgba(100, 200, 255, 0.7);
}

.glow-border {
  box-shadow: 0 0 15px rgba(100, 200, 255, 0.5);
}

.gradient-bg {
  background: linear-gradient(135deg, #1e3c72, #2a5298, #3a7bd5);
}

.gradient-text {
  background: linear-gradient(90deg, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
nav {
  background: rgba(12, 30, 62, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100, 200, 255, 0.2);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at center, #1e3c72, #0c1e3e);
  position: relative;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 20%;
  filter: blur(20px);
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-logo {
  background: linear-gradient(135deg, #00c9ff, #92fe9d);
  box-shadow: 0 0 30px rgba(0, 201, 255, 0.5);
}

.cta-button {
  background: linear-gradient(90deg, #00c9ff, #92fe9d);
  color: #0c1e3e;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 201, 255, 0.5);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 201, 255, 0.8);
}

/* Game Cards */
.game-card {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(12, 30, 62, 0.9));
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(100, 200, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.game-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00c9ff, #92fe9d, #ffd700, #00c9ff);
  z-index: -1;
  border-radius: 22px;
  animation: borderAnimation 3s linear infinite;
  background-size: 300% 300%;
}

@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.game-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-card-img {
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(12, 30, 62, 0.6); /* biar ada kontras belakang */
  }  

.play-button {
  background: linear-gradient(90deg, #00c9ff, #92fe9d);
  color: #0c1e3e;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 201, 255, 0.5);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #1a3a5f, #2c5a7c);
}

.approach-card {
  background: rgba(12, 30, 62, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(100, 200, 255, 0.2);
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, #2c5a7c, #3a7bd5);
}

.team-card {
  background: rgba(12, 30, 62, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(100, 200, 255, 0.2);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.leader-card {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(12, 30, 62, 0.95));
  border: 2px solid rgba(0, 201, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 201, 255, 0.3);
  position: relative;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #00c9ff, #92fe9d, #ffd700, #00c9ff);
  z-index: -1;
  border-radius: 18px;
  animation: borderAnimation 4s linear infinite;
  background-size: 300% 300%;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c9ff, #92fe9d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #0c1e3e;
  margin: 0 auto 15px;
}

/* Footer */
footer {
  background: #0c1e3e;
  border-top: 1px solid rgba(100, 200, 255, 0.2);
}

.footer-link:hover {
  color: #00c9ff !important;
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 201, 255, 0.5);
}

/* Floating shapes animation */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatReverse {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating-shape:nth-child(1) {
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
  animation: floatReverse 8s ease-in-out infinite;
}

.floating-shape:nth-child(3) {
  animation: float 10s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .game-card {
    margin-bottom: 30px;
  }
}

.text-outline {
    color: #ffffff;
    text-shadow:
        -2px -2px 3px rgba(0, 0, 0, 0.8),
         2px -2px 3px rgba(0, 0, 0, 0.8),
        -2px  2px 3px rgba(0, 0, 0, 0.8),
         2px  2px 3px rgba(0, 0, 0, 0.8);
  }

  .text-outline-soft {
    color: #000000; /* warna lembut */
    text-shadow:
        0 0 3px rgba(0, 0, 0, 0.35),
        0 0 6px rgba(0, 0, 0, 0.25);
  }
  
