/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
  --text:        #111827;
  --text-muted:  #6b7280;
  --text-sub:    #9ca3af;
  --card:        #ffffff;
  --btn-light:   #f9fafb;
  --btn-border:  #e5e7eb;
  --radius-lg:   28px;
  --radius-md:   16px;
  --radius-sm:   12px;
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

/* ========== BODY & BG ========== */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #1a1a2e;
  overflow-x: hidden;
}

/* Soft colored blobs in the background */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: 500px;
  height: 500px;
  top: -150px;
  left: -100px;
  background: #3b82f6;
  animation: floatBlob 20s ease-in-out infinite alternate;
}

body::after {
  width: 400px;
  height: 400px;
  bottom: -120px;
  right: -80px;
  background: #8b5cf6;
  animation: floatBlob 26s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}

/* ========== OVERLAY ========== */
.bg-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  background: rgba(10, 10, 20, 0.45);
  z-index: 0;
}

/* ========== CARD ========== */
.container {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.05),
    0 20px 60px rgba(0,0,0,0.35);
  animation: fadeUpCard 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUpCard {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== BRAND ========== */
.brand {
  text-align: center;
  margin-bottom: 12px;
}

.logo-disc {
  width: 240px;
  height: 180px;
  margin: -22px auto 24px;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: visible;
  animation: fadeUpCard 0.65s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0px;
  animation: fadeUpCard 0.65s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  animation: fadeUpCard 0.65s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ========== LINKS ========== */
.links { display: grid; gap: 10px; }

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--btn-border);
  text-decoration: none;
  color: var(--text);
  background: var(--btn-light);
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

/* Stagger entrance — all 5 buttons */
.link-btn:nth-child(1) { animation: fadeUpBtn 0.55s 0.30s cubic-bezier(0.22, 1, 0.36, 1) both; }
.link-btn:nth-child(2) { animation: fadeUpBtn 0.55s 0.40s cubic-bezier(0.22, 1, 0.36, 1) both; }
.link-btn:nth-child(3) { animation: fadeUpBtn 0.55s 0.50s cubic-bezier(0.22, 1, 0.36, 1) both; }
.link-btn:nth-child(4) { animation: fadeUpBtn 0.55s 0.60s cubic-bezier(0.22, 1, 0.36, 1) both; }
.link-btn:nth-child(5) { animation: fadeUpBtn 0.55s 0.70s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes fadeUpBtn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shimmer on hover */
.link-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.link-btn:hover::before,
.link-btn:focus-visible::before {
  transform: translateX(120%);
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-color: #d1d5db;
  outline: none;
}

/* Per-button colored glow on hover */
#link-ecommerce:hover,
#link-ecommerce:focus-visible {
  box-shadow: 0 8px 28px rgba(202,138,4,0.35);
  border-color: rgba(202,138,4,0.4);
}

#link-hepsiburada:hover,
#link-hepsiburada:focus-visible {
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}

#link-n11:hover,
#link-n11:focus-visible {
  box-shadow: 0 8px 28px rgba(234,88,12,0.30);
  border-color: rgba(234,88,12,0.35);
}

#link-whatsapp:hover,
#link-whatsapp:focus-visible {
  box-shadow: 0 8px 28px rgba(22,163,74,0.30);
  border-color: rgba(22,163,74,0.35);
}

#link-maps:hover,
#link-maps:focus-visible {
  box-shadow: 0 8px 28px rgba(220,38,38,0.28);
  border-color: rgba(220,38,38,0.32);
}

.link-btn:active {
  transform: scale(0.98);
  transition-duration: 0.08s;
}

/* Dark variant */
.link-btn.dark {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  border-color: transparent;
  color: #fff;
}
.link-btn.dark:hover {
  background: linear-gradient(120deg, #1e293b, #0f172a);
  box-shadow: 0 8px 28px rgba(15,23,42,0.3);
}

/* Blue variant */
.link-btn.blue {
  background: linear-gradient(120deg, #2563eb, #3b82f6);
  border-color: transparent;
  color: #fff;
}
.link-btn.blue:hover {
  background: linear-gradient(120deg, #1d4ed8, #3b82f6);
  box-shadow: 0 8px 28px rgba(37,99,235,0.3);
}

/* ========== LEFT CONTENT ========== */
.left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sub {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: normal;
}

/* Sub on white/colored buttons */
.link-btn.dark  .sub,
.link-btn.blue  .sub  { color: rgba(255,255,255,0.65); }

/* ========== ICONS ========== */
.side-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-svg { width: 18px; height: 18px; }

/* Left icon colors */
.yellow { background: #fef9c3; color: #ca8a04; }
.blue-l { background: rgba(255,255,255,0.18); color: #fff; }
.orange { background: #ffedd5; color: #ea580c; }
.green  { background: #dcfce7; color: #16a34a; }
.red    { background: #fee2e2; color: #dc2626; }

/* Right icon */
.right {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.dark-r { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); }
.blue-r { background: rgba(255,255,255,0.18); color: #fff; }
.light-r { background: #f3f4f6; color: #9ca3af; }

/* Nudge arrow on hover */
.link-btn:hover .right {
  animation: nudge 0.35s ease;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

/* ========== FOOTER ========== */
.footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.78rem;
  animation: fadeUpCard 0.65s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ========== MOBILE ========== */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding: 12px 12px 12px;
  }

  body {
    align-items: center;
    padding: 16px 12px;
  }

  .container {
    border-radius: 22px;
    padding: 24px 16px 16px;
  }

  .logo-disc {
    width: 220px;
    height: 150px;
    margin: -22px auto 21px;
  }

  .logo { 
    width: 100%;
    transform: scale(1.05);
  }

  h1 { font-size: 1.4rem; }

  .brand p { font-size: 0.85rem; line-height: 1.4; }

  .link-btn {
    min-height: 54px;
    padding: 10px 12px;
  }

  .side-icon { width: 32px; height: 32px; }
  .right      { width: 26px; height: 26px; }
  .icon-svg   { width: 15px; height: 15px; }
  .title      { font-size: 0.85rem; }
}

/* ========== TALL SCREENS ========== */
@media (min-height: 700px) {
  body { align-items: center; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
