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

/* =========================
   GLOBAL
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  color: rgba(255,255,255,0.9);
  background: #000;
  overflow-x: hidden;
  line-height: 1.5;
}

/* =========================
   BACKGROUND (YOUR ORIGINAL STYLE)
========================= */
.home-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;

  background: url("/images/homebg.jpg") no-repeat center center / cover;
}

/* OVERLAY BLUR + DARK GRADIENT */
.home-body::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.85)
  );

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  pointer-events: none;
}

/* =========================
   CONTAINER
========================= */
.container {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  padding: 20px;
  padding-bottom: 120px;

  max-width: 900px;
  width: 100%;
}

/* =========================
   TEXT
========================= */
.logo {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -1px;
}

.tagline {
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

/* =========================
   LINKS (BUTTONS)
========================= */
.links {
  margin-top: 50px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 14px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;
  white-space: nowrap;

  text-decoration: none;

  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;

  padding: 12px 18px;
  border-radius: 6px;

  background: rgba(255,255,255,0.08);

  transition: all 0.25s ease;
}

.link:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* =========================
   ICONS
========================= */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* =========================
   CORNER LOGO
========================= */
.corner-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 38px;
  height: 38px;
  z-index: 10;

  opacity: 0.85;
  transition: 0.3s ease;
}

.corner-logo:hover {
  opacity: 1;
}

/* =========================
   FOOTER (FIXED)
========================= */
.bottom-stack {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);

  bottom: calc(20px + env(safe-area-inset-bottom));

  font-size: 0.85rem;
  color: #777;
  text-align: center;

  z-index: 5;
}

/* =========================
   ABOUT PAGE (DESKTOP)
========================= */
.about-box {
  display: flex;
  gap: 20px;

  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 10px;

  max-width: 850px;
  width: 100%;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;

  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: left;
}

.about-small {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* =========================
   GRID
========================= */
.grid {
  column-count: 3;
  column-gap: 14px;

  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.grid img {
  width: 100%;
  margin-bottom: 14px;
  display: block;

  border-radius: 14px;
  break-inside: avoid;
}

/* =========================
   RESPONSIVE (GLOBAL)
========================= */
@media (max-width: 900px) {
  .grid {
    column-count: 2;
  }
}

/* =========================
   ABOUT MOBILE FIX (IMPORTANT)
========================= */
@media (max-width: 700px) {

  .about-box {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
  }

  .about-text {
    text-align: center;
    align-items: center;
  }

  .about-image img {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }
}

/* extra small phones */
@media (max-width: 400px) {
  .about-image img {
    height: 180px;
  }
}

/* =========================
   PHONE GRID FIX
========================= */
@media (max-width: 600px) {
  .grid {
    column-count: 1;
  }

  .links {
    gap: 12px;
  }

  .bottom-stack {
    font-size: 0.95rem;
  }

  .logo {
    font-size: 2.2rem;
  }
}

/* =========================
   TOUCH FIX
========================= */
a, button {
  -webkit-tap-highlight-color: transparent;
}
