/* ==========================================================================
   1. SIFIRLAMA VE TEMEL AYARLAR
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #000000;
  --color-text-primary: #ffffff;
  --color-text-secondary: #e5e5e5;
  --color-text-muted: #8e8e93;
  --color-border: #1a1a1a;
  --color-card-bg: #0c0c0c;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. ANA DÜZEN VE YAPILAR
   ========================================================================== */
.container {
  width: 100%;
  max-width: 600px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: pageLoad 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   3. İKON VE BAŞLIK ALANI
   ========================================================================== */
.header {
  margin-bottom: 32px;
}

.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  animation: iconBreath 4s ease-in-out infinite;
}

.icon-wrapper:hover {
  border-color: #2b2b2b;
  background-color: #121212;
}

.m-icon {
  width: 28px;
  height: 28px;
}

.content {
  margin-bottom: 48px;
}

.title {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(15px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.desc-primary {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(15px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.desc-secondary {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(15px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
.footer {
  margin-top: auto;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.copyright {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   5. ANİMASYONLAR
   ========================================================================== */
@keyframes pageLoad {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes iconBreath {
  0%, 100% {
    transform: scale(1);
    border-color: var(--color-border);
    background-color: var(--color-card-bg);
  }
  50% {
    transform: scale(1.03);
    border-color: #2b2b2b;
    background-color: #101010;
  }
}

/* İkon tıklama dönüş animasyonu */
.rotating {
  animation: spinRotate 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes spinRotate {
  from {
    transform: rotate(0deg) scale(1.03);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

/* ==========================================================================
   6. RESPONSIVE TASARIM
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding: 32px 16px;
  }

  .title {
    font-size: 1.85rem;
  }

  .desc-primary {
    font-size: 1rem;
  }

  .desc-secondary {
    font-size: 0.85rem;
  }
}
