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

:root {
    --bg-start: #020617;
    --bg-end: #020617;
    --accent-1: #22c55e;
    --accent-2: #0ea5e9;
    --accent-3: #f97316;
    --card-bg: rgba(15, 23, 42, 0.9);
    --card-border: rgba(148, 163, 184, 0.35);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --brand-color: #f97316;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top, #020617 0%, #000 60%, #020617 100%);
    overflow: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
}

.page {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Background blobs */

.bg-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.6;
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s ease-out;
}

.blob-1 {
    top: -120px;
    left: -120px;
    background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 60%);
}

.blob-2 {
    bottom: -140px;
    right: -140px;
    background: radial-gradient(circle at 70% 70%, var(--accent-1), transparent 60%);
}

.blob-3 {
    top: 50%;
    left: 50%;
    background: radial-gradient(circle at 50% 50%, var(--accent-3), transparent 65%);
    opacity: 0.4;
}

/* SVG waves */

.wave {
    position: absolute;
    width: 140%;
    left: -10%;
    opacity: 0.12;
    fill: #0f172a;
}

.wave-top {
    top: -40px;
}

.wave-bottom {
    bottom: -40px;
}

/* Main content layout */

.content {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 2rem;
    text-align: center;
}

.brand-card {
    position: relative;
    max-width: 520px;
    width: min(90vw, 520px);
    padding: 2.6rem 2.8rem 2.4rem;
    border-radius: 1.75rem;
    background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.96),
            rgba(15, 23, 42, 0.92)
        );
    border: 1px solid var(--card-border);
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(18px);
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(0);
    transition:
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out,
        border-color 0.2s ease-out;
}

.brand-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.8), rgba(52, 211, 153, 0.5), rgba(249, 115, 22, 0.8));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.brand-card:hover::before {
    opacity: 1;
}

.logo-wrapper {
    width: 100%;
    height: 192px;
    border-radius: 50%;
    /* background: radial-gradient(circle at 30% 30%, #e400ff, #0f172a); */
    display: grid;
    place-items: center;
    margin-bottom: 1.6rem;
    /* box-shadow: 0 18px 40px rgb(135 135 135 / 65%), 0 0 0 1px rgba(248, 250, 252, 0.05); */
}

.logo-image {
    width: 92%;
    height: 74%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.brand-name {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.7rem;
}

.tagline {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer hint */

.footer-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.85;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.footer-hint .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-2);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

/* Custom cursor */

.cursor {
    position: fixed;
    pointer-events: none;
    border-radius: 999px;
    z-index: 20;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background: #e5e7eb;
    box-shadow: 0 0 18px rgba(248, 250, 252, 0.9);
}

.cursor-outer {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.22), transparent 60%);
}

/* Small screens */

@media (max-width: 640px) {
    .brand-card {
        padding: 2.2rem 1.9rem 2rem;
        border-radius: 1.5rem;
    }

    .logo-wrapper {
        width: 76px;
        height: 76px;
        margin-bottom: 1.4rem;
    }

    .footer-hint {
        bottom: 1.4rem;
        font-size: 0.72rem;
    }
}
