<style>
        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Crimson Pro', serif;
            background: linear-gradient(135deg, var(--deep-purple) 0%, #1a0f2e 50%, var(--deep-purple) 100%);
            color: var(--white);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Animated background elements */
        body::before {
            content: '';
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: drift 60s linear infinite;
            pointer-events: none;
            z-index: 0;
        }

        @keyframes drift {
            from { transform: translate(0, 0); }
            to { transform: translate(50px, 50px); }
        }

        /* Glowing orbs */
        .orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.4;
            pointer-events: none;
            z-index: 0;
            animation: float 20s ease-in-out infinite;
        }

        .orb-1 {
            width: 400px;
            height: 400px;
            background: var(--gold);
            top: 10%;
            right: 10%;
            animation-delay: 0s;
        }

        .orb-2 {
            width: 300px;
            height: 300px;
            background: var(--accent-blue);
            bottom: 20%;
            left: 5%;
            animation-delay: 7s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.1); }
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 40px 80px;
        }

        header {
            text-align: center;
            margin-bottom: 80px;
            animation: fadeInDown 1s ease-out;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo {
            font-family: 'Syne', sans-serif;
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 50%, var(--gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            letter-spacing: -1px;
            text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
        }

        .tagline {
            font-size: 1.3rem;
            color: var(--light-gold);
            font-weight: 300;
            letter-spacing: 3px;
            text-transform: uppercase;
            opacity: 0.9;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 35px;
            margin-top: 60px;
        }

        .game-card {
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(212, 175, 55, 0.2);
            backdrop-filter: blur(10px);
            animation: fadeInUp 0.8s ease-out backwards;
        }

        .game-card:nth-child(1) { animation-delay: 0.1s; }
        .game-card:nth-child(2) { animation-delay: 0.2s; }
        .game-card:nth-child(3) { animation-delay: 0.3s; }
        .game-card:nth-child(4) { animation-delay: 0.4s; }
        .game-card:nth-child(5) { animation-delay: 0.5s; }
        .game-card:nth-child(6) { animation-delay: 0.6s; }
        .game-card:nth-child(7) { animation-delay: 0.7s; }
        .game-card:nth-child(8) { animation-delay: 0.8s; }
        .game-card:nth-child(9) { animation-delay: 0.9s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .game-card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: var(--gold);
            box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
            background: rgba(255, 255, 255, 0.08);
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.5s;
        }

        .game-card:hover::before {
            opacity: 1;
        }

        .card-image-wrapper {
            height: 220px;
            background: linear-gradient(135deg, rgba(91, 124, 153, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .card-image-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 78, 0.6) 100%);
        }

        .placeholder-icon {
            font-size: 4rem;
            color: var(--gold);
            z-index: 1;
            opacity: 0.5;
            transition: all 0.5s;
        }

        .game-card:hover .placeholder-icon {
            transform: scale(1.2) rotate(5deg);
            opacity: 0.8;
        }

        .card-number {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--gold);
            color: var(--deep-purple);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 1.2rem;
            z-index: 2;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .card-content {
            padding: 30px 25px;
            position: relative;
        }

        .card-title {
            font-family: 'Syne', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 12px;
            line-height: 1.3;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-subtitle {
            font-size: 0.95rem;
            color: var(--light-gold);
            opacity: 0.8;
            line-height: 1.6;
        }

        .play-button {
            position: absolute;
            bottom: 25px;
            right: 25px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gold);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
        }

        .play-button::before {
            content: '▶';
            color: var(--deep-purple);
            font-size: 1.1rem;
            margin-left: 3px;
        }

        .game-card:hover .play-button {
            transform: scale(1.15);
            box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
        }

        footer {
            text-align: center;
            margin-top: 80px;
            padding: 40px 20px;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
            opacity: 0.7;
        }

        footer p {
            font-size: 0.95rem;
            color: var(--light-gold);
        }

        @media (max-width: 768px) {
            .logo {
                font-size: 2.5rem;
            }

            .tagline {
                font-size: 1rem;
                letter-spacing: 2px;
            }

            .games-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .container {
                padding: 40px 20px;
            }
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal {
            background: linear-gradient(135deg, var(--deep-purple) 0%, #1a0f2e 100%);
            border-radius: 25px;
            padding: 50px 40px;
            max-width: 500px;
            width: 90%;
            border: 2px solid var(--gold);
            box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
            animation: slideUp 0.4s ease-out;
            position: relative;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal h2 {
            font-family: 'Syne', sans-serif;
            font-size: 2rem;
            color: var(--gold);
            margin-bottom: 10px;
            text-align: center;
        }

        .modal p {
            color: var(--light-gold);
            text-align: center;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            color: var(--light-gold);
            margin-bottom: 8px;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 10px;
            color: var(--white);
            font-family: 'Crimson Pro', serif;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--gold);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }

        .form-group select option {
            background: var(--deep-purple);
            color: var(--white);
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: var(--gold);
            color: var(--deep-purple);
            border: none;
            border-radius: 10px;
            font-family: 'Syne', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .message {
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }

        .message.success {
            background: rgba(76, 175, 80, 0.2);
            border: 1px solid #4CAF50;
            color: #4CAF50;
        }

        .message.error {
            background: rgba(244, 67, 54, 0.2);
            border: 1px solid #F44336;
            color: #F44336;
        }

        .header-logo {
            position: fixed;
            top: 20px;
            left: 40px;
            max-width: 70px;
            height: auto;
            filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
            animation: fadeInDown 1s ease-out;
            z-index: 100;
        }

        @media (max-width: 768px) {
            .header-logo {
                max-width: 80px;
                top: 15px;
                left: 15px;
            }
        }


        /* Game Action Modal */
        .game-modal {
            max-width: 600px;
        }

        .game-modal h2 {
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

        .game-subtitle {
            color: var(--light-gold);
            font-size: 0.9rem;
            margin-bottom: 25px;
            opacity: 0.8;
        }

        .status-bar {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 25px;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }

        .status-bar .label {
            font-size: 0.85rem;
            color: var(--light-gold);
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .status-bar .value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--gold);
        }

        .full-notice {
            background: rgba(244, 67, 54, 0.2);
            border: 1px solid #F44336;
            color: #ff9999;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }

        .success-notice {
            background: rgba(76, 175, 80, 0.2);
            border: 1px solid #4CAF50;
            color: #90EE90;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }

        .rankings-section {
            margin-top: 30px;
        }

        .rankings-title {
            font-family: 'Syne', sans-serif;
            font-size: 1.2rem;
            color: var(--gold);
            margin-bottom: 15px;
        }

        .ranking-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 10px;
            padding: 12px 15px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }

        .ranking-item:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--gold);
        }

        .ranking-item.votable {
            cursor: pointer;
        }

        .ranking-item.voted {
            background: rgba(76, 175, 80, 0.15);
            border-color: #4CAF50;
        }

        .ranking-item.current-user {
            background: rgba(91, 124, 153, 0.2);
            border-color: var(--accent-blue);
        }

        .rank-number {
            font-family: 'Syne', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
            min-width: 40px;
        }

        .rank-info {
            flex: 1;
            margin: 0 15px;
        }

        .rank-name {
            font-weight: 600;
            color: var(--white);
            margin-bottom: 3px;
        }

        .rank-votes {
            font-size: 0.85rem;
            color: var(--light-gold);
            opacity: 0.8;
        }

        .vote-badge {
            background: var(--gold);
            color: var(--deep-purple);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .rules-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 3px solid var(--gold);
        }

        .rules-section h4 {
            color: var(--gold);
            margin-bottom: 10px;
            font-family: 'Syne', sans-serif;
        }

        .rules-section ul {
            list-style: none;
            padding: 0;
        }

        .rules-section li {
            padding: 5px 0;
            color: var(--light-gold);
            font-size: 0.9rem;
        }

        .rules-section li:before {
            content: "✓ ";
            color: var(--gold);
            font-weight: bold;
            margin-right: 8px;
        }
    </style>