* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0d1117;
    --card: #161b22;
    --card2: #1f2937;
    --accent: #00c2ff;
    --accent2: #7c3aed;
    --text: #ffffff;
    --muted: #9ca3af;
    --green: #10b981;
    --orange: #f59e0b;
    --red: #ef4444;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0d1117 0%, #111827 50%, #0f172a 100%);
    min-height: 100vh;
    color: var(--text);
    overflow: auto;
}

.background-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.brand h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 3px;
}

.brand span {
    color: var(--accent);
}

.brand p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}

.login-btn {
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 194, 255, 0.2);
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-card h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.hero-card p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.mini-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-box h3 {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.stat-box .value {
    font-size: 34px;
    font-weight: 700;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.tile {
    position: relative;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.35s ease;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tile:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: 0.4s;
}

.tile:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 22px;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.overlay p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.5;
}

.wide {
    grid-column: span 2;
}

.footer {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    padding-bottom: 20px;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .wide {
        grid-column: span 1;
    }

    .topbar {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .hero-card h2 {
        font-size: 38px;
    }

    .container {
        padding: 24px;
    }
}