:root {
  --bg-main: #07090f;
  --bg-button: #0c140c;
  --line-button: #18b518;
  --line-button-soft: #5dff5d;
  --line-button-dark: #0f7e0f;
  --text-main: #f5f7ff;
  --spark-color: #65ff65;
}

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

body {
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  color: var(--text-main);
  background: url("./assets/bg-skindasorte-16x9-2x-v2.png")
    center/cover no-repeat fixed;
  position: relative;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.logo-wrap {
  margin-bottom: 0.5rem;
}

.logo {
  width: min(200px, 52vw);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(24, 181, 24, 0.35));
}

.main-buttons {
  width: min(420px, 92vw);
  
  display: grid;
  gap: 1rem;
}

.spark-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  border: 2px solid var(--line-button);
  border-radius: 12px;
  background: linear-gradient(135deg, #0a140a 8%, #103110 55%, #0c1f0c 100%);
  color: var(--text-main);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 7px 18px rgba(24, 181, 24, 0.28),
    inset 0 0 0 1px rgba(93, 255, 93, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.spark-btn .btn-label {
  position: relative;
  z-index: 2;
}

.spark-btn--skins,
.spark-btn--chat {
  justify-content: center;
  padding: 0 14px;
}

.spark-btn--skins .btn-label,
.spark-btn--chat .btn-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.btn-chat-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 86px;
  height: 58px;
  transform: translateY(-50%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(93, 255, 93, 0.45);
  background: rgba(10, 22, 10, 0.35);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.btn-chat-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  user-select: none;
}

.btn-skins-strip {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 86px;
  height: 58px;
  transform: translateY(-50%);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(93, 255, 93, 0.45);
  background: rgba(10, 22, 10, 0.35);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.btn-skin-item {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.spark-btn:hover {
  transform: scale(1.05);
  border-color: var(--line-button-soft);
  background: linear-gradient(135deg, #0c170c 5%, #154715 58%, #102810 100%);
  box-shadow:
    0 12px 24px rgba(24, 181, 24, 0.34),
    0 0 18px rgba(93, 255, 93, 0.22);
}

.spark-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(93, 255, 93, 0.48) 0%, rgba(93, 255, 93, 0) 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.spark-btn:hover::before {
  opacity: 0.85;
}

.spark-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(93, 255, 93, 0.2) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.spark-btn:hover::after {
  transform: translateX(120%);
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark-color);
  pointer-events: none;
  animation: spark-fly 550ms ease-out forwards;
}

@keyframes spark-fly {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.25);
  }
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.social-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 181, 24, 0.55);
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(12, 20, 12, 0.72);
  transition: all 0.2s ease;
}

.social-btn i {
  font-size: 1.35rem;
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--line-button-soft);
  background: rgba(19, 45, 19, 0.9);
  box-shadow: 0 0 14px rgba(24, 181, 24, 0.25);
}
