:root { --primary: #6c5ce7; --primary-dark: #5649c0; --primary-light: #a29bfe; --secondary: #00cec9; --accent: #fd79a8; --bg-dark: #121212; --bg-darker: #0a0a0a; --text: #e0e0e0; --text-light: #b0b0b0; --text-lighter: #808080; --glass: rgba(30, 30, 30, 0.6); --glass-border: rgba(255, 255, 255, 0.1); --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); --success: #00b894; --error: #d63031; --warning: #fdcb6e; --online: #00b894; --offline: #d63031; --players: #0984e3; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark)); color: var(--text); min-height: 100vh; overflow-x: hidden; position: relative; } .blur-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-dark), var(--bg-darker)); z-index: -2; } .particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url('data:image/svg+xml;utf8,'); background-size: 50px 50px; z-index: -1; } .glass { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 12px; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); } header { padding: 1rem; margin: 1rem; position: sticky; top: 1rem; z-index: 100; } .header-content { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .logo { display: flex; align-items: center; gap: 1rem; } .logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; } .logo h1 { font-size: 1.3rem; font-weight: 600; background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .add-server-btn { background: var(--primary); color: white; border: none; padding: 0.7rem 1.2rem; border-radius: 50px; cursor: pointer; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; white-space: nowrap; } .add-server-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3); } .container { max-width: 1400px; margin: 1rem auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; } .server-list-container { padding: 1.5rem; animation: fadeIn 0.5s ease; overflow: hidden; } .list-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; } .list-header h2 { font-size: 1.4rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--primary-light); } .stats { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; } .stat-box { background: var(--glass); padding: 0.7rem; border-radius: 8px; display: flex; flex-direction: column; align-items: center; min-width: 80px; flex-shrink: 0; } .stat-value { font-size: 1.1rem; font-weight: 600; } .stat-value.online { color: var(--online); } .stat-value.players { color: var(--players); } .stat-label { font-size: 0.75rem; color: var(--text-light); } .loading-spinner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; gap: 1rem; } .spinner { width: 50px; height: 50px; position: relative; } .double-bounce1, .double-bounce2 { width: 100%; height: 100%; border-radius: 50%; background-color: var(--primary); opacity: 0.6; position: absolute; top: 0; left: 0; animation: sk-bounce 2.0s infinite ease-in-out; } .double-bounce2 { animation-delay: -1.0s; } @keyframes sk-bounce { 0%, 100% { transform: scale(0.0); } 50% { transform: scale(1.0); } } .server-table-wrapper { overflow-x: auto; border-radius: 8px; -webkit-overflow-scrolling: touch; } .server-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 600px; } .server-table th { background: var(--primary); color: white; padding: 0.9rem; text-align: left; font-weight: 500; position: sticky; top: 0; white-space: nowrap; } .server-table th:first-child { border-top-left-radius: 8px; } .server-table th:last-child { border-top-right-radius: 8px; } .server-table td { padding: 0.9rem; border-bottom: 1px solid var(--glass-border); vertical-align: middle; } .server-table tr:last-child td { border-bottom: none; } .server-table .rank { width: 50px; text-align: center; font-weight: 600; color: var(--text-light); } .server-table .status { width: 90px; } .status-badge { display: inline-block; padding: 0.3rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; } .status-badge.online { background: rgba(0, 184, 148, 0.15); color: var(--online); } .status-badge.offline { background: rgba(214, 48, 49, 0.15); color: var(--offline); } .server-info { display: flex; flex-direction: column; gap: 0.3rem; } .server-name { font-weight: 600; color: var(--text); } .server-ip { font-size: 0.8rem; color: var(--text-light); font-family: monospace; } .server-motd img { max-height: 30px; max-width: 100%; border-radius: 4px; margin-top: 0.5rem; } .players { width: 100px; white-space: nowrap; } .players-count { font-weight: 600; color: var(--players); } .players-max { color: var(--text-light); } .version { width: 120px; font-family: monospace; font-size: 0.85rem; color: var(--text-light); } .sidebar { padding: 1.5rem; align-self: start; } .sidebar-header { margin-bottom: 1.5rem; } .sidebar-header h3 { font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--primary-light); } .description { font-size: 0.9rem; line-height: 1.6; color: var(--text-light); margin-bottom: 1.5rem; } .featured-server { margin-bottom: 1.5rem; } .featured-server h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; color: var(--text); } .featured-card { background: var(--glass); border-radius: 8px; padding: 1rem; position: relative; overflow: hidden; } .featured-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); } .featured-content { display: flex; flex-direction: column; gap: 0.8rem; } .featured-motd { width: 100%; border-radius: 6px; max-height: 100px; object-fit: cover; } .featured-name { font-weight: 600; font-size: 1.1rem; } .featured-ip { font-family: monospace; font-size: 0.85rem; color: var(--text-light); } .featured-stats { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; } .featured-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; background: rgba(255, 255, 255, 0.05); padding: 0.4rem 0.8rem; border-radius: 50px; } .quick-stats h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; color: var(--text); } .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; } .stat-item { background: var(--glass); border-radius: 8px; padding: 0.8rem; display: flex; align-items: center; gap: 0.8rem; } .stat-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; } .stat-icon.online { background: rgba(0, 184, 148, 0.15); color: var(--online); } .stat-icon.offline { background: rgba(214, 48, 49, 0.15); color: var(--offline); } .stat-icon.players { background: rgba(9, 132, 227, 0.15); color: var(--players); } .stat-icon.versions { background: rgba(108, 92, 231, 0.15); color: var(--primary); } .stat-text { display: flex; flex-direction: column; } .stat-value { font-weight: 600; font-size: 0.95rem; } .stat-label { font-size: 0.7rem; color: var(--text-light); } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; pointer-events: none; transition: all 0.3s ease; padding: 1rem; } .modal.active { opacity: 1; pointer-events: all; } .modal-content { width: 100%; max-width: 500px; transform: translateY(20px); transition: all 0.3s ease; } .modal.active .modal-content { transform: translateY(0); } .modal-header { margin-bottom: 1.5rem; } .modal-header h3 { font-size: 1.4rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--text); } .modal-header p { font-size: 0.9rem; color: var(--text-light); } .close-modal { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; cursor: pointer; color: var(--text-light); transition: all 0.3s ease; } .close-modal:hover { color: var(--text); } .form-group { margin-bottom: 1.5rem; position: relative; } .form-control { width: 100%; padding: 0.9rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text); font-size: 1rem; transition: all 0.3s ease; } .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2); } .submit-btn { background: var(--primary); color: white; border: none; padding: 1rem; border-radius: 8px; cursor: pointer; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; width: 100%; } .submit-btn:hover { background: var(--primary-dark); } .toast { visibility: hidden; position: fixed; top: 20px; left: 20px; background: var(--primary); color: white; padding: 0.8rem 1.2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); z-index: 1000; opacity: 0; transform: translateY(-20px); transition: all 0.3s ease; max-width: calc(100% - 40px); } .toast.show { visibility: visible; opacity: 1; transform: translateY(0); } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media (min-width: 768px) { .container { grid-template-columns: 1fr 350px; padding: 0 1.5rem; } .list-header { flex-direction: row; justify-content: space-between; align-items: center; } .server-info { flex-direction: row; align-items: center; gap: 1rem; } } @media (min-width: 992px) { header { padding: 1rem 2rem; margin: 1rem 2rem; } .container { margin: 2rem auto; } .logo h1 { font-size: 1.5rem; } .add-server-btn { padding: 0.75rem 1.5rem; } } /* Mobile-specific fixes */ @media (max-width: 767px) { .server-table td, .server-table th { padding: 0.7rem; } .stat-box { min-width: 70px; padding: 0.6rem; } .featured-stat { padding: 0.3rem 0.6rem; } } /* Very small devices */ @media (max-width: 480px) { header { padding: 0.8rem; margin: 0.8rem; } .logo h1 { font-size: 1.1rem; } .add-server-btn span { display: none; } .add-server-btn::after { content: '+'; font-size: 1.2rem; } .server-list-container, .sidebar { padding: 1rem; } .server-table td, .server-table th { padding: 0.6rem; font-size: 0.9rem; } .status-badge { padding: 0.2rem 0.5rem; font-size: 0.7rem; } .server-name { font-size: 0.95rem; } .server-ip { font-size: 0.75rem; } }