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

:root {
    --primary: #93c5fd;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --accent-ai: #10b981;
    --accent-gambling: #f59e0b;
    --accent-vat: #8b5cf6;
    --bg: #FFF1E5;
    --bg-light: #f8f0e8;
    --bg-card: #ffffff;
    --text: #1d1d1d;
    --text-muted: #a8b8d8;
    --border: #d8dde0;
    --shadow: rgba(0, 0, 0, 0.4);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
}

/* Header */
.header {
    background: var(--bg-card);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

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

.logo i {
    font-size: 2.5rem;
    color: var(--primary);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.domain {
    font-family: 'Source Code Pro', monospace;
    background: var(--bg);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.date-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    padding: 10px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.date-display i {
    color: var(--primary);
}

/* Navigation */
.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--primary);
}

.nav-link.active {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

/* Main Content */
.main-content {
    padding: 32px;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

.section-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-header h2 i {
    color: var(--primary);
}

#ai .section-header h2 i { color: var(--accent-ai); }
#gambling .section-header h2 i { color: var(--accent-gambling); }
#vat .section-header h2 i { color: var(--accent-vat); }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Content Placeholder */
.content-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    margin: 40px 0;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.content-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text);
}

.content-placeholder p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 24px;
}

.update-time {
    background: var(--bg);
    padding: 12px 24px;
    border-radius: var(--radius);
    display: inline-block;
    border: 1px solid var(--border);
}

.update-time .time {
    color: var(--primary);
    font-weight: 600;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.about-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px var(--shadow);
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 32px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-status {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    color: var(--text);
}

.agent-status {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agent-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
}

.status-indicator.active {
    background: var(--success);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
    }
    
    .nav-link {
        flex: 1;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility */
.hidden {
    display: none !important;
}