/* =========================================
   ROOT COLORS
========================================= */

:root {
    --orange: #ff7a00;
    --orange-light: #ff9d2e;
    --orange-dark: #d95000;

    --red: #d93232;
    --red-dark: #a51f1f;

    --blue: #176b87;
    --blue-light: #38a5c8;

    --cream: #f6e8c8;
    --paper: #ead2a5;

    --black: #11100e;
    --dark: #191714;
    --dark-2: #24201c;

    --gray: #a99f92;
    --white: #fffaf0;

    --border: #211c17;

    --shadow: 7px 7px 0 rgba(0, 0, 0, 0.45);
}


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(255, 122, 0, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(217, 50, 50, 0.08),
            transparent 30%
        ),
        #141311;

    color: var(--white);

    overflow-x: hidden;
}


/* subtle background pattern */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.08;

    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 20px,
            #fff 21px,
            transparent 22px
        );

    z-index: -1;
}


a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}


.section {
    width: min(1180px, calc(100% - 40px));

    margin: auto;

    padding: 110px 0;
}


/* =========================================
   LOADING SCREEN
========================================= */

.loader {
    position: fixed;

    inset: 0;

    z-index: 9999;

    background: #10100f;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 25px;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}


.loader.hide {
    opacity: 0;
    visibility: hidden;
}


.loader-symbol {
    width: 110px;
    height: 110px;

    border-radius: 50%;

    border: 5px solid var(--orange);

    display: grid;

    place-items: center;

    animation: loaderPulse 1s infinite alternate;
}


@keyframes loaderPulse {
    from {
        transform: scale(0.9);

        box-shadow:
            0 0 10px var(--orange);
    }

    to {
        transform: scale(1.05);

        box-shadow:
            0 0 40px var(--orange);
    }
}


.spiral {
    width: 55px;
    height: 55px;

    border: 7px solid var(--orange);

    border-left-color: transparent;

    border-radius: 50%;

    position: relative;
}


.spiral::after {
    content: "";

    position: absolute;

    width: 23px;
    height: 23px;

    border: 5px solid var(--orange);

    border-right-color: transparent;

    border-radius: 50%;

    left: 9px;
    top: 9px;
}


.loader h2 {
    font-family: "Bebas Neue", sans-serif;

    letter-spacing: 0.18em;

    font-size: 1.4rem;

    color: var(--orange);

    text-align: center;
}


.loader-bar {
    width: min(350px, 70vw);

    height: 12px;

    border: 2px solid var(--orange);

    overflow: hidden;
}


.loader-progress {
    width: 0;

    height: 100%;

    background: var(--orange);

    animation: loading 1.5s forwards;
}


@keyframes loading {
    to {
        width: 100%;
    }
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 74px;

    z-index: 1000;

    padding:
        0 max(
            20px,
            calc((100vw - 1180px) / 2)
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(17, 16, 14, 0.93);

    backdrop-filter: blur(14px);

    border-bottom: 3px solid var(--orange);
}


.logo {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.55rem;

    letter-spacing: 0.08em;
}


.logo span {
    color: var(--orange);
}


.desktop-nav {
    display: flex;

    gap: 27px;
}


.desktop-nav a {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.05rem;

    letter-spacing: 0.08em;

    color: #e8ddca;

    position: relative;
}


.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    height: 3px;

    width: 0;

    background: var(--orange);

    transition: width 0.25s ease;
}


.desktop-nav a:hover {
    color: var(--orange);
}


.desktop-nav a:hover::after {
    width: 100%;
}


.menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    border: 2px solid var(--orange);

    background: var(--orange);

    color: #111;

    font-size: 1.1rem;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: min(340px, 88vw);

    height: 100vh;

    z-index: 2000;

    padding: 90px 35px;

    background:
        linear-gradient(
            145deg,
            #1b1916,
            #302219
        );

    border-left: 4px solid var(--orange);

    display: flex;

    flex-direction: column;

    gap: 30px;

    transition: right 0.35s ease;

    box-shadow:
        -20px 0 50px rgba(0, 0, 0, 0.45);
}


.mobile-menu.open {
    right: 0;
}


.mobile-menu a {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.5rem;

    letter-spacing: 0.1em;
}


.mobile-menu a:hover {
    color: var(--orange);
}


.mobile-title {
    color: var(--orange);

    font-family: "Permanent Marker", cursive;
}


#close-menu {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 44px;
    height: 44px;

    background: var(--orange);

    border: none;

    color: var(--black);

    font-size: 1.2rem;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    padding-top: 130px;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}


.eyebrow {
    font-family: "Permanent Marker", cursive;

    color: var(--orange);

    letter-spacing: 0.08em;

    margin-bottom: 14px;
}


.hero h1 {
    font-family: "Bebas Neue", sans-serif;

    font-size:
        clamp(
            4rem,
            9vw,
            7rem
        );

    line-height: 0.85;

    letter-spacing: 0.03em;
}


.hero h1 span {
    color: var(--orange);

    display: block;
}


.hero h2 {
    font-family: "Bebas Neue", sans-serif;

    margin-top: 25px;

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.5rem
        );

    letter-spacing: 0.08em;

    color: #d9ccba;
}


.hero-description {
    color: #afa394;

    line-height: 1.8;

    max-width: 650px;

    margin-top: 20px;

    font-size: 1rem;
}


/* =========================================
   HERO STATS
========================================= */

.ninja-info {
    margin-top: 30px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}


.ninja-info div {
    padding: 15px;

    border: 1px solid #5c4937;

    background: #211d18;

    transition: 0.25s ease;
}


.ninja-info div:hover {
    border-color: var(--orange);

    transform: translateY(-3px);
}


.ninja-info span {
    display: block;

    color: var(--gray);

    font-size: 0.65rem;

    margin-bottom: 7px;
}


.ninja-info strong {
    font-family: "Bebas Neue", sans-serif;

    letter-spacing: 0.05em;
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;
}


.btn {
    min-height: 52px;

    padding: 0 25px;

    border: 3px solid var(--black);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-family: "Bebas Neue", sans-serif;

    font-size: 1.15rem;

    letter-spacing: 0.09em;

    box-shadow:
        5px 5px 0 #000;

    transition: 0.15s ease;
}


.btn:hover {
    transform: translate(3px, 3px);

    box-shadow:
        2px 2px 0 #000;
}


.primary-btn {
    background: var(--orange);

    color: var(--black);
}


.secondary-btn {
    background: var(--paper);

    color: var(--black);
}


/* =========================================
   HERO SHINOBI CARD
========================================= */

.hero-card {
    display: flex;

    justify-content: center;
}


.wanted-paper {
    width: min(450px, 100%);

    position: relative;

    padding: 35px 30px;

    background:
        linear-gradient(
            rgba(89, 56, 23, 0.06),
            rgba(89, 56, 23, 0.06)
        ),
        var(--paper);

    color: #24170e;

    box-shadow:
        12px 14px 0
        rgba(0, 0, 0, 0.4);

    transform: rotate(2deg);

    transition: 0.3s ease;
}


.wanted-paper:hover {
    transform:
        rotate(0deg)
        translateY(-5px);
}


.wanted-paper::before,
.wanted-paper::after {
    content: "";

    position: absolute;

    left: 0;

    width: 100%;

    height: 14px;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 8px,
            rgba(0, 0, 0, 0.15) 8px 10px
        );
}


.wanted-paper::before {
    top: 0;
}


.wanted-paper::after {
    bottom: 0;
}


.paper-pin {
    position: absolute;

    top: 13px;
    left: 50%;

    transform: translateX(-50%);

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: var(--red);

    border: 4px solid #5f1c15;
}


.paper-small {
    font-family: "Permanent Marker", cursive;

    text-align: center;

    margin: 18px 0;

    color: var(--red-dark);
}


/* =========================================
   PROFILE IMAGE
========================================= */

.profile-frame {
    width: 210px;
    height: 210px;

    margin: auto;

    border: 5px solid #2a1e15;

    background: #483527;

    overflow: hidden;
}


.profile-placeholder {
    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    font-family: "Bebas Neue", sans-serif;

    font-size: 5rem;

    color: var(--orange);

    background:
        radial-gradient(
            circle,
            #473426,
            #1b1713
        );
}


.profile-img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.4s ease;
}


.profile-frame:hover .profile-img {
    transform: scale(1.06);
}


.wanted-paper h3 {
    font-family: "Bebas Neue", sans-serif;

    text-align: center;

    font-size: 2.4rem;

    margin-top: 22px;

    letter-spacing: 0.05em;
}


.rank {
    text-align: center;

    font-weight: 800;

    font-size: 0.8rem;

    color: var(--red-dark);
}


.paper-stats {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 20px;
}


.paper-stats div {
    padding: 12px;

    border: 2px solid #3a2a1c;

    text-align: center;
}


.paper-stats span {
    display: block;

    font-size: 0.6rem;
}


.paper-stats strong {
    display: block;

    margin-top: 4px;
}


/* =========================================
   CHAKRA BAR
========================================= */

.chakra-wrap {
    margin-top: 18px;
}


.chakra-title {
    display: flex;

    justify-content: space-between;

    font-size: 0.75rem;

    font-weight: 800;
}


.chakra-bar {
    height: 14px;

    border: 3px solid var(--black);

    margin-top: 6px;
}


.chakra-fill {
    height: 100%;

    width: 78%;

    background:
        linear-gradient(
            90deg,
            #176b87,
            #38a5c8
        );
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    margin-bottom: 45px;
}


.section-heading h2 {
    font-family: "Bebas Neue", sans-serif;

    font-size:
        clamp(
            3rem,
            7vw,
            5rem
        );

    line-height: 0.95;

    letter-spacing: 0.04em;
}


.section-heading h2 span {
    color: var(--orange);
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 28px;
}


.scroll-card {
    position: relative;

    background: var(--paper);

    color: #2b2117;

    padding: 40px 25px;

    box-shadow: var(--shadow);
}


.scroll-top,
.scroll-bottom {
    height: 24px;

    background:
        linear-gradient(
            90deg,
            #7a4d25,
            #bd8750,
            #7a4d25
        );

    border: 3px solid #382519;

    position: absolute;

    left: -12px;
    right: -12px;
}


.scroll-top {
    top: -12px;
}


.scroll-bottom {
    bottom: -12px;
}


.scroll-content {
    padding: 12px 20px;
}


.scroll-label {
    color: var(--red-dark);

    font-family: "Permanent Marker", cursive;
}


.scroll-content h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 2.6rem;

    margin: 12px 0;
}


.scroll-content p {
    margin-top: 14px;

    line-height: 1.8;

    font-weight: 600;
}


.scroll-content blockquote {
    margin-top: 22px;

    border-left: 5px solid var(--red);

    padding-left: 15px;

    font-family: "Permanent Marker", cursive;

    color: var(--red-dark);
}


/* =========================================
   ABOUT STATS
========================================= */

.about-stats {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}


.stat-box {
    background: #211e1a;

    border: 2px solid #514332;

    padding: 24px;

    min-height: 170px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    transition: 0.2s;
}


.stat-box:hover {
    border-color: var(--orange);

    transform: translateY(-5px);
}


.stat-box i {
    font-size: 2rem;

    color: var(--orange);

    margin-bottom: auto;
}


.stat-box span {
    color: var(--gray);

    font-size: 0.7rem;

    margin-bottom: 5px;
}


.stat-box strong {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.7rem;
}


/* =========================================
   PROJECT FILTER
========================================= */

.mission-filter {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 30px;
}


.mission-filter-btn {
    border: 2px solid #63513e;

    background: #211d19;

    color: #ddd0c0;

    padding: 12px 18px;

    font-family: "Bebas Neue", sans-serif;

    font-size: 1rem;

    letter-spacing: 0.08em;

    transition: 0.2s ease;
}


.mission-filter-btn.active,
.mission-filter-btn:hover {
    background: var(--orange);

    color: var(--black);

    border-color: var(--orange);
}


/* =========================================
   PROJECT / MISSION CARDS
========================================= */

.missions-grid {
    display: grid;

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

    gap: 28px;
}


.mission-card {
    background: var(--paper);

    color: var(--black);

    border: 4px solid #2b2118;

    box-shadow: var(--shadow);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


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

    box-shadow:
        10px 12px 0
        rgba(0, 0, 0, 0.5);
}


.mission-card.hidden {
    display: none;
}


.mission-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px;

    background: #2a231d;

    color: white;

    font-family: "Bebas Neue", sans-serif;

    letter-spacing: 0.08em;
}


.mission-rank {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--black);

    font-weight: 900;

    font-size: 1.2rem;
}


.s-rank {
    background: #ffca28;
}


.a-rank {
    background: #f27777;
}


.b-rank {
    background: #74b8dd;
}


/* =========================================
   OLD PROJECT ICON STYLE
   Can still be used if no screenshot exists
========================================= */

.mission-icon {
    height: 190px;

    display: grid;

    place-items: center;

    font-size: 4rem;

    color: white;

    border-bottom: 4px solid #2b2118;
}


.mission-icon.orange {
    background:
        radial-gradient(
            circle,
            #ff9b3d,
            #b43d00
        );
}


.mission-icon.blue {
    background:
        radial-gradient(
            circle,
            #4fc3e8,
            #15586c
        );
}


.mission-icon.green {
    background:
        radial-gradient(
            circle,
            #64ae69,
            #224f2c
        );
}


.mission-icon.purple {
    background:
        radial-gradient(
            circle,
            #926eb1,
            #423050
        );
}


.mission-icon.pink {
    background:
        radial-gradient(
            circle,
            #e98faf,
            #8c405b
        );
}


/* =========================================
   PROJECT SCREENSHOTS
========================================= */

.mission-image {
    height: 220px;

    overflow: hidden;

    border-bottom: 4px solid #2b2118;

    background: #111;
}


.mission-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: top;

    transition:
        transform 0.4s ease;
}


.mission-card:hover .mission-image img {
    transform: scale(1.06);
}


/* optional screenshot containing */

.mission-image.contain img {
    object-fit: contain;

    background: #111;
}


/* BlinkURL special */

.mission-image.blinkurl img {
    object-position: top;
}


/* =========================================
   PROJECT CONTENT
========================================= */

.mission-content {
    padding: 24px;
}


.mission-type {
    color: var(--red-dark);

    font-weight: 800;

    font-size: 0.72rem;

    letter-spacing: 0.08em;
}


.mission-content h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 2rem;

    margin: 8px 0;
}


.mission-content > p:not(.mission-type) {
    line-height: 1.7;

    color: #53483d;
}


/* =========================================
   PROJECT TECH TAGS
========================================= */

.jutsu-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 20px 0;
}


.jutsu-tags span {
    border: 2px solid #38291e;

    background: #fff0cf;

    padding: 7px 9px;

    font-size: 0.7rem;

    font-weight: 800;
}


/* =========================================
   PROJECT BUTTONS
========================================= */

.mission-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.mission-actions a {
    padding: 13px;

    text-align: center;

    font-family: "Bebas Neue", sans-serif;

    font-size: 1.1rem;

    letter-spacing: 0.08em;

    background: var(--orange);

    color: var(--black);

    border: 3px solid var(--black);

    transition: 0.2s ease;
}


.mission-actions a:last-child {
    background: #29231e;

    color: white;
}


.mission-actions a:hover {
    transform: translateY(-3px);
}


/* Ongoing / disabled project */

.disabled-link {
    pointer-events: none;

    opacity: 0.55;

    cursor: not-allowed;
}


/* =========================================
   SKILL TABS
========================================= */

.skill-tabs {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 30px;
}


.skill-tab {
    padding: 13px 20px;

    border: 2px solid #5c4c3c;

    background: #201c18;

    color: #e5dacb;

    font-family: "Bebas Neue", sans-serif;

    font-size: 1.1rem;

    letter-spacing: 0.08em;

    transition: 0.2s ease;
}


.skill-tab:hover,
.skill-tab.active {
    background: var(--orange);

    border-color: var(--orange);

    color: var(--black);
}


/* =========================================
   SKILLS
========================================= */

.skills-panel {
    display: none;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.skills-panel.active {
    display: grid;
}


.skill-card {
    min-height: 210px;

    background: #211e1a;

    border: 2px solid #5d4c3c;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 12px;

    text-align: center;

    padding: 18px;

    transition: 0.25s;
}


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

    border-color: var(--orange);

    box-shadow:
        0 10px 30px
        rgba(255, 122, 0, 0.1);
}


.skill-card > i {
    font-size: 3.2rem;

    color: var(--orange);
}


.skill-symbol {
    width: 78px;
    height: 78px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 2rem;

    font-weight: 900;

    border:
        3px solid
        rgba(255, 255, 255, 0.8);
}


.fire-symbol {
    background: #c73524;
}


.water-symbol {
    background: #236e9c;
}


.lightning-symbol {
    background: #c4a522;
}


.wind-symbol {
    background: #358b78;
}


.earth-symbol {
    background: #795233;
}


.shadow-symbol {
    background: #43364d;
}


.skill-card h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.55rem;

    letter-spacing: 0.05em;
}


.skill-card span {
    color: var(--gray);

    font-size: 0.7rem;

    letter-spacing: 0.06em;
}


/* =========================================
   JOURNEY TIMELINE
========================================= */

.timeline {
    position: relative;

    padding-left: 80px;
}


.timeline::before {
    content: "";

    position: absolute;

    left: 30px;

    top: 0;
    bottom: 0;

    width: 4px;

    background:
        linear-gradient(
            var(--orange),
            var(--red)
        );
}


.timeline-item {
    position: relative;

    margin-bottom: 35px;
}


.timeline-rank {
    position: absolute;

    left: -80px;

    top: 22px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: var(--paper);

    border: 4px solid var(--orange);

    color: #2b2118;

    display: grid;

    place-items: center;

    font-family: "Bebas Neue", sans-serif;

    font-size: 0.85rem;

    text-align: center;

    box-shadow:
        4px 4px 0
        rgba(0, 0, 0, 0.35);
}


.timeline-rank.chunin {
    background: var(--orange);

    color: var(--black);
}


.timeline-content {
    background: #211e1a;

    border: 2px solid #554535;

    padding: 25px;

    box-shadow:
        6px 6px 0
        rgba(0, 0, 0, 0.3);

    transition: 0.25s ease;
}


.timeline-content:hover {
    border-color: var(--orange);

    transform: translateX(5px);
}


.timeline-content span {
    color: var(--orange);

    font-size: 0.7rem;

    font-weight: 800;
}


.timeline-content h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.9rem;

    margin-top: 7px;
}


.timeline-content h4 {
    color: #d1c4b2;

    margin: 3px 0 10px;
}


.timeline-content p {
    color: var(--gray);
}


/* =========================================
   ACHIEVEMENTS
========================================= */

.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.achievement-card {
    min-height: 260px;

    background: var(--paper);

    color: var(--black);

    border: 4px solid #2e2218;

    padding: 28px;

    box-shadow: var(--shadow);

    transition: 0.2s ease;
}


.achievement-card:hover {
    transform:
        rotate(-1deg)
        translateY(-5px);
}


.achievement-icon {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: var(--orange);

    display: grid;

    place-items: center;

    font-size: 1.8rem;

    border: 3px solid #2b2118;
}


.achievement-card h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.8rem;

    margin: 20px 0 10px;
}


.achievement-card p {
    line-height: 1.7;

    color: #51463b;
}


/* =========================================
   UPDATED CONTACT SECTION
   NO FORM
========================================= */

.contact-section {
    padding-bottom: 120px;
}


.contact-scroll {
    max-width: 900px;

    margin: auto;

    background: var(--paper);

    color: var(--black);

    padding: 40px;

    border: 4px solid #2d2117;

    box-shadow: var(--shadow);

    position: relative;
}


/* decorative top/bottom */

.contact-scroll::before,
.contact-scroll::after {
    content: "";

    position: absolute;

    left: -10px;
    right: -10px;

    height: 16px;

    background:
        linear-gradient(
            90deg,
            #6c431f,
            #b17c43,
            #6c431f
        );

    border: 3px solid #362317;
}


.contact-scroll::before {
    top: -10px;
}


.contact-scroll::after {
    bottom: -10px;
}


.contact-scroll h3 {
    font-family: "Bebas Neue", sans-serif;

    font-size: 2.8rem;

    letter-spacing: 0.05em;
}


.contact-scroll > p {
    color: #56483d;

    line-height: 1.8;

    margin-top: 10px;

    max-width: 650px;
}


/* =========================================
   CONTACT LINKS
========================================= */

.contact-links {
    display: grid;

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

    gap: 15px;

    margin-top: 35px;
}


.contact-links a {
    min-height: 100px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #2c251f;

    color: white;

    border: 3px solid var(--black);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.contact-links a:hover {
    background: var(--orange);

    color: var(--black);

    transform: translateY(-5px);

    box-shadow:
        5px 5px 0
        var(--black);
}


.contact-links i {
    font-size: 2rem;

    width: 45px;

    text-align: center;

    flex-shrink: 0;
}


.contact-links div {
    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;
}


.contact-links span {
    color: var(--orange);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.contact-links a:hover span {
    color: var(--black);
}


.contact-links strong {
    font-family: "Bebas Neue", sans-serif;

    font-size: 1.25rem;

    letter-spacing: 0.05em;

    overflow-wrap: anywhere;
}


/* =========================================
   FOOTER
========================================= */

footer {
    min-height: 160px;

    background: #0e0e0d;

    border-top: 3px solid var(--orange);

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 10px;

    text-align: center;

    padding: 30px 20px;
}


.small-spiral {
    transform: scale(0.65);
}


footer p {
    font-family: "Bebas Neue", sans-serif;

    letter-spacing: 0.08em;

    font-size: 1.3rem;
}


footer > span {
    color: var(--gray);

    font-size: 0.7rem;

    letter-spacing: 0.12em;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }


    .menu-btn {
        display: block;
    }


    .hero {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .hero-card {
        order: -1;
    }


    .wanted-paper {
        max-width: 430px;
    }


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


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


    .skills-panel {
        grid-template-columns:
            repeat(2, 1fr);
    }


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


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

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .section {
        width: calc(100% - 24px);

        padding: 80px 0;
    }


    /* Navbar */

    .navbar {
        height: 65px;

        padding: 0 12px;
    }


    .logo {
        font-size: 1.15rem;
    }


    /* Hero */

    .hero {
        padding-top: 105px;
    }


    .hero h1 {
        font-size:
            clamp(
                3.5rem,
                20vw,
                5.5rem
            );
    }


    .hero h2 {
        font-size: 1.5rem;
    }


    .hero-description {
        font-size: 0.9rem;
    }


    .ninja-info {
        grid-template-columns: 1fr;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    /* Profile card */

    .wanted-paper {
        padding: 30px 20px;

        transform: rotate(0);
    }


    .profile-frame {
        width: 180px;
        height: 180px;
    }


    .wanted-paper h3 {
        font-size: 2rem;
    }


    /* headings */

    .section-heading h2 {
        font-size: 3.2rem;
    }


    /* About */

    .scroll-content {
        padding: 10px;
    }


    .scroll-content h3 {
        font-size: 2.2rem;
    }


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


    .stat-box {
        padding: 18px;

        min-height: 150px;
    }


    .stat-box strong {
        font-size: 1.35rem;
    }


    /* Missions */

    .missions-grid {
        gap: 20px;
    }


    .mission-image {
        height: 190px;
    }


    .mission-icon {
        height: 160px;
    }


    .mission-content {
        padding: 20px;
    }


    .mission-filter {
        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 6px;
    }


    .mission-filter-btn {
        white-space: nowrap;
    }


    .mission-actions a {
        font-size: 1rem;
    }


    /* Skills */

    .skill-tabs {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 6px;
    }


    .skill-tab {
        white-space: nowrap;
    }


    .skills-panel {
        grid-template-columns:
            1fr 1fr;

        gap: 12px;
    }


    .skill-card {
        min-height: 170px;

        padding: 14px 8px;
    }


    .skill-symbol {
        width: 60px;
        height: 60px;

        font-size: 1.6rem;
    }


    .skill-card > i {
        font-size: 2.5rem;
    }


    .skill-card h3 {
        font-size: 1.25rem;
    }


    .skill-card span {
        font-size: 0.58rem;
    }


    /* Timeline */

    .timeline {
        padding-left: 60px;
    }


    .timeline::before {
        left: 22px;
    }


    .timeline-rank {
        left: -60px;

        width: 48px;
        height: 48px;

        font-size: 0.7rem;

        border-width: 3px;
    }


    .timeline-content {
        padding: 20px;
    }


    /* Contact */

    .contact-scroll {
        padding: 28px 18px;
    }


    .contact-scroll h3 {
        font-size: 2.2rem;
    }


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


    .contact-links a {
        min-height: 85px;

        padding: 16px;

        gap: 14px;
    }


    .contact-links i {
        font-size: 1.7rem;

        width: 35px;
    }


    .contact-links strong {
        font-size: 1.1rem;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .logo {
        font-size: 1rem;
    }


    .hero h1 {
        font-size: 3.5rem;
    }


    .section-heading h2 {
        font-size: 2.7rem;
    }


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


    .skills-panel {
        grid-template-columns: 1fr;
    }


    .mission-actions {
        grid-template-columns: 1fr;
    }


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


    .contact-links a {
        align-items: flex-start;
    }

}