@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Press+Start+2P&display=swap");

@font-face {
    font-family: "Vichy Minecraft";
    src: url("fonts/minecraft-font-1-13.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #070a0e;
    --bg-soft: #0c1118;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.13);
    --text: #f7fbff;
    --muted: #9da9b7;
    --blue: #3ba9ff;
    --cyan: #44dcff;
    --green: #66e579;
    --purple: #7c68ff;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Vichy Minecraft", Arial, sans-serif;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}


.section {
    padding-block: 110px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    width: 100%;
    min-height: 82px;
    padding-inline: max(20px, calc((100vw - var(--max)) / 2));

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

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 14, 0.75);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Press Start 2P", monospace;
    font-size: 15px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 30px rgba(49, 179, 255, 0.16);
}

.logo-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    image-rendering: pixelated;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: #bac4cf;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.nav a:hover {
    color: white;
}

.nav-cta {
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.menu-button {
    display: none;
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.menu-button span {
    display: block;
    height: 2px;
    margin-block: 5px;
    border-radius: 999px;
    background: white;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: url("images/dvorac.png") center / cover no-repeat;
    filter: brightness(0.72) saturate(0.9);
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 8, 12, 0.98) 0%, rgba(4, 9, 13, 0.89) 42%, rgba(4, 9, 13, 0.48) 72%, rgba(4, 9, 13, 0.58) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(5, 9, 13, 0.08) 65%, #070a0e 100%);
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: min(var(--max), calc(100% - 40px));
    margin: 110px auto 50px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 65px;
}

.availability {
    width: fit-content;
    margin-bottom: 27px;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d8ffe1;
    border: 1px solid rgba(102, 229, 121, 0.25);
    border-radius: 999px;
    background: rgba(102, 229, 121, 0.075);
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.availability span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
}

.eyebrow {
    color: #76c7ff;
    font-family: "Vichy Minecraft", monospace;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero h1,
.section-header h2,
.contact-copy h2,
.project-content h3,
.about-small h3,
.platform-card h3 {
    font-family: "Press Start 2P", monospace;
}

.hero h1 {
    max-width: 760px;
    margin-top: 16px;
    font-size: clamp(20px, 4.6vw, 62px);
    line-height: 1.25;
}

.hero h1 span {
    display: block;
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(68,220,255,0.24);
}

.hero-description {
    max-width: 700px;
    margin-top: 30px;
    color: #bdc7d1;
    font-size: clamp(15px, 1.35vw, 17px);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    min-height: 56px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-3px); }

.button img {
    width: 39px;
    height: 39px;
    object-fit: contain;
    image-rendering: pixelated;
}

.button-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #198edf, #4e61ff);
    box-shadow: 0 18px 42px rgba(48, 152, 255, 0.23);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(13px);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
}

.social-row {
    margin-top: 33px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.social-row a {
    color: #acb8c3;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.social-row a:hover {
    color: white;
}

.creator-showcase {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.creator-glow {
    position: absolute;
    inset: 70px 20px 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 220, 255, 0.28), transparent 62%);
    filter: blur(18px);
}

.creator-photo {
    position: relative;
    z-index: 3;
    border-radius: 40px;
    width: min(570px, 100%);
    max-height: 650px;
    object-fit: cover;
    object-position: center bottom;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55));
    clip-path: polygon(
    24px 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    24px 100%,
    0 calc(100% - 24px),
    0 24px
    
);
}

.creator-nameplate {
    position: absolute;
    right: 10%;
    bottom: 40px;
    z-index: 6;
    min-width: 245px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 17px;
    background: rgba(9, 14, 20, 0.7);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.creator-nameplate small,
.creator-nameplate strong {
    display: block;
}

.creator-nameplate small {
    color: #8fd4ff;
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
}

.creator-nameplate strong {
    margin-top: 2px;
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
}

.verified {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 10px 25px rgba(59, 169, 255, 0.32);
    font-weight: 900;
}

.floating-stat {
    position: absolute;
    z-index: 7;
    min-width: 205px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(8, 13, 19, 0.68);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
}

.floating-stat strong,
.floating-stat span {
    display: block;
}

.floating-stat strong {
    font-family: "Press Start 2P", monospace;
    font-size: 12px;
}

.floating-stat span {
    color: var(--muted);
    font-size: 11px;
}

.mc-item-box {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(10, 23, 28, 0.86);
    box-shadow: inset -4px -4px 0 rgba(0,0,0,0.22), inset 4px 4px 0 rgba(255,255,255,0.04);
}

.mc-item-box img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: pixelated;
}

.animated-float {
    animation: floatCard 4.2s ease-in-out infinite;
}

.delayed-float {
    animation-delay: -1.8s;
}

.redstone-pulse {
    animation: pulseGlowRed 1.6s ease-in-out infinite;
}

.cyan-pulse {
    animation: pulseGlowBlue 1.9s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulseGlowRed {
    0%, 100% { box-shadow: inset -4px -4px 0 rgba(0,0,0,0.22), inset 4px 4px 0 rgba(255,255,255,0.04), 0 0 0 rgba(255,85,85,0); }
    50% { box-shadow: inset -4px -4px 0 rgba(0,0,0,0.22), inset 4px 4px 0 rgba(255,255,255,0.04), 0 0 18px rgba(255,85,85,0.42); }
}

@keyframes pulseGlowBlue {
    0%, 100% { box-shadow: inset -4px -4px 0 rgba(0,0,0,0.22), inset 4px 4px 0 rgba(255,255,255,0.04), 0 0 0 rgba(68,220,255,0); }
    50% { box-shadow: inset -4px -4px 0 rgba(0,0,0,0.22), inset 4px 4px 0 rgba(255,255,255,0.04), 0 0 18px rgba(68,220,255,0.42); }
}

.stat-youtube {
    top: 130px;
    right: -15px;
}

.stat-projects {
    left: -10px;
    bottom: 125px;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    z-index: 5;
    color: rgba(255, 255, 255, 0.48);
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
    transform: translateX(-50%);
}

.stats {
    position: relative;
    z-index: 5;
    margin-top: -22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 23px;
    background: rgba(14, 20, 27, 0.92);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.stats article {
    min-height: 145px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats article + article {
    border-left: 1px solid var(--border);
}

.stats strong {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.4;
}

.stats span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.section-header {
    max-width: 820px;
    margin-bottom: 52px;
}

.section-header-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
}

.section-header h2,
.contact-copy h2 {
    margin-top: 13px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.4;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.825fr 0.825fr;
    gap: 18px;
}

.about-main,
.about-small {
    min-height: 350px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--surface);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-main {
    background:
        radial-gradient(circle at top right, rgba(68, 220, 255, 0.13), transparent 42%),
        var(--surface);
}

.about-hover:hover {
    transform: translateY(-7px) scale(1.03);
    border-color: rgba(68, 220, 255, 0.33);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.about-icon,
.project-icon {
    width: 73px;
    height: 73px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.about-icon img,
.project-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    image-rendering: pixelated;
}

.about-main p {
    margin-top: 28px;
    color: #ccd4dc;
    font-size: clamp(17px, 2vw, 21px);
}

.about-main p + p { margin-top: 20px; }

.about-small {
    display: flex;
    flex-direction: column;
}

.about-small img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    image-rendering: pixelated;
}

.about-small > span {
    margin-top: auto;
    margin-bottom: 16px;
    color: #76c7ff;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.about-small h3 {
    margin-bottom: 11px;
    font-size: 16px;
    line-height: 1.5;
}

.about-small p {
    color: var(--muted);
    font-size: 14px;
}

.content-section {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 169, 255, 0.09), transparent 33%),
        var(--bg-soft);
}

.small-link {
    flex-shrink: 0;
    color: #83ceff;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.platform-card {
    min-height: 325px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--surface);
    transition: transform 210ms ease, border-color 210ms ease, background 210ms ease;
}

.platform-card:hover {
    transform: translateY(-7px);
    border-color: rgba(68, 220, 255, 0.36);
    background: var(--surface-strong);
}

.card-featured {
    background:
        linear-gradient(145deg, rgba(59, 169, 255, 0.18), rgba(124, 104, 255, 0.08)),
        var(--surface);
}

.platform-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.platform-top > span {
    color: var(--muted);
    font-size: 27px;
}

.brand-icon {
    width: 67px;
    height: 67px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.brand-icon svg {
    width: 40px;
    height: 40px;
}

.youtube-brand { color: #ff3d3d; }
.tiktok-brand { color: #ffffff; }
.instagram-brand { color: #ff73b3; }
.discord-brand { color: #6f86ff; }

.platform-card small,
.project-content > span {
    color: #78c9ff;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.platform-card h3 {
    margin: 12px 0 12px;
    font-size: 22px;
    line-height: 1.5;
}

.platform-card p { color: var(--muted); }

.projects-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.project-card {
    min-height: 310px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--surface);
}

.project-large {
    grid-row: span 2;
    min-height: 638px;
    background:
        linear-gradient(180deg, rgba(7, 10, 14, 0.17), rgba(7, 10, 14, 0.94)),
        url("images/baza.png") center / cover no-repeat;
}

.project-content h3 {
    margin: 12px 0 16px;
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.6;
}

.project-content p { color: #bac4ce; }

.contact-box {
    min-height: 520px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 5%, rgba(68, 220, 255, 0.17), transparent 35%),
        radial-gradient(circle at 5% 95%, rgba(124, 104, 255, 0.19), transparent 42%),
        #101720;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 660px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 17px;
}

.contact-tags {
    margin-top: 29px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #d7dfe7;
    font-size: 12px;
    font-weight: 750;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    animation: chipFloat 4s ease-in-out infinite;
}

.tag-chip:nth-child(2) { animation-delay: -0.7s; }
.tag-chip:nth-child(3) { animation-delay: -1.1s; }
.tag-chip:nth-child(4) { animation-delay: -1.6s; }
.tag-chip:nth-child(5) { animation-delay: -2.1s; }

.tag-chip:hover {
    transform: translateY(-5px) scale(1.04);
    border-color: rgba(68,220,255,0.42);
    background: rgba(255,255,255,0.09);
}

@keyframes chipFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.email-card {
    padding: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 25px;
    background: rgba(6, 10, 15, 0.58);
    backdrop-filter: blur(15px);
    text-align: center;
}

.email-card > img {
    width: 140px;
    max-height: 160px;
    object-fit: contain;
    image-rendering: pixelated;
}

.email-card small {
    margin-top: 16px;
    color: #80cdff;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
}

.email-card strong {
    margin-top: 11px;
    overflow-wrap: anywhere;
    font-size: clamp(20px, 2.6vw, 29px);
}

.email-card button {
    width: 100%;
    min-height: 51px;
    margin-top: 23px;
    color: white;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    cursor: pointer;
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    transition: transform 180ms ease;
}

.email-card button:hover { transform: translateY(-2px); }

#copyMessage {
    min-height: 23px;
    margin-top: 10px;
    color: #94f5ab;
    font-size: 12px;
}

.footer {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

.footer > p, .footer > a:last-child {
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-title {
    margin-top: 18px;
    font-size: clamp(32px, 2.8vw, 42px);
    line-height: 1.3;
}

.hero .hero-title span {
    color: #76c7ff;
}

section[id] {
    scroll-margin-top: 95px;
}

.hero-copy,
.creator-showcase,
.about-main,
.about-small,
.platform-card,
.project-card,
.contact-copy,
.email-card {
    min-width: 0;
}

.email-card strong,
.hero-description,
.platform-card p,
.project-content p {
    overflow-wrap: anywhere;
}

/* =====================================
   TABLETI I MANJI LAPTOPI
===================================== */

@media (max-width: 1000px) {

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;

        padding-top: 50px;
    }

    .hero-copy {
        max-width: 750px;
    }

    .creator-showcase {
        min-height: 600px;
    }

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

    .about-main {
        grid-column: 1 / -1;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}


/* =====================================
   MOBITELI
===================================== */

@media (max-width: 760px) {

    /* Opći sadržaj */

    .container,
    .hero-inner {
        width: calc(100% - 28px);
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    /* Header */

    .header {
        left: 0;
        right: 0;

        width: 100%;
        min-height: 72px;
        padding: 0 14px;

        transform: none;
    }

    .header-inner {
        min-height: 72px;
    }

    .logo {
        gap: 8px;
        font-size: 11px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon img {
        width: 34px;
        height: 34px;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 14px;
        right: 14px;

        padding: 14px;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 16px;

        background: rgba(8, 12, 17, 0.98);
        backdrop-filter: blur(18px);

        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 13px;

        text-align: center;
    }


    /* Hero sekcija */

    .hero {
        min-height: auto;
        padding-top: 90px;
    }

    .hero-background {
        background-position: 62% center;
        transform: scale(1.05);
    }

    .hero-shade {
        background:
            linear-gradient(
                180deg,
                rgba(4, 8, 12, 0.86) 0%,
                rgba(4, 9, 13, 0.68) 45%,
                rgba(4, 9, 13, 0.82) 100%
            );
    }

    .hero-inner {
        margin-top: 0;

        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy {
        padding-top: 35px;
        text-align: left;
    }

    .availability {
        font-size: 7px;
        line-height: 1.6;
    }

    .eyebrow {
        font-size: 8px;
        line-height: 1.7;
    }

    .hero .hero-title,
    .hero h1,
    .hero h2 {
        font-size: clamp(27px, 8.5vw, 42px);
        line-height: 1.35;
    }

    .hero-description {
        margin-top: 20px;

        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 55px;

        text-align: center;
    }

    .social-row {
        justify-content: center;
        gap: 15px;
    }


    /* Profilna slika */

    .creator-showcase {
        min-height: 520px;
    }

    .creator-photo {
        width: 100%;
        max-width: 430px;
        max-height: 520px;

        object-fit: contain;
    }

    .creator-nameplate {
        right: 0;
        bottom: 15px;

        min-width: 205px;
        padding: 13px;
    }

    .creator-nameplate strong {
        font-size: 11px;
    }


    /* Lebdeće kartice */

    .floating-stat {
        min-width: 165px;
        padding: 10px;
    }

    .floating-stat strong {
        font-size: 9px;
    }

    .floating-stat span {
        font-size: 10px;
    }

    .stat-youtube {
        top: 45px;
        right: 0;
    }

    .stat-projects {
        left: 0;
        bottom: 85px;
    }

    .mc-item-box {
        width: 48px;
        height: 48px;
    }

    .mc-item-box img {
        width: 35px;
        height: 35px;
    }


    /* Statistika */

    .stats {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 0;
    }

    .stats article {
        min-height: 125px;
        padding: 20px;
    }

    .stats article:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .stats article:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
    }

    .stats strong {
        font-size: 20px;
    }


    /* Naslovi sekcija */

    .section-header {
        margin-bottom: 35px;
    }

    .section-header-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-header h2,
    .contact-copy h2 {
        font-size: clamp(23px, 7vw, 35px);
        line-height: 1.45;
    }


    /* Tko je Vichy */

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

    .about-main {
        grid-column: auto;
    }

    .about-main,
    .about-small {
        min-height: auto;
        padding: 24px;
    }

    .about-hover:hover {
        transform: translateY(-5px) scale(1.01);
    }


    /* Platforme */

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

    .platform-card {
        min-height: 270px;
        padding: 24px;
    }

    .platform-card h3 {
        font-size: 18px;
    }


    /* Projekti */

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

    .project-large {
        grid-row: auto;
        min-height: 480px;
    }

    .project-card {
        padding: 24px;
    }

    .project-content h3 {
        font-size: 18px;
    }


    /* Suradnje */

    .contact-box {
        padding: 25px;

        grid-template-columns: 1fr;
        gap: 35px;

        border-radius: 24px;
    }

    .contact-tags {
        gap: 8px;
    }

    .tag-chip {
        font-size: 11px;
    }

    .email-card {
        padding: 24px;
    }

    .email-card > img {
        width: 120px;
        max-height: 145px;
    }

    .email-card strong {
        font-size: 18px;
    }


    /* Footer */

    .footer {
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 30px;

        flex-direction: column;
        text-align: center;
    }
}


/* =====================================
   VRLO MALI MOBITELI
===================================== */

@media (max-width: 470px) {
    .creator-photo {
        max-width: 360px;
    }

    .creator-nameplate {
        right: 4px;
        max-width: calc(100% - 8px);
    }

    .social-row {
        row-gap: 12px;
    }


    .hero .hero-title,
    .hero h1,
    .hero h2 {
        font-size: clamp(24px, 8vw, 33px);
    }

    .creator-showcase {
        min-height: 460px;
    }

    .floating-stat {
        min-width: 145px;
        padding: 8px;
    }

    .floating-stat strong {
        font-size: 8px;
    }

    .floating-stat span {
        max-width: 80px;
    }

    .stat-youtube {
        top: 20px;
    }

    .stat-projects {
        bottom: 55px;
    }

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

    .stats article + article {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .about-main,
    .about-small,
    .platform-card,
    .project-card {
        padding: 20px;
    }

    .contact-box {
        padding: 19px;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   FINALNA KOMPAKTNA MOBILNA VERZIJA
   Ovaj blok je namjerno na kraju datoteke kako bi imao prednost.
========================================================= */

.about-small h4,
.contact-copy h3,
.email-card h3 {
    font-family: "Press Start 2P", monospace;
}

.about-small h4 {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-copy h3 {
    margin-top: 13px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.4;
}

.email-card h3 {
    margin-top: 11px;
    overflow-wrap: anywhere;
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.5;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity 180ms ease, visibility 180ms ease;
}

.nav-overlay.open {
    visibility: visible;
    opacity: 1;
}

.menu-button {
    cursor: pointer;
    flex-shrink: 0;
}

.menu-button span {
    width: 100%;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1000px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 96px;
        padding-top: 24px;
    }

    .creator-showcase {
        min-height: 520px;
    }

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

    .about-main {
        grid-column: 1 / -1;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body {
        font-family: Inter, Arial, sans-serif;
    }

    body.menu-open {
        overflow: hidden;
    }

    .container,
    .hero-inner {
        width: calc(100% - 28px);
        max-width: 520px;
        margin-inline: auto;
    }

    .section {
        padding-block: 50px;
    }

    section[id] {
        scroll-margin-top: 74px;
    }

    /* Header */

    .header {
        min-height: 64px;
        padding-inline: 14px;
        background: rgba(7, 10, 14, 0.94);
    }

    .header-inner {
        width: 100%;
        max-width: 520px;
        min-height: 64px;
        margin-inline: auto;
    }

    .logo {
        gap: 8px;
        font-size: 10px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        border-radius: 9px;
    }

    .logo-icon img {
        width: 30px;
        height: 30px;
    }

    .menu-button {
        position: relative;
        z-index: 1100;
        display: block;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .nav {
        position: fixed;
        top: 74px;
        left: 14px;
        right: 14px;
        z-index: 1050;

        max-width: 492px;
        max-height: calc(100dvh - 88px);
        margin-inline: auto;
        padding: 10px;
        overflow-y: auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;

        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        background: rgba(8, 12, 17, 0.985);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);

        transition:
            opacity 180ms ease,
            transform 180ms ease,
            visibility 180ms ease;
    }

    .nav.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav a {
        width: 100%;
        min-height: 48px;
        padding: 13px;

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

        border: 1px solid transparent;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.045);

        font-size: 8px;
        text-align: center;
        white-space: normal;
    }

    .nav .nav-cta {
        border-color: rgba(68, 220, 255, 0.28);
        background:
            linear-gradient(
                135deg,
                rgba(25, 142, 223, 0.34),
                rgba(78, 97, 255, 0.25)
            );
    }

    /* Hero */

    .hero {
        min-height: auto;
        padding-top: 64px;
        align-items: flex-start;
    }

    .hero-background {
        background-position: 58% center;
        transform: scale(1.03);
    }

    .hero-shade {
        background:
            linear-gradient(
                180deg,
                rgba(4, 8, 12, 0.91) 0%,
                rgba(4, 9, 13, 0.81) 50%,
                rgba(4, 9, 13, 0.96) 100%
            );
    }

    .hero-inner {
        margin-top: 0;
        padding-top: 24px;
        padding-bottom: 24px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .availability {
        max-width: 100%;
        margin-bottom: 18px;
        padding: 8px 10px;
        font-size: 6px;
        line-height: 1.5;
    }

    .availability span {
        width: 7px;
        height: 7px;
        flex-shrink: 0;
    }

    .eyebrow {
        font-family: "Vichy Minecraft", monospace;
        font-size: 9px;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }

    .hero .hero-title,
    .hero h1,
    .hero h2 {
        margin-top: 12px;
        font-size: clamp(23px, 6.7vw, 29px);
        line-height: 1.32;
        letter-spacing: -0.02em;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 17px;
        font-family: Inter, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-actions {
        width: 100%;
        margin-top: 22px;
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 49px;
        padding: 8px 14px;
        font-size: 8px;
        line-height: 1.35;
        text-align: center;
    }

    .button img {
        width: 32px;
        height: 32px;
    }

    .social-row {
        margin-top: 22px;
        justify-content: center;
        gap: 13px;
        row-gap: 10px;
    }

    .social-row a {
        font-size: 7px;
    }

    .scroll-hint {
        display: none;
    }

    /* Profilna */

    .creator-showcase {
        min-height: 390px;
        padding: 0;
        display: block;
    }

    .creator-glow {
        inset: 35px 10px 30px;
    }

    .creator-photo {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: min(290px, 82vw);
        height: 350px;
        max-height: none;
        object-fit: cover;
        object-position: center;
        transform: translateX(-50%);
    }

    .creator-nameplate {
        right: 4px;
        bottom: 14px;
        min-width: 166px;
        padding: 10px 11px;
        animation: none;
    }

    .creator-nameplate small {
        font-size: 6px;
    }

    .creator-nameplate strong {
        font-size: 9px;
    }

    .verified {
        width: 27px;
        height: 27px;
        font-size: 13px;
    }

    .floating-stat {
        min-width: 0;
        padding: 8px 9px;
        gap: 8px;
        animation: none;
    }

    .floating-stat strong {
        font-size: 7px;
        line-height: 1.4;
    }

    .floating-stat span {
        font-family: Inter, Arial, sans-serif;
        font-size: 9px;
        line-height: 1.3;
    }

    .mc-item-box {
        width: 41px;
        height: 41px;
        flex-shrink: 0;
    }

    .mc-item-box img {
        width: 29px;
        height: 29px;
    }

    .stat-youtube {
        top: 28px;
        right: 0;
    }

    .stat-projects {
        left: 0;
        bottom: 72px;
    }

    /* Statistika */

    .stats {
        margin-top: 0;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 17px;
    }

    .stats article {
        min-height: 88px;
        padding: 14px;
    }

    .stats article:nth-child(3) {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .stats article:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .stats strong {
        font-size: 15px;
        line-height: 1.35;
    }

    .stats span {
        margin-top: 6px;
        font-family: Inter, Arial, sans-serif;
        font-size: 10px;
        line-height: 1.35;
    }

    /* Naslovi sekcija */

    .section-header {
        margin-bottom: 26px;
    }

    .section-header-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .section-header h2,
    .contact-copy h2,
    .contact-copy h3 {
        margin-top: 10px;
        font-size: clamp(19px, 5.5vw, 24px);
        line-height: 1.48;
    }

    .small-link {
        font-size: 7px;
    }

    /* O meni */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-main {
        grid-column: auto;
    }

    .about-main,
    .about-small {
        min-height: auto;
        padding: 18px;
        border-radius: 18px;
    }

    .about-icon,
    .project-icon {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .about-icon img,
    .project-icon img,
    .about-small img {
        width: 43px;
        height: 43px;
    }

    .about-main p {
        margin-top: 17px;
        font-family: Inter, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
    }

    .about-main p + p {
        margin-top: 13px;
    }

    .about-small > span {
        margin-top: 18px;
        margin-bottom: 9px;
        font-size: 7px;
    }

    .about-small h4 {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .about-small p {
        font-family: Inter, Arial, sans-serif;
        font-size: 13px;
        line-height: 1.55;
    }

    .about-hover:hover {
        transform: none;
    }

    /* Platforme kao kompaktna lista */

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .platform-card {
        min-height: 0;
        padding: 14px;
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: center;
        gap: 13px;
        border-radius: 15px;
    }

    .platform-top {
        grid-column: 1;
        grid-row: 1;
        display: block;
    }

    .platform-top > span {
        display: none;
    }

    .brand-icon {
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }

    .brand-icon svg {
        width: 31px;
        height: 31px;
    }

    .platform-card > div:last-child {
        grid-column: 2;
        grid-row: 1;
    }

    .platform-card small {
        font-size: 6px;
    }

    .platform-card h3 {
        margin: 5px 0 3px;
        font-size: 13px;
        line-height: 1.4;
    }

    .platform-card p {
        font-family: Inter, Arial, sans-serif;
        font-size: 12px;
        line-height: 1.45;
    }

    /* Projekti */

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-card {
        min-height: 175px;
        padding: 18px;
        border-radius: 18px;
    }

    .project-large {
        grid-row: auto;
        min-height: 320px;
    }

    .project-content > span {
        font-size: 6px;
    }

    .project-content h3 {
        margin: 8px 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .project-content p {
        font-family: Inter, Arial, sans-serif;
        font-size: 12px;
        line-height: 1.5;
    }

    /* Suradnje */

    .contact-box {
        min-height: 0;
        padding: 19px;
        grid-template-columns: 1fr;
        gap: 24px;
        border-radius: 20px;
    }

    .contact-copy > p:not(.eyebrow) {
        margin-top: 15px;
        font-family: Inter, Arial, sans-serif;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-tags {
        margin-top: 18px;
        gap: 7px;
    }

    .tag-chip {
        padding: 7px 9px;
        font-family: Inter, Arial, sans-serif;
        font-size: 10px;
        animation: none;
    }

    .email-card {
        padding: 18px;
        border-radius: 18px;
    }

    .email-card > img {
        width: 95px;
        max-height: 110px;
    }

    .email-card small {
        margin-top: 11px;
        font-size: 7px;
    }

    .email-card h3 {
        margin-top: 8px;
        font-family: Inter, Arial, sans-serif;
        font-size: 15px;
        line-height: 1.4;
    }

    .email-card button {
        min-height: 46px;
        margin-top: 16px;
        font-size: 8px;
    }

    /* Footer */

    .footer {
        min-height: auto;
        padding-block: 25px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer > p,
    .footer > a:last-child {
        font-size: 7px;
        line-height: 1.55;
    }
}

@media (max-width: 390px) {
    .container,
    .hero-inner {
        width: calc(100% - 22px);
    }

    .hero .hero-title {
        font-size: clamp(21px, 6.5vw, 25px);
    }

    .availability {
        font-size: 5.5px;
    }

    .creator-showcase {
        min-height: 355px;
    }

    .creator-photo {
        width: min(260px, 82vw);
        height: 320px;
    }

    .creator-nameplate {
        min-width: 150px;
    }

    .stats strong {
        font-size: 13px;
    }
}

@media (hover: none) {
    .about-hover:hover,
    .platform-card:hover,
    .button:hover,
    .tag-chip:hover {
        transform: none;
    }
}
/* FIX: mobilni meni mora biti iznad mutne pozadine */

.header {
    z-index: 1000;
}

.nav-overlay {
    z-index: 900;
}

@media (max-width: 760px) {
    .nav {
        z-index: 1050;
    }

    .menu-button {
        z-index: 1100;
    }
}