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

html, body {
  height: 100%;
  font-family: 'Titillium Web', sans-serif;
  color: white;
  overflow-x: hidden;
  background: url("../aster.png") no-repeat center center fixed;
  background-size: cover;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  min-height: 100vh;
}

/* === TŁO WSPÓLNE DLA PRZYCISKÓW === */
.buttons-background {
  background: rgba(15, 15, 15, 0.9);
  border-radius: 25px;
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  max-width: 650px;
  width: 100%;
}

/* === KONTENER PRZYCISKÓW === */
.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.button-wrapper {
  position: relative;
  text-align: center;
  width: 100%;
}

.button-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 40px;
  border-radius: 15px;
  font-weight: 900;
  font-size: 32px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 3px solid #000;
  min-height: 90px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-wrapper a:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-text {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  font-weight: 900;
}

/* === KOLORY PRZYCISKÓW - DOKŁADNIE JAK NA STRONACH === */

/* DONATE [PL] - Kolory Tipply.pl */
.donate-btn a {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  color: #FFFFFF;
  border: 3px solid #000;
  position: relative;
}

.donate-btn a::before {
  content: "💜";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  opacity: 0.8;
}

.donate-btn a:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF;
  border: 3px solid #000;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* DONATE [EU] - Kolory StreamElements */
.donate-eu-btn a {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #38BDF8;
  border: 3px solid #000;
  position: relative;
}

.donate-eu-btn a::before {
  content: "🎮";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  opacity: 0.8;
}

.donate-eu-btn a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(56, 189, 248, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donate-eu-btn a:hover::after {
  opacity: 1;
}

.donate-eu-btn a:hover {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #7DD3FC;
  border: 3px solid #000;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(56, 189, 248, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* SKINY - CS2 - Kolory Steam Community */
.skins-btn a {
  background: linear-gradient(135deg, #1B2838 0%, #2A475E 100%);
  color: #C7D5E0;
  border: 3px solid #000;
  position: relative;
}

.skins-btn a::before {
  content: "⚡";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  opacity: 0.8;
}

.skins-btn a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #90BA3C, #4C6B22, #90BA3C);
  opacity: 0.8;
}

.skins-btn a:hover {
  background: linear-gradient(135deg, #2A475E 0%, #1B2838 100%);
  color: #FFFFFF;
  border: 3px solid #000;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(144, 186, 60, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* === ANIMACJE === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button-wrapper {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.button-wrapper:nth-child(1) { animation-delay: 0.1s; }
.button-wrapper:nth-child(2) { animation-delay: 0.2s; }
.button-wrapper:nth-child(3) { animation-delay: 0.3s; }

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
  .buttons-background {
    padding: 40px 30px;
    margin: 20px;
  }
  
  .buttons-container {
    gap: 25px;
  }
  
  .button-wrapper a {
    padding: 22px 35px;
    font-size: 28px;
    min-height: 80px;
  }
  
  .donate-btn a::before,
  .donate-eu-btn a::before,
  .skins-btn a::before {
    left: 20px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding: 20px 15px;
  }
  
  .buttons-background {
    padding: 30px 20px;
  }
  
  .buttons-container {
    gap: 20px;
  }
  
  .button-wrapper a {
    padding: 18px 25px;
    font-size: 24px;
    min-height: 70px;
    border-radius: 12px;
  }
  
  .donate-btn a::before,
  .donate-eu-btn a::before,
  .skins-btn a::before {
    left: 15px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .button-wrapper a {
    padding: 15px 20px;
    font-size: 22px;
    min-height: 65px;
  }
  
  .buttons-background {
    padding: 25px 15px;
  }
  
  .donate-btn a::before,
  .donate-eu-btn a::before,
  .skins-btn a::before {
    display: none;
  }
}
