/* Landing Page Styles inspired by czrunz.com */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

:root {
  --primary-yellow: #ffde00;
  --primary-orange: #ff5c00;
  --primary-blue: #3a86ff;
  --primary-black: #1a1a1a;
  --gradient-orange: linear-gradient(135deg, #ff5c00 0%, #ff9500 100%);
  --gradient-blue: linear-gradient(135deg, #3a86ff 0%, #00c6ff 100%);
}

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

body {
  font-family: 'Bangers', cursive;
  background-color: var(--primary-blue);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.landing-header {
  width: 100%;
  background-color: var(--primary-yellow);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Wallet icon in button */
.wallet-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

.logo {
  font-size: 2.5rem;
  color: var(--primary-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  text-shadow: 2px 2px 0px #fff;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

/* Snake logo placeholder */
.snake-logo-placeholder {
  width: 50px;
  height: 50px;
  background-color: #60CBFF;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.snake-logo-placeholder::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 10px;
  width: 10px;
  height: 10px;
  background-color: #212837;
  border-radius: 50%;
}

.snake-logo-placeholder::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 25px;
  width: 10px;
  height: 10px;
  background-color: #212837;
  border-radius: 50%;
}

/* Header social links */
.header-social-links {
  display: flex;
  gap: 15px;
}

.header-social-links a {
  color: var(--primary-black);
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.header-social-links a:hover {
  transform: scale(1.2);
}

/* Footer social links */
.footer .social-links {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}

.footer .social-links a {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

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

.header-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  font-family: 'Bangers', cursive;
  padding: 10px 20px;
  border: 3px solid var(--primary-black);
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px var(--primary-black);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--primary-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--primary-black);
}

.btn-primary {
  background-color: var(--primary-yellow);
}

.btn-secondary {
  background-color: #fff;
}

.hero-section {
  width: 100%;
  background: var(--gradient-orange);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  color: white;
  text-shadow: 3px 3px 0px var(--primary-black);
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1;
}

.hero-text p {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.comic-bubble {
  background-color: white;
  border: 3px solid var(--primary-black);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  box-shadow: 5px 5px 0px var(--primary-black);
  margin: 30px 0;
  max-width: 600px;
  text-shadow: none; /* Override the text-shadow from hero-text */
}

.comic-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 40px;
  height: 20px;
  background-color: white;
  border-right: 3px solid var(--primary-black);
  border-bottom: 3px solid var(--primary-black);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.comic-bubble h2 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 10px;
  text-shadow: none; /* Ensure no text shadow on heading */
}

.comic-bubble p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--primary-black);
  text-shadow: none; /* Ensure no text shadow on paragraph */
}

.game-section {
  width: 100%;
  padding: 40px 0;
  background-color: var(--primary-blue);
  position: relative;
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 3rem;
  color: white;
  text-shadow: 3px 3px 0px var(--primary-black);
  margin-bottom: 30px;
  text-align: center;
  background-color: var(--primary-yellow);
  padding: 10px 30px;
  border: 3px solid var(--primary-black);
  box-shadow: 5px 5px 0px var(--primary-black);
  transform: rotate(-2deg);
  display: inline-block;
}

.game-wrapper {
  position: relative;
  margin-top: 20px;
}

.footer {
  width: 100%;
  background-color: var(--primary-black);
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text p {
    font-size: 1.5rem;
  }
  
  .comic-bubble {
    margin: 30px auto;
  }
  
  .comic-bubble::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .social-links {
    order: 3;
  }
}

/* Animation for the comic bubble */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.comic-bubble {
  animation: float 4s ease-in-out infinite;
  filter: none; /* Remove any potential filter effects causing blur */
  text-rendering: optimizeLegibility; /* Improve text rendering */
  -webkit-font-smoothing: antialiased; /* Better font rendering in webkit browsers */
}

/* Special effect for buttons */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  transform: skewX(-30deg);
}

.btn:hover::before {
  left: 100%;
}

/* Styles for the game wrapper */
.game-frame {
  border: 5px solid var(--primary-black);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 10px 10px 0px var(--primary-black);
  background-color: var(--primary-black);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  transform: none;
  transition: transform 0.3s ease;
}

.game-frame:hover {
  transform: none;
}

/* Add comic-style "POW" effect behind the game */
.game-container::before {
  content: "PLAY!";
  position: absolute;
  top: 50%;
  left: 10%;
  transform: rotate(-15deg) translateY(-50%);
  font-family: 'Bangers', cursive;
  font-size: 5rem;
  color: var(--primary-yellow);
  text-shadow:
    -3px -3px 0 var(--primary-black),
    3px -3px 0 var(--primary-black),
    -3px 3px 0 var(--primary-black),
    3px 3px 0 var(--primary-black);
  z-index: 0;
  opacity: 0.5;
}

/* Fullscreen game styles */
.fullscreen-game {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: var(--primary-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.fullscreen-game .game-frame {
  width: 80vmin;
  height: 85vmin;
  max-width: 800px;
  max-height: 800px;
}

.fullscreen-game .wrapper {
  width: 100%;
  height: 100%;
}

.fullscreen-game .section-title {
  margin-bottom: 20px;
}

/* Close button for fullscreen game */
.fullscreen-game-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-yellow);
  color: var(--primary-black);
  border: 3px solid var(--primary-black);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 3px 3px 0px var(--primary-black);
  z-index: 1001;
}

.fullscreen-game-close:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--primary-black);
}

/* Add comic-style "ZAP" effect behind the game */
.game-container::after {
  content: "ZAP!";
  position: absolute;
  top: 70%;
  right: 10%;
  transform: rotate(15deg);
  font-family: 'Bangers', cursive;
  font-size: 4rem;
  color: var(--primary-orange);
  text-shadow:
    -3px -3px 0 var(--primary-black),
    3px -3px 0 var(--primary-black),
    -3px 3px 0 var(--primary-black),
    3px 3px 0 var(--primary-black);
  z-index: 0;
  opacity: 0.5;
}