/* src/main/resources/templates/landing-home.html */

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Outfit', sans-serif;
      background: linear-gradient(135deg, #020306 0%, #0a0d12 30%, #05070a 100%);
      min-height: 100vh;
      color: #fff;
      overflow-x: hidden;
      position: relative;
    }
    /* Starfield */
    .starfield { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; }
    .star {
      position: absolute; width: 1.5px; height: 1.5px; background: rgba(255, 255, 255, 0.4);
      border-radius: 50%; animation: twinkle var(--dur, 4s) var(--delay, 0s) infinite;
    }
    @keyframes twinkle { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.7; } }
    @keyframes rjFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    
    /* Navbar */
    .home-navbar {
      display: flex; align-items: center; justify-content: space-between;
      padding: 30px 60px; position: relative; z-index: 10;
    }
    .home-logo {
      display: flex; align-items: center; gap: 14px; text-decoration: none;
    }
    .home-logo img {
      width: 44px; height: 44px; animation: rjFloat 6s ease-in-out infinite;
      border-radius: 50%; object-fit: cover;
    }
    .home-logo span {
      font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: -1.8px;
    }
    .nav-links { display: flex; gap: 40px; align-items: center; }
    .nav-links a {
      color: rgba(255,255,255,0.7); text-decoration: none; font-size: 1rem; font-weight: 700; transition: color 0.3s;
    }
    .nav-links a:hover { color: #fff; }
    /* Cards container */
    .cards-container {
      display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
      max-width: 1240px; margin: 20px auto; padding: 0 40px 40px 40px; position: relative; z-index: 10;
    }
    /* Club Card - Redesigned with integrated background */
    .club-card {
      border-radius: 44px; overflow: hidden; transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      position: relative; cursor: pointer; backdrop-filter: blur(20px);
      min-height: 780px; display: flex; flex-direction: column;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: #000;
    }
    .club-card:hover { transform: translateY(-16px); }
    
    .club-card-bg {
      position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
      transition: transform 0.6s ease;
    }
    .club-card:hover .club-card-bg { transform: scale(1.08); }
    .club-card-bg img { width: 100%; height: 100%; object-fit: cover; }
    .club-card-bg::after {
      content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, #000 100%);
    }

    /* Atmospheric Glows */
    .club-card.corinthians {
      box-shadow: 0 30px 100px rgba(0,0,0,0.8), 0 0 140px rgba(0, 183, 255, 0.08);
    }
    .club-card.palmeiras {
      box-shadow: 0 30px 100px rgba(0,0,0,0.8), 0 0 140px rgba(74, 222, 128, 0.12);
    }
    .club-card.corinthians:hover { box-shadow: 0 50px 150px rgba(0, 183, 255, 0.15); }
    .club-card.palmeiras:hover { box-shadow: 0 50px 150px rgba(74, 222, 128, 0.2); }
    
    .club-badge {
      position: relative; z-index: 2;
      display: inline-flex; align-items: center; gap: 10px;
      padding: 10px 22px; border-radius: 24px; font-size: 0.9rem; font-weight: 800; margin: 40px 40px 15px;
      backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1);
      letter-spacing: 0.5px;
    }
    .corinthians .club-badge { background: rgba(255,255,255,0.06); color: #fff; }
    .palmeiras .club-badge { background: rgba(74,222,128,0.12); color: #4ade80; border-color: rgba(74,222,128,0.2); }
    .club-badge img { width: 24px; height: 24px; border-radius: 50%; }
    
    .club-headline {
      position: relative; z-index: 2;
      font-size: 3.2rem; font-weight: 900; line-height: 0.9; padding: 0 40px; margin-bottom: auto;
      text-transform: uppercase; letter-spacing: -2.2px; font-style: italic;
    }
    .corinthians .club-headline { color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    .palmeiras .club-headline { color: #c8aa50; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    
    .club-bottom {
      position: relative; z-index: 2;
      margin: 0 25px 25px 25px; border-radius: 34px; padding: 34px; 
      background: rgba(15,18,24,0.45); backdrop-filter: blur(40px); 
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 50px rgba(0,0,0,0.5);
      min-height: 380px; display: flex; flex-direction: column; justify-content: space-between;
    }
    .palmeiras .club-bottom { border-color: rgba(200,170,80,0.15); background: rgba(8,20,12,0.45); }
    
    .bottom-subtitle { font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2.8px; margin-bottom: 10px; }
    .palmeiras .bottom-subtitle { color: rgba(216, 188, 104, 0.7); }
    .bottom-title { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 28px; letter-spacing: -1.2px; line-height: 1; }

    .features-row { display: flex; gap: 30px; margin-bottom: 20px; }
    .feature-item { display: flex; align-items: center; gap: 14px; }
    .feature-icon {
      width: 54px; height: 54px; min-width: 54px; border-radius: 50%; background: rgba(255,255,255,0.05);
      display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); font-size: 24px;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .palmeiras .feature-icon { color: #d8bc68; background: rgba(216, 188, 104, 0.08); border-color: rgba(216, 188, 104, 0.1); }
    .feature-text { font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.7); line-height: 1.3; }

    .club-cta {
      display: flex; align-items: center; justify-content: center; width: 100%; padding: 22px; border-radius: 18px;
      font-size: 1.1rem; font-weight: 900; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); gap: 12px; margin-top: 15px;
    }
    .corinthians .club-cta {
      background: rgba(255,255,255,0.08); color: #ffffff; border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .corinthians .club-cta:hover {
      transform: translateY(-5px) scale(1.02); background: rgba(255,255,255,0.14);
      box-shadow: 0 15px 40px rgba(0,183,255,0.2), inset 0 1px 0 rgba(255,255,255,0.2); 
      border-color: rgba(255,255,255,0.6);
    }
    .palmeiras .club-cta {
      background: linear-gradient(180deg, #d8bc68, #b89c48); color: #071a0e; border: none;
      box-shadow: 0 12px 30px rgba(200,170,80,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    .palmeiras .club-cta:hover {
      transform: translateY(-5px) scale(1.02); 
      box-shadow: 0 20px 50px rgba(200,170,80,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
    }

    /* Mobile */
    @media (max-width: 992px) {
      .home-navbar { padding: 18px 22px 24px; flex-direction: column; gap: 18px; align-items: stretch; }
      .home-logo { justify-content: center; }
      .home-logo img { width: 42px; height: 42px; }
      .home-logo span { font-size: 1.55rem; letter-spacing: 0; }
      .nav-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
      .nav-links a {
        min-height: 50px; padding: 10px 8px; border-radius: 8px; background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
        text-align: center; font-size: 0.88rem; line-height: 1.05; letter-spacing: 0;
      }
      .cards-container { grid-template-columns: 1fr; gap: 20px; width: 100%; margin: 0 auto; padding: 0 22px 48px; }
      .club-card { min-height: 700px; border-radius: 32px; }
      .club-badge { margin: 40px 40px 16px; width: calc(100% - 80px); justify-content: center; }
      .club-headline { font-size: 1.9rem; line-height: 0.92; padding: 0 40px; letter-spacing: 0; }
      .club-bottom { margin: 0 28px 28px; padding: 28px; border-radius: 28px; min-height: auto; gap: 24px; }
      .bottom-subtitle { letter-spacing: 2px; }
      .bottom-title { font-size: 1.55rem; line-height: 1.05; letter-spacing: 0; }
      .features-row { gap: 16px; justify-content: space-between; flex-wrap: wrap; }
      .feature-item { flex: 1 1 130px; }
      .club-cta { border-radius: 8px; padding: 18px 14px; font-size: 0.98rem; text-align: center; }
    }

    @media (max-width: 480px) {
      .home-navbar { padding: 16px 18px 24px; }
      .nav-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
      .nav-links a { font-size: 0.82rem; padding: 10px 6px; }
      .cards-container { padding: 0 22px 44px; }
      .club-card { min-height: 690px; border-radius: 30px; }
      .club-badge { margin: 40px 40px 14px; width: calc(100% - 80px); padding: 10px 16px; }
      .club-headline { font-size: 1.55rem; padding: 0 40px; }
      .club-bottom { margin: 0 26px 26px; padding: 24px 20px; border-radius: 26px; }
      .bottom-title { font-size: 1.35rem; }
      .features-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
      .feature-item { gap: 10px; min-width: 0; }
      .feature-icon { width: 48px; height: 48px; min-width: 48px; font-size: 22px; }
      .feature-text { font-size: 0.9rem; }
    }
  
