@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&family=Noto+Color+Emoji&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Rubik+Distressed&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    color-scheme: light dark;

    --bg: #f5f7fa;
    --page: #ffffff;
    --header: #2f3338;
    --text: #2b2f36;
    --muted: #667085;
    --line: #e6eaf0;
    --accent: #4282f4;
    --accent-2: #ff8800;
    --footer: #2f3338;
    --card-bg: #fbfcfe;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
    --bg: #121417;
    --page: #1a1d21;
    --header: #0f1114;
    --text: #e5e7eb;
    --muted: #a1a9b5;
    --line: #2d333b;
    --accent: #5b9cff;
    --accent-2: #ff9d3f;
    --footer: #0f1114;
    --card-bg: #22272e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    }
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans', 'Noto Color Emoji', sans-serif;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

img.avatar
{
    display: inline-block;
    box-sizing: border-box;
    width: 120px;
    margin-right: 25px;
    border-radius: 50%;
    float: left;
}

.topbar {
    background: var(--header);
    border-bottom: 1px solid var(--line);
}

.topbar-inner,
.hero-inner,
.main-inner,
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.topbar-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    display: block;
    font-size: 42px;
    line-height: 42px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--accent-2);
    white-space: nowrap;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
}

.logo > img
{
    display: inline-block;
    box-sizing: border-box;
    width: 38px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo span { color: #ffffff; }

.logo:hover, .logo>span:hover { text-decoration: none; color: var(--accent) }

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}

.nav a {
    color: #d7dee9;
    text-decoration: none;
}

.nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hero {
    background: linear-gradient(180deg, var(--page) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    padding-top: 54px;
    padding-bottom: 40px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
}

h1 {
    margin: 0 0 16px 0;
    font-size: 44px;
    line-height: 1.1;
    color: var(--accent);
    letter-spacing: -0.03em;
    max-width: 900px;
}

.lead {
    max-width: 860px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--card-bg);
    color: var(--text);
    font-size: 14px;
}

.main {
    background: var(--page);
}

.main-inner {
    padding-top: 44px;
    padding-bottom: 56px;
}

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

.section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    margin: 0 0 14px 0;
    font-size: 26px;
    line-height: 1.25;
    color: var(--text);
}

.section p {
    margin: 0 0 14px 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.section p:last-child { margin-bottom: 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.card {
    border: 1px solid var(--line);
    background: var(--card-bg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.3;
    color: var(--accent);
}

.card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.project {
    border: 1px solid var(--line);
    background: var(--card-bg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.project .tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.project h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text);
}

.project p {
    margin: 0 0 14px 0;
    color: var(--muted);
}

.link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.link-item {
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: var(--card-bg);
}

.link-item b {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.cta-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 0;
    font-size: 15px;
    line-height: 1.2;
    border: 1px solid var(--accent);
}

.btn.secondary {
    background: transparent;
    color: var(--accent) !important;
}

.footer {
    background: var(--footer);
    color: #c7ced8;
    border-top: 1px solid var(--line);
}

section.home-slogan
{
    display: block;
    width: 100%;
    text-align: center;
    margin: 2.0em 0;
    padding: 15px;
}

section.home-slogan > big
{
    display: block;
    font-size: 68px;
    line-height: 1.2em;
}

section.home-slogan > span
{
    display: inline-block;
    color: var(--muted);
    line-height: 3.0em;
}

.footer-inner {
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 12px;
    line-height: 1.8;
}

.footer a {
    color: #c7ced8;
}

.muted { color: var(--muted); }

.fortnite-season 
{
    margin: 25px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: #1b1f2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 8px 24px rgba(0,0,0,.18);
}

.fortnite-season > img
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform .25s ease;
}

.fortnite-season > div
{
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 48px 20px 20px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.60) 40%,
        rgba(0,0,0,.25) 75%,
        rgba(0,0,0,0) 100%
    );
}

.fortnite-season > div > big
{
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.fortnite-season > div > span
{
    display: block;
    margin-top: 6px;

    font-size: .95rem;
    color: rgba(255,255,255,.88);

    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.e-mail:before 
{
    content: attr(data-domain) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}


@media (max-width: 900px) {
    .topbar-inner,
    .hero-inner,
    .main-inner,
    .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
    }

    .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    }

    .logo {
    font-size: 36px;
    line-height: 36px;
    }

    h1 {
    font-size: 32px;
    }

    .grid,
    .project-grid,
    .link-list {
    grid-template-columns: 1fr;
    }
}