/* public/css/style.css - COMPLETE VERSION WITH NEW SERVER CARDS */

/* ========================================
   CRITICAL FIXES - DO NOT REMOVE
   ======================================== */

/* Force proper display */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #15151f 50%, #0f0f1a 100%) !important;
    background-attachment: fixed;
    color: #e8e8f0 !important;
    min-height: 100vh;
    padding-top: 70px !important;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force dropdown hidden by default */
.user-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 280px;
    background: #1a1a24;
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
}

.user-dropdown.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure content sections are visible */
.hero-section-home,
.home-section,
.profile-container,
.matches-container,
.match-detail-container {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100%;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, #0f0f15 0%, #1a1a24 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(91, 156, 255, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.navbar.scrolled {
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.container-nav {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s;
}

.nav-brand a:hover {
    transform: translateY(-2px);
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.accent {
    color: #5b9cff;
    font-weight: 400;
}

.nav-menu {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(91, 156, 255, 0.1);
}

.nav-link.active {
    color: #5b9cff;
    background: rgba(91, 156, 255, 0.15);
    box-shadow: 0 0 15px rgba(91, 156, 255, 0.2);
}

.nav-link.external i.fa-external-link-alt {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-left: 0.25rem;
}

/* Skin icon image */
.nav-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 36, 0.8);
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s;
}

.user-btn:hover {
    background: rgba(91, 156, 255, 0.15);
    border-color: rgba(91, 156, 255, 0.4);
}

.user-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(66, 165, 245, 0.3);
}

.user-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.user-btn:hover i {
    transform: rotate(180deg);
}

.dropdown-header {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(91, 156, 255, 0.08);
}

.dropdown-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #42a5f5;
}

.dropdown-name {
    font-weight: 600;
    color: #fff;
}

.dropdown-id {
    font-size: 0.75rem;
    color: #94a3b8;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item i {
    width: 20px;
}

.dropdown-item:hover {
    background: rgba(91, 156, 255, 0.1);
    color: #fff;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #5b9cff 0%, #4a88e6 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(91, 156, 255, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 156, 255, 0.4);
}

.login-btn img {
    width: 20px;
    height: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO SECTIONS ==================== */
.hero-section {
    text-align: center;
    padding: 5rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #5b9cff;
    text-shadow: 0 0 20px rgba(91, 156, 255, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    color: #b4b4b4;
    margin-bottom: 2rem;
}

.hero-section-home {
    text-align: center;
    padding: 3rem 0 2rem 0;
    background: linear-gradient(180deg, rgba(20, 25, 40, 0.4) 0%, transparent 100%);
}

.hero-section-home h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #5b9cff;
    text-shadow: 0 0 20px rgba(91, 156, 255, 0.3);
}

.hero-section-home p {
    font-size: 1.1rem;
    color: #b4b4b4;
    margin-bottom: 1.5rem;
}

.steam-login-btn,
.steam-login-btn-home {
    display: inline-block;
    margin: 2rem 0;
    transition: transform 0.2s;
}

.steam-login-btn:hover,
.steam-login-btn-home:hover {
    transform: scale(1.05);
}

.steam-login-btn img {
    height: 50px;
    border-radius: 3px;
}

.steam-login-btn-home img {
    height: 40px;
    border-radius: 3px;
}

.error-message {
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid #e94560;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    color: #e94560;
}

/* ==================== FEATURES ==================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: #1a1a24;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #5b9cff;
}

.feature p {
    color: #b4b4b4;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0f0f15;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 2px solid rgba(91, 156, 255, 0.15);
    text-align: center;
    color: #b4b4b4;
}

/* ==================== PROFILE PAGE ==================== */
.profile-container {
    padding: 3rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #1a1a24;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid #e94560;
}

.profile-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #5b9cff;
    text-shadow: 0 2px 15px rgba(91, 156, 255, 0.3);
}

.steam-id {
    color: #b4b4b4;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #1a1a24;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #b4b4b4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #5b9cff;
    text-shadow: 0 0 10px rgba(91, 156, 255, 0.2);
}

.recent-matches-section {
    margin-top: 3rem;
}

.recent-matches-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #5b9cff;
    text-shadow: 0 2px 10px rgba(91, 156, 255, 0.2);
}

.matches-table {
    background: #1a1a24;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
}

.matches-table table {
    width: 100%;
    border-collapse: collapse;
}

.matches-table th {
    background: rgba(91, 156, 255, 0.15);
    padding: 1rem;
    text-align: left;
    color: #5b9cff;
    font-weight: bold;
    border-bottom: 2px solid rgba(91, 156, 255, 0.3);
}

.matches-table td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.matches-table tr:hover {
    background: rgba(91, 156, 255, 0.08);
}

.clickable-row {
    cursor: pointer;
}

.result-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.85rem;
}

.result-badge.win {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.result-badge.loss {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: #b4b4b4;
}

.view-all-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #5b9cff 0%, #4a88e6 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(91, 156, 255, 0.3);
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #6ba9ff 0%, #5a98f6 100%);
    box-shadow: 0 6px 20px rgba(91, 156, 255, 0.4);
}

/* ==================== MATCHES PAGE ==================== */
.matches-container {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.matches-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #5b9cff;
    text-shadow: 0 2px 15px rgba(91, 156, 255, 0.3);
}

.view-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #0f3460;
}

.view-tabs .tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #b4b4b4;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.view-tabs .tab:hover {
    color: #5b9cff;
}

.view-tabs .tab.active {
    color: #5b9cff;
    border-bottom: 3px solid #5b9cff;
}

.matches-info {
    margin: 1.5rem 0;
    color: #b4b4b4;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.match-card {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(91, 156, 255, 0.15);
    border-color: rgba(91, 156, 255, 0.3);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.match-header h3 {
    color: #5b9cff;
    font-size: 1.2rem;
}

.match-date {
    color: #b4b4b4;
    font-size: 0.85rem;
}

.match-score {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #e4e4e4;
}

.match-score .separator {
    margin: 0 1rem;
    color: #b4b4b4;
}

.match-result {
    text-align: center;
    padding: 0.5rem;
    border-radius: 5px;
    font-weight: bold;
    margin: 1rem 0;
}

.match-result.win {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.match-result.loss {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.match-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1rem 0;
}

.match-stats .stat {
    text-align: center;
}

.match-stats .label {
    display: block;
    font-size: 0.8rem;
    color: #b4b4b4;
    margin-bottom: 0.3rem;
}

.match-stats .value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e4e4e4;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #b4b4b4;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #0f3460;
}

.match-winner {
    text-align: center;
    padding: 0.8rem;
    background: rgba(66, 165, 245, 0.1);
    border-radius: 5px;
    color: #42a5f5;
    margin: 1rem 0;
}

.no-matches {
    text-align: center;
    padding: 4rem;
    color: #b4b4b4;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 10px;
    border: 1px solid #0f3460;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #5b9cff 0%, #4a88e6 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(91, 156, 255, 0.3);
}

.page-btn:hover {
    background: linear-gradient(135deg, #6ba9ff 0%, #5a98f6 100%);
    box-shadow: 0 6px 20px rgba(91, 156, 255, 0.4);
}

.page-info {
    color: #b4b4b4;
}

/* ==================== HOME PAGE ==================== */
.home-section {
    padding: 3rem 0;
}

.home-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #5b9cff;
    text-shadow: 0 2px 10px rgba(91, 156, 255, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-all-link {
    color: #5b9cff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #6ba9ff;
}

.match-count {
    color: #b4b4b4;
    font-size: 0.9rem;
}

.home-matches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-match-row {
    display: flex;
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.home-match-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(91, 156, 255, 0.15);
    border-color: rgba(91, 156, 255, 0.3);
}

.match-map-image {
    width: 200px;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
}

.map-name {
    color: #5b9cff;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 15px rgba(91, 156, 255, 0.5);
}

.match-row-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 1.5rem;
    gap: 2rem;
}

.match-row-content > .match-row-score {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.match-row-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-row-date {
    color: #e8e8f0;
    font-weight: bold;
}

.match-row-duration {
    color: #b4b4b4;
    font-size: 0.9rem;
}

.match-row-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.match-row-teams-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.team-name {
    font-weight: bold;
    font-size: 1rem;
}

.team-name.winner-name {
    color: #10b981 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
}

.team-name.loser-name {
    color: #ef4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

.team-name-sep {
    color: #b4b4b4;
}

.match-row-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.team-score-row {
    font-size: 2rem;
    font-weight: bold;
}

.team-score-row.winner {
    color: #10b981 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
}

.team-score-row.loser {
    color: #ef4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

.score-sep {
    color: #b4b4b4;
    font-size: 1.5rem;
}

.match-row-id {
    color: #b4b4b4;
    font-size: 0.9rem;
}

.user-result-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.user-result-badge.win {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.user-result-badge.loss {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

.match-row-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.match-row-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.match-row-stats .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.match-row-stats .stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e4e4e4;
}

/* ==================== NEW SERVER CARDS DESIGN ==================== */

/* Main container for servers grid */
.servers-grid-home {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}

/* Individual server card */
.server-card-grid {
    position: relative !important;
    height: 140px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #1a1a24 !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.server-card-grid:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(91, 156, 255, 0.15) !important;
    border-color: rgba(91, 156, 255, 0.3) !important;
}

.server-card-grid.offline {
    opacity: 0.7 !important;
}

/* Map background */
.server-map-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Dark overlay on map */
.server-map-overlay-grid {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(20, 20, 30, 0.95) 100%) !important;
}

/* Top section with server name and lock icon */
.server-top-info {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
}

.server-title-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.server-name-text {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    line-height: 1.2 !important;
}

.server-map-name-text {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    line-height: 1.2 !important;
}

.server-lock-icon {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.6 !important;
    filter: brightness(0) invert(1) !important;
}

/* Bottom section with player count and action buttons */
.server-bottom-info {
    position: absolute !important;
    bottom: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Player count badge */
.server-players-count {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.7rem !important;
    border-radius: 8px !important;
    background: rgba(100, 100, 110, 0.9) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    white-space: nowrap !important;
}

.server-players-count:not(.offline):not(.full) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
}

.server-players-count.full {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3) !important;
}

.server-players-count.offline {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    box-shadow: 0 2px 10px rgba(107, 114, 128, 0.2) !important;
}

.info-icon {
    font-size: 0.7rem !important;
    opacity: 0.7 !important;
}

/* Action buttons container */
.server-actions {
    display: flex !important;
    gap: 0.5rem !important;
}

/* Individual action buttons */
.server-icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(40, 40, 50, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    padding: 0 !important;
}

.server-icon-btn:hover {
    background: rgba(91, 156, 255, 0.2) !important;
    border-color: rgba(91, 156, 255, 0.4) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 10px rgba(91, 156, 255, 0.3) !important;
}

.server-icon-btn.copied {
    background: rgba(46, 213, 115, 0.4) !important;
}

.server-icon-btn img,
.server-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.8 !important;
    filter: brightness(0) invert(1) !important;
}

.server-icon-btn:hover img,
.server-icon-btn:hover svg {
    opacity: 1 !important;
}

/* Loading state */
.loading-servers {
    text-align: center !important;
    padding: 2rem !important;
    color: #94a3b8 !important;
}

/* Loading skeleton cards */
.server-card-loading {
    position: relative !important;
    height: 140px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #1a1a24 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.server-card-loading::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(91, 156, 255, 0.08) 50%,
        transparent 100%
    ) !important;
    animation: loading-shimmer 1.5s infinite !important;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.server-loading-content {
    position: relative !important;
    padding: 1rem !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.loading-title-bar {
    width: 50% !important;
    height: 20px !important;
    background: rgba(91, 156, 255, 0.15) !important;
    border-radius: 4px !important;
    animation: pulse 1.5s ease-in-out infinite !important;
}

.loading-subtitle-bar {
    width: 35% !important;
    height: 14px !important;
    background: rgba(91, 156, 255, 0.1) !important;
    border-radius: 4px !important;
    margin-top: 0.5rem !important;
    animation: pulse 1.5s ease-in-out infinite 0.2s !important;
}

.loading-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.loading-badge {
    width: 60px !important;
    height: 28px !important;
    background: rgba(100, 100, 110, 0.3) !important;
    border-radius: 8px !important;
    animation: pulse 1.5s ease-in-out infinite 0.4s !important;
}

.loading-buttons {
    display: flex !important;
    gap: 0.5rem !important;
}

.loading-btn {
    width: 36px !important;
    height: 36px !important;
    background: rgba(60, 60, 70, 0.3) !important;
    border-radius: 8px !important;
    animation: pulse 1.5s ease-in-out infinite 0.6s !important;
}

.loading-status-text {
    text-align: center !important;
    margin-top: 0.5rem !important;
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
    animation: pulse 1.5s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ==================== MATCH DETAIL PAGE ==================== */
.match-detail-container {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.back-btn {
    display: inline-block;
    color: #5b9cff;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: bold;
    transition: transform 0.2s;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.match-detail-header {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.match-map h1 {
    font-size: 2.5rem;
    color: #5b9cff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(91, 156, 255, 0.3);
}

.match-teams-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.team-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5b9cff;
    padding: 1rem 2rem;
    background: rgba(26, 26, 36, 0.7);
    border-radius: 10px;
    border: 2px solid #5b9cff;
    min-width: 200px;
    box-shadow: 0 0 15px rgba(91, 156, 255, 0.2);
}

.vs-text {
    font-size: 1.2rem;
    color: #b4b4b4;
    font-weight: bold;
}

.match-score-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
}

.team-score {
    text-align: center;
}

.team-score .score {
    font-size: 3rem;
    font-weight: bold;
    color: #e4e4e4;
}

.team-score.winner .score {
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.team-score.loser .score {
    color: #ef4444;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.score-separator {
    font-size: 2rem;
    color: #b4b4b4;
}

.match-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #0f3460;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.meta-item .label {
    color: #b4b4b4;
    font-size: 0.9rem;
}

.meta-item .value {
    color: #e4e4e4;
    font-size: 1.2rem;
    font-weight: bold;
}

.team-section {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.winner-section {
    border-left: 4px solid #10b981;
}

.loser-section {
    border-left: 4px solid #ef4444;
}

.spectator-section {
    border-left: 4px solid #b4b4b4;
}

.spectator-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.spectator-item {
    background: rgba(180, 180, 180, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    color: #b4b4b4;
    border: 1px solid rgba(180, 180, 180, 0.3);
}

.team-title {
    font-size: 1.8rem;
    color: #5b9cff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(91, 156, 255, 0.2);
}

.stat-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #0f3460;
}

.stat-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #b4b4b4;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.stat-tab:hover {
    color: #5b9cff;
    background: rgba(91, 156, 255, 0.1);
}

.stat-tab.active {
    color: #5b9cff;
    border-bottom: 3px solid #5b9cff;
    background: rgba(91, 156, 255, 0.1);
}

.players-table-container {
    overflow-x: auto;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table th {
    background: rgba(91, 156, 255, 0.2);
    padding: 1rem;
    text-align: left;
    color: #5b9cff;
    font-weight: bold;
    border-bottom: 2px solid rgba(91, 156, 255, 0.3);
}

.players-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e4e4e4;
}

.players-table tbody tr:hover {
    background: rgba(91, 156, 255, 0.08);
}

.player-name {
    font-weight: bold;
    color: #5b9cff !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .servers-grid-home {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px !important;
    }

    .navbar {
        height: 60px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        height: calc(100vh - 60px);
        background: #0a1929;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 2rem 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s;
    }

    .nav-menu.active {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
    }

    .user-menu {
        width: 100%;
        margin-top: auto;
    }

    .user-btn {
        width: 100%;
        justify-content: center;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .matches-grid {
        grid-template-columns: 1fr;
    }

    .view-tabs .tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .match-score-large {
        flex-direction: column;
        gap: 1rem;
    }

    .match-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .players-table th,
    .players-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .match-teams-display {
        flex-direction: column;
        gap: 1rem;
    }

    .team-display {
        font-size: 1.2rem;
        min-width: auto;
    }

    .home-match-row {
        flex-direction: column;
    }

    .match-map-image {
        width: 100%;
        min-height: 150px;
    }

    .match-row-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .servers-grid-home {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .server-card-grid {
        height: 130px !important;
    }
    
    .server-name-text {
        font-size: 0.95rem !important;
    }
    
    .server-map-name-text {
        font-size: 0.75rem !important;
    }
    
    .server-icon-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .server-players-count {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f0f15;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5b9cff 0%, #4a88e6 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6ba9ff 0%, #5a98f6 100%);
}

/* ==================== MATCH DETAIL PAGE STYLES ==================== */
.match-detail-header {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.match-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.95) 100%);
}

.match-header-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.back-link {
    color: #5b9cff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    width: 100%;
    padding: 0 1rem;
}

.back-link:hover {
    color: #6ba9ff;
    transform: translateX(-5px);
}

.map-title {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 20px rgba(91, 156, 255, 0.5);
}

.match-date-display {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.match-score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.team-box {
    background: rgba(26, 26, 36, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 2px solid;
    min-width: 180px;
    text-align: center;
    transition: all 0.3s;
}

.team-box:hover {
    transform: scale(1.05);
}

.winner-box { 
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.loser-box { 
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.team-box-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.score-vs {
    text-align: center;
}

.score-numbers {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-win { 
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.score-loss { 
    color: #ef4444;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.score-separator {
    color: #94a3b8;
    margin: 0 0.8rem;
}

.vs-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.match-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: 2px solid rgba(91, 156, 255, 0.2);
}

.match-tabs {
    display: flex;
    gap: 0.5rem;
}

.match-meta-inline {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
}

.meta-item-inline {
    text-align: center;
}

.meta-label {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.meta-value {
    display: block;
    color: #e8e8f0;
    font-size: 1.1rem;
    font-weight: bold;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    font-family: inherit;
}

.tab-btn:hover {
    color: #5b9cff;
    background: rgba(91, 156, 255, 0.05);
}

.tab-btn.active {
    color: #5b9cff;
    border-bottom-color: #5b9cff;
    background: rgba(91, 156, 255, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.team-section {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a24;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.winner-section { 
    border: 2px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.loser-section { 
    border: 2px solid #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.team-header {
    background: rgba(91, 156, 255, 0.08);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
}

.trophy-icon {
    font-size: 2rem;
}

.players-table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.players-table thead {
    background: rgba(91, 156, 255, 0.12);
}

.players-table th {
    padding: 1rem;
    text-align: left;
    color: #5b9cff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(91, 156, 255, 0.3);
}

.players-table td {
    padding: 1rem;
    color: #e8e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.players-table tbody tr {
    transition: all 0.2s;
}

.players-table tbody tr:hover {
    background: rgba(91, 156, 255, 0.08);
}

.player-name {
    color: #5b9cff !important;
    font-weight: 600;
}

/* Responsive match detail */
@media (max-width: 768px) {
    .match-detail-header {
        height: auto;
        min-height: 450px;
        padding-bottom: 2rem;
    }
    
    .match-header-content {
        padding: 1.5rem 0;
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .back-link {
        position: static;
        margin-bottom: 1rem;
    }
    
    .map-title {
        font-size: 1.8rem;
        margin-top: 1rem;
    }
    
    .match-date-display {
        margin-bottom: 1.5rem;
    }
    
    .match-score-display {
        flex-direction: row;
        gap: 1rem;
        margin: 2rem 0;
        padding: 0 0.5rem;
    }
    
    .team-box {
        min-width: 100px;
        padding: 0.8rem 1rem;
        flex: 1;
        max-width: 140px;
    }
    
    .team-box-name {
        font-size: 1rem;
        word-break: break-word;
    }
    
    .score-vs {
        flex-shrink: 0;
    }
    
    .score-numbers {
        font-size: 1.8rem;
    }
    
    .vs-text {
        font-size: 0.8rem;
    }
    
    .match-tabs-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .match-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .match-meta-inline {
        width: 100%;
        justify-content: space-around;
        padding-top: 0.5rem;
    }
    
    .players-table {
        font-size: 0.85rem;
    }
    
    .players-table th,
    .players-table td {
        padding: 0.6rem 0.4rem;
    }
}
/* Admin Panel and Rent Server Buttons */
.admin-panel-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: 2px solid #ff6b35;
    padding: 10px 20px;
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.admin-panel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.admin-panel-btn i {
    font-size: 16px;
}

.create-match-nav-btn {
    background: linear-gradient(135deg, #00D9FF, #0099cc);
    border: 2px solid #00D9FF;
    padding: 10px 20px;
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.create-match-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 217, 255, 0.5);
    background: linear-gradient(135deg, #0099cc, #00D9FF);
}

.create-match-nav-btn i {
    font-size: 16px;
}


/* Improved Card Design - Better Visual Hierarchy */
.rental-services-banner {
    padding: 3rem 0 2.5rem;
    margin-bottom: 2.5rem;
}

.services-banner-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Service Cards - Improved */
.service-rental-card {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.95), rgba(20, 25, 40, 0.95));
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-rental-card:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 156, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-rental-card.premium {
    background: linear-gradient(145deg, rgba(25, 35, 60, 0.95), rgba(20, 30, 55, 0.95));
    border-color: rgba(66, 133, 244, 0.25);
}

.service-rental-card.premium:hover {
    border-color: rgba(66, 133, 244, 0.6);
}

.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(91, 156, 255, 0.15);
    color: #5b9cff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(91, 156, 255, 0.3);
}

.service-rental-card.premium .card-badge {
    background: rgba(66, 133, 244, 0.15);
    color: #4285f4;
    border-color: rgba(66, 133, 244, 0.4);
}

.card-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    padding-right: 5rem;
}

.card-price {
    color: #5b9cff;
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0.75rem 0 0.5rem 0;
    line-height: 1;
}

.service-rental-card.premium .card-price {
    color: #4285f4;
}

.card-description {
    color: #a8a8b0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0 1.5rem 0;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.card-features li {
    color: #d0d0d8;
    font-size: 0.88rem;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li:before {
    content: "✓";
    color: #5b9cff;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-rental-card.premium .card-features li:before {
    color: #4285f4;
}

.card-button {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: rgba(91, 156, 255, 0.12);
    border: 1.5px solid rgba(91, 156, 255, 0.35);
    border-radius: 8px;
    color: #5b9cff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: rgba(91, 156, 255, 0.2);
    border-color: #5b9cff;
}

.service-rental-card.premium .card-button {
    background: rgba(66, 133, 244, 0.12);
    border-color: rgba(66, 133, 244, 0.35);
    color: #4285f4;
}

.service-rental-card.premium .card-button:hover {
    background: rgba(66, 133, 244, 0.2);
    border-color: #4285f4;
}

/* Footer Cards - Improved */
.footer {
    background: rgba(12, 15, 22, 0.98);
    border-top: 1px solid rgba(91, 156, 255, 0.12);
    padding: 2.5rem 20px 1.5rem;
    margin-top: 3.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 1.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-card {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.7), rgba(20, 25, 40, 0.7));
    border: 1px solid rgba(91, 156, 255, 0.12);
    border-radius: 10px;
    padding: 1.5rem 1.35rem;
    transition: all 0.3s ease;
}

.footer-card:hover {
    border-color: rgba(91, 156, 255, 0.25);
    transform: translateY(-2px);
}

.footer-card h4 {
    color: #5b9cff;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.footer-card p {
    color: #a8a8b0;
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}

.footer-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-card ul li {
    margin-bottom: 0.6rem;
}

.footer-card ul li a {
    color: #c8c8d0;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.footer-card ul li a:hover {
    color: #5b9cff;
}

.footer-card a {
    color: #5b9cff;
    text-decoration: none;
}

.footer-card a:hover {
    color: #7aadff;
}

.footer-bottom {
    border-top: 1px solid rgba(91, 156, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #6a6a75;
    font-size: 0.8rem;
    margin: 0;
}

/* Match Setup Notice */
.rental-notice {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 20px;
}

.notice-content {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.85), rgba(20, 25, 40, 0.85));
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    color: #c8c8d0;
    font-size: 0.92rem;
}

.notice-content strong {
    color: #ffffff;
}

.notice-content a {
    color: #5b9cff;
    text-decoration: none;
    font-weight: 700;
}

.notice-content a:hover {
    color: #7aadff;
    text-decoration: underline;
}

/* Match List View - Vertical with Map Images */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-list-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.match-list-item:hover {
    border-color: rgba(91, 156, 255, 0.5);
    background: rgba(25, 30, 45, 0.8);
    transform: translateX(5px);
}

.match-map-image {
    position: relative;
    width: 180px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.match-map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 0.5rem;
}

.map-name {
    color: #5b9cff;
    font-size: 0.85rem;
    font-weight: 700;
}

.match-list-content {
    flex: 1;
    min-width: 0;
}

.match-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.match-list-header .match-id {
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.match-list-header .match-date {
    color: #999;
    font-size: 0.85rem;
}

.match-list-header .match-date i {
    color: #5b9cff;
    margin-right: 0.35rem;
}

.match-list-teams {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 35, 50, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-row.winner {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.team-row .team-name {
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 600;
}

.team-row.winner .team-name {
    color: #81c784;
}

.team-row .team-score {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    min-width: 40px;
    text-align: right;
}

.team-row.winner .team-score {
    color: #66bb6a;
}

.match-list-arrow {
    color: #5b9cff;
    font-size: 1.25rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.match-list-item:hover .match-list-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .services-banner-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .match-list-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .match-map-image {
        width: 100%;
        height: 120px;
    }
    
    .match-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .match-list-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .rental-services-banner {
        padding: 2rem 0 1.5rem;
    }
    
    .service-rental-card {
        padding: 1.75rem 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
        padding-right: 4rem;
    }
    
    .card-price {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Login Required Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.98), rgba(20, 25, 40, 0.98));
    border: 2px solid rgba(91, 156, 255, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(91, 156, 255, 0.2), rgba(66, 133, 244, 0.2));
    border: 2px solid rgba(91, 156, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #5b9cff;
}

.modal-content h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #b8b8c0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-modal-primary,
.btn-modal-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-modal-primary {
    background: linear-gradient(135deg, #5b9cff, #4285f4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(91, 156, 255, 0.4);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 156, 255, 0.6);
}

.btn-modal-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modal-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 576px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Server Cards Grid - Fix */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Match Cards - Like Reference Image */

/* Server Card Styles - Improved */
.server-card {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.95), rgba(20, 25, 40, 0.95));
    border: 1px solid rgba(91, 156, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 156, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.server-status {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.server-status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.server-status.offline {
    background: rgba(244, 67, 54, 0.2);
    color: #e57373;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: #a8a8b0;
    font-size: 0.85rem;
}

.info-value {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.server-type-public {
    color: #5b9cff !important;
}

.server-type-veto {
    color: #ffa726 !important;
}

.server-type-private {
    color: #ab47bc !important;
}

.server-actions {
    display: flex;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.server-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(91, 156, 255, 0.15);
    border: 1.5px solid rgba(91, 156, 255, 0.3);
    color: #5b9cff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.server-icon-btn:hover {
    background: rgba(91, 156, 255, 0.25);
    border-color: #5b9cff;
    transform: scale(1.1);
}


/* Horizontal Server Cards - With Map Backgrounds */
.server-horizontal-card {
    position: relative;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.server-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(91, 156, 255, 0.3);
}

.server-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.server-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
}

.server-horizontal-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.server-horizontal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.server-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.server-map-small {
    color: #aaa;
    font-size: 0.85rem;
}

.server-horizontal-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.server-players-badge {
    background: rgba(91, 156, 255, 0.9);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
}

.server-horizontal-action {
    display: flex;
    justify-content: flex-end;
}

.server-copy-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.server-players-badge.players-high {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
}

/* Server Skeleton Loading */
.server-skeleton-card {
    position: relative;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        90deg,
        rgba(25, 30, 45, 0.95) 0%,
        rgba(35, 40, 55, 0.95) 50%,
        rgba(25, 30, 45, 0.95) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* Add this to the END of your existing style.css file */

/* ========================================
   RENTAL SERVER SYSTEM STYLES
   Add to existing style.css
   ======================================== */

/* ========== RENTAL SERVER CARD STYLES ========== */

/* Rental server card - special styling */
.server-horizontal-card.rental-server {
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Shine effect animation */
.server-horizontal-card.rental-server::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: rental-shine 3s infinite;
    z-index: 1;
}

@keyframes rental-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Gold text for rental server name */
.server-horizontal-card.rental-server .server-name,
.server-horizontal-card.rental-server .server-title {
    color: #FFD700;
    font-weight: 700;
}

/* Crown icon pulse animation */
.server-horizontal-card.rental-server .server-name i,
.server-horizontal-card.rental-server .server-title i {
    margin-right: 0.5rem;
    animation: crown-pulse 2s infinite;
}

@keyframes crown-pulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
    }
    50% { 
        transform: scale(1.2); 
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    }
}

/* ========== RENTAL STATUS BADGES ========== */

.rental-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* Upcoming status - Blue */
.rental-status-badge.status-upcoming {
    background: rgba(91, 156, 255, 0.2);
    color: #5b9cff;
    border: 1px solid rgba(91, 156, 255, 0.4);
}

/* Active status - Green with pulse */
.rental-status-badge.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.4);
    animation: pulse-active 2s infinite;
}

/* Ending status - Orange */
.rental-status-badge.status-ending {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

@keyframes pulse-active {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); 
    }
    50% { 
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.6); 
    }
}

/* ========== RENTAL COUNTDOWN ========== */

.rental-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.rental-countdown i {
    color: #FFD700;
}

/* ========== SERVER HORIZONTAL INFO ========== */

.server-horizontal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 0.75rem 0;
}

/* ========== SERVER DETAILS BUTTON ========== */

.server-details-btn {
    padding: 0.5rem 1rem;
    background: rgba(91, 156, 255, 0.2);
    border: 1px solid rgba(91, 156, 255, 0.4);
    border-radius: 6px;
    color: #5b9cff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.server-details-btn:hover {
    background: rgba(91, 156, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(91, 156, 255, 0.2);
}

/* ========== IMPROVED PAGINATION BUTTONS ========== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem 0;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(91, 156, 255, 0.15), rgba(91, 156, 255, 0.05));
    border: 2px solid rgba(91, 156, 255, 0.4);
    border-radius: 8px;
    color: #5b9cff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(91, 156, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pagination-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, rgba(91, 156, 255, 0.3), rgba(91, 156, 255, 0.1));
    border-color: rgba(91, 156, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 156, 255, 0.3);
}

.pagination-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(91, 156, 255, 0.2);
}

.pagination-info {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #b8b8c0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== NO SERVERS / ERROR MESSAGES ========== */

.no-servers {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.error {
    text-align: center;
    padding: 3rem;
    color: #f44336;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* ========== LOADING STATE ========== */

.server-horizontal-card.rental-server .server-skeleton-card {
    border-color: rgba(255, 215, 0, 0.3);
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 768px) {
    /* Smaller badges on mobile */
    .rental-status-badge,
    .rental-countdown {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Stack footer buttons vertically */
    .server-horizontal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .server-details-btn,
    .server-copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Adjust crown animation for mobile */
    .server-horizontal-card.rental-server .server-name i,
    .server-horizontal-card.rental-server .server-title i {
        font-size: 0.9rem;
    }
    
    /* Pagination stacks vertically */
    .pagination {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pagination-btn,
    .pagination-info {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Even smaller on very small screens */
    .rental-status-badge,
    .rental-countdown {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        gap: 0.3rem;
    }
    
    .server-horizontal-info {
        gap: 0.5rem;
    }
}

/* ========== ACCESSIBILITY ========== */

.server-copy-btn:focus,
.server-details-btn:focus,
.pagination-btn:focus {
    outline: 2px solid #5b9cff;
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */

@media print {
    .server-horizontal-card.rental-server::before {
        display: none;
    }
    
    .rental-status-badge,
    .rental-countdown {
        border: 1px solid #000;
        background: transparent !important;
        color: #000 !important;
    }
    
    .pagination {
        display: none;
    }
}

/* ========================================
   END OF RENTAL SERVER STYLES
   ======================================== */