---
// Hero component with animated gradient
---

<section class="hero">
  <div class="container">
    <div class="hero-content">
      <h1 class="hero-title">
        Chat Across <span class="gradient-text">All Games</span>
      </h1>
      <p class="hero-subtitle">
        Your gaming identity and friends follow you everywhere. 
        Own your <span class="highlight">.aethex</span> domain, connect with your squad across every game.
      </p>
      <div class="cta-buttons">
        <a href="#download" class="btn-primary">
          📱 Download App
        </a>
        <a href="#features" class="btn-secondary">
          Learn More →
        </a>
      </div>
      <p class="hero-caption">
        Available on iOS, Android, Windows, macOS & Linux
      </p>
    </div>
    
    <div class="hero-visual">
      <div class="phone-mockup">
        <div class="phone-screen">
          <div class="chat-preview">
            <div class="chat-item">
              <span class="avatar">🎮</span>
              <div>
                <div class="chat-name">Squad Goals</div>
                <div class="chat-msg">Let's run Valorant</div>
              </div>
              <span class="chat-badge">3</span>
            </div>
            <div class="chat-item">
              <span class="avatar">👤</span>
              <div>
                <div class="chat-name">john.aethex</div>
                <div class="chat-msg">yo wanna play?</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<style>
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #000000 0%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,217,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  @media (max-width: 768px) {
    .container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
  }

  .gradient-text {
    background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .highlight {
    color: #00d9ff;
    font-weight: 600;
  }

  .cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
  }

  .btn-primary {
    background: linear-gradient(135deg, #00d9ff 0%, #00b8d9 100%);
    color: #000;
    box-shadow: 0 8px 24px rgba(0,217,255,0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,217,255,0.4);
  }

  .btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
  }

  .hero-caption {
    font-size: 0.875rem;
    color: #707070;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
  }

  .phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    padding: 1.5rem 1rem;
  }

  .chat-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .chat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .avatar {
    font-size: 2rem;
  }

  .chat-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
  }

  .chat-msg {
    font-size: 0.8rem;
    color: #b0b0b0;
  }

  .chat-badge {
    margin-left: auto;
    background: #00d9ff;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .phone-mockup {
      width: 250px;
      height: 500px;
    }
  }
</style>
