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

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  
  /* Dikey çizgili şerit ve koyu lacivert gradyan arka plan */
  background-color: #0b0d18;
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) -75px,
      rgba(255, 255, 255, 0.015) -50px,
      transparent 1px,
      transparent 12px
    ),
    radial-gradient(
      ellipse at top,
      #131a38 0%,
      #0b0d18 70%
    );
  background-attachment: fixed;
}

/* NAV BAR */
header {
  background-color: rgba(10, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: -10px;
}

.logo {
  font-family: 'Bebas Neue', cursive, sans-serif;
  font-size: 38px;
  font-weight: bold;
  letter-spacing: 2px;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: #a0a6c0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover, nav a.active {
  color: #ffffff;
}

.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 30px;
  padding: 0;
  position: relative;
  z-index: 20;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
  margin: 5px 0;
  transition: all 0.25s ease;
}

/* ANA İÇERİK */
main {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  flex-grow: 1;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

/* SOL KOLON */
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.4);
  color: #ffffff;
}

.features-list {
  list-style: none;
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #d1d5db;
}

.features-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #0066ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #0066ff;
}

/* SAĞ KOLON (FORM) */
.form-header {
  display: flex;
  align-items: baseline;
  gap: 15px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.form-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
}

.form-toggle-link {
  color: #ffffff;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}

.form-toggle-link:hover {
  color: #ffffff;
}

.form-group {
  margin-bottom: 10px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #a0a6c0;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-align: center;
}

.form-input {
  width: 100%;
  background-color: rgba(13, 16, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: #4a516d;
}

.form-input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.form-input.input-error {
  border-color: #ff4d4d;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.3);
}

.error-text {
  display: block;
  font-size: 11px;
  color: #ff4d4d;
  text-align: center;
  margin-top: 4px;
  min-height: 15px;
}

/* BUTON */
.submit-btn {
  width: 100%;
  padding: 13px;
  margin-top: 8px;
  background: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1a75ff 0%, #0055ee 100%);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* UYARI KUTUSU */
.alert-message {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 16px;
}

.alert-message.success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #5dd879;
}

.alert-message.error {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #ff6b6b;
}

.hidden {
  display: none !important;
}

/* NICK POPUP */
.nickname-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 12, 0.78);
}

.nickname-modal-content {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid rgba(0, 102, 255, 0.5);
  border-radius: 12px;
  background: #10152b;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.nickname-modal-content h2 {
  margin-bottom: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
}

.nickname-modal-content p {
  margin-bottom: 20px;
  color: #a0a6c0;
  font-size: 14px;
}

.nickname-modal-content label {
  display: block;
  margin-bottom: 6px;
  color: #a0a6c0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* KUTULAR / SEKSİYONLAR */
.section-box {
    margin-top: 45px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.card-large {
  background-color: rgba(13, 16, 29, 0.6);
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: 12px;
  height: 180px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.card-large img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    display: block;
}

.logo img {
    height: 36px;
}

.mini-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.card-small {
    background-color: rgba(13, 16, 29, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 12px;
    height: 80px;
    box-sizing: border-box;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.card-small img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    display: center;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: rgba(10, 13, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 30;
  }

  .nav-menu.open .nav-links {
    display: flex;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-menu.open .hamburger-menu span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-menu.open .hamburger-menu span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu.open .hamburger-menu span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

.col-left {
 margin-top: 30px;
}

.col-right {
  margin-top: -15px;
}

footer {
    background-color: rgba(10, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(0, 102, 255, 0.4);
    padding: 20px 30px;
    margin-top: 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 15px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-link:hover {
    color: rgba(0, 102, 255, 0.4);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.footer-copyright {
    flex: 1;
}