/* ============================================
   HOMEPAGE — Simple Futuristic
   ============================================ */

* {
  box-sizing: border-box;
}

.home-future {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  font-family: 'Courier New', Courier, monospace;
  color: #111;
  min-height: 100vh;
}

/* Contained particle animation box with gradient border */
.hf-particle-box {
  width: 100%;
  height: 200px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  padding: 5px;
  background: linear-gradient(135deg, #a855f7, #8B5CF6, #7C3AED, #111, #7C3AED, #a855f7);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

.hf-particle-box::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: #fff;
  z-index: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hf-particle-box canvas {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px) !important;
  height: calc(100% - 10px) !important;
  z-index: 1;
}

.hf-logo-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 50%;
  max-height: 70%;
  z-index: 2;
  pointer-events: none;
  /* Crop out the black border from the image */
  clip-path: inset(2px 2px 2px 2px);
}

/* Header */
.hf-header {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.hf-header h1 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.hf-subtitle {
  font-size: 0.75rem;
  color: #777;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  font-weight: 300;
}

/* Bio Hero Section */
.hf-bio {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.hf-bio-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.hf-bio-photo:hover {
  filter: grayscale(0%);
}

.hf-bio-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

.hf-bio-text .tagline {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #888;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

/* Social Links */
.hf-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hf-social a {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: #666;
  text-decoration: none;
  padding: 0.4em 0.8em;
  border: 1px solid #ccc;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.hf-social a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Main CTAs */
.hf-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hf-cta {
  display: block;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a855f7, #8B5CF6, #7C3AED, #111, #7C3AED, #a855f7);
  background-size: 300% 300%;
}

.hf-cta::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #fff;
  z-index: 0;
  transition: background 0.3s ease;
}

.hf-cta:hover::after {
  background: #111;
}

.hf-cta::before {
  content: '→';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 2;
}

.hf-cta:hover::before {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.hf-cta:hover {
  background: #111;
  border-color: #111;
}

.hf-cta:hover .hf-cta-title,
.hf-cta:hover .hf-cta-sub {
  color: #fff;
}

.hf-cta-title {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.hf-cta-sub {
  font-size: 0.75rem;
  color: #888;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Portfolio Section */
.hf-portfolio {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.hf-portfolio-label {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #333;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

.hf-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hf-portfolio-box {
  display: block;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a855f7, #8B5CF6, #7C3AED, #111, #7C3AED, #a855f7);
  background-size: 300% 300%;
}

.hf-portfolio-box::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #fff;
  z-index: 0;
  transition: background 0.3s ease;
}

.hf-portfolio-box:hover::after {
  background: #111;
}

.hf-portfolio-box::before {
  content: '→';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
  z-index: 2;
}

.hf-portfolio-box:hover::before {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  color: #fff;
}

.hf-portfolio-box:hover .hf-portfolio-title,
.hf-portfolio-box:hover .hf-portfolio-sub {
  color: #fff;
}

.hf-portfolio-title {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 0.4rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.hf-portfolio-sub {
  font-size: 0.7rem;
  color: #888;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Sonho Esmeralda - green/black gradient */
.hf-portfolio-box:nth-child(2) {
  background: linear-gradient(135deg, #22c55e, #16a34a, #15803d, #111, #15803d, #22c55e);
  background-size: 300% 300%;
}

/* AllBlackJimmy - solid black border */
.hf-portfolio-box:nth-child(3) {
  background: #111;
}

/* YungBludJimmy - pink-violet/petrol blue gradient */
.hf-portfolio-box:nth-child(4) {
  background: linear-gradient(135deg, #ec4899, #db2777, #0891b2, #111, #0891b2, #db2777, #ec4899);
  background-size: 300% 300%;
}

/* Latest Section */
.hf-latest {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.hf-latest-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hf-latest-post {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.hf-latest-post:hover .hf-latest-title {
  text-decoration: underline;
}

.hf-latest-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
}

.hf-latest-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  color: #111;
  margin: 0 0 0.3rem;
}

.hf-latest-date {
  font-size: 0.75rem;
  color: #999;
}

/* Easter egg */
.hf-easter {
  text-align: center;
  font-size: 0.8rem;
  color: #ccc;
  margin: 2rem 0;
  cursor: default;
  transition: color 0.3s ease;
}

.hf-easter:hover {
  color: #999;
}

/* Footer */
.hf-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.hf-footer p {
  font-size: 0.7rem;
  color: #aaa;
  letter-spacing: 0.1em;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 600px) {
  .home-future {
    padding: 2rem 1.25rem;
  }
  
  .hf-header h1 {
    font-size: 1.1rem;
  }
  
  .hf-logo-banner {
    max-width: 45%;
    max-height: 70%;
    clip-path: inset(1px 1px 1px 1px);
  }
  
  .hf-particle-box {
    height: 150px;
  }
  
  .hf-bio {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hf-bio-photo {
    margin: 0 auto;
  }
  
  .hf-social {
    justify-content: center;
  }
  
  .hf-ctas {
    grid-template-columns: 1fr;
  }
  
  .hf-cta {
    padding: 1.5rem 1rem;
  }
  
  .hf-latest-post {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }
  
  .hf-latest-img {
    width: 80px;
    height: 60px;
  }
  
  .hf-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .hf-portfolio-box {
    padding: 0.85rem 1rem;
  }
  
  .hf-portfolio-title {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
  
  .hf-portfolio-sub {
    font-size: 0.65rem;
  }
  
  .hf-portfolio-box::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    font-size: 0.85rem;
    right: 0.75rem;
  }
}
