/* ==========================================================================
   440Music Game Servers & Leasing Hub Styles
   Theme: 440Music Deep Stage Black & Gold Accents (main.css complement)
   ========================================================================== */

/* Main Stage & Overview Panels */
.games-intro-panel {
    background: linear-gradient(180deg, rgba(22, 28, 42, 0.9) 0%, rgba(12, 16, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 28px 24px;
    margin: 8px 0 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.games-intro-panel h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.1rem;
    color: #ffff00;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.games-intro-lead {
    font-size: 1.12rem;
    color: #f1f5f9;
    line-height: 1.65;
    margin: 0 0 18px 0;
}

.games-intro-text {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

/* Leasing Presentation Section */
.leasing-section {
    background: linear-gradient(180deg, rgba(30, 30, 38, 0.85) 0%, rgba(16, 18, 24, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
}

.leasing-section h2 {
    font-family: Georgia, serif;
    font-size: 1.75rem;
    color: #ffff00;
    margin: 0 0 8px 0;
}

.leasing-subtitle {
    color: #94a3b8;
    font-size: 1.02rem;
    margin: 0 0 22px 0;
    line-height: 1.5;
}

.leasing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.leasing-card {
    background: rgba(10, 14, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.leasing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 0, 0.4);
}

.leasing-card-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.leasing-card-title {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.leasing-card-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.leasing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.leasing-features li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leasing-features li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
}

/* Call to Action Banner */
.leasing-cta-box {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.15) 0%, rgba(102, 192, 244, 0.12) 100%);
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.leasing-cta-text h3 {
    margin: 0 0 4px 0;
    color: #ffff00;
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.leasing-cta-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.94rem;
}

.btn-cta-inquiry {
    background: #ffff00;
    color: #000000;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid #ffff00;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-inquiry:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
    color: #000000;
}

/* Fleet Showcase Section */
.fleet-showcase-section {
    margin-top: 10px;
    margin-bottom: 30px;
}

.fleet-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fleet-section-header h2 {
    font-family: Georgia, serif;
    font-size: 1.7rem;
    color: #ffff00;
    margin: 0 0 4px 0;
}

.fleet-section-header p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

/* Fleet Controls (Filters & Refresh) */
.fleet-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.fleet-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fleet-filter-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.15s;
}

.fleet-filter-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.fleet-filter-btn.active {
    background: #ffff00;
    color: #000000;
    font-weight: 700;
    border-color: #ffff00;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.4);
}

.fleet-refresh-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: #94a3b8;
}

.btn-fleet-refresh {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-fleet-refresh:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffff00;
    color: #ffff00;
}

/* Server Cards Grid */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.server-card {
    background: rgba(18, 24, 38, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.server-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.server-card.category-ats {
    border-left: 4px solid #38bdf8;
}

.server-card.category-ets2 {
    border-left: 4px solid #f59e0b;
}

.server-card.category-cs2 {
    border-left: 4px solid #ef4444;
}

.card-top {
    margin-bottom: 14px;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.game-badge {
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.card-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.card-title {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    color: #ffff00;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.card-flavor {
    font-size: 0.84rem;
    color: #94a3b8;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* Player Counter Banner */
.player-counter-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.player-counter-label {
    font-size: 0.82rem;
    color: #94a3b8;
}

.player-count-value {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
}

.player-count-value .active-players {
    color: #22c55e;
}

.server-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 0.82rem;
}

.server-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
}

.server-info-list li .info-key {
    color: #94a3b8;
}

.server-info-list li .info-val {
    color: #ffffff;
    font-family: monospace;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.btn-card-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-align: center;
}

.btn-card-primary {
    background: #ffff00;
    color: #000000;
    border-color: #ffff00;
}

.btn-card-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.btn-card-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-card-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffff00;
    color: #ffff00;
}

/* Toast Notice */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #22c55e;
    color: #000000;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.toast-notice.show {
    opacity: 1;
    transform: translateY(0);
}

/* Discreet Admin Footer Link */
.admin-discreet-footer {
    text-align: center;
    padding: 18px 0 30px 0;
    font-size: 0.82rem;
    color: #64748b;
}

.admin-discreet-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.admin-discreet-footer a:hover {
    color: #ffff00;
}

@media (max-width: 768px) {
    .server-grid {
        grid-template-columns: 1fr;
    }
    .leasing-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
