@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #1f2833;
    --card-bg: rgba(255, 255, 255, 0.03);
    --fg: #e8ecef;
    --muted: #8a94a3;
    --accent: #b4e061;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
}

.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 40px 40px;
}

.rule {
    height: 2px;
    background: var(--accent);
    opacity: 0.6;
    margin-bottom: 32px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
}

.date {
    color: var(--muted);
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin: 0 0 8px;
}

.greeting {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--fg);
}

.status-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.7);
}

.status-dot.offline {
    background: #e05353;
    box-shadow: 0 0 8px rgba(224, 83, 83, 0.7);
}

.status-values {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.status-label {
    font-weight: 600;
    color: var(--fg);
}

.status-sub {
    font-size: 0.78rem;
    color: var(--muted);
}

.section-title {
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fg);
    font-weight: 700;
    margin: 0 0 20px;
}

section {
    margin-bottom: 48px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px 32px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--fg);
}

.app-icon {
    font-size: 1.5rem;
    width: 32px;
    text-align: center;
    color: var(--fg);
    flex-shrink: 0;
}

.app-card:hover .app-icon,
.app-card:hover .app-name {
    color: var(--accent);
}

.app-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-name {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--bg);
    background: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1.4;
}

.app-url {
    font-size: 0.72rem;
    color: var(--accent);
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bookmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
}

.category-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 14px;
}

.bookmark-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bookmark-list a {
    color: var(--fg);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bookmark-list a i {
    width: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.bookmark-list a:hover {
    color: var(--accent);
}

.bookmark-list a:hover i {
    color: var(--accent);
}

footer {
    margin-top: 40px;
    color: var(--muted);
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 600px) {
    .page {
        padding: 32px 20px;
    }
    .greeting {
        font-size: 1.8rem;
    }
    .top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
