:root {
      --primary: #FFD700;
      --primary-light: #FFF2A0;
      --primary-dark: #D4AF37;
      --light: #FFFFFF;
      --gray: #e0e0e0;
      --gray-dark: #aaaaaa;
      --shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
      --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

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

    body {
      background-color: var(--light);
      color: #333;
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    header {
      text-align: center;
      margin-bottom: 60px;
    }

    h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 3.5rem;
      font-weight: 700;
      background: linear-gradient(90deg, var(--primary), var(--primary-dark));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 12px;
      letter-spacing: -1px;
    }

    .subtitle {
      font-weight: 400;
      color: var(--primary-dark);
      font-size: 1.2rem;
    }

    .compare-section {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 60px;
      position: relative;
    }

    .vs-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 0 15px;
    }

    .vs {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-dark);
      opacity: 0.9;
      white-space: nowrap;
      transition: var(--transition);
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .vs-line {
      width: 2px;
      height: 40px;
      background: linear-gradient(to bottom, transparent, var(--primary), transparent);
      margin: 4px 0;
    }

    .player-select-container {
      position: relative;
      width: 300px;
    }

    .search-input {
      width: 100%;
      padding: 16px 20px;
      border: 2px solid var(--gray);
      border-radius: 16px;
      background-color: #fafafa;
      color: #333;
      font-size: 1rem;
      outline: none;
      transition: var(--transition);
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .search-input:focus {
      border-color: var(--primary);
      box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
      transform: translateY(-2px);
    }

    .label {
      font-size: 0.9rem;
      color: var(--primary-dark);
      margin-bottom: 8px;
      display: block;
      text-align: center;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 1px solid var(--gray);
      border-radius: 16px;
      max-height: 300px;
      overflow-y: auto;
      z-index: 1000;
      box-shadow: var(--shadow-light);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: var(--transition);
    }

    .dropdown.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(8px);
    }

    .player-option {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      cursor: pointer;
      border-bottom: 1px solid var(--gray);
      transition: var(--transition);
    }

    .player-option:hover {
      background: var(--primary-light);
      transform: translateX(6px);
    }

    .player-option:last-child {
      border-bottom: none;
    }

    .player-img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 12px;
      border: 2px solid var(--primary);
      box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
      overflow: hidden;
      background-color: #f0f0f0;
    }

    .player-img img {
      width: 40px;
      height: 51px;
      display: block;
    }

    .player-img img:not([src]) {
      display: none;
    }

    .player-info {
      flex: 1;
    }

    .player-name {
      font-weight: 600;
      font-size: 0.95rem;
      color: #333;
    }

    .player-meta {
      font-size: 0.8rem;
      color: var(--primary-dark);
    }

    .stats-container {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 30px;
    }

    .stat-card {
      background: white;
      border: 1px solid var(--gray);
      border-radius: 16px;
      padding: 24px;
      flex: 1;
      min-width: 280px;
      max-width: 380px;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow-light);
    }

    .stat-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15);
      border-color: var(--primary-light);
    }

    .player-header {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    .player-header .img-wrapper {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 3px solid var(--primary);
      margin-right: 16px;
      overflow: hidden;
    }

    .player-header .img-wrapper img {
      width: 58px;
      height: 76px;
      display: block;
    }

    .player-header h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #333;
    }

    .player-team {
      font-size: 0.95rem;
      color: var(--primary-dark);
      margin-bottom: 20px;
      font-weight: 500;
    }

    .stat-item {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px dashed var(--gray);
      font-size: 0.95rem;
    }

    .stat-item:last-child {
      border-bottom: none;
    }

    .stat-label {
      color: var(--primary-dark);
    }

    .stat-value {
      font-weight: 600;
      color: #333;
    }

    .captain-suggestion {
      text-align: center;
      margin-top: 60px;
      padding: 40px;
      background: linear-gradient(135deg, var(--primary-light), white);
      border-radius: 20px;
      border: 1px solid var(--gray);
      box-shadow: var(--shadow-light);
    }

    .captain-suggestion h2 {
      font-size: 1.8rem;
      margin-bottom: 16px;
      color: var(--primary-dark);
      font-weight: 600;
    }

    .captain-name {
      font-size: 2.4rem;
      font-weight: 700;
      color: #333;
      margin: 10px 0;
      font-family: 'Space Grotesk', sans-serif;
    }

    .captain-reason {
      font-size: 1.1rem;
      color: #555;
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .loading {
      text-align: center;
      color: var(--primary-dark);
      font-size: 1.1rem;
      margin: 20px 0;
      display: none;
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 2.8rem;
      }
      .compare-section {
        flex-direction: column;
      }
      .vs-container {
        margin: 20px 0;
        transform: rotate(90deg);
      }
      .vs {
        font-size: 2rem;
      }
      .vs-line {
        height: 30px;
      }
      .player-select-container {
        width: 100%;
        max-width: 320px;
      }
    }

    /* Micro-interactions */
    .pulse {
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    .glow {
      position: relative;
    }

    .glow::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, transparent, var(--primary), transparent);
      border-radius: 18px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .glow:focus-within::after {
      opacity: 0.3;
    }

    /* Scrollbar styling */
    .dropdown::-webkit-scrollbar {
      width: 6px;
    }

    .dropdown::-webkit-scrollbar-track {
      background: #f0f0f0;
      border-radius: 10px;
    }

    .dropdown::-webkit-scrollbar-thumb {
      background: var(--primary);
      border-radius: 10px;
    }

    .dropdown::-webkit-scrollbar-thumb:hover {
      background: var(--primary-dark);
    }

    .app-logo {
      width: 70px;
      height: 70px;
      position: relative;
      top: 15px;
      margin: 5px;
    }