    /* ===== RESET & BASE ===== */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: #FF6B9D;
      --primary-light: #FFB8D0;
      --primary-dark: #E91E63;
      --secondary: #FFC1E3;
      --accent: #FF8FAB;
      --gold: #FFD700;
      --bg: #FFF5F7;
      --card-bg: #FFFFFF;
      --text: #4A4A4A;
      --text-light: #7A7A7A;
      --text-dark: #2D2D2D;
      --shadow: rgba(255, 107, 157, 0.15);
      --shadow-hover: rgba(255, 107, 157, 0.3);
      --gradient-1: linear-gradient(135deg, #FF6B9D 0%, #FF8FAB 50%, #FFB8D0 100%);
      --gradient-2: linear-gradient(135deg, #FFB8D0 0%, #FF6B9D 100%);
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ===== ANIMATED BACKGROUND ===== */
    .bg-shapes {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .shape {
      position: absolute;
      border-radius: 50%;
      opacity: 0.08;
      animation: float 20s infinite ease-in-out;
    }

    .shape:nth-child(1) { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; animation-delay: 0s; }
    .shape:nth-child(2) { width: 300px; height: 300px; background: var(--accent); top: 50%; right: -80px; animation-delay: -5s; }
    .shape:nth-child(3) { width: 250px; height: 250px; background: var(--secondary); bottom: -50px; left: 30%; animation-delay: -10s; }
    .shape:nth-child(4) { width: 180px; height: 180px; background: var(--primary-light); top: 30%; left: 10%; animation-delay: -15s; }
    .shape:nth-child(5) { width: 350px; height: 350px; background: var(--primary); bottom: 10%; right: 10%; animation-delay: -7s; }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25% { transform: translate(30px, -30px) scale(1.05); }
      50% { transform: translate(-20px, 20px) scale(0.95); }
      75% { transform: translate(20px, 10px) scale(1.02); }
    }

    /* ===== BACK BUTTON ===== */
    .top-bar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      padding: 1rem 2rem;
      border-bottom: 1px solid rgba(255, 107, 157, 0.1);
    }

    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--primary-dark);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 0.6rem 1.2rem;
      border-radius: 50px;
      border: 2px solid var(--primary-light);
      background: white;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .back-btn:hover {
      background: var(--gradient-1);
      color: white;
      border-color: var(--primary);
      transform: translateX(-5px);
      box-shadow: 0 5px 20px var(--shadow-hover);
    }

    /* ===== HEADER SECTION ===== */
    .header {
      text-align: center;
      padding: 3rem 1rem 2rem;
      position: relative;
      z-index: 1;
    }

    .header-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--gradient-1);
      color: white;
      padding: 0.5rem 1.2rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      animation: fadeInDown 0.8s ease;
      box-shadow: 0 4px 15px var(--shadow);
    }

    .header h1 {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      font-weight: 800;
      background: var(--gradient-2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.5rem;
      animation: fadeInUp 0.8s ease 0.2s both;
    }

    .header p {
      color: var(--text-light);
      font-size: 1.1rem;
      max-width: 500px;
      margin: 0 auto;
      animation: fadeInUp 0.8s ease 0.4s both;
    }

    .header-divider {
      width: 80px;
      height: 4px;
      background: var(--gradient-1);
      border-radius: 2px;
      margin: 1.5rem auto;
      animation: scaleIn 0.8s ease 0.6s both;
    }

    /* ===== STATS BAR ===== */
    .stats-bar {
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
      padding: 1rem 2rem 2rem;
      position: relative;
      z-index: 1;
    }

    .stat-item {
      text-align: center;
      padding: 1rem 2rem;
      background: white;
      border-radius: 20px;
      box-shadow: 0 4px 20px var(--shadow);
      animation: fadeInUp 0.8s ease both;
    }

    .stat-item:nth-child(1) { animation-delay: 0.1s; }
    .stat-item:nth-child(2) { animation-delay: 0.2s; }
    .stat-item:nth-child(3) { animation-delay: 0.3s; }

    .stat-number {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      background: var(--gradient-1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-label {
      font-size: 0.85rem;
      color: var(--text-light);
      font-weight: 500;
    }

    /* ===== GRID LAYOUT ===== */
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem 4rem;
      position: relative;
      z-index: 1;
    }

    .winners-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    /* ===== CONTEST CARD ===== */
    .contest-card {
      background: var(--card-bg);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 8px 30px var(--shadow);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      animation: fadeInUp 0.8s ease both;
      border: 1px solid rgba(255, 107, 157, 0.08);
    }

    .contest-card:nth-child(1) { animation-delay: 0.05s; }
    .contest-card:nth-child(2) { animation-delay: 0.1s; }
    .contest-card:nth-child(3) { animation-delay: 0.15s; }
    .contest-card:nth-child(4) { animation-delay: 0.2s; }
    .contest-card:nth-child(5) { animation-delay: 0.25s; }
    .contest-card:nth-child(6) { animation-delay: 0.3s; }
    .contest-card:nth-child(7) { animation-delay: 0.35s; }
    .contest-card:nth-child(8) { animation-delay: 0.4s; }
    .contest-card:nth-child(9) { animation-delay: 0.45s; }
    .contest-card:nth-child(10) { animation-delay: 0.5s; }
    .contest-card:nth-child(11) { animation-delay: 0.55s; }
    .contest-card:nth-child(12) { animation-delay: 0.6s; }
    .contest-card:nth-child(13) { animation-delay: 0.65s; }
    .contest-card:nth-child(14) { animation-delay: 0.7s; }
    .contest-card:nth-child(15) { animation-delay: 0.75s; }
    .contest-card:nth-child(16) { animation-delay: 0.8s; }
    .contest-card:nth-child(17) { animation-delay: 0.85s; }
    .contest-card:nth-child(18) { animation-delay: 0.9s; }
    .contest-card:nth-child(19) { animation-delay: 0.95s; }
    .contest-card:nth-child(20) { animation-delay: 1s; }
    .contest-card:nth-child(21) { animation-delay: 1.05s; }
    .contest-card:nth-child(22) { animation-delay: 1.1s; }
    .contest-card:nth-child(23) { animation-delay: 1.15s; }
    .contest-card:nth-child(24) { animation-delay: 1.2s; }
    .contest-card:nth-child(25) { animation-delay: 1.25s; }

    .contest-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 20px 50px var(--shadow-hover);
      border-color: rgba(255, 107, 157, 0.2);
    }

    /* Card Cover */
    .card-cover {
      position: relative;
      height: 180px;
      overflow: hidden;
    }

    .card-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .contest-card:hover .card-cover img {
      transform: scale(1.1);
    }

    .card-cover-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60%;
      background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    }

    .contest-number {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      color: var(--primary-dark);
      font-weight: 700;
      font-size: 0.8rem;
      padding: 0.4rem 0.8rem;
      border-radius: 50px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Card Content */
    .card-content {
      padding: 1.2rem 1.5rem 1.5rem;
    }

    .card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

    .card-prize {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%);
      color: #F57F17;
      font-weight: 700;
      font-size: 0.9rem;
      padding: 0.4rem 0.9rem;
      border-radius: 50px;
      margin-bottom: 1rem;
      border: 1px solid rgba(255, 215, 0, 0.3);
    }

    .card-prize .trophy-icon {
      font-size: 1rem;
    }

    /* Show Winner Button */
    .show-winner-btn {
      width: 100%;
      padding: 0.85rem 1rem;
      border: none;
      border-radius: 16px;
      background: var(--gradient-1);
      color: white;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
      position: relative;
      overflow: hidden;
    }

    .show-winner-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s ease;
    }

    .show-winner-btn:hover::before {
      left: 100%;
    }

    .show-winner-btn:hover {
      transform: scale(1.03);
      box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
    }

    .show-winner-btn:active {
      transform: scale(0.98);
    }

    /* ===== MODAL ===== */
    .modal-overlay {
     overflow-y:auto;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      padding: 1rem;
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

  .modal{
    background:#fff;
    border-radius:30px;
    max-width:500px;
    width:100%;
    overflow:hidden;
    position:relative;

    transform:scale(.8) translateY(50px);
    transition:.5s;
}

    .modal-overlay.active .modal {
      transform: scale(1) translateY(0);
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: var(--text);
      transition: all 0.3s ease;
      z-index: 10;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .modal-close:hover {
      background: var(--primary);
      color: white;
      transform: rotate(90deg);
    }

    .modal-cover {
      position: relative;
      height: 220px;
      overflow: hidden;
    }

    .modal-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-cover-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 70%;
      background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }

    .modal-winner-badge {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gradient-1);
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      white-space: nowrap;
    }

   .modal-body{
    background:#fff;
    padding:1.8rem 2rem 2rem;
    text-align:center;
}

    .modal-contest-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

    .modal-prize {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%);
      color: #F57F17;
      font-weight: 700;
      font-size: 1rem;
      padding: 0.5rem 1.2rem;
      border-radius: 50px;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(255, 215, 0, 0.3);
    }

    .winner-avatar {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: var(--gradient-1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      font-size: 2rem;
      box-shadow: 0 8px 25px var(--shadow-hover);
      animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); box-shadow: 0 8px 25px var(--shadow-hover); }
      50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4); }
    }

    .winner-label {
      font-size: 0.85rem;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 500;
      margin-bottom: 0.3rem;
    }

.winner-name{
    color: #C62828;
    scrollbar-width:thin;
    scrollbar-color:#ff8fab transparent;
}

.winner-name::-webkit-scrollbar{
    width:5px;
}

.winner-name::-webkit-scrollbar-track{
    background:transparent;
}

.winner-name::-webkit-scrollbar-thumb{
    background:rgba(255,107,157,.45);
    border-radius:50px;
}

.winner-name::-webkit-scrollbar-thumb:hover{
    background:#ff6b9d;
}

.winner-name::-webkit-scrollbar-thumb{
    border-radius:20px;
    background:linear-gradient(
        to bottom,
        #ffb8d0,
        #ff6b9d
    );
}


/* Single winner */
.winner-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    background:var(--gradient-1);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 1rem;
    font-size:2rem;
    box-shadow:0 8px 25px var(--shadow-hover);
}

/* Multiple winners */
.winner-avatar.multiple{
    width:auto;
    height:auto;
    background:none;
    box-shadow:none;
    gap:-12px;
}

.winner-avatar.multiple span{
    width:70px;
    height:70px;
    border-radius:50%;
    background:var(--gradient-1);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.2rem;
    color:#444;
    font-weight:700;
    margin-left:-12px;
    border:3px solid #fff;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.winner-avatar.multiple span:first-child{
    margin-left:0;
}

    .winner-story {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .winner-avatar img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.winner-avatar.multiple{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:0;
    background:none;
    box-shadow:none;
}

.winner-avatar.multiple img{
    width:70px;
    height:70px;
    margin-left:-12px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #fff;
}

.winner-avatar.multiple img:first-child{
    margin-left:0;
}

    .modal-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--gradient-1);
      color: white;
      padding: 0.8rem 2rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
      transition: all 0.3s ease;
    }

    .modal-cta:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
    }

    /* Confetti */
    .confetti-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 999;
      overflow: hidden;
    }

    .confetti {
      position: absolute;
      width: 10px;
      height: 10px;
      top: -10px;
      animation: confetti-fall linear forwards;
    }

    @keyframes confetti-fall {
      0% { transform: translateY(0) rotate(0deg); opacity: 1; }
      100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes scaleIn {
      from { opacity: 0; transform: scaleX(0); }
      to { opacity: 1; transform: scaleX(1); }
    }

    /* ===== FOOTER ===== */
    .footer {
      text-align: center;
      padding: 2rem;
      color: var(--text-light);
      font-size: 0.85rem;
      position: relative;
      z-index: 1;
    }

    .footer-heart {
      color: var(--primary);
      animation: heartbeat 1.5s infinite ease-in-out;
      display: inline-block;
    }
    .view-book-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff6b9d;
    text-decoration: none;
    transition: all .25s ease;
}

.view-book-link:hover {
    color: #e91e63;
    gap: 10px;
}

.view-book-link svg {
    width: 16px;
    height: 16px;
}

    @keyframes heartbeat {
      0%, 100% { transform: scale(1); }
      14% { transform: scale(1.2); }
      28% { transform: scale(1); }
      42% { transform: scale(1.2); }
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .header h1 { font-size: 2.2rem; }
      .winners-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
      .container { padding: 0 1rem 3rem; }
      .modal { border-radius: 24px; }
      .modal-body { padding: 1.5rem 1.5rem 1.8rem; }
      .winner-name { font-size: 1.5rem; }
      .stats-bar { gap: 1rem; }
      .stat-item { padding: 0.8rem 1.5rem; }
    }

    @media (max-width: 480px) {
      .header h1 { font-size: 1.8rem; }
      .header p { font-size: 0.95rem; }
      .winners-grid { grid-template-columns: 1fr; }
      .top-bar { padding: 0.8rem 1rem; }
      .modal-cover { height: 180px; }
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

    /* ===== SPARKLE ANIMATION ===== */
    .sparkle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--gold);
      border-radius: 50%;
      animation: sparkle 2s infinite ease-in-out;
      pointer-events: none;
    }

    @keyframes sparkle {
      0%, 100% { opacity: 0; transform: scale(0); }
      50% { opacity: 1; transform: scale(1); }
    }
