        :root {
            --primary-color: #ff0000;
            --secondary-color: #770000;
            --accent-color: #ff3333;
            --text-color: #ffffff;
            --card-bg: rgba(0, 0, 0, 0.7);
            --shadow: 0 0 20px rgba(255, 0, 0, 0.5);
            --glow-color: rgba(255, 0, 0, 0.5);
        }

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

        body {
            background: #000;
            min-height: 100vh;
            font-family: 'Inter', sans-serif;
            color: var(--text-color);
            overflow-x: hidden;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            padding-top: 60px; /* Espaço para a topbar */
        }

        .mono {
            font-family: 'JetBrains Mono', monospace;
        }

        .cyber-grid {
            background-image: 
                linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            background-position: center center;
        }

        /* Estilos para a topbar */
        .topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: rgba(0, 0, 0, 0.9);
            border-bottom: 1px solid rgba(255, 0, 0, 0.3);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            box-shadow: 0 2px 15px rgba(255, 0, 0, 0.25);
        }

        .topbar::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            animation: pulse-border 3s infinite;
        }

        @keyframes pulse-border {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .topbar-logo {
            display: flex;
            align-items: center;
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-color);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .topbar-logo span {
            color: var(--primary-color);
        }

        .mobile-menu-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 0, 0, 0.3);
            color: var(--text-color);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .mobile-menu-toggle:hover {
            background: rgba(255, 0, 0, 0.2);
            border-color: var(--primary-color);
        }

        .topbar-menu {
            display: flex;
            gap: 20px;
        }

        .topbar-menu-item {
            font-family: 'JetBrains Mono', monospace;
            color: var(--text-color);
            text-decoration: none;
            font-size: 0.9rem;
            position: relative;
            padding: 5px 0;
            transition: all 0.3s ease;
        }

        .topbar-menu-item:hover {
            color: var(--primary-color);
            text-shadow: 0 0 8px var(--glow-color);
        }

        .topbar-menu-item::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 1px;
            background: var(--primary-color);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .topbar-menu-item:hover::after {
            transform: scaleX(1);
        }

        .topbar-user {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
        }

        .topbar-user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--secondary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 0, 0, 0.5);
            box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
        }

        .topbar-user-name {
            font-weight: 600;
        }

        .topbar-user-role {
            font-size: 0.75rem;
            opacity: 0.8;
        }

        /* Container com efeito de fundo */
        .container-wrapper {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
            background: rgba(0, 0, 0, 0.3);
            min-height: 100vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }
        
        .container-wrapper::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 80%);
            animation: pulse-bg 15s ease infinite;
            z-index: 1;
            pointer-events: none;
        }
        
        .container-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(rgba(255, 0, 0, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: 2;
            pointer-events: none;
        }
        
        @keyframes pulse-bg {
            0%, 100% { 
                transform: translate(0, 0); 
                opacity: 0.5;
            }
            50% { 
                transform: translate(-5%, -5%); 
                opacity: 0.8;
            }
        }
        
        .container {
            max-width: 1300px;
            padding: 20px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-image: linear-gradient(
                to bottom, 
                rgba(255, 0, 0, 0.5), 
                transparent, 
                rgba(255, 0, 0, 0.5)
            ) 1;
            animation: border-pulse 4s infinite;
        }
        
        @keyframes border-pulse {
            0%, 100% {
                border-color: rgba(255, 0, 0, 0.2);
            }
            50% {
                border-color: rgba(255, 0, 0, 0.5);
            }
        }

        .cyber-corner {
            position: absolute;
            width: 30px;
            height: 30px;
            border: 2px solid var(--primary-color);
            opacity: 0.7;
            z-index: 5;
        }
        
        .cyber-corner.top-left {
            top: 20px;
            left: 20px;
            border-right: none;
            border-bottom: none;
        }
        
        .cyber-corner.top-right {
            top: 20px;
            right: 20px;
            border-left: none;
            border-bottom: none;
        }
        
        .cyber-corner.bottom-left {
            bottom: 20px;
            left: 20px;
            border-right: none;
            border-top: none;
        }
        
        .cyber-corner.bottom-right {
            bottom: 20px;
            right: 20px;
            border-left: none;
            border-top: none;
        }

        .header-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin: 25px 0;
        }

        .card {
            background: var(--card-bg);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 12px;
            padding: 25px;
            box-shadow: var(--shadow);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
            perspective: 1000px;
            position: relative;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .card::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 16px;
            background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.3), transparent);
            z-index: -1;
            animation: border-glow 3s linear infinite;
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            animation: border-flow 3s linear infinite;
        }
        
        @keyframes border-flow {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 15px 30px -12px rgba(255, 0, 0, 0.25),
                0 0 20px rgba(255, 0, 0, 0.1);
        }

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

        .btn-dark {
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 8px;
            color: var(--text-color);
            padding: 8px 15px;
            transition: all 0.3s ease;
            font-family: 'JetBrains Mono', monospace;
            position: relative;
            overflow: hidden;
        }

        .btn-dark::after {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.3), transparent);
            z-index: -1;
            animation: border-glow 3s linear infinite;
        }

        .btn-dark:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
        }

        .btn-dark:active {
            transform: translateY(1px);
        }

        .btn-dark:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-dark:focus:not(:active)::after {
            animation: ripple 1s ease-out;
        }

        @keyframes ripple {
            0% {
                transform: scale(0, 0);
                opacity: 0.5;
            }
            100% {
                transform: scale(20, 20);
                opacity: 0;
            }
        }

        @keyframes glow {
            0% { box-shadow: 0 0 20px var(--glow-color); }
            100% { box-shadow: 0 0 30px var(--glow-color), 0 0 50px var(--glow-color); }
        }

        @keyframes border-glow {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .cyber-glow {
            box-shadow: 0 0 20px var(--glow-color);
            animation: glow 2s infinite alternate;
        }

        .btn-icon {
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 8px;
            color: var(--text-color);
            padding: 6px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .btn-icon:hover {
            background-color: rgba(255, 0, 0, 0.2);
            border-color: var(--primary-color);
            box-shadow: 0 0 5px var(--glow-color);
        }

        .btn-icon:active {
            transform: translateY(1px);
        }

        .custom-select {
            display: block;
            width: 100%;
            height: 46px;
            padding: 0.375rem 0.75rem;
            padding-right: 30px;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0.8);
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 16px;
            border: 1px solid rgba(255, 0, 0, 0.3);
            border-radius: 8px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            transition: all 0.3s ease;
            font-family: 'JetBrains Mono', monospace;
            position: relative;
            overflow: hidden;
        }
        
        .custom-select::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .custom-select:focus::after {
            transform: scaleX(1);
        }

        /* Estilo para as opções */
        .custom-select option {
            background-color: #000;
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            padding: 10px;
        }

        /* Estilo quando tem foco */
        .custom-select:focus {
            border-color: rgba(255, 0, 0, 0.7);
            box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
            outline: none;
        }

        /* Estilo para itens selecionados (com valor) */
        .custom-select:not(.placeholder) {
            color: var(--primary-color);
            font-weight: 600;
        }

        /* Estilo para placeholder (sem valor selecionado) */
        .custom-select.placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* Melhorias na seção de configuração */
        .config-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .config-section > div {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 0, 0, 0.15);
            border-radius: 8px;
            padding: 15px;
            transition: all 0.3s ease;
        }
        
        .config-section > div:hover {
            background: rgba(0, 0, 0, 0.5);
            border-color: rgba(255, 0, 0, 0.3);
            box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
            transform: translateY(-3px);
        }
        
        .config-section label {
            color: var(--primary-color);
            margin-bottom: 10px;
            display: block;
            font-weight: 500;
        }

        .form-control, textarea {
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 0, 0, 0.2);
            color: #fff;
            border-radius: 8px;
            padding: 12px;
            transition: all 0.3s ease;
            font-family: 'JetBrains Mono', monospace;
            resize: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        .form-control:focus, textarea:focus {
            border-color: rgba(255, 0, 0, 0.5);
            outline: none;
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
            background: rgba(0, 0, 0, 0.7) !important;
            color: #fff !important;
        }
        
        /* Estilos específicos para o card_list */
        #card_list {
            background-color: rgba(0, 0, 0, 0.7) !important;
            color: #fff !important;
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 8px;
            padding: 12px;
            transition: all 0.3s ease;
            font-family: 'JetBrains Mono', monospace;
            resize: none;
            -webkit-text-fill-color: #fff !important;
            -webkit-appearance: textarea !important;
            position: relative;
            overflow: hidden;
        }
        
        #card_list:focus, 
        #card_list:active, 
        #card_list:hover {
            background-color: rgba(0, 0, 0, 0.7) !important;
            color: #fff !important;
            -webkit-text-fill-color: #fff !important;
            border-color: rgba(255, 0, 0, 0.5) !important;
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.3) !important;
            outline: none !important;
        }
        
        /* Adicionando efeito de scanner */
        .scanner-container {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .scanner-effect {
            position: absolute;
            width: 100%;
            height: 2px;
            background: rgba(255, 0, 0, 0.6);
            box-shadow: 0 0 8px 1px rgba(255, 0, 0, 0.8);
            top: 0;
            left: 0;
            animation: scanning 3s linear infinite;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .scanner-container:hover .scanner-effect {
            opacity: 1;
        }
        
        @keyframes scanning {
            0% { top: 0; }
            100% { top: 100%; }
        }

        .nav-tabs {
            background: var(--card-bg);
            border-radius: 12px 12px 0 0;
            border-bottom: 1px solid rgba(255, 0, 0, 0.2);
            margin-top: 25px;
        }

        .nav-link {
            color: var(--text-color);
            padding: 12px 20px;
            transition: all 0.3s ease;
            border-radius: 12px 12px 0 0;
            font-family: 'JetBrains Mono', monospace;
        }

        .nav-link:hover {
            background: rgba(255, 0, 0, 0.1);
            transform: translateY(-2px);
            color: var(--primary-color);
        }

        .nav-link.active {
            background: rgba(255, 0, 0, 0.2);
            color: var(--text-color);
            border-radius: 12px 12px 0 0;
            border-color: transparent;
            border-top: 2px solid var(--primary-color);
        }

        .tab-content {
            background: rgba(0, 0, 0, 0.7);
            border-radius: 0 0 10px 10px;
            padding: 20px;
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-top: none;
        }

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

        .table {
            background: rgba(0, 0, 0, 0.7);
            color: var(--text-color);
            border-radius: 12px;
            border: 1px solid rgba(255, 0, 0, 0.2);
        }

        .table th {
            background: rgba(0, 0, 0, 0.9);
            border-bottom: 1px solid rgba(255, 0, 0, 0.2);
            padding: 15px;
            font-family: 'JetBrains Mono', monospace;
        }

        .table td {
            border-top: 1px solid rgba(255, 0, 0, 0.1);
            padding: 12px;
        }

        .modal-content {
            background: var(--card-bg);
            color: var(--text-color);
            border-radius: 12px;
            border: 1px solid rgba(255, 0, 0, 0.2);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .modal-content::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 14px;
            background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.3), transparent);
            z-index: -1;
            animation: border-glow 3s linear infinite;
        }

        .modal-header, .modal-footer {
            border: none;
            padding: 20px 25px;
        }

        .modal-header {
            border-bottom: 1px solid rgba(255, 0, 0, 0.2);
        }

        .modal-footer {
            border-top: 1px solid rgba(255, 0, 0, 0.2);
        }

        .footer {
            text-align: center;
            padding: 25px;
            font-size: 0.95rem;
            opacity: 0.85;
            margin-top: 30px;
            font-family: 'JetBrains Mono', monospace;
            border-top: 1px solid rgba(255, 0, 0, 0.2);
        }

        .footer a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer a:hover {
            text-decoration: underline;
            color: #ff6666;
            text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
        }

        .badge {
            padding: 6px 10px;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
            font-family: 'JetBrains Mono', monospace;
        }

        .badge-success {
            background-color: rgba(0, 0, 0, 0.8);
            border: 1px solid #28a745;
            color: #28a745;
        }

        .badge-danger {
            background-color: rgba(0, 0, 0, 0.8);
            border: 1px solid #dc3545;
            color: #dc3545;
        }

        .badge-warning {
            background-color: rgba(0, 0, 0, 0.8);
            border: 1px solid #ffc107;
            color: #ffc107;
        }

        .badge-info {
            background-color: rgba(0, 0, 0, 0.8);
            border: 1px solid #17a2b8;
            color: #17a2b8;
        }

        .badge-secondary {
            background-color: rgba(0, 0, 0, 0.8);
            border: 1px solid #6c757d;
            color: #6c757d;
        }

        .form-group {
            margin-bottom: 1.2rem;
            position: relative;
        }

        .form-group label {
            margin-bottom: 0.5rem;
            display: block;
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
            color: var(--primary-color);
        }

        .form-group .input-icon {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            color: var(--primary-color);
            opacity: 0.7;
        }

        .form-group .form-control {
            padding-right: 35px;
        }

        .form-group .form-text {
            font-size: 0.85rem;
            margin-top: 0.25rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(74, 193, 224, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(74, 193, 224, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(74, 193, 224, 0);
            }
        }

        @media (max-width: 768px) {
            .header-buttons, .control-buttons {
                justify-content: center;
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .card {
                padding: 15px;
                margin-bottom: 15px;
            }
            
            .config-section {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .form-control, .custom-select, textarea {
                font-size: 0.9rem;
                padding: 8px;
            }
            
            .form-group {
                margin-bottom: 0.8rem;
            }
            
            .cyber-btn {
                font-size: 0.8em;
                padding: 5px 10px;
            }
            
            .nav-tabs .nav-link {
                padding: 8px 12px;
                font-size: 0.85rem;
            }
            
            .tab-content {
                padding: 15px;
            }
            
            .footer {
                font-size: 0.8rem;
                padding: 15px;
            }
        }

        #lives, #dies, #errors {
            max-height: 300px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 0, 0, 0.5) rgba(0, 0, 0, 0.2);
        }

        #lives::-webkit-scrollbar, #dies::-webkit-scrollbar, #errors::-webkit-scrollbar {
            width: 6px;
        }

        #lives::-webkit-scrollbar-track, #dies::-webkit-scrollbar-track, #errors::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
        }

        #lives::-webkit-scrollbar-thumb, #dies::-webkit-scrollbar-thumb, #errors::-webkit-scrollbar-thumb {
            background: rgba(255, 0, 0, 0.5);
            border-radius: 3px;
        }

        /* Estilos para os registros */
        .log-container {
            overflow-y: auto;
            max-height: 300px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            padding: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 8px;
        }

        .mono {
            font-family: 'JetBrains Mono', monospace !important;
        }

        .text-sm {
            font-size: 0.85rem;
        }

        .text-green-500 {
            color: #00ff4c;
        }

        .text-red-500 {
            color: #ff0033;
        }

        .text-yellow-500 {
            color: #ffcc00;
        }

        .mr-2 {
            margin-right: 0.5rem;
        }

        .tab-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(255, 0, 0, 0.2);
            padding-bottom: 5px;
        }

        .tab-header h5 {
            margin: 0;
            color: #fff;
            font-size: 1rem;
            display: flex;
            align-items: center;
        }

        .btn-icon {
            background-color: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 0, 0, 0.2);
            color: #fff;
            width: 30px;
            height: 30px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 5px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-icon:hover {
            background-color: rgba(255, 0, 0, 0.2);
            border-color: var(--primary-color);
            box-shadow: 0 0 5px var(--glow-color);
        }

        .cyber-btn {
            position: relative;
            background: rgba(0, 0, 0, 0.7);
            color: var(--text-color);
            border: 1px solid rgba(255, 0, 0, 0.3);
            font-family: 'JetBrains Mono', monospace;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9em;
            padding: 8px 15px;
            transition: all 0.3s;
            clip-path: polygon(
                0 0, 
                calc(100% - 8px) 0, 
                100% 8px, 
                100% 100%, 
                8px 100%, 
                0 calc(100% - 8px)
            );
            overflow: visible;
            z-index: 1;
        }

        .cyber-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, 
                rgba(255, 0, 0, 0.1), 
                rgba(255, 0, 0, 0.3), 
                rgba(255, 0, 0, 0.1));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .cyber-btn:hover {
            background: rgba(20, 0, 0, 0.9);
            color: var(--primary-color);
            border-color: var(--primary-color);
            box-shadow: 0 0 10px var(--glow-color), inset 0 0 10px var(--glow-color);
            transform: translateY(-2px);
        }
        
        .cyber-btn:hover::before {
            opacity: 1;
        }

        .cyber-btn:active {
            transform: translateY(1px);
            box-shadow: 0 0 5px var(--glow-color), inset 0 0 5px var(--glow-color);
        }

        .cyber-btn:disabled {
            opacity: 0.5;
            background: rgba(0, 0, 0, 0.5);
            border-color: rgba(255, 0, 0, 0.1);
            box-shadow: none;
            transform: none;
        }

        /* Estilo para o input-group e seus componentes */
        .input-group {
            display: flex;
            align-items: stretch;
        }
        
        .input-group-append {
            display: flex;
            margin-left: -1px;
        }
        
        .input-group-text {
            background-color: rgba(0, 0, 0, 0.8);
            color: var(--primary-color);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 0 8px 8px 0;
            padding: 10px 14px;
            font-family: 'JetBrains Mono', monospace;
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .input-group .custom-select {
            border-radius: 8px 0 0 8px;
            flex: 1;
        }

        /* Estilos para estatísticas */
        .stats-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: space-between;
        }
        
        .stats-item {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 8px;
            padding: 8px 15px;
            min-width: 110px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .stats-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.5), transparent);
        }
        
        .stats-label {
            font-size: 0.8em;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }
        
        .stats-value {
            font-size: 1.2em;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .stats-container {
                justify-content: center;
            }
            
            .stats-item {
                min-width: 90px;
                padding: 6px 10px;
            }
        }

        /* Estilo para o título do checker */
        .glitch-title {
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            text-transform: uppercase;
            position: relative;
            display: inline-block;
            color: #fff;
            letter-spacing: 2px;
        }
        
        .glitch-title::before,
        .glitch-title::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .glitch-title::before {
            left: 2px;
            text-shadow: -1px 0 var(--primary-color);
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-animation-1 5s linear infinite alternate-reverse;
        }
        
        .glitch-title::after {
            left: -2px;
            text-shadow: -1px 0 var(--secondary-color);
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-animation-2 5s linear infinite alternate-reverse;
        }
        
        @keyframes glitch-animation-1 {
            0% { clip: rect(36px, 9999px, 38px, 0); }
            5% { clip: rect(71px, 9999px, 11px, 0); }
            10% { clip: rect(2px, 9999px, 12px, 0); }
            15% { clip: rect(64px, 9999px, 33px, 0); }
            20% { clip: rect(48px, 9999px, 98px, 0); }
            25% { clip: rect(16px, 9999px, 13px, 0); }
            30% { clip: rect(67px, 9999px, 25px, 0); }
            35% { clip: rect(1px, 9999px, 15px, 0); }
            40% { clip: rect(5px, 9999px, 13px, 0); }
            45% { clip: rect(85px, 9999px, 54px, 0); }
            50% { clip: rect(13px, 9999px, 71px, 0); }
            55% { clip: rect(28px, 9999px, 21px, 0); }
            60% { clip: rect(20px, 9999px, 86px, 0); }
            65% { clip: rect(95px, 9999px, 38px, 0); }
            70% { clip: rect(83px, 9999px, 72px, 0); }
            75% { clip: rect(9px, 9999px, 92px, 0); }
            80% { clip: rect(42px, 9999px, 23px, 0); }
            85% { clip: rect(46px, 9999px, 37px, 0); }
            90% { clip: rect(5px, 9999px, 17px, 0); }
            95% { clip: rect(65px, 9999px, 53px, 0); }
            100% { clip: rect(43px, 9999px, 40px, 0); }
        }
        
        @keyframes glitch-animation-2 {
            0% { clip: rect(18px, 9999px, 88px, 0); }
            5% { clip: rect(44px, 9999px, 70px, 0); }
            10% { clip: rect(12px, 9999px, 65px, 0); }
            15% { clip: rect(1px, 9999px, 45px, 0); }
            20% { clip: rect(81px, 9999px, 36px, 0); }
            25% { clip: rect(49px, 9999px, 38px, 0); }
            30% { clip: rect(1px, 9999px, 48px, 0); }
            35% { clip: rect(21px, 9999px, 74px, 0); }
            40% { clip: rect(12px, 9999px, 81px, 0); }
            45% { clip: rect(81px, 9999px, 7px, 0); }
            50% { clip: rect(41px, 9999px, 100px, 0); }
            55% { clip: rect(8px, 9999px, 61px, 0); }
            60% { clip: rect(33px, 9999px, 55px, 0); }
            65% { clip: rect(3px, 9999px, 99px, 0); }
            70% { clip: rect(87px, 9999px, 85px, 0); }
            75% { clip: rect(71px, 9999px, 86px, 0); }
            80% { clip: rect(1px, 9999px, 58px, 0); }
            85% { clip: rect(14px, 9999px, 41px, 0); }
            90% { clip: rect(72px, 9999px, 83px, 0); }
            95% { clip: rect(25px, 9999px, 94px, 0); }
            100% { clip: rect(47px, 9999px, 87px, 0); }
        }

        /* Linhas decorativas */
        .cyber-line {
            position: absolute;
            background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.5), transparent);
            height: 1px;
            width: 90%;
            left: 5%;
            z-index: 5;
        }
        
        .cyber-line.top {
            top: 10px;
        }
        
        .cyber-line.bottom {
            bottom: 10px;
        }

        /* Partículas no fundo */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background-color: rgba(255, 0, 0, 0.5);
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
            animation: float-particle 15s linear infinite;
            opacity: 0;
        }
        
        .particle:nth-child(1) {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }
        
        .particle:nth-child(2) {
            top: 70%;
            left: 30%;
            animation-delay: 2s;
        }
        
        .particle:nth-child(3) {
            top: 40%;
            left: 60%;
            animation-delay: 4s;
        }
        
        .particle:nth-child(4) {
            top: 10%;
            left: 80%;
            animation-delay: 6s;
        }
        
        .particle:nth-child(5) {
            top: 60%;
            left: 90%;
            animation-delay: 8s;
        }
        
        @keyframes float-particle {
            0% {
                transform: translateY(0) rotate(0);
                opacity: 0;
                scale: 1;
            }
            10% {
                opacity: 1;
                scale: 1.2;
            }
            90% {
                opacity: 1;
                scale: 0.8;
            }
            100% {
                transform: translateY(-1000px) rotate(360deg);
                opacity: 0;
                scale: 0;
            }
        }

        /* Brilho dinâmico para o container */
        .dynamic-glow {
            position: absolute;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            z-index: 4;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.1s ease;
        }

        /* Responsividade para mobile */
        @media (max-width: 768px) {
            body {
                padding-top: 50px;
            }
            
            .container {
                padding: 15px;
                margin: 10px;
                width: calc(100% - 20px);
            }
            
            .card {
                padding: 15px;
            }
            
            .cyber-corner {
                width: 20px;
                height: 20px;
            }
        }

        /* Responsividade da topbar para mobile */
        @media (max-width: 768px) {
            .topbar {
                height: 50px;
                padding: 0 10px;
            }
            
            .topbar-logo {
                font-size: 1.2rem;
            }
            
            .mobile-menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 35px;
                height: 35px;
                border-radius: 50%;
                background: rgba(0, 0, 0, 0.5);
                border: 1px solid rgba(255, 0, 0, 0.3);
                color: var(--text-color);
                font-size: 1.2rem;
                cursor: pointer;
                transition: all 0.3s ease;
            }
            
            .mobile-menu-toggle:hover {
                background: rgba(255, 0, 0, 0.2);
                border-color: var(--primary-color);
            }
        }

        @media (max-width: 576px) {
            .stats-container {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .stats-item {
                min-width: auto;
                width: 100%;
                padding: 6px 8px;
            }
            
            .stats-label {
                font-size: 0.7em;
            }
            
            .stats-value {
                font-size: 1em;
            }
            
            #lives, #dies, #errors {
                max-height: 200px;
            }
            
            .tab-header h5 {
                font-size: 0.9rem;
            }
            
            .badge {
                font-size: 0.75rem;
                padding: 4px 8px;
            }
        }

        /* Classes utilitárias de responsividade */
        .d-none {
            display: none !important;
        }
        
        .d-flex {
            display: flex !important;
        }
        
        @media (min-width: 768px) {
            .d-md-none {
                display: none !important;
            }
            
            .d-md-flex {
                display: flex !important;
            }
            
            .d-md-block {
                display: block !important;
            }
        }
        
        @media (max-width: 767px) {
            .d-sm-none {
                display: none !important;
            }
            
            .d-sm-flex {
                display: flex !important;
            }
            
            .d-sm-block {
                display: block !important;
            }
        }

        /* Menu móvel para telas pequenas */
        .mobile-menu {
            position: fixed;
            top: 50px;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.95);
            border-top: 1px solid rgba(255, 0, 0, 0.2);
            border-bottom: 1px solid rgba(255, 0, 0, 0.2);
            padding: 10px 0;
            z-index: 100;
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        }
        
        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
        }
        
        .mobile-menu-item {
            display: block;
            padding: 10px 20px;
            color: var(--text-color);
            text-decoration: none;
            font-family: 'JetBrains Mono', monospace;
            border-bottom: 1px solid rgba(255, 0, 0, 0.1);
            transition: all 0.2s ease;
        }
        
        .mobile-menu-item:last-child {
            border-bottom: none;
        }
        
        .mobile-menu-item:hover {
            background: rgba(255, 0, 0, 0.1);
            color: var(--primary-color);
            text-decoration: none;
        }