/* ==========================
   Global Styles
========================== */

:root {
    --bg: #0d1711;
    --bg-secondary: #161b22;
    --card: rgba(30, 35, 44, 0.85);
    --border: rgba(255, 255, 255, 0.08);

    --text: #f5f5f5;
    --muted: #9ca3af;

    --accent: #51b451;
    --accent-hover: #61c461;
    --accent-neon: #81e481;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 3rem 0 5rem;
    background:
        radial-gradient(circle at top, #1b2735 0%, var(--bg) 45%),
        var(--bg);
    color: var(--text);
    font-family: "Raleway", sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

/* ==========================
   Header
========================== */

.title {
    font-family: "Cinzel", serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: .08em;
    color: white;
    margin-bottom: 2.5rem;
    text-shadow:
        0 0 5px var(--accent-neon),
        0 0 15px rgba(200, 210, 200, .5);
}

/* ==========================
   Container
========================== */

.container {
    max-width: 900px;
}

/* ==========================
   Cards
========================== */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;

    backdrop-filter: blur(8px);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

    overflow: hidden;
}

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

    border-color: rgba(100, 210, 255, .35);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .45),
        0 0 20px rgba(100, 210, 255, .08);
}

.card-body {
    padding: 1.6rem;
}

/* Decorative top border */

.card::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg,
            var(--accent),
            transparent);
}

/* ==========================
   Typography
========================== */

.card-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.card-subtitle {
    color: var(--muted) !important;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card-text {
    color: #d8d8d8;
    margin: 1rem 0 1.4rem;
}

/* ==========================
   Links
========================== */

.card-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;

    transition: .2s;
}

.card-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

.card-link::after {
    content: " →";
}

/* ==========================
   Spacing
========================== */

.mb-2 {
    margin-bottom: 1.25rem !important;
}

/* ==========================
   Scrollbar
========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 768px) {

    body {
        padding: 2rem 1rem 3rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .title {
        margin-bottom: 2rem;
    }

}