
        @import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&family=Inter+Tight:wght@300;400;600;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --christmas-red: #C41E3A;
            --christmas-green: #165B33;
            --gold: #FFD700;
            --light-gold: #FFF8DC;
            --dark-red: #8B0000;
        }
        
        body {
            font-family: 'Inter Tight', sans-serif;
            overflow-x: hidden;
            background: linear-gradient(135deg, #1a4d2e 0%, #8B0000 100%);
            min-height: 100vh;
        }
        
        /* Animated Background */
        .snowflakes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }
        
        .snowflake {
            position: absolute;
            top: -10px;
            color: white;
            font-size: 1em;
            animation: fall linear infinite;
            opacity: 0.8;
        }
        
        @keyframes fall {
            to {
                transform: translateY(100vh);
            }
        }
        
        /* Header */
        .header {
            position: relative;
            z-index: 10;
            background: linear-gradient(135deg, var(--dark-red), var(--christmas-red));
            padding: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .logo-title {
            font-family: 'Mountains of Christmas', cursive;
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: white;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            margin: 0;
        }
        
        .btn-back {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid var(--gold);
            padding: 10px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-back:hover {
            background: var(--gold);
            color: var(--dark-red);
            transform: translateY(-2px);
        }
        
        /* Main Container */
        .main-container {
            position: relative;
            z-index: 2;
            padding: 40px 20px;
            min-height: calc(100vh - 200px);
        }
        
        /* Stats Bar */
        .stats-bar {
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            text-align: center;
        }
        
        .stat-item {
            padding: 20px;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--christmas-green), #0d4025);
            color: white;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--gold);
            display: block;
        }
        
        .stat-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            margin-top: 5px;
        }
        
        /* Filters */
        .filters-section {
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .filters-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            align-items: end;
        }
        
        .filter-group label {
            display: block;
            font-weight: 600;
            color: var(--christmas-green);
            margin-bottom: 8px;
        }
        
        .filter-input {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--christmas-green);
            border-radius: 10px;
            font-size: 1rem;
        }
        
        .btn-filter {
            background: linear-gradient(45deg, var(--christmas-red), var(--dark-red));
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .btn-filter:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(196,30,58,0.4);
        }
        
        .btn-clear {
            background: linear-gradient(45deg, #666, #888);
        }
        
        /* Sort Options */
        .sort-options {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .sort-btn {
            background: rgba(255,255,255,0.95);
            color: var(--christmas-green);
            border: 2px solid var(--christmas-green);
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .sort-btn.active {
            background: linear-gradient(45deg, var(--christmas-green), #0d4025);
            color: white;
            border-color: var(--gold);
        }
        
        .sort-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        /* Contestants Grid */
        .contestants-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .contestant-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            border: 3px solid var(--gold);
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .contestant-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(196,30,58,0.3);
        }
        
        .contestant-image {
            position: relative;
            width: 100%;
            height: 350px;
            overflow: hidden;
        }
        
        .contestant-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .contestant-card:hover .contestant-image img {
            transform: scale(1.1);
        }
        
        .contestant-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 15px;
        }
        
        .rank-badge {
            background: rgba(255,215,0,0.95);
            color: var(--dark-red);
            padding: 8px 15px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            align-self: flex-start;
            box-shadow: 0 3px 10px rgba(0,0,0,0.3);
        }
        
        .rank-badge.top3 {
            background: linear-gradient(45deg, var(--gold), #FFA500);
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .vote-count {
            background: rgba(255,255,255,0.95);
            color: var(--christmas-red);
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.3);
            align-self: flex-end;
        }
        
        .vote-count i {
            color: var(--christmas-red);
            animation: heartbeat 1.5s ease-in-out infinite;
        }
        
        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            25% { transform: scale(1.2); }
        }
        
        .contestant-info {
            padding: 20px;
        }
        
        .contestant-info h4 {
            color: var(--christmas-green);
            font-weight: 700;
            margin-bottom: 10px;
            font-size: 1.3rem;
        }
        
        .contestant-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            color: #666;
            font-size: 0.9rem;
        }
        
        .contestant-meta i {
            margin-right: 5px;
        }
        
        .progress-bar-container {
            display: none;
        }
        
        .progress-bar-fill {
            display: none;
        }
        
        .btn-vote {
            background: linear-gradient(45deg, var(--christmas-red), var(--dark-red));
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            box-shadow: 0 5px 15px rgba(196,30,58,0.3);
        }
        
        .btn-vote:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(196,30,58,0.5);
            background: linear-gradient(45deg, var(--dark-red), var(--christmas-red));
        }
        
        /* Voting Modal - OPTIMIZED FOR PERFORMANCE */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
            will-change: opacity, visibility;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: 30px;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            transform: translateY(20px);
            opacity: 0;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
            will-change: transform, opacity;
        }
        
        .modal-overlay.active .modal-content {
            transform: translateY(0);
            opacity: 1;
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--christmas-red), var(--dark-red));
            padding: 30px;
            border-radius: 30px 30px 0 0;
            color: white;
            text-align: center;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }
        
        .modal-couple-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 5px solid var(--gold);
            object-fit: cover;
            margin: 0 auto 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .modal-couple-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .modal-vote-count {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .modal-body {
            padding: 30px;
        }
        
        .vote-info-card {
            background: linear-gradient(135deg, var(--christmas-green), #0d4025);
            border-radius: 20px;
            padding: 25px;
            color: white;
            text-align: center;
            margin-bottom: 25px;
        }
        
        .vote-price {
            font-size: 3rem;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 5px;
        }
        
        .vote-price-label {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .vote-quantity-section {
            margin-bottom: 25px;
        }
        
        .vote-quantity-label {
            font-weight: 600;
            color: var(--christmas-green);
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
        }
        
        .quantity-btn {
            background: var(--christmas-red);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .quantity-btn:hover {
            background: var(--dark-red);
            transform: scale(1.1);
        }
        
        .quantity-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: scale(1);
        }
        
        .quantity-display {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--christmas-red);
            min-width: 80px;
            text-align: center;
        }
        
        .quick-select {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .quick-select-btn {
            background: rgba(22,91,51,0.1);
            color: var(--christmas-green);
            border: 2px solid var(--christmas-green);
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .quick-select-btn:hover {
            background: var(--christmas-green);
            color: white;
        }
        
        .total-section {
            background: linear-gradient(135deg, var(--gold), #FFA500);
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .total-label {
            font-size: 1rem;
            color: var(--dark-red);
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .total-amount {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark-red);
        }
        
        .payment-form {
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            font-weight: 600;
            color: var(--christmas-green);
            margin-bottom: 8px;
        }
        
        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid var(--christmas-green);
            border-radius: 12px;
            font-size: 1rem;
            font-family: 'Inter Tight', sans-serif;
            transition: all 0.3s ease;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--christmas-red);
            box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
        }
        
        .btn-proceed-payment {
            background: linear-gradient(45deg, var(--christmas-red), var(--dark-red));
            color: white;
            border: none;
            padding: 18px;
            border-radius: 15px;
            font-weight: 700;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            box-shadow: 0 8px 25px rgba(196,30,58,0.4);
        }
        
        .btn-proceed-payment:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(196,30,58,0.6);
        }
        
        .payment-methods {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #e0e0e0;
        }
        
        .payment-icon {
            width: 50px;
            height: 35px;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 600;
            color: #666;
        }
        
        .btn-share {
            background: linear-gradient(45deg, var(--christmas-green), #0d4025);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 10px;
            position: relative;
        }
        
        .btn-share:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(22,91,51,0.5);
        }
        
        .btn-share.copied {
            background: linear-gradient(45deg, var(--gold), #FFA500);
            color: var(--dark-red);
        }
        
        /* Pagination */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
        }
        
        .pagination-btn {
            background: rgba(255,255,255,0.95);
            color: var(--christmas-green);
            border: 2px solid var(--christmas-green);
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .pagination-btn:hover:not(:disabled) {
            background: var(--christmas-green);
            color: white;
            transform: translateY(-2px);
        }
        
        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .pagination-btn.active {
            background: linear-gradient(45deg, var(--christmas-green), #0d4025);
            color: white;
            border-color: var(--gold);
        }
        
        /* Footer */
        .footer {
            position: relative;
            z-index: 2;
            background: var(--dark-red);
            color: white;
            padding: 30px 20px;
            text-align: center;
            margin-top: 40px;
        }
        
        .social-links a {
            color: white;
            font-size: 1.5rem;
            margin: 0 10px;
            transition: color 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--gold);
        }
        
        /* Loading State */
        .loading {
            text-align: center;
            padding: 60px 20px;
            color: white;
        }
        
        .loading i {
            font-size: 3rem;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* No Results */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .no-results i {
            font-size: 4rem;
            color: var(--christmas-red);
            margin-bottom: 20px;
        }
        
        .no-results h3 {
            color: var(--christmas-green);
            margin-bottom: 15px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .contestants-grid {
                grid-template-columns: 1fr;
            }
            
            .filters-grid {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                justify-content: center;
                text-align: center;
            }
        }