@import url('./general.css');

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 25%, transparent 75%);
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   VIDEO
───────────────────────────────────────── */
.video-wrapper {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0 auto;
}
.video-wrapper iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* ─────────────────────────────────────────
   PROJECTS
───────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.project-card {
  background: var(--black);
  padding: 1.75rem;
  transition: background 0.2s;
}
.project-card:hover { background: var(--gray); }

.project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray);
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232, 255, 59, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.about-img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
}
.stat-number em { font-style: normal; color: var(--accent); }
.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}




/* ─────────────────────────────────────────
   FL MINECRAFT TAB
───────────────────────────────────────── */
#fl-tab-wrapper {
  position: fixed;
  right: -190px;       /* hidden off-screen by default */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#fl-tab-wrapper.open {
  right: 0;            /* slide in when toggled */
}

/* The orange tongue sticking out */
#fl-tab-handle {
  background: #f97316;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 0.75rem 0.45rem;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  box-shadow: -4px 0 18px rgba(249, 115, 22, 0.45);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
  user-select: none;
}

#fl-tab-handle:hover {
  background: #fb923c;
  box-shadow: -4px 0 26px rgba(249, 115, 22, 0.65);
}

/* The card panel that slides in */
#fl-tab-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #0e1d30;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #d6eaff;
  width: 190px;
  transition: background 0.2s;
}

#fl-tab-card:hover {
  background: #122540;
}

.fl-icon-wrap {
  color: #f97316;
  flex-shrink: 0;
}

.fl-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.fl-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.fl-card-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #5a8ab5;
  letter-spacing: 0.06em;
}