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

        body {
            font-family: 'Poppins', Arial, sans-serif;
            line-height: 1.6;
            color: #E6E6FA;
            background: linear-gradient(135deg, #1a0033, #2d1b69, #000033);
            min-height: 100vh;
            padding: 40px 20px;
        }

        .roster-container {
            max-width: 1800px;
            margin: 0 auto;
        }

        /* Leaderboard Layout */
        .content-with-leaderboard {
            display: flex;
            gap: 20px;
            position: relative;
        }

        .main-content {
            flex: 1;
            min-width: 0;
            transition: margin-right 0.3s ease;
        }

        /* Add margin when comparison panel is open */
        body:has(.comparison-panel.show) .main-content {
            margin-right: 320px;
        }


        .leaderboard-sidebar {
            width: 320px;
            background: transparent;
            border-radius: 15px;
            padding: 0;
            position: sticky;
            top: 20px;
            height: fit-content;
            max-height: calc(100vh - 40px);
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: transform 0.3s ease;
        }

        /* Spotlight Models Box */
        .spotlighted-models-box {
            background: linear-gradient(135deg, rgba(26, 0, 51, 0.95), rgba(45, 27, 105, 0.95));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(255, 105, 180, 0.3);
            padding: 20px;
            box-shadow:
                0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 105, 180, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .spotlight-header {
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 105, 180, 0.3);
        }

        .spotlight-header h3 {
            color: #E6E6FA;
            font-size: 1.2rem;
            margin: 0;
        }

        .spotlighted-models-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .spotlighted-model-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            border: 2px solid rgba(0, 191, 255, 0.4);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .spotlighted-model-item:hover {
            background: rgba(255, 105, 180, 0.2);
            transform: translateX(5px);
            border-color: rgba(0, 191, 255, 0.8);
        }

        .spotlighted-model-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #00BFFF;
        }

        .spotlighted-model-info {
            flex: 1;
        }

        .spotlighted-model-name {
            color: #E6E6FA;
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 3px;
        }

        .spotlighted-model-meta {
            color: rgba(230, 230, 250, 0.6);
            font-size: 0.75rem;
        }

        .spotlighted-model-badge {
            background: linear-gradient(135deg, #00BFFF, #1E90FF);
            color: #FFF;
            padding: 4px 8px;
            border-radius: 5px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .spotlight-book-btn {
            background: linear-gradient(90deg, #00BFFF, #FF69B4);
            color: white;
            border: none;
            padding: 10px 16px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 15px;
        }

        .spotlight-book-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
        }

        /* Brand Access Data Box */
        .premium-access-box {
            background: linear-gradient(135deg, rgba(26, 0, 51, 0.95), rgba(45, 27, 105, 0.95));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(255, 105, 180, 0.3);
            padding: 20px;
            box-shadow:
                0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 105, 180, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .premium-header {
            margin-bottom: 20px;
        }

        .premium-header h3 {
            color: #FF69B4;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .premium-benefits {
            text-align: left;
            margin-bottom: 20px;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            color: #E6E6FA;
            font-size: 0.85rem;
        }

        .benefit-item i {
            font-size: 1rem;
            flex-shrink: 0;
        }

        .premium-cta-btn {
            background: linear-gradient(90deg, #FF69B4, #FF1493);
            color: #FFF;
            border: none;
            padding: 14px 24px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
        }

        .premium-cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
        }

        .premium-cta-btn i {
            margin-right: 8px;
        }

        .leaderboard-header {
            text-align: center;
            margin-bottom: 15px;
        }

        .leaderboard-header h3 {
            color: #FFD700;
            font-size: 1.4rem;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .leaderboard-list {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .leaderboard-list::-webkit-scrollbar {
            width: 6px;
        }

        .leaderboard-list::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }

        .leaderboard-list::-webkit-scrollbar-thumb {
            background: rgba(255, 105, 180, 0.5);
            border-radius: 3px;
        }

        .leaderboard-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            margin-bottom: 5px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .leaderboard-item:hover {
            background: rgba(255, 105, 180, 0.3);
            transform: translateX(5px);
        }

        .leaderboard-item.top-3 {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 105, 180, 0.2));
            border: 1px solid rgba(255, 215, 0, 0.3);
        }

        .leaderboard-rank {
            font-weight: 700;
            font-size: 0.9rem;
            min-width: 30px;
            color: #FFD700;
        }

        .leaderboard-item.top-3 .leaderboard-rank {
            font-size: 1.1rem;
        }

        .leaderboard-name {
            flex: 1;
            color: #E6E6FA;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .leaderboard-name:hover {
            color: #00BFFF;
            text-decoration: underline;
        }

        .leaderboard-count {
            font-weight: 600;
            color: #FF69B4;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .leaderboard-heart {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .leaderboard-heart:not(.voted):hover {
            transform: scale(1.2);
            filter: brightness(1.3);
        }

        .leaderboard-heart.voted {
            color: #FF1493;
            filter: brightness(1.5);
            cursor: not-allowed;
        }

        .leaderboard-toggle {
            display: none;
            position: fixed;
            right: 20px;
            bottom: 80px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #FF69B4, #9400D3);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(255, 105, 180, 0.5);
            z-index: 999;
            transition: all 0.3s ease;
        }

        .leaderboard-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(255, 105, 180, 0.7);
        }

        /* Mobile Responsiveness */
        @media (max-width: 1200px) {
            .leaderboard-sidebar {
                position: fixed;
                right: -340px;
                top: 0;
                bottom: 0;
                height: 100vh;
                max-height: 100vh;
                border-radius: 0;
                z-index: 1000;
                width: 340px;
            }

            .leaderboard-sidebar.open {
                transform: translateX(-340px);
            }

            .leaderboard-toggle {
                display: block;
            }

            .content-with-leaderboard {
                display: block;
            }

            .main-content {
                width: 100%;
            }
        }

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

        /* Instructions Box */
        .instructions-box {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            padding: 15px 25px;
            background: linear-gradient(135deg, rgba(75, 0, 130, 0.3), rgba(148, 0, 211, 0.3));
            border: 1px solid rgba(255, 105, 180, 0.3);
            border-radius: 12px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .instruction-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            color: #E6E6FA;
            font-weight: 500;
        }

        .instruction-item i {
            font-size: 1.2rem;
        }

        @media (max-width: 768px) {
            .instructions-box {
                flex-direction: column;
                gap: 12px;
                padding: 12px 20px;
            }

            .instruction-item {
                font-size: 0.85rem;
            }
        }

        .logo {
            max-width: 300px;
            margin-bottom: 20px;
            filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.7));
        }

        .page-title {
            font-size: 3rem;
            font-weight: 700;
            background: linear-gradient(135deg, #00ffff, #ff00ff, #9400d3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: #FFD700;
            margin-bottom: 30px;
            font-weight: 600;
            text-shadow:
                0 0 10px rgba(255, 215, 0, 0.8),
                0 0 20px rgba(255, 105, 180, 0.6),
                0 0 30px rgba(255, 215, 0, 0.4),
                0 2px 4px rgba(0, 0, 0, 0.3);
            animation: sparkleGlow 2s ease-in-out infinite;
        }

        @keyframes sparkleGlow {
            0%, 100% {
                text-shadow:
                    0 0 10px rgba(255, 215, 0, 0.8),
                    0 0 20px rgba(255, 105, 180, 0.6),
                    0 0 30px rgba(255, 215, 0, 0.4),
                    0 2px 4px rgba(0, 0, 0, 0.3);
            }
            50% {
                text-shadow:
                    0 0 20px rgba(255, 215, 0, 1),
                    0 0 30px rgba(255, 105, 180, 0.8),
                    0 0 40px rgba(255, 215, 0, 0.6),
                    0 0 50px rgba(255, 105, 180, 0.4),
                    0 2px 4px rgba(0, 0, 0, 0.3);
            }
        }

        /* Controls Section */
        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(75, 0, 130, 0.3);
            border-radius: 15px;
            border: 1px solid rgba(255, 105, 180, 0.3);
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            min-width: 250px;
        }

        .search-box input {
            flex: 1;
            padding: 12px 20px;
            border: 2px solid #FF69B4;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.1);
            color: #E6E6FA;
            font-size: 1rem;
            font-family: 'Poppins', Arial, sans-serif;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-box input::placeholder {
            color: #B8B8D4;
        }

        .search-box input:focus {
            border-color: #00BFFF;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
        }

        .control-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 10px 20px;
            border: 2px solid #FF69B4;
            border-radius: 25px;
            background: rgba(255, 105, 180, 0.2);
            color: #E6E6FA;
            font-size: 0.9rem;
            font-family: 'Poppins', Arial, sans-serif;
            cursor: pointer;
            transition: all 0.3s ease;
            outline: none;
            white-space: nowrap;
        }

        .btn:hover {
            background: rgba(255, 105, 180, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
        }

        .btn.active {
            background: linear-gradient(90deg, #FF69B4, #00BFFF);
            border-color: #00BFFF;
            font-weight: 600;
        }

        .btn i {
            margin-right: 5px;
        }

        .model-count {
            font-size: 1.1rem;
            font-weight: 600;
            color: #00BFFF;
            white-space: nowrap;
        }

        /* Advanced Filters */
        .advanced-filters {
            display: none;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
            padding: 20px;
            background: rgba(75, 0, 130, 0.2);
            border-radius: 10px;
        }

        .advanced-filters.show {
            display: grid;
        }

        .filter-group label {
            display: block;
            font-size: 0.85rem;
            color: #FF69B4;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .filter-group select,
        .filter-group input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #FF69B4;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: #E6E6FA;
            font-size: 0.9rem;
            font-family: 'Poppins', Arial, sans-serif;
            outline: none;
        }

        .filter-group select option {
            background: #1a0033;
            color: #E6E6FA;
        }


        /* Comparison Panel Sidebar */
        .comparison-panel {
            position: fixed;
            top: 80px;
            right: 0;
            width: 320px;
            height: calc(100vh - 80px);
            background: linear-gradient(180deg, rgba(26, 0, 51, 0.98), rgba(13, 0, 26, 0.98));
            border-left: 2px solid rgba(255, 105, 180, 0.3);
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, width 0.3s ease;
            transform: translateX(100%);
        }

        .comparison-panel.show {
            transform: translateX(0);
        }

        .comparison-panel.collapsed {
            width: 50px;
        }

        .comparison-panel-header {
            padding: 20px;
            background: linear-gradient(135deg, rgba(75, 0, 130, 0.8), rgba(148, 0, 211, 0.8));
            border-bottom: 1px solid rgba(255, 105, 180, 0.3);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .comparison-panel-header h3 {
            margin: 0;
            font-size: 1rem;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .panel-count {
            background: linear-gradient(90deg, #FF69B4, #00BFFF);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .panel-toggle-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 105, 180, 0.3);
            color: #E6E6FA;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .panel-toggle-btn:hover {
            background: rgba(255, 105, 180, 0.3);
            transform: scale(1.1);
        }

        .comparison-panel.collapsed .panel-toggle-btn i {
            transform: rotate(180deg);
        }

        .comparison-panel-body {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }

        .empty-state {
            text-align: center;
            color: rgba(230, 230, 250, 0.5);
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .empty-state p {
            margin: 0;
            font-size: 0.9rem;
        }

        .comparison-cards {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .comparison-card {
            background: rgba(75, 0, 130, 0.3);
            border: 1px solid rgba(255, 105, 180, 0.3);
            border-radius: 12px;
            padding: 12px;
            transition: all 0.3s ease;
            position: relative;
        }

        .comparison-card:hover {
            background: rgba(75, 0, 130, 0.5);
            border-color: #FF69B4;
            transform: translateX(-5px);
            box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
        }

        .comparison-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .comparison-card-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #FF69B4;
            object-fit: cover;
        }

        .comparison-card-info {
            flex: 1;
        }

        .comparison-card-name {
            font-weight: 600;
            color: #00BFFF;
            font-size: 1rem;
            margin: 0 0 3px 0;
        }

        .comparison-card-instagram {
            color: #FF69B4;
            font-size: 0.85rem;
            margin: 0;
        }

        .comparison-card-remove {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(255, 107, 107, 0.2);
            border: 1px solid rgba(255, 107, 107, 0.5);
            color: #FF6B6B;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            transition: all 0.3s ease;
        }

        .comparison-card-remove:hover {
            background: rgba(255, 107, 107, 0.5);
            transform: scale(1.15);
        }

        .comparison-card-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 105, 180, 0.2);
        }

        .comparison-card-stat {
            font-size: 0.75rem;
            color: #E6E6FA;
        }

        .comparison-card-stat strong {
            color: #9400D3;
            font-weight: 600;
        }

        .comparison-panel-footer {
            padding: 15px;
            border-top: 1px solid rgba(255, 105, 180, 0.3);
            background: rgba(26, 0, 51, 0.8);
        }

        .compare-all-btn {
            background: linear-gradient(90deg, #00BFFF, #FF69B4) !important;
        }

        /* Hide panel content when collapsed */
        .comparison-panel.collapsed .comparison-panel-header h3 span,
        .comparison-panel.collapsed .comparison-panel-header h3 i:not(.fa-balance-scale),
        .comparison-panel.collapsed .comparison-panel-body,
        .comparison-panel.collapsed .comparison-panel-footer {
            display: none;
        }

        .comparison-panel.collapsed .comparison-panel-header {
            flex-direction: column;
            align-items: center;
            padding: 15px 10px;
        }

        .comparison-panel.collapsed .comparison-panel-header h3 {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-size: 0.9rem;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .comparison-panel {
                width: 100%;
                height: auto;
                top: auto;
                bottom: 0;
                border-left: none;
                border-top: 2px solid rgba(255, 105, 180, 0.3);
                max-height: 50vh;
                transform: translateY(100%);
            }

            .comparison-panel.show {
                transform: translateY(0);
            }

            .comparison-panel.collapsed {
                width: 100%;
                height: 60px;
                max-height: 60px;
            }

            .comparison-panel-header {
                flex-direction: row;
            }

            .comparison-panel.collapsed .comparison-panel-header h3 {
                writing-mode: horizontal-tb;
            }

            /* Reset margin on mobile - panel comes from bottom */
            body:has(.comparison-panel.show) .main-content {
                margin-right: 0;
            }
        }

        /* Table View */
        .table-wrapper {
            overflow-x: auto;
            background: rgba(75, 0, 130, 0.2);
            border-radius: 15px;
            border: 1px solid rgba(255, 105, 180, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.95rem;
        }

        thead {
            background: linear-gradient(135deg, rgba(75, 0, 130, 0.8), rgba(148, 0, 211, 0.8));
            position: sticky;
            top: 0;
            z-index: 10;
        }

        th {
            padding: 18px 12px;
            text-align: left;
            font-weight: 700;
            color: #FFFFFF;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            cursor: pointer;
            user-select: none;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        th:hover {
            background: rgba(255, 105, 180, 0.3);
        }

        /* Sortable columns - clean text approach */
        th.sortable {
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        th.sortable:hover {
            color: #FF69B4;
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        /* Bold the currently sorted column */
        th.sort-asc,
        th.sort-desc {
            font-weight: 900;
            color: #00BFFF;
        }

        th.sort-desc {
            color: #FF69B4;
        }

        tbody tr {
            border-bottom: 1px solid rgba(255, 105, 180, 0.1);
            transition: all 0.3s ease;
        }

        tbody tr:hover {
            background: rgba(255, 105, 180, 0.15);
            transform: scale(1.005);
        }

        tbody tr:nth-child(even) {
            background: rgba(75, 0, 130, 0.1);
        }

        tbody tr:nth-child(even):hover {
            background: rgba(255, 105, 180, 0.15);
        }

        td {
            padding: 16px 12px;
            color: #E6E6FA;
            vertical-align: middle;
        }

        td.name {
            font-weight: 600;
            color: #00BFFF;
            font-size: 1rem;
            cursor: pointer;
            padding-right: 6px !important;
        }

        td.name:hover {
            color: #FF69B4;
            text-decoration: underline;
        }

        td.instagram {
            max-width: 180px;
            padding-left: 6px !important;
            padding-right: 8px !important;
            width: 180px;
        }

        td.instagram a {
            color: #FF69B4;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        td.instagram a:hover {
            color: #00BFFF;
            text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
        }

        td.followers {
            color: #9400D3;
            font-weight: 600;
            padding-left: 8px !important;
            width: 100px;
        }

        th[data-column="first_name"] {
            padding-right: 6px !important;
        }

        th[data-column="instagram_name"] {
            max-width: 180px;
            width: 180px;
            padding-left: 6px !important;
        }

        th[data-column="instagram_followers"] {
            width: 100px;
        }

        /* Reduce gap between State and Height */
        th[data-column="state"] {
            padding-right: 6px !important;
        }

        th[data-column="height"] {
            padding-left: 6px !important;
        }

        td:nth-child(9) { /* State (moved from 8 due to Actions column) */
            padding-right: 6px !important;
        }

        td:nth-child(10) { /* Height (moved from 9 due to Actions column) */
            padding-left: 6px !important;
        }

        /* Tighter spacing for measurement columns */
        th:nth-child(11), th:nth-child(12), th:nth-child(13), /* Bust, Waist, Hips */
        th:nth-child(14), th:nth-child(15) { /* Hair, Dress */
            padding-left: 8px !important;
            padding-right: 8px !important;
            width: 80px;
        }

        td:nth-child(11), td:nth-child(12), td:nth-child(13), /* Bust, Waist, Hips */
        td:nth-child(14), td:nth-child(15) { /* Hair, Dress */
            padding-left: 8px !important;
            padding-right: 8px !important;
            width: 80px;
        }

        /* Heart Vote Button and Count */
        .heart-cell {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .heart-vote-btn {
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            color: #FF69B4;
        }

        .heart-vote-btn:hover {
            transform: scale(1.2);
            filter: brightness(1.2);
        }

        .heart-count {
            color: #FF69B4;
            font-weight: 600;
            font-size: 0.95rem;
        }

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

        /* Favorites Star */
        .favorite-btn {
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            color: rgba(255, 215, 0, 0.3);
        }

        .favorite-btn:hover {
            color: #FFD700;
            transform: scale(1.2);
        }

        .favorite-btn.favorited {
            color: #FFD700;
            animation: starPulse 0.3s ease;
        }

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

        /* Multi-level Star Voting System */
        .star-vote-btn {
            cursor: pointer;
            transition: all 0.3s ease;
            filter: brightness(1);
            position: relative;
            z-index: 1;
            display: inline-block;
        }

        .star-vote-btn:hover {
            transform: scale(1.15);
        }

        /* Star container with number inside */
        .star-container {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .star-container .star-count {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 11px;
            font-weight: bold;
            color: #FFFFFF;
            pointer-events: none;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
            z-index: 2;
        }

        .star-container:hover .star-vote-btn {
            transform: scale(1.15);
        }

        /* Level 0: Default outlined star */
        .star-vote-btn.level-0 {
            color: #FFFF00 !important;
            filter: drop-shadow(0 0 6px rgba(255, 255, 0, 0.8));
        }

        /* Level 1: Solid gold */
        .star-vote-btn.level-1 {
            color: #FFFF00 !important;
            filter: drop-shadow(0 0 5px rgba(255, 255, 0, 0.7));
        }

        /* Level 2: Brighter gold with glow */
        .star-vote-btn.level-2 {
            color: #FFFF00 !important;
            filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.9));
        }

        /* Level 3: Super bright gold with intense glow */
        .star-vote-btn.level-3 {
            color: #FFFF00 !important;
            filter: drop-shadow(0 0 15px rgba(255, 255, 0, 1));
            animation: starGlowPulse 1.5s ease-in-out infinite;
        }

        /* Click animations for each level */
        @keyframes starClickLevel1 {
            0% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.4) rotate(10deg); }
            100% { transform: scale(1) rotate(0deg); }
        }

        @keyframes starClickLevel2 {
            0% { transform: scale(1) rotate(0deg); }
            25% { transform: scale(1.3) rotate(-15deg); }
            50% { transform: scale(1.5) rotate(15deg); }
            75% { transform: scale(1.3) rotate(-10deg); }
            100% { transform: scale(1) rotate(0deg); }
        }

        @keyframes starClickLevel3 {
            0% { transform: scale(1) rotate(0deg); filter: brightness(1.6) drop-shadow(0 0 12px rgba(255, 215, 0, 1)); }
            20% { transform: scale(1.6) rotate(-20deg); filter: brightness(2) drop-shadow(0 0 20px rgba(255, 215, 0, 1)); }
            40% { transform: scale(1.3) rotate(20deg); filter: brightness(2.2) drop-shadow(0 0 25px rgba(255, 215, 0, 1)); }
            60% { transform: scale(1.5) rotate(-15deg); filter: brightness(2) drop-shadow(0 0 20px rgba(255, 215, 0, 1)); }
            80% { transform: scale(1.3) rotate(10deg); filter: brightness(1.8) drop-shadow(0 0 15px rgba(255, 215, 0, 1)); }
            100% { transform: scale(1) rotate(0deg); filter: brightness(1.6) drop-shadow(0 0 12px rgba(255, 215, 0, 1)); }
        }

        @keyframes starGlowPulse {
            0%, 100% {
                filter: brightness(1.6) drop-shadow(0 0 12px rgba(255, 215, 0, 1));
            }
            50% {
                filter: brightness(1.8) drop-shadow(0 0 18px rgba(255, 215, 0, 1));
            }
        }


        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }

        /* Compare Checkbox */
        .compare-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #FF69B4;
        }

        /* Avatar Column */
        .avatar-cell {
            padding: 8px !important;
            width: 50px;
            text-align: center;
            vertical-align: middle;
        }

        .model-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 105, 180, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .model-avatar:hover {
            border-color: #FF69B4;
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
        }

        .avatar-placeholder {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4B0082, #9400D3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            color: white;
            border: 2px solid rgba(255, 105, 180, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .avatar-placeholder:hover {
            border-color: #FF69B4;
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
        }

        /* Inquiry Button */
        .inquiry-btn {
            padding: 8px 12px;
            background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.8));
            color: white;
            border: 1px solid rgba(255, 105, 180, 0.3);
            border-radius: 5px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .inquiry-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
        }

        /* Message Button */
        .message-model-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
        }

        /* Board Button */
        .board-btn {
            padding: 6px 10px;
            background: linear-gradient(90deg, #9400D3, #4B0082);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .board-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(148, 0, 211, 0.4);
            background: linear-gradient(90deg, #B026FF, #6A0DAD);
        }

        /* Board List Items */
        .board-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 15px;
            background: rgba(75, 0, 130, 0.3);
            border: 1px solid rgba(148, 0, 211, 0.3);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .board-item:hover {
            background: rgba(75, 0, 130, 0.5);
            border-color: #9400D3;
            transform: translateX(5px);
        }

        .board-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .board-item-info {
            flex: 1;
            min-width: 0;
        }

        .board-item-name {
            color: #E6E6FA;
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 3px;
        }

        .board-item-meta {
            color: rgba(230, 230, 250, 0.6);
            font-size: 0.85rem;
        }

        .board-item-icon {
            color: #9400D3;
            font-size: 1.2rem;
        }

        /* Favorites Heart Button */
        .compare-btn {
            padding: 8px;
            background: transparent;
            color: #FF69B4;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }

        .compare-btn:hover {
            background: rgba(255, 105, 180, 0.1);
            transform: scale(1.2);
        }

        .compare-btn.selected {
            color: #FF1493;
            animation: heartPulse 0.5s ease;
        }

        .compare-btn.selected:hover {
            transform: scale(1.2);
            filter: drop-shadow(0 0 8px #FF69B4);
        }

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

        /* Row highlighting when selected for comparison */
        tbody tr.selected-for-compare {
            background: rgba(255, 105, 180, 0.15) !important;
            border: 2px solid #FF69B4 !important;
            box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
            transform: scale(1.005);
        }

        tbody tr.selected-for-compare:hover {
            background: rgba(255, 105, 180, 0.25) !important;
        }

        /* Highlighted Model Styles */
        tbody tr.spotlighted-model {
            background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1)) !important;
            border: 2px solid #FFD700 !important;
            box-shadow:
                0 0 30px rgba(255, 215, 0, 0.5),
                0 0 60px rgba(255, 215, 0, 0.2),
                inset 0 0 20px rgba(255, 215, 0, 0.1);
            position: relative;
            animation: spotlightPulse 3s ease-in-out infinite;
        }

        tbody tr.spotlighted-model:hover {
            background: linear-gradient(90deg, rgba(255, 215, 0, 0.25), rgba(255, 165, 0, 0.15)) !important;
            box-shadow:
                0 0 40px rgba(255, 215, 0, 0.7),
                0 0 80px rgba(255, 215, 0, 0.3),
                inset 0 0 30px rgba(255, 215, 0, 0.15);
        }

        @keyframes spotlightPulse {
            0%, 100% {
                box-shadow:
                    0 0 30px rgba(255, 215, 0, 0.5),
                    0 0 60px rgba(255, 215, 0, 0.2),
                    inset 0 0 20px rgba(255, 215, 0, 0.1);
            }
            50% {
                box-shadow:
                    0 0 40px rgba(255, 215, 0, 0.7),
                    0 0 80px rgba(255, 215, 0, 0.3),
                    inset 0 0 30px rgba(255, 215, 0, 0.15);
            }
        }

        .spotlight-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: #2d1810;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-left: 8px;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
            animation: badgeShine 2s ease-in-out infinite;
        }

        @keyframes badgeShine {
            0%, 100% {
                filter: brightness(1);
            }
            50% {
                filter: brightness(1.2);
            }
        }

        /* Grid View */
        .grid-view {
            display: none;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            padding: 20px;
        }

        .grid-view.show {
            display: grid;
        }

        .model-card {
            background: rgba(75, 0, 130, 0.3);
            border-radius: 15px;
            border: 1px solid rgba(255, 105, 180, 0.3);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .model-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(255, 105, 180, 0.4);
            border-color: #FF69B4;
        }

        /* Highlighted Model Card Styles */
        .model-card.spotlighted-model-card {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
            border: 2px solid #FFD700;
            box-shadow:
                0 0 30px rgba(255, 215, 0, 0.5),
                0 0 60px rgba(255, 215, 0, 0.2);
            animation: cardSpotlightPulse 3s ease-in-out infinite;
        }

        .model-card.spotlighted-model-card:hover {
            transform: translateY(-12px);
            box-shadow:
                0 0 40px rgba(255, 215, 0, 0.7),
                0 15px 30px rgba(255, 215, 0, 0.3);
            border-color: #FFD700;
        }

        @keyframes cardSpotlightPulse {
            0%, 100% {
                box-shadow:
                    0 0 30px rgba(255, 215, 0, 0.5),
                    0 0 60px rgba(255, 215, 0, 0.2);
            }
            50% {
                box-shadow:
                    0 0 40px rgba(255, 215, 0, 0.7),
                    0 0 80px rgba(255, 215, 0, 0.3);
            }
        }

        .model-card-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #1a0033, #2d1b69);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: rgba(255, 105, 180, 0.5);
            gap: 15px;
            padding: 20px;
            text-align: center;
        }

        .model-card-image img {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            image-rendering: high-quality;
        }

        .model-card-initials {
            font-size: 3.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #00BFFF, #FF69B4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .model-card-instagram-handle {
            font-size: 1rem;
            color: #FF69B4;
            margin-top: 10px;
        }

        .model-card-content {
            padding: 20px;
        }

        .model-card-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #00BFFF;
            margin-bottom: 10px;
        }

        .model-card-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .model-card-detail {
            display: flex;
            flex-direction: column;
        }

        .model-card-detail-label {
            font-size: 0.75rem;
            color: #FF69B4;
            text-transform: uppercase;
        }

        .model-card-detail-value {
            color: #E6E6FA;
        }

        .model-card-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .model-card-favorite {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            z-index: 10;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background: linear-gradient(135deg, rgba(26, 0, 51, 0.95), rgba(45, 27, 105, 0.95));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(255, 105, 180, 0.3);
            max-width: 420px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            padding: 0;
            position: relative;
            box-shadow:
                0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 105, 180, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideUpModal {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: rgba(230, 230, 250, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            z-index: 10;
        }

        .modal-close:hover {
            color: #FF69B4;
            background: rgba(255, 105, 180, 0.15);
            transform: rotate(90deg);
        }

        .modal-header {
            padding: 28px 28px 20px;
            border-bottom: 1px solid rgba(255, 105, 180, 0.15);
            background: linear-gradient(180deg, rgba(255, 105, 180, 0.05), transparent);
        }

        .modal-body {
            padding: 20px 28px;
        }

        .modal-actions {
            padding: 16px 28px 28px;
            display: flex;
            gap: 10px;
            border-top: 1px solid rgba(255, 105, 180, 0.15);
        }

        /* Contact Modal Avatar */
        #contactModelAvatar {
            width: 60px;
            height: 60px;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #contactModelAvatar img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #FF69B4;
        }

        #contactModelAvatar .avatar-placeholder {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4B0082, #9400D3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 20px;
            color: white;
            border: 3px solid #FF69B4;
        }

        .modal-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            overflow: hidden;
            border: 3px solid #FF69B4;
            box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
        }

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

        .modal-photo-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1a0033, #2d1b69);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: rgba(255, 105, 180, 0.5);
        }

        .modal-name {
            font-size: 1.6rem;
            font-weight: 700;
            background: linear-gradient(135deg, #FFD700, #FF69B4, #00BFFF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 6px;
            letter-spacing: -0.5px;
        }

        .modal-instagram {
            font-size: 1rem;
            color: rgba(230, 230, 250, 0.7);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .modal-instagram i {
            color: #FF69B4;
        }

        .modal-body {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            margin-bottom: 24px;
        }

        .modal-stat {
            background: linear-gradient(135deg, rgba(75, 0, 130, 0.2), rgba(148, 0, 211, 0.15));
            padding: 15px;
            border-radius: 14px;
            border: 1px solid rgba(255, 105, 180, 0.2);
            transition: all 0.3s ease;
        }

        .modal-stat:hover {
            border-color: rgba(255, 105, 180, 0.4);
            background: linear-gradient(135deg, rgba(75, 0, 130, 0.3), rgba(148, 0, 211, 0.25));
            transform: translateY(-2px);
        }

        .modal-stat-label {
            font-size: 0.7rem;
            color: rgba(255, 105, 180, 0.8);
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .modal-stat-value {
            font-size: 1.2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #00BFFF, #FFD700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Loading & No Results */
        .loading, .no-results {
            text-align: center;
            padding: 60px 20px;
            font-size: 1.5rem;
            color: #00BFFF;
        }

        .no-results {
            display: none;
            color: #FF69B4;
        }

        .back-link {
            display: inline-block;
            margin-top: 30px;
            padding: 12px 30px;
            background: linear-gradient(90deg, #00BFFF, #FF69B4);
            color: #FFFFFF;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid #FFFFFF;
        }

        .back-link:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
            background: linear-gradient(90deg, #FF69B4, #FF00FF);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                margin-bottom: 20px;
                margin-top: 0;
                padding: 15px 10px;
                padding-right: 160px; /* Leave room for Sign In button */
                position: relative;
            }

            .logo {
                max-width: 220px;
                margin-bottom: 0;
                margin-left: 0;
                margin-right: 0;
            }

            .page-title {
                font-size: 2rem;
            }

            .controls {
                gap: 8px;
                padding: 15px;
                flex-wrap: nowrap;
            }

            .search-box {
                flex: 1;
                min-width: 0;
                max-width: calc(100% - 120px); /* Leave room for 2 buttons */
            }

            .search-box input {
                padding: 10px 15px;
                font-size: 0.9rem;
            }

            .control-buttons {
                flex-shrink: 0;
                gap: 6px;
            }

            .control-buttons .btn {
                padding: 10px 12px;
                width: 52px;
                height: 42px;
                min-width: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            table {
                font-size: 0.85rem;
            }

            th, td {
                padding: 12px 8px;
            }

            th {
                font-size: 0.75rem;
            }

            .modal-content {
                padding: 30px 20px;
            }

            .modal-name {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 20px 10px;
            }

            .page-title {
                font-size: 1.5rem;
            }

            table {
                font-size: 0.75rem;
            }

            th, td {
                padding: 10px 6px;
            }

            .grid-view {
                grid-template-columns: 1fr;
            }
        }

        /* ============================================ */
        /* STAR SYSTEM STYLES */
        /* ============================================ */

        /* Star Balance Widget */
        .star-balance-widget {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 105, 180, 0.15));
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 15px;
            padding: 10px 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: fixed;
            top: 80px;
            right: 20px;
            z-index: 1000;
            max-width: calc(100vw - 40px);
            box-sizing: border-box;
        }

        .star-balance-widget:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
            border-color: rgba(255, 215, 0, 0.5);
        }

        .star-balance-main {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .star-icon-display {
            font-size: 1.5rem;
        }

        .star-balance-widget .balance-amount {
            font-size: 1.4rem;
            font-weight: 700;
            color: #FFD700;
        }

        .buy-more-btn {
            background: rgba(255, 215, 0, 0.2);
            color: #FFD700;
            border: 1px solid #FFD700;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
            cursor: pointer;
        }

        .buy-more-btn:hover {
            background: #FFD700;
            color: #1a0033;
        }

        /* Modal Overlays */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        /* Override .modal display:none when inside modal-overlay */
        .modal-overlay .modal {
            display: block;
            position: relative;
            background: linear-gradient(135deg, #FF1493, #9400D3);
            border: 2px solid #FFD700;
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
            z-index: auto;
        }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }


        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            width: 35px;
            height: 35px;
            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.2);
            transform: rotate(90deg);
        }

        .modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .modal-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: white;
        }

        .modal-subtitle {
            font-size: 0.95rem;
            color: white;
            margin-top: 10px;
        }

        /* Star Pack Cards */
        .star-packs {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .star-pack {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 105, 180, 0.05));
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .star-pack:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
        }

        .star-pack.selected {
            border-color: #FFD700;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 105, 180, 0.15));
        }

        .pack-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: #1a0033;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .pack-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
        }

        .pack-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: white;
        }

        .pack-details {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .pack-stars {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .pack-price {
            font-size: 1.6rem;
            font-weight: 700;
            color: #FFD700;
        }

        .pack-savings {
            font-size: 0.85rem;
            color: #4ade80;
            font-weight: 600;
            margin-top: 5px;
        }

        .radio-indicator {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .star-pack.selected .radio-indicator {
            border-color: #FFD700;
            background: #FFD700;
        }

        .radio-indicator::after {
            content: '✓';
            color: #1a0033;
            font-weight: 700;
            opacity: 0;
        }

        .star-pack.selected .radio-indicator::after {
            opacity: 1;
        }

        /* VIP Packs - Pink styling */
        .vip-packs {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin: 20px 0;
        }

        .vip-pack {
            background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
            border: 2px solid rgba(255, 105, 180, 0.3);
            border-radius: 12px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .vip-pack:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
            border-color: rgba(255, 105, 180, 0.6);
        }

        .vip-pack.selected {
            border-color: #FF69B4;
            background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(255, 20, 147, 0.2));
            box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
        }

        .vip-pack.selected .radio-indicator {
            border-color: #FF69B4;
            background: #FF69B4;
        }

        .vip-pack.selected .radio-indicator::after {
            opacity: 1;
        }

        /* Current Balance */
        .current-balance {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px;
            margin: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .balance-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .balance-item-label {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
        }

        .balance-item-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
        }

        .balance-arrow {
            font-size: 1.5rem;
            color: #4ade80;
        }

        /* Buttons */
        .primary-btn, .checkout-btn {
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: #2d1810;
            border: none;
            padding: 15px;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .primary-btn:hover, .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
        }

        /* VIP Modal Button - Pink like Brand Access Data */
        #vipModal .checkout-btn {
            background: linear-gradient(90deg, #FF69B4, #FF1493);
            color: #FFF;
            box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
        }

        #vipModal .checkout-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
        }

        .stripe-badge {
            text-align: center;
            margin-top: 15px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* Out of Stars Modal */
        .sad-star {
            font-size: 5rem;
            text-align: center;
            margin-bottom: 20px;
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .out-message {
            font-size: 1.3rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
        }

        .out-submessage {
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
            margin-bottom: 30px;
        }

        .modal-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Success Animation */
        /* Toast Notification for Out of Stars */
        .star-toast {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #FF1493, #9400D3);
            border: 2px solid #FFD700;
            border-radius: 20px;
            padding: 25px 30px;
            max-width: 380px;
            z-index: 10000;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            animation: slideInRight 0.4s ease;
        }

        .star-toast.active {
            display: block;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(500px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(500px);
                opacity: 0;
            }
        }

        .toast-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .toast-icon {
            font-size: 2rem;
        }

        .rotating-star {
            display: inline-block;
        }

        .toast-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
        }

        .toast-subtitle {
            font-size: 0.85rem;
            font-weight: 500;
            color: #FFD700;
            margin-top: 4px;
        }

        .toast-message {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .toast-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .toast-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .toast-btn-primary {
            background: #FFD700;
            color: #2d1810;
        }

        .toast-btn-primary:hover {
            background: #FFC700;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        .toast-btn-secondary {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .toast-btn-secondary:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .toast-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }

        .toast-close:hover {
            opacity: 1;
        }

        /* Compact Buy Stars Panel */
        .buy-stars-panel {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #FF1493, #9400D3);
            border: 2px solid #FFD700;
            border-radius: 20px;
            padding: 30px;
            max-width: 450px;
            z-index: 10000;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            animation: slideInRight 0.4s ease;
        }

        .buy-stars-panel.active {
            display: block;
        }

        .buy-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .buy-panel-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .buy-panel-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s ease;
            line-height: 1;
        }

        .buy-panel-close:hover {
            opacity: 1;
        }

        .buy-panel-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .star-packs-grid {
            display: grid;
            gap: 12px;
            margin-bottom: 20px;
        }

        .star-pack-item {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 15px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .star-pack-item:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: #FFD700;
            transform: translateX(-5px);
        }

        .star-pack-item.selected {
            background: rgba(255, 215, 0, 0.2);
            border-color: #FFD700;
            border-width: 3px;
        }

        .pack-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .pack-icon {
            font-size: 2rem;
        }

        .pack-details {
            display: flex;
            flex-direction: column;
        }

        .pack-name {
            font-weight: 700;
            font-size: 1.1rem;
            color: white;
        }

        .pack-amount {
            color: #FFD700;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .pack-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: #FFD700;
        }

        .pack-badge {
            position: absolute;
            top: -10px;
            right: 10px;
            background: #FFD700;
            color: #1a0033;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .buy-btn-container {
            margin-top: 20px;
        }

        .buy-now-btn {
            width: 100%;
            padding: 15px;
            background: #FFD700;
            color: #1a0033;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .buy-now-btn:hover {
            background: #FFC700;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        /* Top Right Navigation */
        .top-nav {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        /* Inbox Button */
        .inbox-button {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            width: 48px;
            height: 48px;
            background: rgba(26, 0, 51, 0.95);
            backdrop-filter: blur(10px);
            border: 2px solid #00BFFF;
            border-radius: 50%;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 191, 255, 0.4);
            font-size: 1.1rem;
            text-decoration: none;
            position: relative;
        }

        .inbox-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 30px rgba(0, 191, 255, 0.6);
            border-color: #00BFFF;
        }

        .inbox-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #FF1493;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 700;
            border: 2px solid rgba(26, 0, 51, 0.95);
        }

        /* Auth Button (Top Right) */
        .auth-button {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 24px;
            background: rgba(26, 0, 51, 0.95);
            backdrop-filter: blur(10px);
            border: 2px solid #FF1493;
            border-radius: 50px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
            font-size: 0.95rem;
            max-width: calc(100vw - 40px);
            box-sizing: border-box;
        }

        .auth-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 30px rgba(255, 20, 147, 0.6);
            border-color: #FF69B4;
        }

        .auth-button.signed-in {
            background: rgba(26, 0, 51, 0.95);
            border-color: #00ff88;
            padding: 10px 16px;
            gap: 4px;
        }

        .auth-button-icon {
            font-size: 1.2rem;
        }

        .auth-user-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }

        .auth-user-email {
            font-size: 0.8rem;
            opacity: 0.9;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .auth-user-balance {
            font-size: 0.75rem;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Responsive - Mobile adjustments for auth button and star widget */
        @media (max-width: 768px) {
            .top-nav {
                top: 15px;
                right: 20px;
            }

            .auth-button {
                padding: 8px 16px;
                font-size: 0.85rem;
                max-width: 150px;
            }

            .auth-button.signed-in {
                padding: 8px 14px;
            }

            .auth-user-email {
                font-size: 0.75rem;
                max-width: 150px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .star-balance-widget {
                top: 60px;
                right: 10px;
                padding: 8px 12px;
            }
        }

        /* Compact Login Panel */
        .login-panel {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #FF1493, #9400D3);
            border: 2px solid #FFD700;
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            z-index: 10001;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            animation: slideInRight 0.4s ease;
        }

        .login-panel.active {
            display: block;
        }

        .login-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .login-panel-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .login-panel-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .login-input {
            width: 100%;
            padding: 15px;
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .login-input:focus {
            outline: none;
            border-color: #FFD700;
            background: rgba(255, 255, 255, 0.15);
        }

        .login-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .login-submit-btn {
            width: 100%;
            padding: 15px;
            background: #FFD700;
            color: #2d1810;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-submit-btn:hover {
            background: #FFC700;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }

        .login-note {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
            text-align: center;
            margin-top: 15px;
            line-height: 1.4;
        }

        .success-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        .success-overlay.active {
            display: flex;
        }

        .success-content {
            text-align: center;
            animation: zoomIn 0.5s ease;
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.5);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .success-icon {
            font-size: 8rem;
            margin-bottom: 20px;
            animation: starSpin 1s ease;
        }

        @keyframes starSpin {
            from {
                transform: rotate(0deg) scale(0);
            }
            to {
                transform: rotate(360deg) scale(1);
            }
        }

        .success-message {
            font-size: 2rem;
            font-weight: 700;
            color: #FFD700;
        }

        /* Floating Star Animation */
        .floating-star {
            position: absolute;
            font-size: 2rem;
            animation: float-up 1s ease-out forwards;
            pointer-events: none;
        }

        @keyframes float-up {
            from {
                transform: translateY(0);
                opacity: 1;
            }
            to {
                transform: translateY(-50px);
                opacity: 0;
            }
        }

        /* Star Burst Animation for Multiple Votes */
        .star-burst {
            position: absolute;
            width: 30px;
            height: 30px;
            pointer-events: none;
            z-index: 1000;
        }

        .star-burst-particle {
            position: absolute;
            font-size: 1.5rem;
            animation: burst-particle 0.8s ease-out forwards;
            pointer-events: none;
        }

        @keyframes burst-particle {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) scale(0);
                opacity: 0;
            }
        }

        /* Combo Counter for Multiple Votes */
        .combo-counter {
            position: absolute;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 1.2rem;
            z-index: 1001;
            pointer-events: none;
            animation: combo-pop 0.5s ease-out;
            box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
        }

        @keyframes combo-pop {
            0% {
                transform: scale(0) rotate(-15deg);
                opacity: 0;
            }
            50% {
                transform: scale(1.2) rotate(5deg);
            }
            100% {
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }

        /* Screen Shake for Big Combos */
        @keyframes screen-shake {
            0%, 100% { transform: translate(0, 0); }
            10%, 30%, 50%, 70%, 90% { transform: translate(-5px, 0); }
            20%, 40%, 60%, 80% { transform: translate(5px, 0); }
        }

        .shake-screen {
            animation: screen-shake 0.5s ease;
        }

        /* Confetti Particles */
        .confetti {
            position: fixed;
            width: 10px;
            height: 10px;
            background: #FFD700;
            pointer-events: none;
            z-index: 2000;
            animation: confetti-fall 2s ease-out forwards;
        }

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

        /* Coin Rain Animation */
        .coin-rain {
            position: absolute;
            font-size: 2rem;
            pointer-events: none;
            z-index: 1500;
            animation: coin-drop 1.5s ease-out forwards;
        }

        @keyframes coin-drop {
            0% {
                transform: translateY(-50px) rotateY(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100px) rotateY(720deg);
                opacity: 0;
            }
        }

        /* Achievement Badge */
        .achievement-badge {
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translateX(-50%) scale(0);
            background: linear-gradient(135deg, #FFD700, #FFA500, #FF1493);
            color: white;
            padding: 30px 50px;
            border-radius: 20px;
            font-size: 2rem;
            font-weight: 800;
            text-align: center;
            z-index: 3000;
            box-shadow: 0 10px 50px rgba(255, 215, 0, 0.8);
            border: 3px solid #FFD700;
            animation: achievement-pop 2s ease-out forwards;
            pointer-events: none;
        }

        @keyframes achievement-pop {
            0% {
                transform: translateX(-50%) scale(0) rotate(-180deg);
                opacity: 0;
            }
            20% {
                transform: translateX(-50%) scale(1.3) rotate(10deg);
                opacity: 1;
            }
            40% {
                transform: translateX(-50%) scale(0.95) rotate(-5deg);
            }
            60% {
                transform: translateX(-50%) scale(1.05) rotate(2deg);
            }
            80% {
                transform: translateX(-50%) scale(1) rotate(0deg);
            }
            90% {
                transform: translateX(-50%) scale(1) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateX(-50%) scale(0.8) rotate(0deg);
                opacity: 0;
            }
        }

        /* Glow pulse for star count */
        @keyframes glow-pulse {
            0%, 100% {
                text-shadow: 0 0 10px #FFD700;
            }
            50% {
                text-shadow: 0 0 30px #FFD700, 0 0 50px #FFA500;
            }
        }

        .count-glow {
            animation: glow-pulse 0.5s ease-in-out;
        }

        /* Login Form Inputs */
        .login-input {
            width: 100%;
            padding: 15px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.3);
            color: white;
            font-size: 1rem;
            margin-bottom: 20px;
            font-family: 'Poppins', sans-serif;
        }

        .login-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .login-input:focus {
            outline: none;
            border-color: #FFD700;
        }

        /* Select2 Dark Theme Customization */
        .select2-container--classic .select2-selection--single {
            background: rgba(26, 0, 51, 0.6) !important;
            border: 1px solid rgba(255, 105, 180, 0.3) !important;
            border-radius: 8px !important;
            height: 48px !important;
            padding: 8px 12px !important;
        }

        .select2-container--classic .select2-selection--single .select2-selection__rendered {
            color: #E6E6FA !important;
            line-height: 30px !important;
            padding-left: 0 !important;
        }

        .select2-container--classic .select2-selection--single .select2-selection__placeholder {
            color: rgba(230, 230, 250, 0.5) !important;
        }

        .select2-container--classic .select2-selection--single .select2-selection__arrow {
            height: 46px !important;
        }

        .select2-container--classic .select2-dropdown {
            background: rgba(26, 0, 51, 0.98) !important;
            border: 1px solid rgba(255, 105, 180, 0.3) !important;
            border-radius: 8px !important;
        }

        .select2-container--classic .select2-results__option {
            color: #E6E6FA !important;
            padding: 10px 12px !important;
        }

        .select2-container--classic .select2-results__option--highlighted {
            background: rgba(255, 105, 180, 0.2) !important;
            color: #FFD700 !important;
        }

        .select2-container--classic .select2-results__option--selected {
            background: rgba(255, 105, 180, 0.3) !important;
        }

        .select2-container--classic .select2-search--dropdown .select2-search__field {
            background: rgba(26, 0, 51, 0.8) !important;
            border: 1px solid rgba(255, 105, 180, 0.3) !important;
            color: #E6E6FA !important;
            border-radius: 6px !important;
            padding: 8px !important;
        }

        .select2-container--classic .select2-search--dropdown .select2-search__field:focus {
            border-color: #FFD700 !important;
            outline: none !important;
        }

        /* Wallet Widget Styles */
        .wallet-widget {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 999;
            animation: slideInFromRight 0.6s ease-out;
        }

        @keyframes slideInFromRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .wallet-content {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.1),
                rgba(255, 255, 255, 0.05)
            );
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow:
                0 8px 32px 0 rgba(31, 38, 135, 0.37),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
            min-width: 200px;
        }

        .wallet-content:hover {
            transform: translateY(-2px);
            box-shadow:
                0 12px 40px 0 rgba(31, 38, 135, 0.5),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .wallet-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            background: linear-gradient(135deg, #FF1493, #8B00FF);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
        }

        .wallet-avatar-placeholder {
            font-size: 18px;
            font-weight: 700;
            color: white;
        }

        .wallet-info {
            flex: 1;
            min-width: 0;
        }

        .wallet-name {
            font-size: 14px;
            font-weight: 600;
            color: white;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }

        .wallet-balance {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            font-weight: 500;
            color: #FFED4E;
        }

        .star-icon {
            font-size: 14px;
            animation: sparkle 2s ease-in-out infinite;
        }

        @keyframes sparkle {
            0%, 100% {
                transform: scale(1);
                filter: brightness(1);
            }
            50% {
                transform: scale(1.2);
                filter: brightness(1.5);
            }
        }

        .star-count {
            font-weight: 700;
        }

        .wallet-dropdown-icon {
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .wallet-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            min-width: 220px;
            background: linear-gradient(135deg,
                rgba(26, 0, 51, 0.95),
                rgba(45, 27, 105, 0.95)
            );
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 16px;
            box-shadow:
                0 8px 32px 0 rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
            overflow: hidden;
            animation: dropdownSlide 0.3s ease-out;
        }

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

        .wallet-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            color: #E6E6FA;
            text-decoration: none;
            transition: all 0.2s ease;
            font-size: 14px;
            font-weight: 500;
        }

        .wallet-dropdown-item:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #FFD700;
        }

        .wallet-dropdown-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }

        .wallet-dropdown-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
            margin: 4px 0;
        }

        /* Mobile adjustments for wallet widget */
        @media (max-width: 768px) {
            .wallet-widget {
                top: 15px;
                right: 15px;
            }

            .wallet-content {
                padding: 10px 12px;
                min-width: 160px;
            }

            .wallet-avatar {
                width: 36px;
                height: 36px;
            }

            .wallet-name {
                font-size: 13px;
            }

            .wallet-balance {
                font-size: 12px;
            }

            .wallet-dropdown {
                min-width: 180px;
            }
        }
