@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --black1: #000;
    --white1: #fff;
    --white2: #aaa;
    --gray1: #333;
    --bg1: #000;
    --bg2: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: var(--bg1);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.stars {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 200px 200px, 250px 250px, 300px 300px, 350px 350px;
    background-position: 0 0, 50px 50px, 100px 100px, -50px -50px;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}


.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .02), rgba(0, 0, 0, .65) 60%);
    mix-blend-mode: multiply;
    z-index: 1;
}

header nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1600px;
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 40px clamp(3%, 5vw, 100px);
    box-shadow: 2px 0 0 white,
        -2px 0 0 white;
    transition: 0.3s ease;
    z-index: 999;
}

header nav.sticky {
    padding: 10px clamp(3%, 5vw, 100px);
    background-color: var(--white1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 0 0 white,
        -2px 0 0 white;
}

nav .logo {
    position: relative;
    color: var(--white1);
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

nav .logo:hover {
    text-shadow: 0 0 5px var(--white1), 0 0 10px var(--white1);
}

nav .logo::after {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -5%;
    width: 2%;
    background: var(--white1);
    opacity: 0;
    transition: left 0.5s, opacity 0s ease 0.5s;
}

nav .logo:hover::after {
    opacity: 1;
    left: 100%;
    transition: left 0.5s, opacity 0s;
}

nav.sticky .logo {
    color: var(--black1);
}

nav.sticky .logo:hover {
    text-shadow: 0 0 5px var(--black1);
}

nav.sticky .logo::after {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -4%;
    width: 2%;
    background: var(--black1);
    opacity: 0;
    transition: left 0.5s, opacity 0s ease 0.5s;
}

nav.sticky .logo:hover::after {
    opacity: 1;
    left: 100%;
    transition: left 0.5s, opacity 0s;
}

body:has(.popup-menu:target) {
    overflow: hidden;
}

nav ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    position: relative;
    list-style: none;
}

nav ul li a {
    position: relative;
    margin: 10px;
    color: var(--white1);
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    transform: scale(1);
    text-transform: uppercase;
    transition: 0.3s ease;
    /* animation: aBlink 0.7s linear alternate infinite; */
}

nav ul li a:hover {
    color: var(--white1);
    animation: aBlink 0.7s linear alternate infinite;
}

nav ul li a:active {
    color: var(--white2);
    animation: aBlink 0s;
}

@keyframes aBlink {
    0% {
        color: var(--white1);
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 9px var(--white1);
    }

    50% {
        color: var(--white1);
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 9px var(--white1);
    }

    100% {
        color: var(--white1);
        opacity: 0.5;
        transform: scale(1);
        text-shadow: 0 0 3px var(--white1);
    }
}

nav.sticky ul li a {
    color: #000;
}

nav.sticky ul li a:hover {
    color: var(--black1);
    animation: abBlink 0.7s linear alternate infinite;
}

nav.sticky ul li a:active {
    color: var(--gray1);
    animation: abBlink 0s;
}

@keyframes abBlink {
    0% {
        color: var(--black1);
        opacity: 1;
        text-shadow: 0 0 9px var(--black1);
    }

    70% {
        color: var(--black1);
        opacity: 1;
        text-shadow: 0 0 9px var(--black1);
    }

    100% {
        color: var(--black1);
        opacity: 0.5;
        text-shadow: 0 0 3px var(--black1);
    }
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    margin-right: -10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--white1);
    transition: all 0.3s ease;
}

nav.sticky .bar {
    background: var(--black1);
}

nav.sticky .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--black1);
    transition: all 0.3s ease;
}

/* <<<===== Main CSS =====>>> */
main {
    box-shadow: 2px 0 0 white,
        -2px 0 0 white;
}

.site {
    position: relative;
    top: 70px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 64px clamp(3%, 5vw, 100px);
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    z-index: 2;
}

section {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: default;
}

.center {
    /* max-width: 900px; */
    width: 100%;
    max-width: 100%;
    margin: auto;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 130px 0 200px 0;
    cursor: default;
}

.galaxy-2 {
    font-size: calc((58px) * 0.8);
    /* font-size: 48px; */
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
    background: conic-gradient(from 120deg at 50% 50%, #aaa, white);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: swirl 5s linear infinite;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

@keyframes swirl {
    0% {
        background-position: 200%;
    }

    100% {
        background-position: 0%;
    }
}

.galaxy-3 {
    font-size: 14px;
    /* font-weight: 800; */
    color: #fff;
    position: relative;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.galaxy-3::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.9;
    background: linear-gradient(90deg, #6df, #8af, #f8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.galaxy-3 span {
    background: linear-gradient(90deg, #92f 0%, #6ff 40%, #f6a 70%, #fffd9a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 0 6px rgba(146, 86, 255, 0.25),
        0 0 18px rgba(246, 170, 255, 0.12);
}

.meta {
    margin-top: 8px;
}

.h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 10px;
}

p {
    color: #c8d6e0;
    font-size: 16px;
}

.g-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    /* justify-content: space-evenly; */
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 200px;
    cursor: default;
}

.card {
    flex: 1 1 260px;
    width: fit-content;
    max-width: 300px;
    height: 202px;
    border: 2px dotted white;
    background-color: var(--bg2);
    clip-path: polygon(20% 0%, 80% 0%, 100% 10%, 100% 90%, 80% 100%, 20% 100%, 0 90%, 0 10%);
    padding: 28px;
    transition: border 0.3s, background-color 0s, clip-path 0.3s;
}

.card:hover {
    border-right: 2px dotted transparent;
    border-left: 2px dotted transparent;
    background-color: black;
    clip-path: polygon(0 0, 100% 0, 100% 10%, 100% 90%, 100% 100%, 0 100%, 0 90%, 0 10%);
}

.h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.g-types {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 200px;
}

.flex-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 30px;
}

.thumb {
    height: 160px;
    width: 250px;
    background: var(--bg2);
    color: white;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-right: 2px solid transparent;
    border-left: 2px solid transparent;
    /* clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%); */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border 0.5s, clip-path 0.5s, background-color 0s;
}

.thumb:hover {
    border: 2px dotted white;
    /* clip-path: polygon(20% 0%, 80% 0%, 100% 0, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0); */
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
    background-color: black;
    transition: border 0s, clip-path 0.5s, background-color 0s;
}

.section-gap {
    margin-top: 18px;
}

/* Contact */
.contact-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dotted white;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    max-width: 760px;
    margin: auto;
}

form {
    width: 100%;
    max-width: 760px;
}

.row {
    display: flex;
    gap: 12px;
}

.half {
    flex: 1;
}

label {
    display: block;
    font-size: 13px;
    margin: 8px 0 3px 0;
    color: #e8f2fb;
}

input,
textarea,
.btn {
    width: 100%;
    padding: 12px 14px;
    border: 1px dotted white;
    background: rgba(0, 0, 0, 0.45);
    color: inherit;
    font-size: 15px;
}

input,
textarea {
    color: white;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border: 1px dotted white;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0s;
    cursor: pointer;
}

.btn:hover {
    background: var(--bg2);
    color: white;
}

.small-muted {
    color: #9fb0bf;
    font-size: 13px
}

.small-muted a {
    color: #9fb0bf;
}

.socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px dotted transparent;
    border-right: 1px dotted white;
    border-left: 1px dotted white;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.1s;
}

.socials a:hover {
    border: 1px dotted white;
    clip-path: polygon(20% 0%, 80% 0%, 100% 0, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
}

/* Footer */
footer {
    position: relative;
    top: 70px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px clamp(3%, 5vw, 100px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 2px 0 0 white,
        -2px 0 0 white;
    cursor: default;
    z-index: 999;
}

footer div {
    padding-top: 5px;
}

.small {
    color: white;
    font-size: 14px;
}

.links {
    display: flex;
    gap: 14px;
}

.links a {
    color: #ccc;
}

.links a:hover {
    color: #fff;
    text-decoration: underline;
}

footer a {
    text-decoration: none;
    font-size: 14px;
}

.section-gap {
    margin-top: 10px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}