/* CSS específico para Demos - Basado en styles.css pero optimizado para demos completas */

/* Reset y variables globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --primary-color: #2defe9;
    --secondary-color: #1a1a1a;
    --accent-color: #2defe9;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-gray: #aaaaaa;
    --gradient-primary: linear-gradient(135deg, #2defe9, #1dd8d2);
    --gradient-secondary: linear-gradient(135deg, #00ff88, #00cc6a);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    
    /* Sombras específicas para demos */
    --shadow-primary: 0 0 30px rgba(45, 239, 233, 0.3);
    --shadow-accent: 0 0 30px rgba(0, 255, 136, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-demo: 0 5px 20px rgba(45, 239, 233, 0.2);
    
    /* Tipografías */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Rajdhani', sans-serif;
}

body {
    font-family: var(--font-secondary);
    /* background: var(--bg-darker); */
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/*
/* Navegación */
/*
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}
*/

/* Hero específico para demos */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--bg-darker) 0%, var(--secondary-color) 100%); */
    text-align: center;
    overflow: hidden;
}

.hero-small {
    /* height: 60vh; */
    min-height: 400px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: 
        radial-gradient(circle at 20% 80%, rgba(45, 239, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%); */
}

.hero-content-small {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-line {
    display: block;
}

.glow {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sección de introducción adaptada para demos */
.rules-intro {
    padding: 6rem 0;
    /* background: var(--bg-dark); */
}

.intro-card {
    /* background: var(--gradient-dark); */
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(45, 239, 233, 0.2);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-demo);
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--bg-dark);
}

.intro-card h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.intro-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Demo Table Styles */
.rules-section {
    padding: 6rem 0;
    /* background: var(--bg-darker); */
}

.demo-table {
    background: var(--gradient-dark);
    border-radius: 15px;
    border: 1px solid rgba(45, 239, 233, 0.2);
    overflow: hidden;
    box-shadow: var(--shadow-demo);
}

.demo-table-header {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1.2fr 1fr 0.8fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(45, 239, 233, 0.1);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(45, 239, 233, 0.2);
}

/* Demo Row Container - Clickable */
.demo-row-container {
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-row-container:hover {
    background: rgba(45, 239, 233, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 239, 233, 0.1);
}

.demo-row-container:hover .demo-row {
    border-color: rgba(45, 239, 233, 0.4);
}

/* Loading and Error States */
.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(45, 239, 233, 0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.demo-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #ff6b6b;
    text-align: center;
}

.error-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.no-demos {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Demo Row Container */
.demo-row-container {
    border-bottom: 1px solid rgba(45, 239, 233, 0.1);
}

.demo-row-container:last-child {
    border-bottom: none;
}

.demo-row {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1.2fr 1fr 0.8fr;
    gap: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    align-items: center;
    cursor: pointer;
}

.demo-row:hover {
    background: rgba(45, 239, 233, 0.05);
}

/* Expand Button */
.demo-col-expand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-expand {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-expand:hover {
    background: rgba(45, 239, 233, 0.1);
}

.btn-expand i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Expanded Row Styles */
.demo-expanded-row {
    display: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(45, 239, 233, 0.2);
    animation: expandRow 0.3s ease-in-out;
}

.expanded-content {
    padding: 2rem;
}

.demo-info-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 239, 233, 0.2);
}

.demo-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* Teams Container */
.teams-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.team-section {
    /* background: var(--gradient-dark); */
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(45, 239, 233, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-section.team-ct {
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.team-section.team-tt {
    border-color: rgba(226, 160, 74, 0.3);
    box-shadow: 0 4px 15px rgba(226, 160, 74, 0.1);
}

.team-section.team-spec {
    border-color: rgba(170, 170, 170, 0.3);
    box-shadow: 0 4px 15px rgba(170, 170, 170, 0.1);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.team-ct .team-icon {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.team-tt .team-icon {
    background: linear-gradient(135deg, #E2A04A, #BD7A35);
}

.team-spec .team-icon {
    background: linear-gradient(135deg, #888888, #666666);
}

.team-header h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 0;
    flex-grow: 1;
    color: var(--text-light);
}

.team-count {
    font-size: 0.9rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* Players Table */
.players-table {
    width: 100%;
}

.players-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.player-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    align-items: center;
}

.player-row:hover {
    background: rgba(45, 239, 233, 0.05);
    border-radius: 4px;
}

.player-row:last-child {
    border-bottom: none;
}

.player-row.player-disconnected {
    opacity: 0.5;
    position: relative;
}

.player-row.player-disconnected::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 107, 107, 0.1) 2px,
        rgba(255, 107, 107, 0.1) 4px
    );
    pointer-events: none;
    border-radius: 4px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(45, 239, 233, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.player-avatar:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(45, 239, 233, 0.3);
}

.player-name {
    font-weight: 600;
    color: var(--text-light);
    min-width: 0;
    flex-shrink: 1;
}

.disconnect-indicator {
    color: #ff6b6b;
    font-size: 0.8rem;
    opacity: 0.7;
}

.player-col-score,
.player-col-deaths,
.player-col-time {
    font-family: var(--font-secondary);
    color: var(--text-gray);
    font-weight: 500;
}

.btn-player-details {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.btn-player-details:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Player Details */
.player-details {
    grid-column: 1 / -1;
    padding: 1rem;
    margin: 0.5rem 0;
    background: rgba(45, 239, 233, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(45, 239, 233, 0.2);
    visibility: hidden;
    max-height: 0;
    transform: translateY(-80px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, -0.5, 0.44, 2.06);
    overflow: hidden;
}

.player-details.visible {
    visibility: visible;
    max-height: 500px; /* Ajusta según el contenido máximo esperado */
    transform: translateY(0);
    opacity: 1;
}

.player-details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-group {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 6px;
}

.detail-group h5 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.detail-label {
    color: var(--text-gray);
    font-weight: 500;
}

.detail-value {
    color: var(--text-light);
    font-weight: 600;
}

.team-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-badge.team-ct {
    background: #4A90E2;
    color: white;
}

.team-badge.team-tt {
    background: #E2A04A;
    color: white;
}

.team-times {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.time-item {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.time-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-bottom: 0.2rem;
}

.time-value {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.demo-col-map {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.demo-col-map i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.demo-col-date,
.demo-col-time,
.demo-col-duration,
.demo-col-size,
.demo-col-score {
    font-family: var(--font-secondary);
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* .demo-col-score {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
} */

.score-ct {
    color: #4A90E2;
}

.score-t {
    color: #E2A04A;
}

.btn-download-small {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-download-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 239, 233, 0.3);
}

.rules-section.alt-bg {
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards de demos específicas para mapas completos */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.demo-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(45, 239, 233, 0.1);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-demo);
}

.demo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(45, 239, 233, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.demo-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.demo-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.demo-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.demo-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.demo-detail i {
    color: var(--primary-color);
    width: 16px;
}

.demo-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.demo-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.demo-stat {
    text-align: center;
}

.demo-stat-value {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.demo-stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Botones específicos para demos */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    width: 100%;
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 239, 233, 0.3);
}

.btn-preview {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-right: 1rem;
    flex: 1;
    justify-content: center;
}

.btn-preview:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Footer - Using base styles from rules.css */

/* Animaciones */
@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--primary-color);
    }
    to {
        text-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--primary-color);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .demo-table-header,
    .demo-row {
        grid-template-columns: 40px 1.5fr 0.8fr 0.8fr 0.8fr 1fr 0.8fr 0.6fr;
        font-size: 0.85rem;
    }
    
    .demo-table-header {
        padding: 1rem;
    }
    
    .demo-row {
        padding: 1rem;
    }

    .teams-container {
        grid-template-columns: 1fr;
    }
    
    .team-section {
        margin-bottom: 1rem;
    }

    .players-header,
    .player-row {
        grid-template-columns: 2fr 0.8fr 0.8fr 1fr 0.6fr;
        font-size: 0.8rem;
    }

    .player-details-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Mobile demo table - stack format */
    .demo-table-header {
        display: none;
    }
    
    .demo-table {
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .demo-row-container {
        margin-bottom: 1rem;
        border-bottom: none;
    }
    
    .demo-row {
        display: block;
        background: var(--gradient-dark);
        border: 1px solid rgba(45, 239, 233, 0.2);
        border-radius: 10px;
        padding: 1.5rem;
        grid-template-columns: none;
    }
    
    .demo-row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(45, 239, 233, 0.1);
    }
    
    .demo-row > div:last-child {
        border-bottom: none;
        justify-content: center;
        padding-top: 1rem;
    }

    .demo-col-expand {
        order: -1;
        justify-content: flex-start;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(45, 239, 233, 0.2);
    }

    .demo-col-expand::before {
        content: "Expandir:";
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    
    .demo-col-map::before { content: "Mapa:"; }
    .demo-col-date::before { content: "Fecha:"; }
    .demo-col-time::before { content: "Hora:"; }
    .demo-col-duration::before { content: "Duración:"; }
    .demo-col-score::before { content: "Puntaje:"; }
    .demo-col-size::before { content: "Tamaño:"; }
    
    .demo-row > div::before {
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.9rem;
    }
    
    .demo-col-download::before {
        display: none;
    }

    /* Mobile expanded content */
    .demo-expanded-row {
        border-radius: 0 0 10px 10px;
        margin-top: -1px;
    }

    .expanded-content {
        padding: 1rem;
    }

    .demo-meta {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .teams-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-section {
        padding: 1rem;
    }

    .players-header {
        display: none;
    }

    .player-row {
        display: block;
        background: rgba(255, 255, 255, 0.05);
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
        grid-template-columns: none;
    }

    .player-row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.25rem 0;
        font-size: 0.85rem;
    }

    .player-col-name::before { content: "Jugador:"; }
    .player-col-score::before { content: "Score:"; }
    .player-col-deaths::before { content: "Muertes:"; }
    .player-col-time::before { content: "Tiempo:"; }

    .player-row > div::before {
        font-weight: 600;
        color: var(--text-gray);
        font-size: 0.8rem;
    }

    .player-col-actions::before {
        display: none;
    }

    .player-details-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .time-item {
        padding: 0.3rem;
    }
}

/* Sección de Cómo Usar Demos (sanctions-section) */
.sanctions-section {
    padding: 6rem 0;
    /* background: var(--bg-dark); */
    position: relative;
}

.sanctions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(45, 239, 233, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.sanctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sanction-card {
    background: var(--gradient-dark);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(45, 239, 233, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sanction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sanction-card:hover::before {
    transform: scaleX(1);
}

.sanction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-demo);
    border-color: var(--primary-color);
}

.sanction-level {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.sanction-level i {
    font-size: 2rem;
    color: var(--primary-color);
}

.sanction-level span {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.sanction-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.sanction-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sanction-examples {
    background: rgba(45, 239, 233, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.sanction-examples strong {
    color: var(--primary-color);
}

/* Sección de Enviar Demo (appeals-section) */
.appeals-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    position: relative;
}

.appeals-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.appeals-info h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.appeals-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.appeals-steps {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.appeal-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(74, 242, 197, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(74, 242, 197, 0.15);
    transition: all 0.3s ease;
}

.appeal-step:hover {
    border-color: rgba(74, 242, 197, 0.3);
    box-shadow: var(--shadow-demo);
}

.step-number {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.appeals-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 2rem 0;
}

.contact-card {
    background: var(--gradient-dark);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid #5865F2;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5865F2, #7983F5, #5865F2);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(88, 101, 242, 0.25);
}

.discord-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5865F2, #7983F5);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.discord-icon-container i {
    font-size: 2.5rem;
    color: white;
}

.contact-card:hover .discord-icon-container {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(88, 101, 242, 0.4);
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.channel-name {
    color: #5865F2;
    font-weight: 600;
    background: rgba(88, 101, 242, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.discord-description {
    font-size: 0.9rem;
    margin-bottom: 2rem !important;
    opacity: 0.8;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7983F5);
    color: white;
}

.btn-discord.enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #5865F2, #7983F5);
    border: 2px solid transparent;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    box-shadow: 0 8px 15px rgba(88, 101, 242, 0.2);
}

.btn-discord.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

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

.btn-discord.enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(88, 101, 242, 0.3);
    background: linear-gradient(135deg, #4752C4, #5865F2);
}

.btn-discord.enhanced:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(88, 101, 242, 0.2);
}

.btn-discord.enhanced .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-right: 1rem;
}

.btn-discord.enhanced .btn-icon i {
    font-size: 1.2rem;
}

.btn-discord.enhanced .btn-text {
    flex: 1;
    text-align: left;
}

.btn-discord.enhanced .btn-main {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-discord.enhanced .btn-sub {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    margin-top: 2px;
}

.btn-discord.enhanced .btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-discord.enhanced:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(3px);
}

.btn-discord.enhanced .btn-arrow i {
    font-size: 0.8rem;
}

/* Sección de Consejos (important-notes) */
.important-notes {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.important-notes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.notes-card {
    background: var(--gradient-dark);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(45, 239, 233, 0.2);
    position: relative;
    overflow: hidden;
}

.notes-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.notes-card h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notes-card h2 i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(45, 239, 233, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(45, 239, 233, 0.1);
    transition: all 0.3s ease;
}

.note-item:hover {
    background: rgba(45, 239, 233, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.note-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.note-item h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.note-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsivo para secciones adicionales */
@media (max-width: 768px) {
    .sanctions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .appeals-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .appeals-info h2 {
        font-size: 2rem;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .notes-card {
        padding: 2rem;
    }
    
    .notes-card h2 {
        font-size: 1.8rem;
    }
    
    /* Responsive Discord Card */
    .appeals-contact {
        padding: 1rem;
        min-height: auto;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .discord-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .discord-icon-container i {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .btn-discord.enhanced {
        padding: 0.8rem 1rem;
        min-height: 50px;
    }
    
    .btn-discord.enhanced .btn-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.8rem;
    }
    
    .btn-discord.enhanced .btn-main {
        font-size: 0.8rem;
    }
    
    .btn-discord.enhanced .btn-sub {
        font-size: 0.7rem;
    }
    
    .btn-discord.enhanced .btn-arrow {
        width: 25px;
        height: 25px;
    }
}

/* Animations for Discord Card */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animations for Hero Background */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* New Animations for Demo Manager */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes expandRow {
    0% {
        max-height: 0;
        opacity: 0;
    }
    100% {
        max-height: 1000px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Demo Filters Styles */
.demo-filters {
    background: var(--gradient-dark);
    border-radius: 15px;
    border: 1px solid rgba(45, 239, 233, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-demo);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 239, 233, 0.2);
}

.filters-header h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.filters-header h3 i {
    font-size: 1.1rem;
}

.filter-stats-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-stats {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(45, 239, 233, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(45, 239, 233, 0.2);
}

.btn-clear-filters {
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-filters:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group label i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.filter-group input,
.filter-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 239, 233, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 239, 233, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.filter-group input::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

.filter-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem;
}

.filter-group input[type="date"] {
    color-scheme: dark;
}

.filter-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

.filter-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Responsive para filtros */
@media (max-width: 768px) {
    .filters-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .filter-stats-container {
        width: 100%;
        justify-content: space-between;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-filters {
        padding: 1rem;
    }

    .filters-header h3 {
        font-size: 1.1rem;
    }

    .filter-stats-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .btn-clear-filters {
        justify-content: center;
    }
}

/* Steam ID Copy Button */
.detail-value-with-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy-steamid {
    background: rgba(45, 239, 233, 0.2);
    border: 1px solid rgba(45, 239, 233, 0.4);
    color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-copy-steamid:hover {
    background: rgba(45, 239, 233, 0.3);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(45, 239, 233, 0.3);
}

.btn-copy-steamid:active {
    transform: translateY(0);
}

/* Responsive para botón copy */
@media (max-width: 480px) {
    .detail-value-with-action {
        gap: 0.3rem;
    }
    
    .btn-copy-steamid {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* Team Filter Buttons */
.team-filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-team-filter {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ct {
    border-color: rgba(74, 144, 226, 0.3);
}

.btn-ct:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: #4A90E2;
    color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-ct.active {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-color: #4A90E2;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-tt {
    border-color: rgba(226, 160, 74, 0.3);
}

.btn-tt:hover {
    background: rgba(226, 160, 74, 0.2);
    border-color: #E2A04A;
    color: #E2A04A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 160, 74, 0.3);
}

.btn-tt.active {
    background: linear-gradient(135deg, #E2A04A, #BD7A35);
    border-color: #E2A04A;
    color: white;
    box-shadow: 0 5px 15px rgba(226, 160, 74, 0.4);
}

/* Steam Profile Button */
.btn-steam-profile {
    background: rgba(102, 192, 244, 0.2);
    border: 1px solid rgba(102, 192, 244, 0.4);
    color: #66c0f4;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.btn-steam-profile:hover {
    background: rgba(102, 192, 244, 0.3);
    border-color: #66c0f4;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 192, 244, 0.3);
    color: #66c0f4;
    text-decoration: none;
}

.btn-steam-profile:active {
    transform: translateY(0);
}

.btn-steam-profile-link {
    background: rgba(102, 192, 244, 0.2);
    border: 1px solid rgba(102, 192, 244, 0.4);
    color: #66c0f4;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-steam-profile-link:hover {
    background: rgba(102, 192, 244, 0.3);
    border-color: #66c0f4;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 192, 244, 0.3);
    color: #66c0f4;
    text-decoration: none;
}

.btn-steam-profile-link:active {
    transform: translateY(0);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(45, 239, 233, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.player-avatar:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(45, 239, 233, 0.3);
}

.player-name {
    font-weight: 600;
    color: var(--text-light);
    min-width: 0;
    flex-shrink: 1;
}

/* Responsive adjustments for team buttons */
@media (max-width: 480px) {
    .team-filter-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }

    .btn-team-filter {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .btn-steam-profile {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .player-info {
        gap: 0.3rem;
    }
}

/* Tooltip personalizado para banderas */
.flag-tooltip {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.flag-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid var(--secondary-color);
    box-shadow: var(--shadow-dark);
    opacity: 0;
    animation: fadeInTooltip 0.2s ease forwards;
    margin-bottom: 5px;
}

@keyframes fadeInTooltip {
    to {
        opacity: 1;
    }
}

/* Botones de ordenamiento */
.sort-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.sort-btn:hover {
    color: var(--primary-color);
}