@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

:root {
    --main-color: #671DFA;
    --main-color-2: #8d39ff;
    --bg-color: #000000;
    --second-bg-color: #111111;
    --card-color: #171717;
    --text-color: #ffffff;
    --muted-color: #a8a8a8;
    --shadow-color: rgba(103, 29, 250, 0.55);
    --noise-bg: url("assets/dark-noise.png"); /* subtelny grain/noise */
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        var(--noise-bg),
        var(--bg-color);
    background-size: 420px 260px, auto;
    color: var(--text-color);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(103, 29, 250, 0.22), transparent 28rem),
        radial-gradient(circle at 90% 15%, rgba(141, 57, 255, 0.15), transparent 30rem),
        radial-gradient(circle at 50% 90%, rgba(103, 29, 250, 0.14), transparent 32rem);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: var(--noise-bg);
    background-size: 420px 260px;
    opacity: 0.25;
    z-index: -1;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    min-width: 0;
}

.commission-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: 1.2rem;
    padding: 0.65rem 1.35rem;
    border: 1px solid rgba(13, 105, 190, 0.62);
    border-radius: 999px;
    background: rgba(13, 105, 190, 0.10);
    color: #cfeaff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(13, 105, 190, 0.22);
}

.commission-state {
    color: #32e875;
    text-shadow: 0 0 14px rgba(50, 232, 117, 0.55);
}

.commission-state.selective {
    color: #ffd447;
    text-shadow: 0 0 14px rgba(255, 212, 71, 0.55);
}

.commission-state.closed {
    color: #ff4d5f;
    text-shadow: 0 0 14px rgba(255, 77, 95, 0.55);
}

.commission-state.open {
    color: #32e875;
    text-shadow: 0 0 14px rgba(50, 232, 117, 0.55);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
    letter-spacing: -0.1rem;
    white-space: nowrap;
}


.logo span {
    color: var(--main-color);
}

.logo:hover {
    transform: scale(1.08);
    text-shadow: 0 0 20px var(--shadow-color);
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 600;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.menu-btn {
    display: none;
    background: transparent;
    color: var(--text-color);
    font-size: 2.7rem;
    cursor: pointer;
}

/* SECTIONS */

section {
    min-height: 100vh;
    padding: 10rem 9% 5rem;
}

/* subtle blue dividers between homepage sections */
body:not(.links-body) main > section + section {
    border-top: 2px solid rgba(13, 105, 190, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(103, 29, 250, 0.22),
        0 -1px 16px rgba(13, 105, 190, 0.24);
}

.section-title {
    font-size: clamp(3.5rem, 5vw, 4.8rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto 5rem;
    text-align: center;
    color: var(--muted-color);
    font-size: 1.7rem;
    line-height: 1.7;
}

/* HOME */

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background:
        radial-gradient(circle at 20% 50%, rgba(103, 29, 250, 0.13), transparent 32rem),
        radial-gradient(circle at 78% 45%, rgba(103, 29, 250, 0.08), transparent 28rem),
        var(--noise-bg),
        var(--bg-color);
    background-size: auto, auto, 420px 260px, auto;
}

.home-content {
    max-width: 700px;
}

.eyebrow {
    color: var(--main-color-2);
    text-transform: uppercase;
    letter-spacing: 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.home-content h1 {
    font-size: clamp(4rem, 6vw, 6.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.2rem;
}

span {
    color: var(--main-color);
}

.home-content h3 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    margin: 1rem 0;
    font-weight: 800;
}

.home-content p {
    font-size: 1.65rem;
    line-height: 1.85;
    max-width: 660px;
    color: #f2f2f2;
}

.typing-text span::after {
    content: "|";
    margin-left: 0.4rem;
    color: var(--main-color);
    animation: cursor 0.7s infinite;
}

@keyframes cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* AVATAR CSS */

.home-img {
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar-photo {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    pointer-events: none;
    background: #000;
    border: 0.15rem solid rgba(103, 29, 250, 0.85);
    box-shadow:
        0 0 25px var(--shadow-color),
        0 0 55px rgba(103, 29, 250, 0.35),
        inset 0 0 45px rgba(0, 0, 0, 1);
}

.avatar-photo-large {
    width: 32vw;
    height: 32vw;
    max-width: 430px;
    max-height: 430px;
    min-width: 250px;
    min-height: 250px;
}

.avatar-photo-small {
    width: 15rem;
    height: 15rem;
    border: 0.15rem solid rgba(103, 29, 250, 0.85);
    box-shadow:
        0 0 16px rgba(103, 29, 250, 0.42),
        0 0 32px rgba(103, 29, 250, 0.20),
        0 1rem 2.4rem rgba(0, 0, 0, 0.38),
        inset 0 0 34px rgba(0, 0, 0, 1);
}


.avatar-orb {
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 38%, #050505 0 47%, #000 70%);
    border: 0.15rem solid rgba(103, 29, 250, 0.85);
    box-shadow:
        0 0 25px var(--shadow-color),
        0 0 55px rgba(103, 29, 250, 0.35),
        inset 0 0 45px rgba(0, 0, 0, 1);
    user-select: none;
}

.avatar-orb-large {
    width: 32vw;
    height: 32vw;
    max-width: 430px;
    max-height: 430px;
    min-width: 250px;
    min-height: 250px;
}

.avatar-orb-small {
    width: 15rem;
    height: 15rem;
    border: none;
    box-shadow:
        0 0 34px rgba(0, 145, 255, 0.38),
        0 0 70px rgba(0, 145, 255, 0.18),
        0 1.5rem 4rem rgba(0, 0, 0, 0.45),
        inset 0 0 45px #000;
}

.eye,
.mouth {
    position: absolute;
    display: block;
    background: #fff;
    box-shadow:
        0 0 0.7rem #fff,
        0 0 1.5rem #ff003c,
        0 0 3rem #ff003c,
        0 0 5rem #ff003c;
}

.eye {
    width: 11%;
    height: 23%;
    border-radius: 10rem;
    top: 31%;
}

.eye-left {
    left: 25%;
    transform: rotate(-39deg);
}

.eye-right {
    right: 25%;
    transform: rotate(-39deg);
}

.mouth {
    width: 25%;
    height: 10%;
    left: 38%;
    top: 57%;
    border-radius: 10rem;
    transform: rotate(15deg);
}

.mouth::before,
.mouth::after {
    content: "";
    position: absolute;
    width: 45%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    box-shadow: inherit;
}

.mouth::before {
    left: -28%;
    top: -15%;
    transform: rotate(18deg);
}

.mouth::after {
    right: -28%;
    top: -35%;
    transform: rotate(-8deg);
}

/* SOCIAL ICONS */

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.6rem;
    height: 4.6rem;
    background-color: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2.2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: var(--main-color);
}

.social-icons a:hover {
    color: black;
    transform: scale(1.15) translateY(-5px);
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}

/* BUTTON */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.05rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--main-color);
    letter-spacing: 0.18rem;
    font-weight: 700;
    border: 2px solid var(--main-color);
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-color);
}

/* WORK PROCESS */

.process {
    background:
        radial-gradient(circle at 18% 18%, rgba(103, 29, 250, 0.18), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.10), transparent 34rem),
        linear-gradient(rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.section-eyebrow {
    text-align: center;
    margin-bottom: 1.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-card {
    position: relative;
    min-height: 36rem;
    padding: 11rem 3rem 3rem;
    text-align: center;
    border-radius: 2.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        var(--noise-bg),
        rgba(10, 10, 10, 0.86);
    background-size: auto, 420px 260px, auto;
    border: 1px solid rgba(103, 29, 250, 0.42);
    box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.32);
    transition: 0.3s ease;
}

.process-card::before,
.process-card::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 5rem;
    opacity: 0.75;
    pointer-events: none;
}

.process-card::before {
    top: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    border-top-left-radius: 2.2rem;
}

.process-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid rgba(103, 29, 250, 0.45);
    border-right: 1px solid rgba(103, 29, 250, 0.45);
    border-bottom-right-radius: 2.2rem;
}

.process-card:hover {
    transform: translateY(-1rem);
    border-color: rgba(103, 29, 250, 0.9);
    box-shadow: 0 0 32px rgba(103, 29, 250, 0.26);
}

.process-icon {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 6rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    box-shadow: 0 0 30px rgba(103, 29, 250, 0.45);
    font-size: 2.6rem;
}

.process-step {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0 2.6rem;
    color: var(--main-color-2);
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.process-card h3 {
    font-size: clamp(2.6rem, 2.6vw, 3.7rem);
    line-height: 1.38;
    text-transform: uppercase;
    letter-spacing: -0.08rem;
    margin-bottom: 2rem;
}

.process-desc {
    max-width: 34rem;
    margin: 0 auto;
    color: #d7d7d7;
    font-size: 1.45rem;
    line-height: 1.75;
}

/* EXPERIENCE / PORTFOLIO */

.experience {
    background:
        radial-gradient(circle at 70% 12%, rgba(103, 29, 250, 0.14), transparent 34rem),
        var(--noise-bg),
        #000;
    background-size: auto, 420px 260px, auto;
}

.portfolio-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 29, 250, 0.9);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.04);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #000;
    background: var(--main-color);
    box-shadow: 0 0 20px var(--shadow-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.6rem;
}

.work-card {
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(103, 29, 250, 0.5);
    background:
        linear-gradient(rgba(23, 23, 23, 0.68), rgba(23, 23, 23, 0.68)),
        var(--noise-bg),
        var(--card-color);
    background-size: auto, 420px 260px, auto;
    transition: 0.3s ease;
}

.work-card:hover {
    transform: translateY(-0.8rem);
    box-shadow: 0 0 30px rgba(103, 29, 250, 0.35);
    border-color: var(--main-color);
}

.work-card.hidden {
    display: none;
}

.work-thumb {
    position: relative;
    min-height: 19rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(103, 29, 250, 0.22), transparent 11rem),
        radial-gradient(circle at 14% 88%, rgba(255, 0, 60, 0.18), transparent 10rem),
        linear-gradient(rgba(10, 10, 10, 0.48), rgba(10, 10, 10, 0.48)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
}

.work-thumb.vertical::before {
    content: "";
    position: absolute;
    width: 8rem;
    height: 15rem;
    border: 0.3rem solid rgba(255, 255, 255, 0.28);
    border-radius: 1.4rem;
}

.work-thumb i {
    position: relative;
    width: 6.4rem;
    height: 6.4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 2.3rem;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.work-thumb span {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04rem;
}

.work-info {
    padding: 2.3rem;
}

.work-type {
    color: var(--main-color-2);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13rem;
    margin-bottom: 0.8rem;
}

.work-info h3 {
    font-size: 2.1rem;
    margin-bottom: 1.8rem;
}

.work-info p:not(.work-type) {
    font-size: 1.45rem;
    line-height: 1.7;
    color: #d8d8d8;
    margin-bottom: 1.6rem;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: var(--main-color);
    font-weight: 800;
}

.work-link:hover {
    color: var(--main-color-2);
}


/* FAQ */

.faq {
    background:
        radial-gradient(circle at 22% 18%, rgba(47, 169, 255, 0.10), transparent 32rem),
        radial-gradient(circle at 78% 72%, rgba(103, 29, 250, 0.14), transparent 34rem),
        linear-gradient(rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.74)),
        var(--noise-bg),
        #000;
    background-size: auto, auto, auto, 420px 260px, auto;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    max-width: 105rem;
    width: 100%;
    margin: 0 auto;
}

.faq-card {
    position: relative;
    min-height: 19rem;
    padding: 3rem;
    border-radius: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.20)),
        var(--noise-bg),
        rgba(14, 14, 14, 0.88);
    background-size: auto, 420px 260px, auto;
    border: 1px solid rgba(103, 29, 250, 0.48);
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.32);
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(47, 169, 255, 0.13), transparent 18rem);
    pointer-events: none;
}

.faq-card:hover {
    transform: translateY(-0.6rem);
    border-color: rgba(47, 169, 255, 0.75);
    box-shadow: 0 0 28px rgba(47, 169, 255, 0.18), 0 0 24px rgba(103, 29, 250, 0.18);
}

.faq-number {
    display: inline-block;
    color: var(--main-color-2);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.16rem;
    margin-bottom: 1.2rem;
}

.faq-card h3 {
    position: relative;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.faq-card p {
    position: relative;
    color: #d8d8d8;
    font-size: 1.5rem;
    line-height: 1.75;
}

/* CONTACT */

.contact {
    background:
        radial-gradient(circle at 18% 18%, rgba(103, 29, 250, 0.18), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.10), transparent 34rem),
        linear-gradient(rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
    text-align: center;
    min-height: 70vh;
    overflow: hidden;
}

.contact-text {
    max-width: 720px;
    margin: 0 auto 3rem;
    color: #e8e8e8;
    font-size: 1.7rem;
    line-height: 1.8;
}

.contact-box {
    max-width: 620px;
    margin: 0 auto;
    background:
        linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)),
        var(--noise-bg),
        rgba(0, 0, 0, 0.45);
    background-size: auto, 420px 260px, auto;
    border: 1px solid rgba(103, 29, 250, 0.55);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 0 25px rgba(103, 29, 250, 0.16);
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.contact-mail i {
    color: var(--main-color);
}

.contact-mail:hover {
    color: var(--main-color);
}

.contact-icons a {
    margin: 3rem 1rem 0;
}

.footer {
    border-top: none;
    padding: 2.5rem 9%;
    text-align: center;
    color: var(--muted-color);
    background:
        var(--noise-bg),
        #050505;
    background-size: 420px 260px, auto;
    font-size: 1.35rem;
}



/* TOS PAGE */

.tos-body {
    background:
        radial-gradient(circle at 18% 18%, rgba(103, 29, 250, 0.18), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.10), transparent 34rem),
        linear-gradient(rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
}

.tos-page {
    min-height: 100vh;
    padding: 14rem 9% 6rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(47, 169, 255, 0.10), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.14), transparent 34rem),
        linear-gradient(rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
}

.tos-hero {
    max-width: 86rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.tos-hero h1 {
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 1.05;
    letter-spacing: -0.22rem;
    margin-bottom: 1.8rem;
}

.tos-hero p:not(.eyebrow) {
    max-width: 72rem;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.75rem;
    line-height: 1.8;
}

.tos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    max-width: 112rem;
    margin: 0 auto;
}

.tos-card {
    position: relative;
    min-height: 20rem;
    padding: 3rem;
    border-radius: 2rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.20)),
        var(--noise-bg),
        rgba(14, 14, 14, 0.88);
    background-size: auto, 420px 260px, auto;
    border: 1px solid rgba(13, 105, 190, 0.56);
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.32);
    transition: 0.3s ease;
}

.tos-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 169, 255, 0.13), transparent 18rem),
        radial-gradient(circle at 0% 100%, rgba(103, 29, 250, 0.12), transparent 18rem);
    pointer-events: none;
}

.tos-card:hover {
    transform: translateY(-0.6rem);
    border-color: rgba(47, 169, 255, 0.78);
    box-shadow:
        0 0 28px rgba(47, 169, 255, 0.18),
        0 0 24px rgba(103, 29, 250, 0.18);
}

.tos-number {
    position: relative;
    display: inline-block;
    color: var(--main-color-2);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.16rem;
    margin-bottom: 1.2rem;
}

.tos-card h2 {
    position: relative;
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.tos-card p {
    position: relative;
    color: #d8d8d8;
    font-size: 1.5rem;
    line-height: 1.75;
}

.tos-actions {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .tos-grid {
        grid-template-columns: 1fr;
    }
}

/* LINKS PAGE */

.links-body {
    background:
        radial-gradient(circle at 18% 18%, rgba(103, 29, 250, 0.18), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.10), transparent 34rem),
        linear-gradient(rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
}

.links-page {
    min-height: 100vh;
    padding: 14rem 9% 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.links-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 18%, rgba(103, 29, 250, 0.16), transparent 34rem),
        radial-gradient(circle at 82% 62%, rgba(103, 29, 250, 0.10), transparent 34rem),
        linear-gradient(rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.74)),
        var(--noise-bg),
        #050505;
    background-size: auto, auto, auto, 420px 260px, auto;
}

.links-background::before {
    content: "";
    position: absolute;
    left: -28%;
    right: -28%;
    top: -3.5rem;
    height: 42rem;
    background:
        linear-gradient(110deg, rgba(34, 151, 255, 0.88), rgba(103, 29, 250, 0.94) 55%, rgba(141, 57, 255, 0.88)),
        var(--noise-bg);
    background-size: auto, 420px 260px;
    transform: skewY(-4.5deg);
    transform-origin: left top;
    box-shadow: 0 0 70px rgba(34, 151, 255, 0.18), 0 0 90px rgba(103, 29, 250, 0.20);
    opacity: 0.96;
}

.links-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 8%, rgba(103, 29, 250, 0.12), transparent 35rem),
        radial-gradient(circle at 50% 92%, rgba(103, 29, 250, 0.10), transparent 35rem);
    pointer-events: none;
}

.linktree-card {
    width: min(100%, 85rem);
    min-height: 0;
    margin-top: 7rem;
    padding: 10rem 3rem 3.5rem;
    border-radius: 0.8rem;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.055);
    background:
        linear-gradient(rgba(24, 24, 24, 0.70), rgba(24, 24, 24, 0.70)),
        var(--noise-bg),
        rgba(24, 24, 24, 0.96);
    background-size: auto, 420px 260px, auto;
    text-align: center;
    position: relative;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}

.linktree-avatar {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

.linktree-card h1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}


.link-mail,
.link-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--muted-color);
    font-size: 1.45rem;
}

.link-status {
    color: #fff;
    font-weight: 800;
    margin-top: 1.5rem;
}

.links-list {
    width: min(100%, 85rem);
    min-height: auto;
    padding: 4rem 0 0;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.big-link {
    min-height: 8rem;
    display: grid;
    grid-template-columns: 5.6rem 1fr auto;
    align-items: center;
    gap: 1.8rem;
    padding: 1.4rem 2.2rem 1.4rem 1rem;
    background:
        linear-gradient(rgba(24, 24, 24, 0.70), rgba(24, 24, 24, 0.70)),
        var(--noise-bg),
        rgba(24, 24, 24, 0.98);
    background-size: auto, 420px 260px, auto;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.35rem;
    box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.28);
    transition: 0.3s ease;
}

.big-link:hover {
    transform: translateY(-0.6rem);
    border-color: rgba(103, 29, 250, 0.65);
    box-shadow: 0 0 28px rgba(103, 29, 250, 0.25);
}

.big-link strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.2;
}

.big-link small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted-color);
    font-size: 1.3rem;
}

.link-icon {
    width: 5.6rem;
    height: 5.6rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 0.4rem;
    font-size: 2.7rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

.twitch .link-icon { background: #9146ff; }
.youtube .link-icon { background: #ff1c1c; }
.x-link .link-icon { background: #050505; border: 1px solid rgba(255,255,255,0.14); }
.tiktok .link-icon { background: #020202; border: 1px solid rgba(255,255,255,0.14); }
.portfolio .link-icon { background: #ff1616; }
.instagram .link-icon { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }


/* Keep the links page clean: no homepage divider lines behind link tiles */
.links-body main > section + section,
.links-body .links-list {
    border-top: 0;
    box-shadow: none;
}

/* ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .home {
        gap: 5rem;
    }

    .navbar a {
        margin-left: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header {
        padding: 2rem 5%;
    }

    .home {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .home-img {
        order: -1;
    }

    .avatar-orb-large,
    .avatar-photo-large {
        width: 55vw;
        height: 55vw;
        margin-top: 2rem;
    }

    .home-content p {
        margin: 0 auto;
    }

    .social-icons,
    .hero-actions {
        justify-content: center;
    }

    .process-grid,
    .portfolio-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .brand {
        gap: 0.9rem;
    }

    .commission-status {
        margin-left: 0.2rem;
        padding: 0.5rem 0.9rem;
        font-size: clamp(0.9rem, 2.5vw, 1.05rem);
        letter-spacing: 0.035rem;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 5%;
        right: 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem;
        background: rgba(8, 8, 8, 0.98);
        border: 1px solid rgba(103, 29, 250, 0.45);
        border-radius: 1.4rem;
    }

    .navbar.open {
        display: flex;
    }

    .navbar a {
        margin: 0;
        padding: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar a.active,
    .navbar a:hover {
        border-bottom: 1px solid rgba(103, 29, 250, 0.8);
    }

    section {
        padding: 9rem 5% 5rem;
    }

    .home-content h1 {
        font-size: 3.8rem;
    }

    .home-content h3,
    .typing-text {
        font-size: 2.6rem;
    }

    .home-content p {
        font-size: 1.45rem;
    }

    .avatar-orb-large,
    .avatar-photo-large {
        width: 75vw;
        height: 75vw;
        min-width: 220px;
        min-height: 220px;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .linktree-card {
        margin-top: 6rem;
        padding: 8.5rem 2rem 3rem;
    }

    .avatar-orb-small,
    .avatar-photo-small {
        width: 12.5rem;
        height: 12.5rem;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    .big-link {
        grid-template-columns: 5.2rem 1fr auto;
        gap: 1.3rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 420px) {
    .logo {
        font-size: 2.6rem;
    }

    .home-content h1 {
        letter-spacing: -0.1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-mail {
        font-size: 1.45rem;
    }

    .big-link strong {
        font-size: 1.45rem;
    }

    .big-link small {
        font-size: 1.15rem;
    }
}

/* YouTube thumbnails inside Experience cards */
.work-thumb.has-thumbnail {
    background: #050505;
}

.work-thumb.has-thumbnail::before {
    display: none;
}

.work-thumb.has-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 14%, rgba(103, 29, 250, 0.2), transparent 12rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55));
    z-index: 1;
    pointer-events: none;
}

.work-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.work-thumb.has-thumbnail i {
    z-index: 3;
}

.work-thumb.has-thumbnail span {
    z-index: 4;
}

/* Clickable YouTube playback inside Experience cards */
.work-thumb.playable-video {
    cursor: pointer;
}

.work-thumb.playable-video:hover i {
    transform: scale(1.08);
    box-shadow: 0 0 28px rgba(103, 29, 250, 0.55);
}

.work-thumb.is-playing {
    background: #000;
}

.work-thumb.is-playing::after {
    display: none;
}

.youtube-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 10;
    background: #000;
}


.youtube-local-notice {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(103, 29, 250, 0.18), rgba(0, 0, 0, 0.94) 62%);
    color: var(--text-color);
}

.youtube-local-notice i {
    font-size: 3.2rem;
    color: var(--main-color);
    filter: drop-shadow(0 0 14px rgba(103, 29, 250, 0.8));
}

.youtube-local-notice strong {
    font-size: 1.7rem;
    color: var(--text-color);
}

.youtube-local-notice p {
    max-width: 32rem;
    color: #cfcfcf;
    font-size: 1.25rem;
    line-height: 1.55;
}

.youtube-local-notice a {
    color: var(--main-color);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

/* Cursor trail: small white/blue particles following the cursor */
.cursor-particle {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--particle-size, 0.55rem);
    height: var(--particle-size, 0.55rem);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
    background: var(--particle-color, #ffffff);
    box-shadow:
        0 0 0.8rem var(--particle-glow, rgba(69, 190, 255, 0.8)),
        0 0 1.8rem rgba(69, 190, 255, 0.35);
    animation: cursorParticleFade 0.72s ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes cursorParticleFade {
    0% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--particle-drift-x, 0px)), calc(-50% + var(--particle-drift-y, 0px))) scale(0.15);
    }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .cursor-particle {
        display: none;
    }
}
