/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #101010;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Efeito Glitch para Ativação Sensorial */
.glitch-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
    animation: glitchFlash 0.3s ease-out;
}

@keyframes glitchFlash {
    0% {
        background: rgba(0, 242, 254, 0.1);
        transform: translateX(0);
    }
    25% {
        background: rgba(255, 0, 222, 0.1);
        transform: translateX(-2px);
    }
    50% {
        background: rgba(0, 242, 254, 0.05);
        transform: translateX(2px);
    }
    75% {
        background: rgba(255, 0, 222, 0.05);
        transform: translateX(-1px);
    }
    100% {
        background: transparent;
        transform: translateX(0);
    }
}

/* Animação de fundo Google Labs - Performance Otimizada */
.labs-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    will-change: transform; /* GPU acceleration */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
    will-change: transform; /* GPU acceleration */
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #3b0764;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #1e3a8a;
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #000000;
    bottom: -100px;
    left: 30%;
    animation-delay: 10s;
}

.blob-4 {
    width: 700px;
    height: 700px;
    background: #3b0764;
    top: 20%;
    left: 50%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-50px, 100px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

/* Seletor de Linguagens - Glassmorphism */
.language-selector {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    margin: 20px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
}

.language-tabs {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.language-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.language-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.2), transparent);
    transition: left 0.5s ease;
}

.language-tab:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.language-tab:hover::before {
    left: 100%;
}

.language-tab.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(255, 0, 222, 0.1));
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.language-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.language-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.language-count {
    background: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.language-tab.active .language-count {
    background: rgba(255, 0, 222, 0.2);
    color: #ff00de;
}

/* Virtual Scrolling Container */
.virtual-scroll-container {
    height: calc(100vh - 300px);
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
}

.virtual-scroll-content {
    position: relative;
    min-height: 100%;
}

.virtual-scroll-spacer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.virtual-scroll-items {
    position: relative;
    z-index: 1;
}

/* Performance optimizations */
.virtual-scroll-container {
    contain: layout style paint;
    scroll-behavior: smooth;
}

.package-card {
    will-change: transform;
    contain: layout style;
}

/* Language Badges para Arena 2.0 */
.language-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 8px;
}

.language-badge-icon {
    font-size: 0.8rem;
}

.language-badge-text {
    color: #ffffff;
}

/* Badges por linguagem específicos */
.language-badge.js { background: rgba(247, 223, 30, 0.2); border-color: rgba(247, 223, 30, 0.4); }
.language-badge.python { background: rgba(52, 114, 170, 0.2); border-color: rgba(52, 114, 170, 0.4); }
.language-badge.java { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); }
.language-badge.go { background: rgba(0, 216, 153, 0.2); border-color: rgba(0, 216, 153, 0.4); }
.language-badge.rust { background: rgba(222, 76, 138, 0.2); border-color: rgba(222, 76, 138, 0.4); }
.language-badge.php { background: rgba(117, 94, 207, 0.2); border-color: rgba(117, 94, 207, 0.4); }
.language-badge.csharp { background: rgba(140, 26, 255, 0.2); border-color: rgba(140, 26, 255, 0.4); }
.language-badge.cpp { background: rgba(0, 122, 204, 0.2); border-color: rgba(0, 122, 204, 0.4); }
.language-badge.ruby { background: rgba(214, 34, 40, 0.2); border-color: rgba(214, 34, 40, 0.4); }
.language-badge.swift { background: rgba(255, 149, 0, 0.2); border-color: rgba(255, 149, 0, 0.4); }

/* Container principal */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho com título neon */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.neon-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f2fe, #ff00de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.5),
                 0 0 60px rgba(255, 0, 222, 0.3);
    margin-bottom: 10px;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        filter: brightness(1);
    }
    to {
        filter: brightness(1.2);
    }
}

.subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Barra de busca */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.search-input {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(0, 242, 254, 0.3);
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 50px;
    width: 400px;
    max-width: 90%;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.search-btn {
    background: linear-gradient(45deg, #00f2fe, #ff00de);
    border: none;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* Estatísticas */
.stats {
    text-align: center;
    margin-bottom: 30px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Grid de cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.package-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.package-card:hover::before {
    opacity: 1;
}

.package-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00f2fe;
    margin-bottom: 8px;
}

.package-description {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #808080;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-keywords {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.keyword {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-btn {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: rgba(0, 242, 254, 0.1);
    border-color: #00f2fe;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #a0a0a0;
    font-weight: 500;
}

/* Zona de comparação Versus */
.versus-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 16, 16, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.versus-zone.hidden {
    display: none;
}

.versus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.versus-header h2 {
    color: #ff00de;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff00de;
}

.versus-content {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
}

.versus-card {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(0, 242, 254, 0.3);
    border-radius: 16px;
    padding: 30px;
    width: 45%;
    max-height: 70vh;
    overflow-y: auto;
}

.versus-card h3 {
    color: #00f2fe;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.versus-separator {
    font-size: 2rem;
    font-weight: 700;
    color: #ff00de;
    text-shadow: 0 0 20px rgba(255, 0, 222, 0.5);
}

/* Responsividade */
@media (max-width: 768px) {
    .neon-title {
        font-size: 2.5rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .versus-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .versus-card {
        width: 90%;
    }
    
    .search-input {
        width: 100%;
    }
}

/* Toast/Tooltip Glassmorphism */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2000;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Zona de Drop para Arena Mode */
.drop-zone {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 280px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 242, 254, 0.3);
    border-radius: 16px;
    padding: 20px;
    z-index: 100;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.drop-zone.drag-over {
    border-color: #ff00de;
    box-shadow: 0 0 30px rgba(255, 0, 222, 0.4);
    transform: scale(1.05);
}

.drop-zone.hidden {
    transform: translateX(350px);
    opacity: 0;
}

.drop-zone-content {
    text-align: center;
}

.drop-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

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

.drop-zone p {
    color: #a0a0a0;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.drop-slots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.drop-slot {
    width: 100px;
    height: 60px;
    background: rgba(0, 242, 254, 0.1);
    border: 2px dashed rgba(0, 242, 254, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.drop-slot.filled {
    background: rgba(0, 242, 254, 0.2);
    border-color: #00f2fe;
}

.drop-slot.drag-over {
    background: rgba(255, 0, 222, 0.2);
    border-color: #ff00de;
    transform: scale(1.05);
}

.slot-label {
    color: #666;
    font-size: 0.8rem;
}

.drop-slot.filled .slot-label {
    color: #00f2fe;
    font-weight: 600;
}

/* Modal Cyberpunk Arena */
.arena-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arena-modal.show {
    opacity: 1;
    visibility: visible;
}

.arena-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.arena-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(16, 16, 16, 0.8);
}

.arena-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(255, 0, 222, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.arena-modal.show .arena-content {
    transform: scale(1);
}

.arena-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.1), rgba(255, 0, 222, 0.1));
}

.arena-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f2fe, #ff00de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 0, 222, 0.5);
}

.arena-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.arena-close:hover {
    color: #ff00de;
    transform: scale(1.1);
}

.arena-battle {
    display: flex;
    height: calc(100% - 80px);
}

.arena-side {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.arena-left {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.05), transparent);
}

.arena-right {
    background: linear-gradient(180deg, rgba(255, 0, 222, 0.05), transparent);
}

.arena-lib-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.arena-left .arena-lib-name {
    color: #00f2fe;
}

.arena-right .arena-lib-name {
    color: #ff00de;
}

.arena-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-bar-container {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.stat-bar {
    height: 100%;
    border-radius: 12px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-origin: left;
}

.stat-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.left-bar {
    background: linear-gradient(90deg, #00f2fe, #0099cc);
}

.right-bar {
    background: linear-gradient(90deg, #ff00de, #cc00aa);
}

.stat-bar.winner {
    box-shadow: 0 0 30px currentColor;
    animation: winnerGlow 0.8s ease-in-out infinite alternate;
}

@keyframes winnerGlow {
    from { 
        filter: brightness(1); 
        transform: scaleX(1);
    }
    to { 
        filter: brightness(1.5); 
        transform: scaleX(1.02);
    }
}

/* Animação de placar de jogo para barras */
.stat-bar.game-animation {
    animation: gameScore 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gameScore {
    0% {
        width: 0% !important;
        transform: scaleX(0.8);
    }
    50% {
        transform: scaleX(1.05);
    }
    100% {
        transform: scaleX(1);
    }
}

.stat-value {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.arena-vs-separator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 0, 222, 0.8);
    z-index: 10;
    background: rgba(16, 16, 16, 0.9);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 222, 0.5);
}

/* Cards com drag & drop e Quick Install */
.package-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
    overflow: hidden;
}

.package-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: scale(0.95);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.package-card:hover::before {
    opacity: 1;
}

/* Quick Install Terminal UI */
.quick-install {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.install-terminal {
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.install-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.1), transparent);
    transition: left 0.5s ease;
}

.install-terminal.terminal-flash::before {
    left: 100%;
}

.install-terminal.terminal-flash {
    border-color: #00f2fe;
    box-shadow: inset 0 0 8px rgba(0, 242, 254, 0.3);
}

.terminal-prompt {
    color: #00f2fe;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
}

.terminal-command {
    color: #00ff88;
    text-shadow: 0 0 3px rgba(0, 255, 136, 0.3);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(0, 242, 254, 0.1));
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    color: #00f2fe;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.2), transparent);
    transition: left 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), rgba(0, 242, 254, 0.2));
    border-color: #00f2fe;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:active {
    transform: scale(0.98);
}

.copy-btn.copied {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.1));
    border-color: #00ff88;
    color: #00ff88;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00f2fe, #ff00de);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff00de, #00f2fe);
}
