/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #232946 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: #eaeaea;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 3rem;
    color: #eaeaea;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px #000a;
    letter-spacing: 2px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

/* Service card styles */
.service-card.dark-card {
    background: #232946;
    border-radius: 18px;
    padding: 2.2rem 2rem 2rem 2rem;
    box-shadow: 0 10px 32px rgba(0,0,0,0.45);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #353a5a;
}

.service-card.dark-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 48px rgba(0,0,0,0.7);
    border-color: #41BDF5;
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #eaeaea;
    letter-spacing: 1px;
}

.service-info p {
    color: #b8b8d1;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #41BDF5, #232946 80%);
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(65,189,245,0.18);
    margin-top: 0.5rem;
    font-size: 1rem;
    border: none;
}

.service-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(65,189,245,0.28);
}

.service-link img {
    margin-right: 8px;
}

/* Link container styles for status indicators */
.link-container {
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.98rem;
}

.link-container span {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    background: rgba(65,189,245,0.08);
    color: #eaeaea;
    border: 1px solid #353a5a;
}

/* Footer styles */
footer {
    text-align: center;
    margin-top: 3rem;
    color: #b8b8d1;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Status indicator (optional for future use) */
.status-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.status-indicator.offline {
    background: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.6);
}

