@font-face {
    font-family: 'Poppins';
    src: url('Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 28px 42px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ─── Navigation ─────────────────────────────── */
.navbar {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.navbar a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ffffff;
}

/* ─── Hero Title ─────────────────────────────── */
.hero-title {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: clamp(5rem, 13.8vw, 15rem);
    font-weight: 900;
    display: block;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.02;
    letter-spacing: -0.042em;
    filter: drop-shadow(0 3px 10px rgba(255, 255, 255, 0.06));
    margin-top: 0.5rem;
    padding-bottom: 0.14em;
    padding-inline: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-title > span {
    display: inline-block;
    color: transparent;
    background: linear-gradient(
        to bottom,
        color(display-p3 0.2 0.2 0.2) 0%,
        color(display-p3 0.5 0.5 0.5) 20%,
        color(display-p3 0.8 0.8 0.8) 40%,
        color(display-p3 1.2 1.2 1.2) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    padding: 0.15em 0.1em;
    margin: -0.15em -0.1em;
}

/* Fallback for browsers without display-p3 support */
@supports not (color: color(display-p3 1 1 1)) {
    .hero-title > span {
        background: linear-gradient(
            to bottom,
            #444444 0%,
            #888888 20%,
            #dcdcdc 40%,
            #ffffff 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
    }
}

.hero-title .title-punct {
    transform: translateY(-0.08em);
}

.hero-title .title-comma {
    margin-right: 0.03em;
}

/* ─── Hero Avatar ────────────────────────────── */
.hero-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(250px, 35vw, 450px);
    height: auto;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* ─── Content Row ────────────────────────────── */
.content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12vh;
    padding-bottom: 3vh;
    gap: 2rem;
}

.description {
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 1px;
    color: #a0a0a0;
    max-width: 320px;
    font-weight: 500;
}

/* ─── Gradient Button ────────────────────────── */
.gradient-button {
    position: relative;
    padding: 22px 52px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.gradient-button:hover {
    transform: scale(1.03);
}

.gradient-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #96ceb4,
        #feca57,
        #ff9ff3,
        #ff6b6b
    );
    z-index: -2;
    filter: blur(10px);
    transform: rotate(0deg);
    transition: transform 1.5s ease-in-out;
}

.gradient-button:hover::before {
    transform: rotate(180deg);
}

.gradient-button::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #050505;
    border-radius: 47px;
    z-index: -1;
    filter: blur(5px);
}

.gradient-button:active {
    transform: scale(0.99);
}

.gradient-text {
    color: transparent;
    background: conic-gradient(
        from 0deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #96ceb4,
        #feca57,
        #ff9ff3,
        #ff6b6b
    );
    -webkit-background-clip: text;
    background-clip: text;
    filter: hue-rotate(0deg);
    position: relative;
    z-index: 1;
}

.gradient-button:hover .gradient-text {
    animation: hue-rotating 2s linear infinite;
}

@keyframes hue-rotating {
    to {
        filter: hue-rotate(360deg);
    }
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1280px) {
    .hero-title {
        font-size: clamp(4.5rem, 11.8vw, 10.4rem);
        letter-spacing: -0.038em;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(4rem, 10.8vw, 8.6rem);
        letter-spacing: -0.034em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 24px 20px 28px;
    }

    .navbar {
        grid-template-columns: repeat(2, max-content);
        gap: 1rem;
        justify-content: center;
        justify-items: center;
        row-gap: 0.85rem;
    }

    .hero-title {
        font-size: clamp(3.5rem, 17vw, 6rem);
        white-space: normal;
        text-align: center;
        letter-spacing: -0.03em;
        line-height: 0.96;
    }

    .hero-title .title-punct {
        transform: translateY(-0.04em);
    }

    .hero-avatar {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 3rem;
        margin-left: auto;
        margin-right: auto;
        width: clamp(200px, 50vw, 300px);
    }

    .content-row {
        flex-direction: column;
        gap: 2rem;
         text-align: center;
        padding-top: 1rem;
    }

    .description {
        max-width: 100%;
    }
}
