@import url('fonts.css');

/* Сброс базовых ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* Общие стили страницы */
body.main-page {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #121212;
  color: #FFFFFF;
}

/* ================ HEADER ================ */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background-color: #1e1e1e;
  box-shadow: 0 4px 12px rgba(134, 134, 134, 0.2);
  position: relative;
}

.main-header .logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.logo-img {
  height: 40px;
  width: auto;
}

.main-header .nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
  color: #ffffff;
}

.nav-links a:hover {
  color: #dadada;
}

.main-header .btn-logo {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  font-family: "Montserrat", sans-serif;
  padding: 17px 20px;
  font-size: 16px;
  border: none;
  border-radius: 7px;
  background: linear-gradient(45deg, #FFD700, #ff8800);
  color: white;
  cursor: pointer;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  box-shadow: 0 10px 50px rgba(255, 140, 0, 0.4);
  transition: box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-logo:hover {
  box-shadow: 0 20px 80px rgba(255, 140, 0, 0.6);
}

/* Плавный градиент для кнопок */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================ HERO ================ */
.hero {
  text-align: center;
  padding: 120px 40px;
  background: radial-gradient(circle at center, #1a1a1a 0%, #121212 100%);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #bbbbbb;
}

.btn-start-playing {
  font-family: "Montserrat", sans-serif;
  padding: 23px 29px;
  border: none;
  border-radius: 7px;
  background: linear-gradient(45deg, #FFD700, #ff8800);
  color: white;
  font-size: 23px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  margin-top: 12px;
  box-shadow: 0 10px 50px rgba(255, 140, 0, 0.4);
}

.btn-start-playing:hover {
  box-shadow: 0 20px 80px rgba(255, 140, 0, 0.6);
}

/* ================ FOOTER ================ */
.main-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #888;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
  margin-top: 25px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.15);
}

.vk-icon,
.tg-icon,
.discord-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.footer-links {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.footer-links a {
  color: #888;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-links .divider {
  color: #555;
}

/* ================ WHITE WRAPPER (Terms etc.) ================ */
.white-wrapper {
  max-width: 900px;
  margin: 80px auto;
  background-color: #ffffff;
  color: #121212;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  font-family: "Montserrat", sans-serif;
}

.white-wrapper h1 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #000;
}

.white-wrapper h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #222;
}

.white-wrapper p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.white-wrapper ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.white-wrapper li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.white-wrapper a {
  color: #ff8800;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.white-wrapper a:hover {
  color: #ff6600;
}

/* ================ SHOP CARDS ================ */
.section-title {
  text-align: center;
  font-size: 32px;
  margin-top: 40px;
  color: #FFD700;
}

.shop-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.shop-card {
  background: #2a2a2a;
  border-radius: 16px;
  padding: 30px;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 136, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.shop-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.4);
}

.shop-card img {
  width: 100px;
  margin-bottom: 15px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.shop-card:hover img {
  transform: rotate(-2deg) scale(1.1);
}

/* ================ SHOP MODAL ================ */
.shop-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.shop-modal-content {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  color: white;
  width: 400px;
  text-align: center;
}

.shop-modal input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: white;
}

.shop-modal button {
  width: 100%;
}

#donateCurrencyForm input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  background-color: #2a2a2a;
  color: white;
  transition: 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

#donateCurrencyForm input:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255, 136, 0, 0.5);
  background-color: #333;
}

#donateCurrencyForm input::placeholder {
  color: #aaa;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ================ SCROLLBAR ================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFD700, #FF8C00);
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFEA00, #FF6600);
}
