* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1A3A5C;
}

::-webkit-scrollbar-thumb {
  background: rgba(34, 189, 232, 0.5);
  border-radius: 6px;
  border: 2px solid #1A3A5C;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 189, 232, 0.8);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 189, 232, 0.5) #1A3A5C;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1A3A5C;
  color: #fff;
}

.app-header {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(20, 40, 70, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 0.8rem 3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  animation: navSlide 1s ease-out;
}

@keyframes navSlide {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-header::after {
  content: '';
  display: block;
  height: 80px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.app-header .container {
  display: flex;
  justify-content: center;
}

.nav {
  display: flex;
  width: 100%;
  position: relative;
  min-height: 50px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 35px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  flex-shrink: 0;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.hamburger.active {
  position: fixed;
  right: 1.5rem;
  top: 1.5rem;
}

.nav-left {
  display: flex;
  gap: 2rem;
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.3rem;
  transition: all 0.1s;
}

.nav-link:hover {
  transform: scale(0.97);
}

.nav-link-shop {
  text-shadow: 0 0 10px rgba(34, 189, 232, 0.8), 0 0 20px rgba(34, 189, 232, 0.6);
  animation: pulseBlue 1s ease-in-out infinite;
}

.mobile-nav-link-shop {
  text-shadow: 0 0 10px rgba(34, 189, 232, 0.8), 0 0 20px rgba(34, 189, 232, 0.6);
  animation: pulseBlue 1s ease-in-out infinite;
}

@keyframes pulseBlue {
  0%, 100% {
    text-shadow: 0 0 10px rgba(34, 189, 232, 0.8), 0 0 20px rgba(34, 189, 232, 0.6);
  }
  50% {
    text-shadow: 0 0 20px rgba(94, 215, 245, 1), 0 0 40px rgba(94, 215, 245, 0.9), 0 0 60px rgba(34, 189, 232, 0.8);
  }
}

.btn-login,
.btn-discord,
.btn-shop {
  padding: 0.5rem 1.2rem 0.8rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  margin-top: -2px;
  text-align: center;
  background: transparent;
}

.btn-login:focus,
.btn-login:focus-visible {
  outline: none;
}

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s;
  text-align: center;
  padding: 0.3rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: #22BDE8;
}

.btn-login {
  background: #2ECC71;
  box-shadow: 0 4px 0 #27AE60;
}

.btn-discord {
  background: #5865F2;
  padding: 0;
  width: 42px;
  height: 42px;
  box-shadow: 0 4px 0 #4752C4;
  transform: translateY(-1px);
}

.btn-shop {
  background: #5ED7F5;
  box-shadow: 0 4px 0 #3DB8D9;
  height: 42px;
  padding: 0 1.2rem;
  transform: translateY(-1px);
}

.btn-login:hover,
.btn-discord:hover,
.btn-shop:hover {
}

.btn-login:hover {
  background: #3AE080;
  box-shadow: 0 4px 0 #27AE60;
  transform: scale(0.97);
}

.btn-discord:hover {
  background: #6B7AF5;
  box-shadow: 0 4px 0 #4752C4;
  transform: scale(0.97);
}

.btn-shop:hover {
  background: #7AE2F8;
  box-shadow: 0 4px 0 #3DB8D9;
  transform: scale(0.97);
}

.btn-auth {
  padding: 0 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #5ED7F5;
  box-shadow: 0 4px 0 #3DB8D9;
  color: #fff;
  transform: translateY(-2px);
  height: 42px;
}

.btn-auth:hover {
  background: #7AE2F8;
  box-shadow: 0 4px 0 #3DB8D9;
  color: #fff;
  transform: scale(0.97);
}

.btn-lang {
  padding: 0;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #2ECC71;
  box-shadow: 0 4px 0 #27AE60;
  color: #fff;
  transform: translateY(-1px);
  transition: all 0.1s;
}

.btn-lang:hover {
  background: #3AE080;
  box-shadow: 0 4px 0 #27AE60;
  transform: scale(0.97);
}

.app-main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.app-footer {
  background: rgba(18, 45, 75, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 1rem 0 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(34, 189, 232, 0.1);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-texts h3 {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 0.2rem 0;
}

.footer-texts p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.4rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #22BDE8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.hero-section {
  padding: 6rem 1rem;
  text-align: center;
  background: url('/img/background.png') center/cover no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #1A3A5C 100%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-ip-wrapper {
  position: relative;
  display: inline-block;
  transition: transform 0.1s;
}

.btn-ip-wrapper:hover {
  transform: scale(0.97);
}

.btn-ip-wrapper:hover .player-count {
  background: #3AE080;
  transform: scale(0.97);
}

.player-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #2ECC71;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
  pointer-events: none;
}

.click-hint {
  margin-top: 2.5rem;
  color: #fff;
}

.click-hint svg {
  width: 50px;
  height: 50px;
}

.click-hint line {
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(5px); opacity: 0.3; }
}

.hero-logo {
  width: 600px;
  height: auto;
  margin-bottom: 3rem;
  filter: drop-shadow(0 0 50px rgba(74, 144, 217, 0.7));
  animation: scaleLogo 3s ease-in-out infinite;
}

@keyframes scaleLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.btn-ip {
  padding: 1rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: #22BDE8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 0 #167A99;
  transition: all 0.1s;
  position: relative;
  min-width: 280px;
}

.btn-ip:hover {
  background: #3DCEF7;
  box-shadow: 0 4px 0 #167A99;
  transform: scale(0.97);
}

.main-content {
  padding: 4rem 0;
}

.info-section {
  margin-bottom: 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.info-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.info-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #fff;
}

.info-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  padding-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  min-width: 280px;
  position: relative;
}

.version-info {
  position: absolute;
  top: -10px;
  right: -35px;
  background: #22BDE8;
  color: #fff;
  padding: 0.5rem 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  transform: rotate(15deg);
  border-radius: 6px;
  box-shadow:
    0 4px 0 #167A99,
    0 6px 12px rgba(0, 0, 0, 0.3);
}

.join-text {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.ip-copy-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.ip-input {
  flex: 1;
  padding: 0 3rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  cursor: text;
  height: 50px;
  text-align: center;
  font-family: inherit;
}

.ip-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.btn-copy {
  width: 38px;
  height: 38px;
  background: #22BDE8;
  border: none;
  border-radius: 6px;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 0 #167A99;
  transition: all 0.1s;
}

.btn-copy:hover {
  background: #3DCEF7;
  box-shadow: 0 3px 0 #167A99;
  transform: translateY(-50%) scale(0.97);
}

.btn-copy svg {
  width: 20px;
  height: 20px;
  transition: all 0.2s;
}

.about-section {
  padding: 4rem 0;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.6) 0%, rgba(34, 189, 232, 0.25) 50%, rgba(26, 58, 92, 0.6) 100%);
  clip-path: polygon(0 25%, 100% 5%, 100% 85%, 0 100%);
  z-index: 0;
}

.about-section .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.about-block h3 {
  color: #fff;
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.8;
}

.btn-copy.copied svg:first-child {
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s;
}

.check-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  color: #fff;
}

@keyframes checkPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(-45deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-logo {
    width: 400px;
  }

  .info-text h1 {
    font-size: 2rem;
  }

  .carousel-track {
    height: 350px;
  }

  .carousel-overlay h4 {
    font-size: 1.4rem;
  }

  .carousel-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* Hamburger menu */
  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .nav-links {
    display: none;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Hero section */
  .hero-section {
    padding: 5rem 1rem 4rem;
    min-height: auto;
  }

  .home-page .hero-section {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero-logo {
    width: 280px;
    margin-bottom: 2rem;
  }

  .btn-ip {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .player-count {
    top: -6px;
    right: -6px;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  /* Info section */
  .info-section {
    margin-bottom: 4rem;
    margin-top: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .info-text h1 {
    font-size: 1.6rem;
  }

  .info-text p {
    font-size: 1rem;
  }

  .info-box {
    min-width: auto;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .version-info {
    right: -20px;
    padding: 0.4rem 1.5rem;
    font-size: 0.65rem;
  }

  /* About section */
  .about-block {
    padding: 2rem 0;
  }

  .about-block h3 {
    font-size: 1.8rem;
  }

  .about-block p {
    font-size: 1rem;
  }

  /* Carousel */
  .carousel-section {
    padding: 3rem 0;
  }

  .carousel {
    border-radius: 12px;
  }

  .carousel-track {
    height: 250px;
  }

  .carousel-overlay {
    padding: 2rem 1rem 1rem;
  }

  .carousel-overlay h4 {
    font-size: 1.2rem;
  }

  .carousel-overlay p {
    font-size: 0.9rem;
  }

  /* Adventure section */
  .adventure-section {
    padding: 3rem 0 4rem;
    margin-bottom: -1rem;
  }

  .adventure-block {
    padding: 2rem 0;
  }

  .adventure-block h2 {
    font-size: 1.6rem;
  }

  .adventure-block p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .adventure-btn {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }

  .footer-title-row {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-logo {
    width: 80px;
  }

  .footer-texts h3 {
    font-size: 1.4rem;
  }

  .footer-texts p {
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }

  /* Buttons */
  .btn-login,
  .btn-shop {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem 0.6rem;
  }

  .btn-discord {
    width: 36px;
    height: 36px;
  }

  .user-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .user-head {
    width: 24px;
    height: 24px;
  }

  .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 220px;
  }

  .btn-ip {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .info-text h1 {
    font-size: 1.4rem;
  }

  .about-block h3 {
    font-size: 1.5rem;
  }

  .adventure-block h2 {
    font-size: 1.4rem;
  }

  .carousel-track {
    height: 200px;
  }

  .carousel-overlay h4 {
    font-size: 1rem;
  }

  .carousel-overlay p {
    font-size: 0.8rem;
  }

  .mobile-nav-link {
    font-size: 1.2rem;
  }
}

.carousel-section {
  padding: 8rem 0 4rem;
}

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 450px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 31, 61, 0.95) 0%, rgba(15, 31, 61, 0.7) 50%, transparent 100%);
  padding: 3rem 2rem 2rem;
}

.carousel-overlay h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel-overlay p {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #22BDE8;
  width: 30px;
  border-radius: 5px;
}

.adventure-section {
  padding: 6rem 0 2rem;
  text-align: center;
  position: relative;
  margin-bottom: -2rem;
}

.adventure-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -5rem;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.6) 0%, rgba(34, 189, 232, 0.25) 50%, rgba(26, 58, 92, 0.6) 100%);
  clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 100%);
  z-index: 0;
}

.adventure-section .container {
  position: relative;
  z-index: 1;
}

.adventure-block {
  padding: 4rem 0;
}

.adventure-block h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.adventure-block p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.adventure-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  box-shadow: 0 4px 0 #4752C4;
  transition: all 0.1s;
}

.adventure-btn:hover {
  background: #6B7AF5;
  box-shadow: 0 4px 0 #4752C4;
  transform: scale(0.97);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}

.user-dropdown {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.7rem;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: #2ECC71;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 0 #27AE60;
  transition: all 0.1s;
  position: relative;
  margin-top: -2px;
}

.user-btn:hover {
  background: #3AE080;
  transform: scale(0.97);
}

.user-pseudo {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.user-head {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: rgba(20, 40, 70, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  overflow: hidden;
}

.user-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  width: 100%;
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(34, 189, 232, 0.2);
  color: #fff;
  transform: scale(0.97);
}

.dropdown-item:active {
  transform: scale(0.95);
}

.dropdown-item.logout {
  color: rgba(231, 76, 60, 0.8);
}

.dropdown-item.logout:hover {
  background: rgba(231, 76, 60, 0.2);
  color: #E74C3C;
  transform: scale(0.97);
}

.dropdown-item.logout:active {
  transform: scale(0.95);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
}

.animate-fade-up {
  transform: translateY(40px);
}

.animate-fade-up.visible {
  transform: translateY(0);
}

.animate-fade-left {
  transform: translateX(-40px);
}

.animate-fade-left.visible {
  transform: translateX(0);
}

.animate-fade-right {
  transform: translateX(40px);
}

.animate-fade-right.visible {
  transform: translateX(0);
}

.animate-scale {
  transform: scale(0.9);
}

.animate-scale.visible {
  transform: scale(1);
}

.hero-logo {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-ip-wrapper {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.click-hint {
  animation: fadeIn 1s ease-out 1s both;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 92, 0.98);
  backdrop-filter: blur(20px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  gap: 1rem;
  padding: 2rem;
  margin: 0 auto;
}

.animate-footer {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(20, 40, 70, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 900;
  max-width: 450px;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cookie-icon {
  color: #22BDE8;
  flex-shrink: 0;
}

.cookie-text {
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn.decline {
  background: #E74C3C;
  box-shadow: 0 3px 0 #C0392B;
}

.cookie-btn.decline:hover {
  background: #FF6B5B;
  transform: scale(0.97);
}

.cookie-btn.decline:active {
  box-shadow: ACTIVE_DISABLED 0 1px 0 #962D22;
  transform: scale(0.95);
}

.cookie-btn.accept {
  background: #2ECC71;
  box-shadow: 0 3px 0 #27AE60;
}

.cookie-btn.accept:hover {
  background: #3AE080;
  transform: scale(0.97);
}

.cookie-btn.accept:active {
  box-shadow: ACTIVE_DISABLED 0 1px 0 #229E55;
  transform: scale(0.95);
}

.cookie-enter-active,
.cookie-leave-active {
  transition: all 0.3s ease;
}

.cookie-enter-from,
.cookie-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: #1A3A5C;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
}

.modal-content.login {
  max-width: 320px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: none;
}

.login-input:focus {
  border-color: #22BDE8;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login-error {
  padding: 0.5rem;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}

.login-buttons {
  display: flex;
  gap: 0.5rem;
}

.login-btn {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #2ECC71;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-btn:hover:not(:disabled) {
  background: #3AE080;
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.close-btn-icon {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E74C3C;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.close-btn-icon:hover {
  background: #FF6B5B;
}

.close-btn-icon svg {
  color: #fff;
}

.close-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #22BDE8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #3DCEF7;
  transform: scale(0.97);
}

.close-btn:active {
  transform: scale(0.95);
}

.close-btn.error {
  background: #E74C3C;
}

.close-btn.error:hover {
  background: #FF6B5B;
  transform: scale(0.97);
}

.close-btn.error:active {
  transform: scale(0.95);
}

.error-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.error-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.error-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  text-align: center;
}

.error-buttons {
  display: flex;
  justify-content: center;
}

.info-message {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-content.info {
  text-align: center;
}

.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.2s ease;
}

.modal-enter-active .modal-content,
.modal-leave-active .modal-content {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
}

.modal-enter-from .modal-content,
.modal-leave-to .modal-content {
  transform: scale(0.9);
  opacity: 0;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-content {
    justify-content: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
  }
}
