/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #1c0a4d 0%, #371f61 50%, #472d86 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.slot-container iframe {
  position: absolute;
  max-width: 1160px;
  max-height: 700px;
  width: 100%;
  height: 100%;
}

/* 18+ Age Banner */
.age-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ffe16b, #ee5414);
  padding: 4px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.5s ease-out;
}

.age-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 15px;
}

.age-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 14px;
}

.age-text {
  flex: 1;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
  background: #111a5ffa;
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  top: 0;
  background: #111a5ffa;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #5573ce;
  font-size: 24px;
  font-weight: bold;
}

.brand-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  backdrop-filter: blur(5px);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  background: #5573ce;
  color: #1c0a4d;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("../images/hero-bg.png") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 40px;
  color: #5573ce;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle em {
  color: #59ff00;
  font-style: italic;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(135deg, #371f61 0%, #472d86 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(85, 115, 206, 0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(85, 115, 206, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-number {
  color: #5573ce;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
}

.feature-desc {
  color: #c8b7f0;
  line-height: 1.6;
}

/* Game Preview Section */
.game-preview {
  padding: 100px 0;
  background: linear-gradient(135deg, #1c0a4d 0%, #371f61 100%);
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
}

.section-desc {
  font-size: 1.1rem;
  color: #c8b7f0;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.game-frame {
  max-width: 800px;
  margin: 50px auto;
  background: linear-gradient(45deg, #472d86, #6249a7);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.slot-machine-preview {
  background: linear-gradient(135deg, #1a354c, #2d587b);
  border-radius: 15px;
  padding: 20px;
  border: 3px solid #59ff00;
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.reel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.symbol {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.symbol:hover {
  background: rgba(85, 115, 206, 0.2);
  transform: scale(1.1);
}

.slot-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.slot-btn {
  background: linear-gradient(45deg, #ffe16b, #8cff00);
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
}

.slot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.spin-btn {
  background: linear-gradient(45deg, #5573ce, #4c6ecd);
  padding: 15px 30px;
  font-size: 14px;
}

.bet-display {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 80px;
}

.bet-display span:first-child {
  display: block;
  font-size: 10px;
  color: #5573ce;
  margin-bottom: 5px;
}

.bet-value {
  font-size: 16px;
  font-weight: bold;
  color: #59ff00;
}

.game-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #59ff00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.play-btn {
  display: inline-block;
  background: linear-gradient(45deg, #5573ce, #4c6ecd);
  color: #1c0a4d;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(85, 115, 206, 0.4);
}

/* About Section */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, #472d86 0%, #371f61 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  color: #5573ce;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 40px;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: #c8b7f0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-visual {
  position: relative;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(85, 115, 206, 0.2) 0%,
    transparent 70%
  );
  border-radius: 20px;
  overflow: hidden;
}

.fish-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

.swimming-fish {
  position: absolute;
  font-size: 3rem;
  animation: swim 10s infinite linear;
}

.swimming-fish:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
}

.swimming-fish:nth-child(2) {
  top: 40%;
  animation-delay: 2.5s;
}

.swimming-fish:nth-child(3) {
  top: 60%;
  animation-delay: 5s;
}

.swimming-fish:nth-child(4) {
  top: 80%;
  animation-delay: 7.5s;
}

@keyframes swim {
  0% {
    left: -100px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Footer */
.footer {
  background: #111a5ffa;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-link {
  color: #5573ce;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: rgba(85, 115, 206, 0.1);
  color: #fff;
}

.footer-disclaimer {
  color: #c8b7f0;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: #c8b7f0;
}

.footer-badges {
  display: flex;
  gap: 15px;
}

.age-badge,
.responsible-badge {
  background: rgba(85, 115, 206, 0.2);
  color: #5573ce;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid rgba(85, 115, 206, 0.3);
}

/* Animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Bubbles Animation */
.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bubbles::before,
.hero-bubbles::after {
  content: "";
  position: absolute;
  background: rgba(85, 115, 206, 0.1);
  border-radius: 50%;
  animation: bubble 15s infinite linear;
}

.hero-bubbles::before {
  width: 40px;
  height: 40px;
  left: 10%;
  animation-delay: 0s;
}

.hero-bubbles::after {
  width: 60px;
  height: 60px;
  left: 80%;
  animation-delay: 5s;
}

@keyframes bubble {
  0% {
    bottom: -100px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    bottom: 100vh;
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .age-content {
    gap: 10px;
    text-align: center;
  }

  .age-text {
    font-size: 10px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111a5ffa;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
    height: 200px;
  }

  .slot-controls {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .slot-reels {
    grid-template-columns: repeat(3, 1fr);
  }

  .symbol {
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .game-frame {
    padding: 20px;
  }

  .slot-machine-preview {
    padding: 15px;
  }

  .symbol {
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Game Page Specific Styles */
.game-container {
  padding-top: 120px;
  min-height: 100vh;
  background: linear-gradient(135deg, #1c0a4d 0%, #371f61 100%);
}

.game-frame-full {
  width: 100%;
  height: calc(100vh - 120px);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Policy Pages */
.policy-container {
  padding: 140px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.policy-title {
  font-size: 2.5rem;
  color: #5573ce;
  margin-bottom: 30px;
  text-align: center;
}

.policy-content h2 {
  color: #5573ce;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: #c8b7f0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.policy-content ul {
  color: #c8b7f0;
  margin: 20px 0;
  padding-left: 30px;
}

.policy-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.back-link {
  display: inline-block;
  background: linear-gradient(45deg, #5573ce, #4c6ecd);
  color: #1c0a4d;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(85, 115, 206, 0.4);
}
