    /* Custom style for player card page matching the mockup perfectly */
    .player-card-section {
      padding: 3rem 0 5rem 0;
      min-height: calc(100vh - 350px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle at top, rgba(29,78,216,0.12) 0%, transparent 60%);
      position: relative;
      overflow: hidden;
    }

    /* Top Layout Header inside Page Section */
    .page-inner-header {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
    }

    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.25rem;
      border-radius: 9999px;
      background: rgba(30, 32, 40, 0.6);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      color: var(--foreground);
      font-size: 0.9rem;
      font-weight: 500;
      transition: all 0.3s;
    }
    .back-btn:hover {
      background: var(--border);
      color: var(--accent);
      transform: translateX(-4px);
    }

    .brand-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .brand-logo {
      width: 48px;
      height: 48px;
      object-fit: contain;
      filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.2));
    }
    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }
    .brand-name {
      font-family: var(--font-sans);
      font-weight: 700;
      font-size: 1.15rem;
      color: #fff;
    }
    .brand-sub {
      font-size: 0.8rem;
      color: var(--muted-foreground);
    }

    .player-header-title {
      font-family: var(--font-sans);
      font-weight: 700;
      font-size: 1.5rem;
      color: #fff;
      text-align: right;
    }

    /* ── PLAYERS GRID LAYOUT ── */
    .players-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 2.5rem;
      width: 100%;
      max-width: 1000px;
      margin-top: 1rem;
    }
    
    @media (min-width: 576px) {
      .players-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (min-width: 768px) {
      .players-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    
    @media (min-width: 992px) {
      .players-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .player-grid-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    .card-container-wrapper {
      position: relative;
      z-index: 5;
      filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.4)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
      transition: transform 0.15s ease;
      width: 100%;
      max-width: 240px;
      aspect-ratio: 450 / 670;
    }
    
    .player-card-img-display {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transform-style: preserve-3d;
      transition: transform 0.15s ease;
      cursor: pointer;
    }

    .player-name-subtitle {
      font-family: var(--font-display);
      font-size: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--accent);
      margin-top: 1rem;
      text-align: center;
    }

    /* Delete Button on each Card wrapper */
    .player-delete-btn {
      position: absolute;
      top: -0.5rem;
      right: -0.5rem;
      z-index: 50;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 9999px;
      background: rgba(239, 68, 68, 0.95);
      color: #fff;
      border: 1px solid rgba(239, 68, 68, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .player-delete-btn:hover {
      background: #ef4444;
      transform: scale(1.1);
      box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
    }

    #btnAddPlayer:hover {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    }
    #btnLogoutPlayer:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.35);
      transform: translateY(-2px);
    }
    
    /* Search Bar Styling */
    #playerSearchInput:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
      background: rgba(30, 32, 40, 0.85);
    }

    /* ── LIGHTBOX OVERLAY ── */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      background: rgba(5, 5, 8, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .lightbox-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 90%;
      max-height: 85vh;
      position: relative;
    }
    
    .lightbox-content img {
      max-width: 100%;
      max-height: 72vh;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 30px rgba(34, 197, 94, 0.3);
      animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    }
    
    @keyframes zoomIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    
    .lightbox-close {
      position: absolute;
      top: 2rem;
      right: 2rem;
      background: none;
      border: none;
      color: #fff;
      font-size: 3rem;
      cursor: pointer;
      transition: all 0.2s;
      line-height: 1;
      z-index: 1100;
    }
    
    .lightbox-close:hover {
      color: var(--accent);
      transform: scale(1.1);
    }
    
    #lightboxDownloadBtn:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    }
