:root {
    --bg: #0b1120;
    --card: #172033;
    --accent: #38bdf8;
    --text: #e2e8f0;
    --sub: #94a3b8;
    --border: #22304a;
}

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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background:
        radial-gradient(circle at top right,
            rgba(56, 189, 248, 0.08),
            transparent 30%),
        linear-gradient(to bottom,
            #0b1120,
            #0f172a);

    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-grid {
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px);

    background-size: 40px 40px;

    pointer-events: none;
}

header {
    padding: 70px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.avatar {
    width: 100px;
    height: 100px;

    margin: auto;
    margin-bottom: 25px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
            #0ea5e9,
            #2563eb);

    font-size: 2rem;
    font-weight: bold;

    box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

header h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

header h1 span {
    color: var(--accent);
}

.subtitle {
    color: var(--sub);
    font-size: 1.05rem;
}

.subtitle2 {
    color: #64748b;
    margin-top: 8px;
    font-size: 0.95rem;
}

.badges {
    margin-top: 28px;
}

.badge {
    display: inline-block;

    padding: 7px 12px;
    margin: 5px;

    border-radius: 10px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.15);

    color: var(--accent);

    font-size: 0.82rem;
}

.container {
    max-width: 1300px;

    margin: auto;

    padding: 20px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 22px;

    position: relative;
    z-index: 1;
}

.card {
    background: rgba(23, 32, 51, 0.92);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 28px;

    transition: 0.3s;

    text-decoration: none;

    color: inherit;

    backdrop-filter: blur(6px);

    position: relative;

    overflow: hidden;
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);

    transition: 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(56, 189, 248, 0.5);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.4);
}

.card h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.card p {
    color: var(--sub);

    line-height: 1.7;

    font-size: 0.95rem;
}

.tag {
    display: inline-block;

    margin-top: 18px;

    padding: 6px 11px;

    border-radius: 9px;

    background: #12314a;

    color: var(--accent);

    font-size: 0.78rem;
}

.terminal {
    max-width: 1300px;

    margin: 45px auto;

    background: #0a0f1a;

    border: 1px solid #1e293b;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4);

    position: relative;
    z-index: 1;
}

.terminal-header {
    background: #111827;

    padding: 12px 15px;

    display: flex;

    gap: 8px;

    border-bottom: 1px solid #1f2937;
}

.dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.terminal-body {
    padding: 25px;

    color: #67e8f9;

    font-family: monospace;

    line-height: 1.9;

    font-size: 0.95rem;
}

.cursor {
    animation: blink 1s infinite;
}

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

footer {
    text-align: center;

    padding: 35px 20px;

    color: var(--sub);

    border-top: 1px solid #172033;

    margin-top: 60px;

    position: relative;
    z-index: 1;
}

@media(max-width:768px) {

    header h1 {
        font-size: 2.4rem;
    }

    .container {
        grid-template-columns: 1fr;
    }

}
