/* CSS extrait de servers_etl.php */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #ff6b35;
            --secondary-color: #004e92;
            --accent-color: #00d4ff;
            --dark-bg: #0a0a0a;
            --card-bg: rgba(255, 255, 255, 0.05);
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --server-accent: #28a745;
            --server-offline: #dc3545;
            --logo-color: #00d4ff;
            
            /* Couleurs ET */
            --et-red: #ff3333;
            --et-green: #33ff33;
            --et-yellow: #ffff33;
            --et-blue: #3366ff;
            --et-cyan: #33ffff;
            --et-orange: #ff9900;
            --et-purple: #ff33ff;
            --et-white: #ffffff;
            --et-grey: #888888;
        }
        
        body {
            font-family: 'Rajdhani', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
            min-height: 100vh;
            padding-top: 100px;
        }

        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(-45deg, #000000, #0a0a0a, #1a1a1a, #2a2a2a);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--accent-color);
            border-radius: 50%;
            animation: float 20s infinite linear;
            opacity: 0.6;
        }

        @keyframes float {
            0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 0.6; }
            90% { opacity: 0.6; }
            100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
        }

        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            position: relative;
            z-index: 1;
        }

        .servers-section {
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease;
        }

        .section-title {
            font-family: 'Orbitron', monospace;
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--logo-color);
            text-align: center;
        }

        h2, h3 {
            color: var(--logo-color);
        }

        .refresh-info {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 15px;
            padding: 1rem;
            margin-bottom: 2rem;
            text-align: center;
            color: var(--text-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 10;
        }

        .refresh-info span {
            color: var(--accent-color);
            font-weight: 600;
        }

        .server-table-container {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 20px;
            padding: 1.5rem;
            overflow-x: auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 10;
        }

        .server-table-container.loading {
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .server-table-container .list {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: transparent;
            border-radius: 15px;
            overflow: hidden;
            min-width: 1000px;
        }

        .server-table-container .head-first,
        .server-table-container .head {
            background: linear-gradient(135deg, #00d4ff 0%, #0f3460 100%);
            color: #fff;
            padding: 0.6rem 0.3rem;
            font-weight: bold;
            text-align: center;
            font-size: 11px;
            white-space: nowrap;
            font-family: 'Orbitron', monospace;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .server-table-container .head-first {
            border-radius: 15px 0 0 0;
        }

        .server-table-container .head:last-child {
            border-radius: 0 15px 0 0;
        }

        .server-table-container .cell-first,
        .server-table-container .cell {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            padding: 0.4rem 0.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 12px;
            transition: all 0.3s ease;
            line-height: 1.2;
            height: 70px;
            vertical-align: middle;
            display: table-cell;
        }

        .server-table-container .cell img.country-flag {
            height: 20px;
            width: 30px;
            display: block;
            margin: 0 auto;
        }

        .server-table-container tr:hover .cell-first,
        .server-table-container tr:hover .cell {
            background: rgba(255, 107, 53, 0.1);
            transform: scale(1.01);
        }

        .server-table-container .cell a,
        .server-table-container .cell-first a {
            color: var(--et-cyan);
            text-decoration: none;
            font-weight: 600;
        }

        .server-table-container .cell a:hover,
        .server-table-container .cell-first a:hover {
            color: var(--et-white);
            text-shadow: 0 0 5px rgba(255, 255, 255, 1);
        }

        .server-online {
            color: var(--et-green);
            font-weight: bold;
            text-transform: uppercase;
            text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
        }

        .server-offline {
            color: var(--et-red);
            font-weight: bold;
            text-transform: uppercase;
            text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
        }

        .server-full {
            color: var(--et-orange);
            font-weight: bold;
            text-transform: uppercase;
            text-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
        }

        .players-count {
            font-family: 'Orbitron', monospace;
            font-weight: bold;
            color: var(--et-green);
        }

        .players-count.full {
            color: var(--et-red);
        }

        .map-name {
            color: var(--et-cyan);
            font-family: 'Orbitron', monospace;
        }

        .mod-name {
            color: var(--et-white);
            font-family: 'Orbitron', monospace;
        }

        .country-flag {
            width: 40px;
            height: auto;
            border-radius: 2px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            object-fit: cover;
        }

        .btn-connect {
            padding: 0.4rem 0.8rem;
            background: linear-gradient(135deg, #00d4ff 0%, #0f3460 100%);
            color: #fff;
            border: none;
            border-radius: 3px;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 0.7rem;
            text-transform: uppercase;
            font-family: 'Orbitron', monospace;
            display: inline-block;
        }

        .btn-connect:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(255, 255, 255, 1);
            background-color: #ffffffff;
        }

        .fav-star {
            font-size: 1.1rem;
            cursor: pointer;
            color: var(--et-grey);
            transition: all 0.3s ease;
            display: block;
            text-align: center;
        }

        .fav-star:hover, .fav-star.active {
            color: var(--et-yellow);
            text-shadow: 0 0 8px var(--et-yellow);
        }

        .loading { 
            text-align: center; 
            padding: 2rem; 
        }
        
        .spinner { 
            display: inline-block; 
            width: 30px; 
            height: 30px; 
            border: 3px solid rgba(255, 107, 53, 0.2); 
            border-top: 3px solid var(--logo-color); 
            border-radius: 50%; 
            animation: spin 1s linear infinite; 
        }
        
        @keyframes spin { 
            0% { transform: rotate(0deg); } 
            100% { transform: rotate(360deg); } 
        }

        .last-update {
            text-align: center;
            color: var(--et-grey);
            font-size: 0.75rem;
            margin-top: 1rem;
            font-style: italic;
            font-family: 'Orbitron', monospace;
        }

        .pagination-container {
            text-align: center;
            margin-top: 2rem;
            padding: 1rem;
        }

        .footer { 
            background: rgba(0, 0, 0, 0.9); 
            padding: 3rem 0 1rem; 
            border-top: 1px solid var(--logo-color);
            margin-top: 5rem; 
            position: relative;
            z-index: 5;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 2rem;
        }

        .footer-section h3 {
            font-family: 'Orbitron', monospace;
            margin-bottom: 1rem;
            color: var(--logo-color);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }

        .footer-section ul li img {
            width: 16px;
            height: 16px;
            margin-right: 0.5rem;
        }

        .footer-section ul li a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section ul li a:hover {
            color: var(--logo-color);
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--logo-color);
            border-radius: 50%;
            transition: all 0.3s ease;
            color: #fff;
            text-decoration: none;
            font-weight: bold;
        }

        .social-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--logo-color);
            color: var(--text-secondary);
        }

        .footer-bottom a {
            color: var(--logo-color);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 80px;
            }
            
            .main-container {
                padding: 1rem;
            }
            
            .server-table-container {
                padding: 1rem;
            }
            
            .server-table-container .head-first,
            .server-table-container .head {
                padding: 0.5rem 0.25rem;
                font-size: 10px;
            }
            
            .server-table-container .cell-first,
            .server-table-container .cell {
                padding: 0.5rem 0.25rem;
                font-size: 10px;
                height: 60px;
            }

            .server-table-container .cell img.country-flag {
                height: 28px;
            }
        }
