 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #000000;
            background: linear-gradient(174deg,rgba(0, 0, 0, 1) 0%, rgba(1, 5, 3, 1) 50%, rgba(84, 0, 69, 1) 100%);
            color: #fff;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.15;
            z-index: -1;
            transition: background-image 0.5s ease;
        }

        body.map-ascent::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/e/e7/Ascent_minimap.png');
        }

        body.map-bind::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/2/23/Bind_minimap.png');
        }

        body.map-haven::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/7/70/Haven_minimap.png');
        }

        body.map-split::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/d/d6/Split_minimap.png');
        }

        body.map-icebox::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/b/b8/Icebox_minimap.png');
        }

        body.map-breeze::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/1/10/Breeze_minimap.png');
        }

        body.map-fracture::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/f/fc/Fracture_minimap.png');
        }

        body.map-pearl::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/a/af/Pearl_minimap.png');
        }

        body.map-lotus::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/d/d0/Lotus_minimap.png');
        }

        body.map-sunset::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/5/5c/Sunset_minimap.png');
        }

        body.map-abyss::before {
            background-image: url('https://static.wikia.nocookie.net/valorant/images/3/3d/Abyss_minimap.png');
        }

        .header {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 15px;
            z-index: 100;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            font-size: 24px;
        }

        .social-icon:hover {
            transform: scale(1.1);
        }

        .icon-valorant {
            background: linear-gradient(135deg, #ff4655 0%, #fa2846 100%);
        }

        .icon-discord {
            background: #5865F2;
        }

        .icon-github {
            background: #333;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 80px 40px 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

        .status-bar {
            width: 100%;
            max-width: 1200px;
            margin-bottom: 30px;
            padding: 15px 25px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid rgb(251 20 201 / 10%);
        }

        .connection-status {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #00f5a0;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #00f5a0;
            animation: pulse 2s infinite;
        }

        .status-dot.disconnected {
            background: #ff4655;
            animation: none;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .last-update {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
        }

        .match-display {
            width: 100%;
            max-width: 1500px;
            position: relative;
        }

        .map-info {
            text-align: center;
            margin-bottom: 40px;
        }

        .map-name {
            font-size: 48px;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.9);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 8px;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        }

        .game-mode {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .map-location {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .players-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            justify-content: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .team {
            display: contents;
        }

        .team-left {
            display: contents;
        }

        .team-right {
            display: contents;
        }

        .player-card {
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
            border-radius: 12px;
            padding: 15px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .player-card.expanded {
            grid-column: 1 / -1;
            max-width: none;
            width: 100%;
        }

        .player-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            transition: all 0.3s ease;
        }

        .player-card[data-team="Blue"]::before {
            background: linear-gradient(135deg, #4dabf7, #339af0);
        }

        .player-card[data-team="Red"]::before {
            background: linear-gradient(135deg, #ff6b6b, #fa5252);
        }

        .player-card:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
            transform: translateY(-5px);
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
        }

        .player-card:hover::before {
            width: 100%;
            opacity: 0.15;
        }

        .agent-portrait {
            width: 120px;
            height: 120px;
            border-radius: 12px;
            object-fit: cover;
            border: 3px solid rgba(255, 255, 255, 0.2);
            flex-shrink: 0;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        }

        .player-card[data-team="Blue"] .agent-portrait {
            border-left: 5px solid #339af0;
        }

        .player-card[data-team="Red"] .agent-portrait {
            border-left: 5px solid #fa5252;
        }

        .player-info {
            flex: 1;
            padding: 0 20px;
        }

        .player-name {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
            color: #fff;
        }

        .agent-name {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: rgba(255, 255, 255, 0.7);
        }

        .rank-display {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 8px;
        }

        .rank-icon {
            width: 24px;
            height: 24px;
            object-fit: contain;
        }

        .rank-name {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 500;
            text-transform: uppercase;
        }

        .team-right .agent-name {
            justify-content: flex-end;
        }

        .level-badge {
            background: rgba(255, 70, 85, 0.2);
            border: 2px solid #ff4655;
            padding: 2px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
        }

        .team-right .level-badge {
            background: rgba(0, 245, 160, 0.2);
            border-color: #00f5a0;
        }

        .weapons {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .team-right .weapons {
            justify-content: flex-end;
        }

        .weapon-icon {
            width: 50px;
            height: 20px;
            object-fit: contain;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .weapon-icon:hover {
            opacity: 1;
        }

        .expanded-loadout {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            margin-top: 0;
        }

        .player-card.expanded .expanded-loadout {
            max-height: 800px;
            margin-top: 15px;
        }

        .loadout-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            padding: 25px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            max-height: 800px;
            overflow-y: auto;
        }

        .loadout-grid::-webkit-scrollbar {
            width: 8px;
        }

        .loadout-grid::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }

        .loadout-grid::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

        .loadout-grid::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .loadout-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 15px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
            border-radius: 10px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
            overflow: hidden;
        }

        .loadout-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff4655, #00f5a0);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .loadout-item:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        }

        .loadout-item:hover::before {
            opacity: 1;
        }

        .loadout-weapon-name {
            font-size: 11px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .loadout-weapon-img {
            width: 100%;
            height: 150px;
            object-fit: contain;
            filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
            transition: transform 0.3s ease;
        }

        .loadout-item:hover .loadout-weapon-img {
            transform: scale(1.05);
        }

        .loadout-skin-name {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.4;
            min-height: 28px;
        }

        .expand-indicator {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 5px;
            transition: color 0.3s ease;
        }

        .player-card:hover .expand-indicator {
            color: rgba(255, 255, 255, 0.8);
        }

        .player-card.expanded .expand-indicator::after {
            content: ' (Click to collapse)';
        }

        .match-time {
            color: #00f5a0;
            font-size: 16px;
            font-weight: 500;
            padding: 8px 20px;
            background: rgba(0, 245, 160, 0.1);
            border-radius: 20px;
            border: 1px solid rgba(0, 245, 160, 0.3);
            display: inline-block;
            margin-top: 10px;
        }

        .team-right {
            direction: rtl;
        }

        .team-right .player-card {
            direction: ltr;
            flex-direction: row-reverse;
        }

        .loading-screen {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
            gap: 20px;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-top-color: #ff4655;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.6);
        }

        .error-message {
            background: rgba(255, 70, 85, 0.1);
            border: 1px solid rgba(255, 70, 85, 0.3);
            border-radius: 12px;
            padding: 20px 30px;
            color: #ff4655;
            max-width: 600px;
            text-align: center;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .player-card {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .player-card:nth-child(1) { animation-delay: 0.1s; }
        .player-card:nth-child(2) { animation-delay: 0.2s; }
        .player-card:nth-child(3) { animation-delay: 0.3s; }
        .player-card:nth-child(4) { animation-delay: 0.4s; }
        .player-card:nth-child(5) { animation-delay: 0.5s; }

        @media (max-width: 1400px) {
            .team {
                grid-template-columns: 1fr;
            }

            .team-left,
            .team-right {
                max-width: 400px;
            }
        }            @media (max-width: 1200px) {
            .match-display {
                grid-template-columns: 1fr;
                gap: 30px;
                max-width: 800px;
            }

            .center-divider {
                order: 2;
                padding: 20px;
                position: relative;
                top: 0;
            }

            .team {
                flex-direction: column;
            }

            .team-left {
                order: 1;
                justify-self: center;
                max-width: 600px;
            }

            .team-right {
                order: 3;
                direction: ltr;
                justify-self: center;
                max-width: 600px;
            }

            .team-right .player-card {
                flex-direction: row;
            }

            .team-right .player-info {
                text-align: left;
            }

            .team-right .agent-name {
                justify-content: flex-start;
            }

            .team-right .weapons {
                justify-content: flex-start;
            }
        }            @media (max-width: 768px) {
            .container {
                padding: 60px 20px 20px;
            }

            .agent-portrait {
                width: 70px;
                height: 70px;
            }

            .player-name {
                font-size: 16px;
            }

            .agent-name {
                font-size: 14px;
            }

            .vs-text {
                font-size: 60px;
            }

            .weapon-icon {
                width: 40px;
                height: 16px;
            }

            .social-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .loadout-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                padding: 15px;
            }

            .loadout-item {
                padding: 10px;
            }

            .loadout-weapon-img {
                height: 50px;
            }
        }