@font-face {
  font-family: 'Minecraft';
  src: url('/media/Minecraft-Tenv2.woff') format('woff');
}

@font-face {
  font-family: 'Pixelated';
  src: url('/media/pixelated.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  src: url('/media/assets/inter.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #f5f5f5;
  background: #1a1a1a;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: 80px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.main-content {
  animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/media/assets/background2.webp') center/cover no-repeat;
  background-attachment: fixed;
  opacity: 1;
  z-index: -1;
  transform: none !important;
  animation: none !important;
}

.background-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(30, 30, 30, 0.92) 100%);
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-section {
  display: flex;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
  padding: 3rem 0;
  margin-bottom: 4rem;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-title {
  font-family: 'Minecraft', sans-serif;
  font-size: 4rem;
  color: #89CFF0;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(137, 207, 240, 0.5), 0 4px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #d0d0d0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #89CFF0 0%, #6BB6E0 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(137, 207, 240, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A5D8F5 0%, #89CFF0 100%);
  box-shadow: 0 6px 20px rgba(137, 207, 240, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #89CFF0;
  border: 2px solid #89CFF0;
}

.btn-secondary:hover {
  background: rgba(137, 207, 240, 0.1);
  box-shadow: 0 4px 15px rgba(137, 207, 240, 0.3);
}

.hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-family: 'Minecraft', sans-serif;
  font-size: 3rem;
  color: #89CFF0;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 15px rgba(137, 207, 240, 0.5);
}

.features-section {
  margin: 6rem 0;
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid rgba(137, 207, 240, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: rgba(137, 207, 240, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(137, 207, 240, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: #89CFF0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(137, 207, 240, 0.5));
}

.feature-title {
  font-size: 1.5rem;
  color: #89CFF0;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-description {
  color: #d0d0d0;
  line-height: 1.6;
}

.how-it-works-section {
  margin: 6rem 0;
  padding: 3rem 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.8) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(137, 207, 240, 0.2);
  text-align: center;
  position: relative;
}

.step-number {
  font-family: 'Minecraft', sans-serif;
  font-size: 3rem;
  color: #89CFF0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(137, 207, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 3px solid #89CFF0;
}

.step-title {
  font-size: 1.5rem;
  color: #89CFF0;
  margin-bottom: 1rem;
}

.step-description {
  color: #d0d0d0;
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: #89CFF0;
  font-weight: bold;
}

.stats-section {
  margin: 6rem 0;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(137, 207, 240, 0.1) 0%, rgba(20, 20, 20, 0.8) 100%);
  border-radius: 12px;
  border: 2px solid rgba(137, 207, 240, 0.3);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Minecraft', sans-serif;
  font-size: 3.5rem;
  color: #89CFF0;
  text-shadow: 0 0 15px rgba(137, 207, 240, 0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #d0d0d0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal-content {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
  margin: 3% auto;
  padding: 2rem;
  border: 2px solid rgba(137, 207, 240, 0.3);
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-50px);
    opacity: 0;
  }
}

.auth-modal.closing {
  animation: fadeOut 0.3s ease forwards;
}

.auth-modal-content.closing {
  animation: slideUp 0.3s ease forwards;
}

.auth-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  transition: color 0.3s ease;
}

.auth-modal-close:hover {
  color: #89CFF0;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.auth-column {
  padding: 1rem;
}

.auth-title {
  font-family: 'Minecraft', sans-serif;
  font-size: 2rem;
  color: #89CFF0;
  margin-bottom: 2rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #d0d0d0;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  padding: 0.8rem;
  border: 2px solid rgba(137, 207, 240, 0.3);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.8);
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #89CFF0;
  box-shadow: 0 0 10px rgba(137, 207, 240, 0.3);
}

.form-group input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(15, 15, 15, 0.8);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #89CFF0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
}

.checkbox-group a {
  color: #89CFF0;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.btn-auth {
  padding: 0.9rem;
  background: linear-gradient(135deg, #89CFF0 0%, #6BB6E0 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.btn-auth:hover:not(:disabled) {
  background: linear-gradient(135deg, #A5D8F5 0%, #89CFF0 100%);
  box-shadow: 0 4px 15px rgba(137, 207, 240, 0.4);
}

.btn-auth:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  padding: 0.5rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 4px;
  display: none;
}

.suspended-message {
  color: #ffa500;
  font-size: 0.9rem;
  padding: 1rem;
  background: rgba(255, 165, 0, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 165, 0, 0.3);
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 968px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .auth-modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}
