/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --pink: #f7aef8;
    --purple: #b388eb;
    --blue: #8093f1;
    --light-blue: #72ddf7;
    --dark: #0f1108;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.06);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family:
        "Inter",
        -apple-system,
        sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}
img {
    display: block;
    max-width: 100%;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 60px;
    height: 60px;
}
.spinner-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--purple);
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--pink);
}
.spinner-ring:nth-child(3) {
    animation-delay: -0.6s;
    border-top-color: var(--blue);
}
.spinner-ring:nth-child(4) {
    animation-delay: -0.9s;
    border-top-color: var(--light-blue);
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    animation: pulseText 1.5s ease-in-out infinite;
}
@keyframes pulseText {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 10px;
}

/* ===== ORBS ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: var(--pink);
}
.orb--2 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    left: -80px;
    background: var(--blue);
    animation-delay: -6s;
}
.orb--3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -60px;
    background: var(--purple);
    animation-delay: -12s;
}
@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
    100% {
        transform: translate(10px, -20px) scale(1.05);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(15, 17, 8, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(15, 17, 8, 0.88);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
}
.header__logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.header__logo span {
    background: linear-gradient(
        135deg,
        var(--pink),
        var(--purple),
        var(--blue),
        var(--light-blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}
.hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== NAV MOBILE ===== */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: rgba(15, 17, 8, 0.96);
    backdrop-filter: blur(20px);
    padding: 80px 32px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}
.nav.open {
    right: 0;
}
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.nav__overlay.active {
    opacity: 1;
    pointer-events: all;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}
.nav a i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--purple);
}
.nav a:hover,
.nav a:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}
.nav a:active {
    transform: scale(0.96);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 30px;
    position: relative;
}
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 720px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    width: fit-content;
    backdrop-filter: blur(4px);
}
.hero__badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-blue);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}
.hero__title {
    font-size: clamp(2.4rem, 10vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
}
.hero__title .highlight {
    background: linear-gradient(
        135deg,
        var(--pink),
        var(--purple),
        var(--blue),
        var(--light-blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn--primary {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    color: var(--white);
    box-shadow: 0 4px 24px rgba(128, 147, 241, 0.25);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(128, 147, 241, 0.35);
}
.btn--primary:active {
    transform: scale(0.96);
}
.btn--outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}
.btn--outline:active {
    transform: scale(0.96);
}

/* ===== SECTION ===== */
.section {
    padding: 40px 0;
}
.section__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--purple);
    margin-bottom: 6px;
}
.section__title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 10px;
}
.section__title .highlight {
    background: linear-gradient(
        135deg,
        var(--pink),
        var(--purple),
        var(--blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section__desc {
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(247, 174, 248, 0.15),
        rgba(179, 136, 235, 0.15),
        rgba(128, 147, 241, 0.15)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.service-card:active {
    transform: scale(0.97);
}
.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(
        135deg,
        rgba(247, 174, 248, 0.15),
        rgba(179, 136, 235, 0.15)
    );
    color: var(--pink);
}
.service-card__icon--minecraft {
    background: linear-gradient(
        135deg,
        rgba(128, 147, 241, 0.15),
        rgba(114, 221, 247, 0.15)
    );
    color: var(--light-blue);
}
.service-card__icon--other {
    background: linear-gradient(
        135deg,
        rgba(247, 174, 248, 0.1),
        rgba(128, 147, 241, 0.1)
    );
    color: var(--blue);
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 24px;
}
.about__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}
.about__text strong {
    color: var(--white);
    font-weight: 600;
}
.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 20px 18px;
    text-align: center;
    backdrop-filter: blur(4px);
}
.stat__number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-top: 2px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
}
.footer__brand img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.footer__brand span {
    background: linear-gradient(
        135deg,
        var(--pink),
        var(--purple),
        var(--blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.2rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.5);
}
.footer__social a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transform: translateY(-2px);
}
.footer__social a:active {
    transform: scale(0.92);
}
.footer__social a .fa-youtube:hover {
    color: #ff0000;
}
.footer__social a .fa-tiktok:hover {
    color: #ffffff;
}
.footer__social a .fa-instagram:hover {
    color: #e4405f;
}
.footer__social a .fa-whatsapp:hover {
    color: #25d366;
}

/* ===== LINK TREE ===== */
.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}
.footer__links .link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
}
.footer__links .link-btn i {
    font-size: 1.1rem;
    color: var(--purple);
}
.footer__links .link-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}
.footer__links .link-btn:active {
    transform: scale(0.97);
}
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}
.footer__bottom a {
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}
.footer__bottom a:hover {
    color: var(--purple);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .services__grid {
        grid-template-columns: 1fr 1fr;
    }
    .about__stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer__links {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .footer__links .link-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }
}
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    .hero__title {
        font-size: clamp(3rem, 8vw, 4.8rem);
    }
    .about__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer__brand {
        flex: 0 0 auto;
    }
    .footer__social {
        flex: 0 0 auto;
    }
    .footer__links {
        flex: 1 1 100%;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .footer__links .link-btn {
        flex: 1 1 calc(33.33% - 8px);
        min-width: 160px;
    }
    .hero {
        padding: 100px 0 20px;
    }
    .section {
        padding: 30px 0;
    }
}
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    .nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
        border-left: none;
        flex-direction: row;
        gap: 4px;
        overflow-y: visible;
        right: auto;
        transition: none;
    }
    .nav__overlay {
        display: none !important;
    }
    .nav a {
        padding: 10px 18px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.5);
        border-radius: 60px;
    }
    .nav a i {
        display: none;
    }
    .nav a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--white);
    }
    .nav a.btn-nav-cta {
        background: linear-gradient(135deg, var(--purple), var(--blue));
        color: var(--white) !important;
        padding: 10px 24px;
        box-shadow: 0 2px 16px rgba(128, 147, 241, 0.2);
    }
    .nav a.btn-nav-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 24px rgba(128, 147, 241, 0.3);
    }
    .services__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .hero {
        min-height: 90vh;
        padding: 100px 0 20px;
    }
    .section {
        padding: 30px 0;
    }
    .footer__links .link-btn {
        flex: 1 1 calc(33.33% - 8px);
    }
}
@media (min-width: 1280px) {
    .container {
        padding: 0 60px;
    }
    .hero__content {
        gap: 26px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.fade-up--delay-1 {
    animation-delay: 0.1s;
}
.fade-up--delay-2 {
    animation-delay: 0.2s;
}
.fade-up--delay-3 {
    animation-delay: 0.3s;
}
.fade-up--delay-4 {
    animation-delay: 0.4s;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}
