/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent layout shift during font loading */
html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap;
    scroll-behavior: smooth;
}

/* Prevent text jumping during load */
h1, h2, h3, h4, h5, h6 {
    font-display: swap;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    font-size-adjust: 0.5;
}

/* Set explicit line heights to prevent reflow */
h1 { 
    line-height: 1.2; 
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
h2 { 
    line-height: 1.3; 
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
h3 { 
    line-height: 1.4; 
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
h4, h5, h6 { 
    line-height: 1.5; 
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Prevent layout shift for images and videos */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent navbar layout shift */
.navbar {
    will-change: transform;
    transform: translateZ(0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('/public/images/bg.png');
    background-repeat: repeat;
    background-size: 100px 100px;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: #667eea;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 56px;
    width: auto;
    display: block;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Authentication */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    background: linear-gradient(45deg, #7289da, #5865f2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: linear-gradient(45deg, #5865f2, #4752c4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
    color: white;
    text-decoration: none;
}

/* Login Button Styles */
.btn-login {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: linear-gradient(45deg, #5865f2, #4752c4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
    color: white;
    text-decoration: none;
}

.user-discord-id {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-family: 'Courier New', monospace;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Header avatar - always 40px */
.nav-auth .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #7289da;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.nav-auth .user-avatar:hover {
    border-color: #5865f2;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
}

.nav-auth .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(114, 137, 218, 0.2);
    margin-top: 0.5rem;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.user-steam-id {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-family: 'Courier New', monospace;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #7289da;
    text-decoration: none;
}

.dropdown-item.logout {
    color: #e74c3c;
}

.dropdown-item.logout:hover {
    background: #fdf2f2;
    color: #c0392b;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0.5rem 0;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(8px);
    transform: scale(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #7289da, #5865f2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(114, 137, 218, 0.4);
}

/* Specific styling for Join Server button */
.server-actions .btn-primary {
    min-width: 140px;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-discord {
    background: linear-gradient(45deg, #7289da, #5865f2);
    color: white;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(114, 137, 218, 0.4);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 4rem;
    color: white;
}

.naval-logo {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

/* Larger logos for game pages (Naval Play 2, Waterworld, etc.) */
.hero-logo-container .hero-logo {
    max-width: 300px;
    max-height: 300px;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) brightness(1); }
    100% { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) brightness(1.1); }
}

.server-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* MOTD Specific Styles */
.downloads, .guide-section, .experience-section, .rules-section, .sdg-section, 
.boat-rules-section, .submarine-rules-section, .plane-rules-section, 
.airship-rules-section, .footer-alert {
    padding: 60px 0;
    background: white;
}

.downloads {
    background: white;
}

.downloads-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.downloads-list h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.downloads-list ul {
    list-style: none;
    padding: 0;
}

.downloads-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.downloads-list li:last-child {
    border-bottom: none;
}

.downloads-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.downloads-list a:hover {
    color: #764ba2;
}

.guide-section, .experience-section {
    background: white;
}

.guide-content, .experience-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guide-content p, .experience-content p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.guide-content h2, .experience-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.rules-category {
    margin-bottom: 40px;
}

.category-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

.category-title small {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

.catchphrase {
    font-size: 0.5em;
    color: #666;
    font-weight: 400;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.rule-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rule-item:hover {
    background: #e9ecef;
}

.rule-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    color: white;
}

.rule-number:not(.sdg):not(.boat):not(.submarine):not(.plane):not(.airship) {
    background: #007bff;
}

.rule-number.sdg {
    background: #B3C2BF;
}

.rule-number.boat {
    background: #BB1515;
}

.rule-number.submarine {
    background: #1f254c;
}

.rule-number.plane {
    background: #4B5320;
}

.rule-number.airship {
    background: #667E95;
}

.rule-content {
    flex: 1;
}

.rule-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rule-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.rule-content ul {
    color: #666;
    padding-left: 20px;
    margin: 10px 0;
}

.rule-content li {
    margin-bottom: 5px;
}

.sdg-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sdg-restrictions {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sdg-restrictions h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.sdg-restrictions ul {
    color: #666;
    padding-left: 20px;
}

.sdg-rules {
    margin-top: 30px;
}

.alert-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    color: #1565c0;
}

.alert-box strong {
    color: #0d47a1;
}

.footer-alert .alert-box {
    background: #fff3e0;
    border: 1px solid #ffcc02;
    text-align: center;
    color: #e65100;
}

.footer-alert .alert-box strong {
    color: #bf360c;
}

/* Tablet Devices */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 1.2rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .downloads-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rule-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .rule-number {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* Sections */
.servers, .discord-section, .features {
    padding: 80px 0;
    background: white;
}

/* Servers page - reduce top padding when breadcrumbs are present */
.servers {
    padding-top: 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* Servers page - reduce margin when breadcrumbs are present */
.servers .section-title {
    margin-top: 0;
}

/* Server Status Cards */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.server-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.server-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background-color: #4caf50;
}

.status-indicator.offline {
    background-color: #f44336;
}

.status-indicator.checking {
    background-color: #ff9800;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.server-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.info-item i {
    width: 16px;
    color: #667eea;
}

.server-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

/* When there's only one button, center it properly */
.server-actions .btn-primary:only-child {
    width: 100%;
    max-width: 200px;
}

/* Discord Section */
.discord-section {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    color: white;
}

.discord-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.discord-section .section-title {
    color: white;
    text-align: left;
}

.discord-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.discord-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item strong {
    font-size: 1.5rem;
    display: block;
    margin-top: 0.5rem;
}

.discord-widget {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-widget iframe {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.widget-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.widget-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.widget-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.widget-placeholder small {
    opacity: 0.7;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 0.8rem;
    color: #667eea;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.3rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Media Gallery */
.media-gallery {
    padding: 80px 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.lightbox[aria-hidden="false"] {
    display: block;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    margin: 5vh auto 0;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 0;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.lightbox-body img,
.lightbox-body iframe {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
}

/* Player List Styles */
.player-list {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1), rgba(88, 101, 242, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(114, 137, 218, 0.3);
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.2);
}

.player-list h4 {
    margin-bottom: 1rem;
    color: #7289da;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(114, 137, 218, 0.3);
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.players-table thead {
    background: linear-gradient(135deg, #7289da, #5865f2);
}

.players-table th {
    padding: 1rem 1.2rem;
    text-align: left;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.players-table th:last-child {
    text-align: right;
}

.players-table tbody tr {
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(114, 137, 218, 0.2);
}

.players-table tbody tr:nth-child(even) {
    background: rgba(114, 137, 218, 0.05);
}

.players-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.15), rgba(88, 101, 242, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
    border-left: 4px solid #7289da;
}

.players-table tbody tr:last-child {
    border-bottom: none;
}

.players-table td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
}

.player-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.player-time {
    font-size: 0.9rem;
    color: #7289da;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-align: right;
    background: rgba(114, 137, 218, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(114, 137, 218, 0.2);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 88px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        margin: 1rem 0;
        padding: 1rem;
        display: block;
    }
    
    .nav-menu a:hover {
        background-color: #f8f9fa;
    }
    
    /* Mobile Authentication */
    .nav-auth {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .user-dropdown-menu {
        position: fixed;
        top: 88px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        right: auto;
        width: calc(100% - 2rem);
        max-width: 300px;
    }
    
    .user-dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-video video {
        object-position: center center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .discord-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .discord-section .section-title {
        text-align: center;
    }

    .discord-stats {
        grid-template-columns: 1fr;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        top: 60px;
        padding: 1rem 0;
    }
    
    .nav-menu a {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('/public/images/bg.png');
    background-repeat: repeat;
    background-size: 100px 100px;
    background-attachment: fixed;
    padding: 0.5rem 0;
}

.welcome-section {
    margin-bottom: 3rem;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dashboard-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #7289da;
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.3);
}

.dashboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.user-details p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.user-permissions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.permission-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permission-badge.permission-admin {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

.permission-badge.permission-user {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    color: white;
}

.user-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    color: white;
    text-decoration: none;
}

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

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dashboard-card .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Server Description */
.server-description {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.server-description p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

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

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.about-text li::before {
    content: '⚓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
    background: white;
}

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

.location-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.location-icon i {
    font-size: 1.5rem;
    color: white;
}

.location-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.location-card p {
    color: #666;
    line-height: 1.6;
}

.hud-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.hud-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

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

.hud-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hud-label {
    font-weight: 600;
    color: #333;
}

.hud-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Gameplay Section */
.gameplay-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.gameplay-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.gameplay-tips {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.gameplay-tips h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.gameplay-tips ul {
    list-style: none;
    padding: 0;
}

.gameplay-tips li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.gameplay-tips li::before {
    content: '⚓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.gameplay-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

.gameplay-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .server-card {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .gameplay-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        align-self: center;
    }
}

/* Legal Pages Styles */
.legal-page {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem 2rem;
}

.legal-header {
    text-align: center;
    margin: 0 0 3rem 0;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4a9eff 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

.legal-content {
    line-height: 1.7;
}

.legal-content section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4a9eff;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    color: #60a5fa;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.legal-content li strong {
    color: #4a9eff;
    font-weight: 600;
}

.legal-content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #4a9eff;
    text-decoration: underline;
}

/* Table of Contents for Legal Pages */
.legal-toc {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-toc h3 {
    color: #4a9eff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.3rem 0;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding-left: 0.5rem;
}

.legal-toc a:hover {
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.1);
    padding-left: 1rem;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page .container {
        padding: 0 1rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 5rem 0 1rem 0;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content section {
        padding: 0.8rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background: transparent;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}

/* Servers page with breadcrumbs - adjust spacing */
.servers .breadcrumb-container {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-breadcrumbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-top: 1rem;
}

.hero-breadcrumbs .breadcrumb-container {
    margin-bottom: 0;
}

.hero-breadcrumbs .breadcrumb-link,
.hero-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-breadcrumbs .breadcrumb-link:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs {
    padding: 0;
    margin: 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.breadcrumb-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0;
    display: inline-block;
}

.breadcrumb-separator {
    color: #bbb;
    font-size: 0.7rem;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
}

.breadcrumb-separator i {
    font-size: 0.6rem;
}

/* Responsive Breadcrumbs */
@media (max-width: 768px) {
    .breadcrumb-container {
        margin-bottom: 1rem;
    }
    
    .hero-breadcrumbs {
        padding-top: 0.75rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }
    
    .breadcrumb-separator {
        font-size: 0.6rem;
        margin: 0 0.4rem;
    }
    
    .breadcrumb-separator i {
        font-size: 0.55rem;
    }
}

/* Servers List Detailed - Horizontal Layout */
.servers-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.servers-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.server-row-card {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.server-row-card:hover,
.server-row-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
    outline: none;
}

.server-row-card:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.server-row-card:hover .server-image-wrapper img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.server-row-card:hover .server-header h3 {
    color: #667eea;
}

.server-content-wrapper {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.server-row-card .server-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.server-row-card .server-header h3 {
    font-size: 1.75rem !important;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
    flex: 1;
}

.server-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background-color: #4caf50;
}

.status-dot.offline {
    background-color: #f44336;
    animation: none;
}

.status-dot.coming-soon-dot {
    background-color: #ff9800;
    animation: pulse 2s infinite;
}

.server-row-card.coming-soon {
    opacity: 0.85;
    cursor: default;
}

.server-row-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.status-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.server-players {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #666;
}

.server-players i {
    color: #667eea;
    font-size: 1rem;
}

.server-ip-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 500;
}

.server-ip-address i {
    font-size: 1.2rem;
}

.server-description-text {
    color: #666;
    line-height: 1.7;
}

.server-description-text p {
    margin: 0;
    font-size: 1rem;
}

.server-image-wrapper {
    flex: 0 0 400px;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    min-height: 250px;
}

.server-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

/* Responsive Design for Server Row Cards */
@media (max-width: 968px) {
    .server-row-card {
        flex-direction: column;
    }

    .server-image-wrapper {
        flex: 0 0 300px;
        max-width: 100%;
        width: 100%;
    }

    .server-content-wrapper {
        padding: 1.5rem;
    }

    .server-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .server-content-wrapper {
        padding: 1.25rem;
    }

    .server-header h3 {
        font-size: 1.35rem;
    }

    .server-ip-address {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .server-description-text p {
        font-size: 0.95rem;
    }

    .server-image-wrapper {
        flex: 0 0 250px;
    }
}

@media (max-width: 480px) {
    .server-image-wrapper {
        flex: 0 0 200px;
    }
}
