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

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

:root {
  --red:       #c10100;
  --red-dark:  #7a0000;
  --red-light: #e53935;
  --white:     #ffffff;
  --transition: .25s ease;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── BACKGROUND ── */
.home-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%,   rgba(255,80,80,.35)  0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%,  rgba(60,0,0,.55)     0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 45%,   rgba(200,20,20,.18)  0%, transparent 65%),
    linear-gradient(160deg, #e53935 0%, #c10100 35%, #7a0000 70%, #3d0000 100%);
  background-attachment: fixed;
}

/* ── LOGO ── */
.home-logo {
  margin-bottom: 32px;
}
.home-logo img {
  height: 64px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
}

/* ── TITLE ── */
.home-title {
  text-align: center;
  margin-bottom: 48px;
  max-width: 560px;
}
.home-title h1 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.home-title p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-weight: 400;
}

/* ── CARDS ── */
.home-cards {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 780px;
  justify-content: center;
}

.home-card {
  flex: 1;
  max-width: 360px;
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 2px 0 rgba(255,255,255,.5) inset,
    0 24px 64px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.6);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.home-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-light), var(--red-dark));
  border-radius: 20px 0 0 20px;
}
.home-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 0 rgba(255,255,255,.5) inset,
    0 32px 72px rgba(0,0,0,.38);
  text-decoration: none;
  color: inherit;
}

/* Icon */
.home-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 60%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(193,1,0,.35);
  transition: transform var(--transition);
}
.home-card:hover .home-card__icon {
  transform: scale(1.08);
}

/* Body */
.home-card__body {
  flex: 1;
}
.home-card__body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: -.2px;
}
.home-card__body p {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.55;
}

/* Arrow */
.home-card__arrow {
  color: var(--red);
  font-size: 16px;
  opacity: .5;
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.home-card:hover .home-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ── FOOTER ── */
.home-footer {
  margin-top: 48px;
  text-align: center;
}
.home-footer p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .home-cards {
    flex-direction: column;
    align-items: center;
  }
  .home-card {
    max-width: 100%;
    width: 100%;
  }
  .home-title { margin-bottom: 36px; }
  .home-logo img { height: 52px; }
}

/* ── POPUP (login & index için) ── */
.ybs-overlay {
  position: fixed; inset: 0;
  background: rgba(60,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.ybs-overlay--visible { opacity: 1; visibility: visible; }
