/* =====================================================
   HANIF PORTFOLIO
   FULL CREATIVE STYLESHEET
   ===================================================== */


/* =====================================================
   1. RESET & BASE
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #08090d;
    color: #f5f7ff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
}

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


/* =====================================================
   2. VARIABLES
   ===================================================== */

:root {
    --bg: #08090d;
    --bg-soft: #0e1119;
    --bg-card: rgba(255, 255, 255, 0.045);

    --text: #f5f7ff;
    --muted: #9ca3b5;

--accent: #ff2b2b;
--accent-2: #08090d;

    --success: #34d399;

    --border: rgba(255, 255, 255, 0.09);

    --max-width: 1180px;

    --radius: 24px;
}


/* =====================================================
   3. BACKGROUND ATMOSPHERE
   ===================================================== */

body::before {
    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    top: -250px;
    left: -250px;

    background: rgba(255, 35, 35, 0.13);

    filter: blur(150px);

    border-radius: 50%;

    pointer-events: none;

    z-index: -2;
}

body::after {
    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    right: -300px;
    bottom: -250px;

    background: rgba(120, 0, 0, 0.10);

    filter: blur(150px);

    border-radius: 50%;

    pointer-events: none;

    z-index: -2;
}


/* =====================================================
   4. GLOBAL CONTAINER
   ===================================================== */

.container {
    width: min(90%, var(--max-width));
    margin: auto;
}


/* =====================================================
   5. NAVBAR
   ===================================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 20px 0;

    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 9, 13, 0.82);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.45rem;

    font-weight: 700;

    letter-spacing: -0.05em;
}

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

.nav-links {
    display: flex;

    gap: 24px;

    list-style: none;

    align-items: center;
}

.nav-links a {
    color: var(--muted);

    font-size: 0.85rem;

    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    background: var(--bg-card);

    color: var(--text);

    border: 1px solid var(--border);

    cursor: pointer;
}


/* =====================================================
   6. HERO
   ===================================================== */

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 150px 0 100px;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 50px;

    align-items: center;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 14px;

    border: 1px solid var(--border);

    border-radius: 999px;

    color: var(--muted);

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.8rem;

    margin-bottom: 25px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 14px
        rgba(52, 211, 153, 0.8);
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

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

    line-height: 0.88;

    letter-spacing: -0.075em;

    margin-bottom: 28px;
}

.gradient-text {
    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-2)
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 560px;

    color: var(--muted);

    font-size: 1rem;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   7. BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 21px;

    border-radius: 14px;

    font-weight: 600;

    font-size: 0.9rem;

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

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

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--accent),
            #6558f5
        );

    color: white;

    box-shadow:
        0 15px 40px
        rgba(139, 92, 246, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--border);

    color: var(--text);
}


/* =====================================================
   8. HERO PROFILE CARD
   ===================================================== */

.profile-card {
    position: relative;

    padding: 45px 35px;

    border: 1px solid var(--border);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        );

    overflow: hidden;
}

.profile-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -100px;
    top: -100px;

    background: rgba(139, 92, 246, 0.2);

    filter: blur(70px);

    border-radius: 50%;
}

.profile-card::after {
    content: "01";

    position: absolute;

    right: 25px;
    bottom: -55px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 11rem;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.025);
}

.profile-initial {
    position: relative;

    width: 100px;
    height: 100px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );

    font-family: "Space Grotesk", sans-serif;

    font-size: 2rem;

    font-weight: 700;

    z-index: 1;
}

.profile-card h3 {
    position: relative;

    font-size: 2rem;

    z-index: 1;
}

.profile-role {
    position: relative;

    color: var(--muted);

    margin-top: 6px;

    z-index: 1;
}

.mini-stats {
    position: relative;

    display: grid;

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

    gap: 12px;

    margin-top: 35px;

    z-index: 1;
}

.mini-stat {
    padding: 14px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--border);

    border-radius: 16px;
}

.mini-stat strong {
    display: block;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.3rem;
}

.mini-stat span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 0.72rem;
}


/* =====================================================
   9. GLOBAL SECTIONS
   ===================================================== */

section:not(.hero) {
    padding: 130px 0;
}

.section-heading {
    position: relative;

    margin-bottom: 65px;
}

.section-heading::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent
        );

    top: 13px;

    left: 150px;
}

.section-label {
    color: var(--accent-2);

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    margin-bottom: 20px;
}

.section-title {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.7rem, 6vw, 5rem);

    line-height: 0.95;

    letter-spacing: -0.065em;

    max-width: 850px;
}

.section-description {
    max-width: 600px;

    color: var(--muted);

    margin-top: 22px;
}


/* =====================================================
   10. ABOUT - ASYMMETRIC
   ===================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 24px;

    align-items: stretch;
}

.glass-card {
    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius);
}

.about-highlight {
    min-height: 480px;

    padding: 38px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        linear-gradient(
            145deg,
            rgba(139, 92, 246, 0.15),
            rgba(255, 255, 255, 0.025)
        );
}

.about-highlight h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2rem, 4vw, 3.8rem);

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.about-highlight p {
    color: var(--muted);

    margin-top: 25px;
}

.about-tag {
    align-self: flex-start;

    padding: 10px 15px;

    border-radius: 999px;

    border: 1px solid var(--border);

    font-size: 0.78rem;
}

.about-text {
    padding: 45px;

    display: grid;

    align-content: center;

    gap: 24px;
}

.about-text p {
    color: var(--muted);

    font-size: 1.03rem;

    max-width: 680px;
}


/* =====================================================
   11. SKILLS - CREATIVE TYPOGRAPHY
   ===================================================== */

.skills-grid {
    display: grid;

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

    gap: 18px;
}

.skill-card {
    position: relative;

    min-height: 220px;

    padding: 25px;

    border: 1px solid var(--border);

    background: var(--bg-card);

    border-radius: 22px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

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

    background:
        rgba(255, 255, 255, 0.075);
}

.skill-card:nth-child(1),
.skill-card:nth-child(2),
.skill-card:nth-child(3),
.skill-card:nth-child(4) {
    grid-column: span 6;
}

.skill-card:nth-child(5) {
    grid-column: 4 / span 6;
}

.skill-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        rgba(139, 92, 246, 0.15);

    color: var(--accent);

    margin-bottom: 30px;
}

.skill-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.8rem;

    letter-spacing: -0.04em;
}

.skill-card p {
    max-width: 380px;

    color: var(--muted);

    margin-top: 8px;
}


/* =====================================================
   12. PORTFOLIO
   ===================================================== */

.featured-project {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 0;

    overflow: hidden;

    border-radius: 30px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    min-height: 550px;
}


/* =====================================================
   FEATURED IMAGE
   ===================================================== */

.featured-image {
    position: relative;

    min-height: 550px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.18),
            rgba(34, 211, 238, 0.08)
        );
}

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

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.featured-project:hover .featured-image img {
    transform: scale(1.035);
}


/* =====================================================
   FEATURED CONTENT
   ===================================================== */

.featured-content {
    padding: 50px 42px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.project-number {
    color: var(--accent-2);

    font-family: "Space Grotesk", sans-serif;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    margin-bottom: 10px;
}

.project-category {
    color: var(--muted);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    margin-bottom: 12px;
}

.featured-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.featured-content h4 {
    color: var(--accent-2);

    font-weight: 500;

    margin-top: 6px;
}

.featured-content p {
    color: var(--muted);

    margin-top: 20px;

    line-height: 1.7;
}


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

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}

.project-tag {
    padding: 7px 11px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    color: var(--muted);

    font-size: 0.7rem;
}


/* =====================================================
   OTHER PROJECTS
   ===================================================== */

.projects-row {
    display: grid;

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

    gap: 22px;

    margin-top: 22px;
}


/* =====================================================
   SMALL PROJECT CARD
   ===================================================== */

.project-small {
    border-radius: 26px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.project-small:hover {
    transform: translateY(-6px);

    border-color:
        rgba(139, 92, 246, 0.3);
}


/* =====================================================
   SMALL PROJECT IMAGE
   ===================================================== */

.small-project-image {
    position: relative;

    height: 310px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.15),
            rgba(34, 211, 238, 0.07)
        );
}

.small-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.project-small:hover
.small-project-image img {
    transform: scale(1.04);
}


/* =====================================================
   PROJECT NUMBER OVERLAY
   ===================================================== */

.project-number-overlay {
    position: absolute;

    top: 18px;
    left: 18px;

    padding: 8px 11px;

    border-radius: 10px;

    background:
        rgba(8, 9, 13, 0.7);

    backdrop-filter: blur(10px);

    border: 1px solid var(--border);

    font-family: "Space Grotesk", sans-serif;

    font-size: 0.75rem;
}


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

.small-project-content {
    padding: 28px;
}

.small-project-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 2rem;

    letter-spacing: -0.04em;
}

.small-project-content p {
    color: var(--muted);

    margin-top: 10px;

    line-height: 1.65;
}


/* =====================================================
   PORTFOLIO RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 400px;
    }

}


@media (max-width: 650px) {

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

    .featured-content {
        padding: 32px 24px;
    }

    .small-project-image {
        height: 260px;
    }

}

/* =====================================================
   13. EXPERIENCE
   ===================================================== */

.timeline {
    position: relative;

    margin-left: 8%;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 0;

    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--border);
}

.timeline-item {
    position: relative;

    padding-left: 55px;

    padding-bottom: 70px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;

    left: -7px;
    top: 8px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 20px
        rgba(139, 92, 246, 0.8);
}

.timeline-date {
    color: var(--accent-2);

    font-size: 0.8rem;

    font-weight: 600;

    letter-spacing: 0.1em;

    margin-bottom: 8px;
}

.timeline-item h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.8rem;
}

.timeline-item p {
    max-width: 700px;

    color: var(--muted);

    margin-top: 10px;
}


/* =====================================================
   14. SERVICES
   ===================================================== */

.services-grid {
    display: grid;

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

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    border-radius: 25px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    overflow: hidden;
}

.service-card:nth-child(2) {
    transform: translateY(55px);
}

.service-number {
    position: absolute;

    right: 22px;
    top: 15px;

    font-size: 4rem;

    font-family: "Space Grotesk", sans-serif;

    color: rgba(255, 255, 255, 0.04);
}

.service-card i {
    font-size: 2rem;

    color: var(--accent);

    margin-bottom: 35px;
}

.service-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.6rem;
}

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

    margin-top: 10px;
}


/* =====================================================
   15. ACHIEVEMENT
   ===================================================== */

#achievements {
    position: relative;
}


/* =====================================================
   ACHIEVEMENT HEADING
   ===================================================== */

.achievement-heading {
    max-width: 850px;
}


/* =====================================================
   SHOWCASE
   ===================================================== */

.achievement-showcase {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 60px;

    align-items: center;
}


/* =====================================================
   VISUAL AREA
   ===================================================== */

.achievement-visual {
    position: relative;

    min-height: 620px;
}


/* =====================================================
   MAIN PHOTO
   ===================================================== */

.achievement-photo-main {
    position: absolute;

    top: 0;
    left: 0;

    width: 72%;
    height: 500px;

    overflow: hidden;

    border-radius: 28px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, 0.3);
}

.achievement-photo-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.achievement-photo-main:hover img {
    transform: scale(1.03);
}


/* =====================================================
   PHOTO LABEL
   ===================================================== */

.achievement-photo-label {
    position: absolute;

    left: 18px;
    bottom: 18px;

    padding: 8px 11px;

    border-radius: 10px;

    background:
        rgba(8, 9, 13, 0.72);

    backdrop-filter:
        blur(10px);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    color: var(--text);

    font-size: 0.67rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* =====================================================
   CERTIFICATE
   ===================================================== */

.achievement-certificate {
    position: absolute;

    right: 0;
    bottom: 35px;

    width: 62%;
    height: 330px;

    overflow: hidden;

    border-radius: 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    background:
        #101218;

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

    transform: rotate(2deg);

    transition:
        transform 0.4s ease;
}

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

.achievement-certificate img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 12px;
}


/* =====================================================
   CERTIFICATE LABEL
   ===================================================== */

.certificate-label {
    position: absolute;

    left: 14px;
    top: 14px;

    padding: 7px 10px;

    border-radius: 9px;

    background:
        rgba(8, 9, 13, 0.72);

    backdrop-filter:
        blur(10px);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    color: var(--muted);

    font-size: 0.63rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* =====================================================
   BIG NUMBER
   ===================================================== */

.achievement-big-number {
    position: absolute;

    right: 18px;
    top: -90px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 18rem;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.12em;

    color:
        rgba(255, 255, 255, 0.035);

    pointer-events: none;

    z-index: -1;
}


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

.achievement-content {
    padding: 20px 10px;
}

.achievement-label {
    color: var(--accent-2);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 8px;
}


/* =====================================================
   RANK
   ===================================================== */

.achievement-rank {
    display: inline-block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(5rem, 9vw, 8rem);

    line-height: 0.8;

    letter-spacing: -0.09em;

    margin-top: 15px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-2)
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color: transparent;
}

.achievement-rank sup {
    font-size: 1.3rem;

    letter-spacing: 0;

    vertical-align: top;

    position: relative;

    top: 9px;
}

.achievement-content h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 2rem;

    margin-top: 10px;
}


/* =====================================================
   LINE
   ===================================================== */

.achievement-line {
    width: 70px;
    height: 1px;

    margin:
        20px 0;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent
        );
}


/* =====================================================
   EVENT
   ===================================================== */

.achievement-content h4 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.8rem;

    letter-spacing: -0.04em;
}

.achievement-event {
    color: var(--muted);

    margin-top: 5px;
}


/* =====================================================
   CATEGORY
   ===================================================== */

.achievement-category {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    padding: 10px 14px;

    border-radius: 12px;

    border:
        1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);
}

.achievement-category span {
    color: var(--muted);

    font-size: 0.65rem;

    letter-spacing: 0.1em;

    font-weight: 700;
}

.achievement-category strong {
    color: var(--text);

    font-size: 0.8rem;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

.achievement-description {
    max-width: 470px;

    color: var(--muted);

    margin-top: 25px;

    line-height: 1.8;
}


/* =====================================================
   BADGE
   ===================================================== */

.achievement-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 28px;

    color: #facc15;

    font-size: 0.78rem;

    font-weight: 600;
}


/* =====================================================
   ACHIEVEMENT RESPONSIVE
   ===================================================== */

@media (max-width: 950px) {

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

        gap: 30px;
    }

    .achievement-visual {
        min-height: 580px;
    }

    .achievement-content {
        padding: 20px 0;
    }

}


@media (max-width: 650px) {

    .achievement-visual {
        min-height: 520px;
    }

    .achievement-photo-main {
        width: 78%;

        height: 400px;
    }

    .achievement-certificate {
        width: 68%;

        height: 260px;

        bottom: 25px;
    }

    .achievement-big-number {
        font-size: 11rem;

        top: -35px;
    }

}

/* =====================================================
   16. TESTIMONIALS
   ===================================================== */

#testimonials {
    position: relative;
}


/* =====================================================
   TESTIMONIAL WRAPPER
   ===================================================== */

.testimonial-wrapper {
    width: min(100%, 850px);

    margin: 0 auto;
}


/* =====================================================
   COMMENT INPUT CARD
   ===================================================== */

.comment-input-card {
    display: flex;

    gap: 15px;

    padding: 22px;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    margin-bottom: 40px;
}


/* =====================================================
   AVATAR
   ===================================================== */

.comment-avatar {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );

    color: white;

    font-size: 0.9rem;
}


/* =====================================================
   FORM AREA
   ===================================================== */

.comment-form-area {
    flex: 1;
}

.comment-form-area input,
.comment-form-area textarea {
    width: 100%;

    background:
        rgba(255, 255, 255, 0.03);

    border: 1px solid var(--border);

    border-radius: 13px;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.comment-form-area input {
    height: 43px;

    padding: 0 14px;

    margin-bottom: 10px;
}

.comment-form-area textarea {
    min-height: 95px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.5;
}

.comment-form-area input:focus,
.comment-form-area textarea:focus {
    border-color:
        rgba(139, 92, 246, 0.5);

    background:
        rgba(139, 92, 246, 0.04);
}


/* =====================================================
   FORM BOTTOM
   ===================================================== */

.comment-form-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 10px;
}

#characterCount {
    color: var(--muted);

    font-size: 0.72rem;
}


/* =====================================================
   POST BUTTON
   ===================================================== */

.comment-post-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border-radius: 12px;

    background:
        var(--accent);

    color: white;

    font-weight: 600;

    font-size: 0.78rem;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.comment-post-btn:hover {
    transform: translateY(-2px);

    background:
        #7549e8;
}


/* =====================================================
   COMMENTS HEADER
   ===================================================== */

.comments-header {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 18px;

    border-bottom:
        1px solid var(--border);

    margin-bottom: 22px;
}

.comments-header h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.1rem;
}

.comments-header span {
    color: var(--muted);

    font-size: 0.75rem;
}


/* =====================================================
   COMMENTS LIST
   ===================================================== */

.comments-list {
    display: grid;

    gap: 28px;
}


/* =====================================================
   COMMENT
   ===================================================== */

.comment-item {
    display: grid;

    grid-template-columns: 44px 1fr;

    gap: 14px;
}

.comment-item-avatar {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(139, 92, 246, 0.15);

    color: var(--accent);

    font-size: 0.85rem;

    font-weight: 700;
}


/* =====================================================
   COMMENT CONTENT
   ===================================================== */

.comment-content {
    min-width: 0;
}

.comment-top {
    display: flex;

    align-items: baseline;

    gap: 10px;

    margin-bottom: 4px;
}

.comment-name {
    font-size: 0.85rem;

    font-weight: 700;
}

.comment-time {
    color: var(--muted);

    font-size: 0.7rem;
}

.comment-text {
    color: #d8dbe5;

    font-size: 0.87rem;

    line-height: 1.65;

    word-wrap: break-word;
}


/* =====================================================
   COMMENT ACTIONS
   ===================================================== */

.comment-actions {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 8px;
}

.comment-action-btn {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border-radius: 9px;

    background: transparent;

    color: var(--muted);

    font-size: 0.7rem;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.comment-action-btn:hover {
    color: var(--text);

    background:
        rgba(255, 255, 255, 0.04);
}


/* =====================================================
   NO COMMENTS
   ===================================================== */

.no-comments {
    padding: 55px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border:
        1px dashed
        rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    color: var(--muted);
}

.no-comments i {
    font-size: 2rem;

    color: var(--accent);

    margin-bottom: 15px;
}

.no-comments p {
    color: var(--text);

    font-weight: 600;

    margin-bottom: 4px;
}

.no-comments span {
    font-size: 0.78rem;
}


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

@media (max-width: 600px) {

    .comment-input-card {
        padding: 16px;

        gap: 10px;
    }

    .comment-avatar,
    .comment-item-avatar {
        width: 38px;
        height: 38px;
    }

    .comment-item {
        grid-template-columns: 38px 1fr;
    }

    .comment-top {
        flex-wrap: wrap;

        gap: 5px;
    }

    .comment-form-bottom {
        align-items: flex-end;

        gap: 10px;
    }

}


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

#contact {
    position: relative;
}


/* =====================================================
   CONTACT GRID
   ===================================================== */

.contact-grid-box {
    display: grid;

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

    gap: 18px;

    max-width: 1000px;

    margin: 0 auto;
}


/* =====================================================
   CONTACT BOX
   ===================================================== */

.contact-box {
    position: relative;

    min-height: 240px;

    padding: 28px;

    border-radius: 24px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-7px);

    background:
        rgba(255, 255, 255, 0.065);

    border-color:
        rgba(139, 92, 246, 0.35);
}


/* =====================================================
   TOP AREA
   ===================================================== */

.contact-box-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.contact-box-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        rgba(139, 92, 246, 0.13);

    color: var(--accent);

    font-size: 1.35rem;
}

.contact-box-number {
    font-family: "Space Grotesk", sans-serif;

    font-size: 0.75rem;

    color: var(--muted);

    letter-spacing: 0.08em;
}


/* =====================================================
   CONTACT INFORMATION
   ===================================================== */

.contact-box-info {
    position: absolute;

    left: 28px;

    right: 28px;

    bottom: 30px;
}

.contact-box-info > span {
    display: block;

    color: var(--accent-2);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    margin-bottom: 8px;
}

.contact-box-info h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.5rem, 2.8vw, 2.2rem);

    line-height: 1;

    letter-spacing: -0.045em;

    word-break: break-word;
}


/* =====================================================
   ARROW
   ===================================================== */

.contact-box-arrow {
    position: absolute;

    right: 27px;

    bottom: 29px;

    color: var(--muted);

    font-size: 0.9rem;

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

.contact-box:hover .contact-box-arrow {
    color: var(--text);

    transform:
        translate(3px, -3px);
}


/* =====================================================
   SUBTLE BACKGROUND NUMBER
   ===================================================== */

.contact-box::before {
    content: "";

    position: absolute;

    right: -30px;

    top: 45px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 9rem;

    font-weight: 700;

    color:
        rgba(255, 255, 255, 0.025);

    line-height: 1;

    pointer-events: none;
}

.contact-box:nth-child(1)::before {
    content: "01";
}

.contact-box:nth-child(2)::before {
    content: "02";
}

.contact-box:nth-child(3)::before {
    content: "03";
}

.contact-box:nth-child(4)::before {
    content: "04";
}


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

@media (max-width: 700px) {

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

    .contact-box {
        min-height: 210px;
    }

}

/* =====================================================
   18. FORM
   ===================================================== */

.contact-form {
    display: grid;

    gap: 20px;
}

.field {
    display: grid;

    gap: 8px;
}

.field label {
    font-size: 0.85rem;

    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;

    padding: 14px 16px;

    color: var(--text);

    background:
        rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    border-radius: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.field textarea {
    min-height: 140px;

    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent);

    background:
        rgba(139, 92, 246, 0.05);
}


/* =====================================================
   19. FOOTER
   ===================================================== */

footer {
    padding: 40px 0;

    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-content p {
    color: var(--muted);

    font-size: 0.82rem;
}

.socials {
    display: flex;

    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    transition: 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-3px);

    background:
        rgba(139, 92, 246, 0.14);
}


/* =====================================================
   20. SCROLL REVEAL
   ===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(35px);

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

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =====================================================
   21. TABLET
   ===================================================== */

@media (max-width: 1000px) {

    .hero-grid,
    .about-grid,
    .portfolio-grid,
    .achievement-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .small-project {
        margin-top: 0;

        min-height: 350px;
    }

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

    .skill-card,
    .skill-card:nth-child(n) {
        grid-column: auto;

        margin: 0;
    }

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

    .service-card:nth-child(2) {
        transform: none;
    }

    .achievement-main {
        min-height: 450px;
    }

}


/* =====================================================
   22. MOBILE
   ===================================================== */

@media (max-width: 760px) {

    section:not(.hero) {
        padding: 90px 0;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: absolute;

        top: 70px;

        left: 5%;
        right: 5%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        padding: 12px;

        border-radius: 20px;

        background:
            rgba(13, 16, 23, 0.98);

        border: 1px solid var(--border);

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

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;

        padding: 12px;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

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

    .section-heading::after {
        display: none;
    }

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

    .timeline {
        margin-left: 10px;
    }

    .achievement-main::before {
        font-size: 16rem;

        top: -50px;
    }

    .testimonial-card {
        padding: 35px 22px;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}


/* =====================================================
   23. SMALL MOBILE
   ===================================================== */

@media (max-width: 500px) {

    .container {
        width: min(92%, var(--max-width));
    }

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

    .btn {
        width: 100%;
    }

    .profile-card {
        padding: 30px 22px;
    }

    .about-highlight,
    .about-text {
        padding: 28px 22px;
    }

    .project-card {
        padding: 15px;
    }

    .project-preview {
        min-height: 260px;
    }

    .project-ui h4 {
        font-size: 1.7rem;
    }

    .achievement-main {
        padding: 30px;

        min-height: 400px;
    }

    .achievement-icon {
        left: 30px;
        top: 30px;
    }

    .contact-grid > .glass-card {
        padding: 22px;
    }

}
/* =====================================================
   PROJECT DETAIL PAGES
   ===================================================== */

.project-page {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 35, 35, 0.10),
            transparent 35%
        ),
        var(--bg);
}


/* =====================================================
   PROJECT NAVIGATION
   ===================================================== */

.project-nav {
    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.project-nav-content {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.back-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-size: 0.85rem;

    transition: 0.25s ease;
}

.back-link:hover {
    color: var(--text);

    transform: translateX(-4px);
}

.project-nav-number {
    color: var(--muted);

    font-size: 0.72rem;

    letter-spacing: 0.15em;

    font-weight: 700;
}


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

.project-detail-hero {
    padding: 100px 0 110px;
}

.project-detail-label {
    color: var(--accent-2);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    margin-bottom: 20px;
}

.project-detail-title {
    font-family: "Space Grotesk", sans-serif;

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

    line-height: 0.84;

    letter-spacing: -0.08em;
}

.project-detail-subtitle {
    margin-top: 20px;

    color: var(--accent);

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.5rem;
}

.project-detail-intro {
    max-width: 720px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =====================================================
   MAIN PROJECT IMAGE
   ===================================================== */

.project-main-image {
    width: 100%;

    min-height: 570px;

    margin-top: 65px;

    border-radius: 30px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.14),
            rgba(34, 211, 238, 0.06)
        );
}

.project-main-image img {
    width: 100%;

    height: 100%;

    min-height: 570px;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-main-image:hover img {
    transform: scale(1.025);
}

.pixel-project-image {
    background: #12141c;
}

.pixel-project-image img {
    object-fit: contain;

    padding: 25px;
}

.dragon-project-image {
    background: #10131a;
}

.dragon-project-image img {
    object-fit: contain;

    padding: 25px;
}


/* =====================================================
   PROJECT META
   ===================================================== */

.project-meta-grid {
    display: grid;

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

    gap: 12px;

    margin-top: 15px;
}

.project-meta {
    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.035);
}

.project-meta span {
    display: block;

    color: var(--muted);

    font-size: 0.68rem;

    letter-spacing: 0.13em;

    margin-bottom: 7px;
}

.project-meta strong {
    font-size: 0.87rem;
}


/* =====================================================
   DETAIL SECTION
   ===================================================== */

.project-detail-section {
    padding: 130px 0;
}

.project-dark-section {
    background:
        rgba(255, 255, 255, 0.012);

    border-top:
        1px solid rgba(255, 255, 255, 0.03);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.03);
}


/* =====================================================
   TWO COLUMN
   ===================================================== */

.project-two-column {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 80px;
}

.detail-heading > span {
    display: block;

    color: var(--accent-2);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 16px;
}

.detail-heading h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.detail-text {
    align-self: center;
}

.detail-text p {
    color: var(--muted);

    font-size: 1rem;

    line-height: 1.9;

    margin-bottom: 22px;
}


/* =====================================================
   CENTERED HEADING
   ===================================================== */

.detail-heading.centered {
    text-align: center;

    margin-bottom: 55px;
}


/* =====================================================
   FEATURE CARDS
   ===================================================== */

.detail-feature-grid {
    display: grid;

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

    gap: 16px;
}

.detail-feature-card {
    min-height: 260px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

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

    background:
        rgba(255, 255, 255, 0.065);

    border-color:
        rgba(139, 92, 246, 0.3);
}

.detail-feature-card > i {
    display: block;

    color: var(--accent);

    font-size: 1.8rem;

    margin-bottom: 45px;
}

.detail-feature-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.35rem;
}

.detail-feature-card p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 0.87rem;

    line-height: 1.65;
}


/* =====================================================
   GALLERY
   ===================================================== */

.detail-gallery {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr;

    grid-template-rows:
        300px 300px;

    gap: 15px;
}

.detail-gallery-large {
    grid-row: span 2;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);
}

.detail-gallery-large img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pixel-gallery img,
.dragon-gallery img {
    object-fit: contain;

    padding: 15px;
}

.detail-gallery-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    border-radius: 24px;

    border: 1px dashed
        rgba(255, 255, 255, 0.15);

    color: var(--muted);

    background:
        rgba(255, 255, 255, 0.02);
}

.detail-gallery-placeholder i {
    font-size: 1.8rem;

    color: var(--accent);
}

.detail-gallery-placeholder span {
    font-size: 0.78rem;
}


/* =====================================================
   REFLECTION
   ===================================================== */

.project-reflection {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 80px;

    align-items: center;
}

.project-reflection > div > span {
    display: block;

    color: var(--accent-2);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 15px;
}

.project-reflection h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.5rem, 5vw, 4.4rem);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.project-reflection > p {
    color: var(--muted);

    font-size: 1rem;

    line-height: 1.9;
}


/* =====================================================
   NEXT PROJECT
   ===================================================== */

.project-next {
    padding: 90px 0;

    border-bottom: 1px solid var(--border);
}

.project-next p {
    color: var(--muted);

    font-size: 0.7rem;

    letter-spacing: 0.15em;

    font-weight: 700;

    margin-bottom: 14px;
}

.next-project-link {
    display: inline-flex;

    align-items: center;

    gap: 16px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.5rem, 6vw, 5rem);

    letter-spacing: -0.06em;

    transition: gap 0.25s ease;
}

.next-project-link:hover {
    gap: 25px;

    color: var(--accent-2);
}


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

.project-footer {
    padding: 30px 0;
}

.project-footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.project-footer-content span,
.project-footer-content a {
    color: var(--muted);

    font-size: 0.78rem;
}

.project-footer-content a:hover {
    color: var(--text);
}


/* =====================================================
   PROJECT RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

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

    .project-two-column,
    .project-reflection {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

}


@media (max-width: 650px) {

    .project-nav-content {
        align-items: flex-start;

        gap: 15px;
    }

    .project-nav-number {
        display: none;
    }

    .project-detail-hero {
        padding: 70px 0 80px;
    }

    .project-main-image {
        min-height: 300px;

        margin-top: 40px;
    }

    .project-main-image img {
        min-height: 300px;
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .detail-feature-grid {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        grid-template-columns: 1fr;

        grid-template-rows:
            350px
            200px
            200px;
    }

    .detail-gallery-large {
        grid-row: auto;
    }

    .project-footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

}
.project-view-btn {
    width: fit-content;

    margin-top: 22px;
}
/* =====================================================
   DRAGON 3 IMAGE GALLERY
   ===================================================== */

.dragon-gallery {
    display: grid;

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

    gap: 18px;

    align-items: start;
}


/* =====================================================
   TWO LARGE IMAGES
   ===================================================== */

.dragon-gallery-main {
    position: relative;

    height: 430px;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);
}

.dragon-gallery-main img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.dragon-gallery-main:hover img {
    transform: scale(1.035);
}


/* =====================================================
   PROGRESS IMAGE
   ===================================================== */

.dragon-gallery-progress {
    position: relative;

    grid-column:
        1 / -1;

    width: 65%;

    height: 260px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 22px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);
}

.dragon-gallery-progress img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.dragon-gallery-progress:hover img {
    transform: scale(1.035);
}


/* =====================================================
   IMAGE LABEL
   ===================================================== */

.dragon-image-label {
    position: absolute;

    left: 16px;

    bottom: 16px;

    padding: 8px 11px;

    border-radius: 10px;

    background:
        rgba(8, 9, 13, 0.72);

    backdrop-filter:
        blur(10px);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    color: var(--text);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}


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

@media (max-width: 700px) {

    .dragon-gallery {
        grid-template-columns: 1fr;
    }

    .dragon-gallery-main {
        height: 320px;
    }

    .dragon-gallery-progress {
        grid-column: auto;

        width: 100%;

        height: 230px;
    }

}
/* =========================================================
   PIXEL KNIGHT PROJECT GALLERY
========================================================= */

.pixel-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.pixel-gallery .detail-gallery-large {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.pixel-gallery .detail-gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.pixel-gallery .detail-gallery-large:hover img {
  transform: scale(1.03);
}

.pixel-gallery .detail-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
min-height: 620px;
  gap: 18px;
}

.pixel-gallery .detail-gallery-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.pixel-gallery .detail-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.pixel-gallery .detail-gallery-card:hover img {
  transform: scale(1.04);
}

.pixel-gallery .gallery-caption,
.pixel-gallery .detail-gallery-large .gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 15px;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;

  background: rgba(8,9,13,0.72);
  backdrop-filter: blur(12px);
}

.pixel-gallery .gallery-caption span {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.pixel-gallery .gallery-caption strong {
  font-size: 12px;
  letter-spacing: .08em;
}


/* =========================================================
   PIXEL KNIGHT RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .pixel-gallery {
    grid-template-columns: 1fr;
  }

  .pixel-gallery .detail-gallery-large {
    height: 480px;
  }

  .pixel-gallery .detail-gallery-side {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 300px;
  }

}


@media (max-width: 650px) {

  .pixel-gallery .detail-gallery-large {
    height: 360px;
  }

  .pixel-gallery .detail-gallery-side {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 260px;
  }

  .pixel-gallery .gallery-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

}
/* =========================================================
   FINALSHOTCAM PROJECT GALLERY
========================================================= */

.finalshot-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.finalshot-gallery .detail-gallery-large {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.finalshot-gallery .detail-gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.finalshot-gallery .detail-gallery-large:hover img {
  transform: scale(1.03);
}

.finalshot-gallery .detail-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  min-height: 620px;
}

.finalshot-gallery .detail-gallery-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.finalshot-gallery .detail-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.finalshot-gallery .detail-gallery-card:hover img {
  transform: scale(1.04);
}