/* ============================================
   INFO MODULE STYLES
   Modern design for server information page
   Using blue/cyan color scheme from logo
   ============================================ */

/* Info Section Container */
.info-section {
    width: 100%;
    padding: 4rem 0;
    position: relative;
    background: transparent;
}

/* Page Title */
.info-page-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.info-page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Info Grid Layout */
.info-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Info Card */
.info-card {
    background: linear-gradient(to top, #0f0f14 0%, #121212 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
}

/* Card Title */
.info-card-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.info-card-title i {
    font-size: 1.5rem;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.info-card-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.info-table tbody tr {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.info-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.info-table td {
    padding: 1rem 1.25rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    border: none;
}

.info-table td:first-child {
    font-weight: 700;
    color: #00d4ff;
    border-left: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 0.5rem 0 0 0.5rem;
}

.info-table td:last-child {
    text-align: right;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Chaos Machine Table - Special Layout */
.chaos-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}

.chaos-table thead tr {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 153, 204, 0.2) 100%);
}

.chaos-table thead th {
    padding: 1rem 1.25rem;
    color: #00d4ff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}

.chaos-table tbody tr {
    background: rgba(15, 15, 20, 0.6);
    transition: all 0.3s ease;
}

.chaos-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.1);
}

.chaos-table tbody td {
    padding: 0.875rem 1.25rem;
    color: #e0e0e0;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.chaos-table tbody td:first-child {
    font-weight: 700;
    color: #00d4ff;
    border-left: 3px solid rgba(0, 212, 255, 0.5);
}

/* Commands Table */
.commands-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.commands-table tbody tr {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.commands-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.commands-table td {
    padding: 1rem 1.25rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    border: none;
}

.commands-table td:first-child {
    font-weight: 700;
    color: #00d4ff;
    font-family: 'Courier New', monospace;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 0.5rem 0 0 0.5rem;
    width: 30%;
}

.commands-table td:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Video Container */
.info-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.info-video-container:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3);
}

.info-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

/* Stats Grid for General Info */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: #0f1419;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .info-page-title h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-section {
        padding: 3rem 0;
    }
    
    .info-page-title h1 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card-title h2 {
        font-size: 1.25rem;
    }
    
    .info-table td,
    .commands-table td,
    .chaos-table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .chaos-table {
        font-size: 0.8rem;
    }
    
    .chaos-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .info-page-title h1 {
        font-size: 1.5rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-card-title {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .commands-table td:first-child {
        width: 100%;
        display: block;
        border-radius: 0.5rem 0.5rem 0 0;
    }
    
    .commands-table td:last-child {
        display: block;
        border-radius: 0 0 0.5rem 0.5rem;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    /* Make chaos table scrollable on mobile */
    .chaos-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
