/* =========================
   Variables
========================= */

:root {
    --background: #111415;
    --accent: #d62828;
    --accent-light: #ef4444;
    --accent-rgb: 214, 40, 40;

    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.68);
    --text-muted: rgba(255, 255, 255, 0.42);

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

    --content-width: 1100px;
    --footer-height: 70px;

    --transition: 0.3s ease;
}

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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* =========================
   Body
========================= */

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--background);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition:
        background var(--transition),
        color var(--transition);
}

/* =========================
   Background Atmosphere
========================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(var(--accent-rgb), 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(var(--accent-rgb), 0.07),
            transparent 30%
        );
    z-index: -2;
}

/* =========================
   Background Grid
========================= */

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 40px 40px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    z-index: -1;
}

/* =========================
   Main Content
========================= */

main {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vh, 24px) 40px;
}

/* =========================
   Brand Section
========================= */

.brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(6px, 1.2vh, 12px);
    margin-bottom: clamp(16px, 3vh, 32px);
    flex-shrink: 1;
}

/* =========================
   Logo
========================= */

.logo {
    display: block;
    width: min(300px, 34vw, 38vh);
    height: auto;
    max-width: 100%;
    flex-shrink: 1;
    -webkit-user-drag: none;
    user-select: none;
    filter: drop-shadow(
        0 0 25px rgba(var(--accent-rgb), 0.18)
    );
}

/* =========================
   Tagline
========================= */

.tagline {
    color: var(--text);
    font-size: clamp(13px, 1.55vh, 17px);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* =========================
   Platform Layout
========================= */

.platforms {
    width: min(var(--content-width), 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    margin-top: 20px;
    flex-shrink: 1;
}

/* =========================
   Platform Card
========================= */

.platform {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

/* =========================
   Instagram Card
========================= */

.platform.instagram {
    min-height: 210px;
    border-color: rgba(var(--accent-rgb), 0.28);
    grid-column: 2;
    transform: translateY(30px);
}

/* =========================
   Platform Hover
========================= */

.platform:hover {
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(var(--accent-rgb), 0.08);
    transform: translateY(0px);
    filter: drop-shadow(
        0 10px 25px rgba(var(--accent-rgb), 0.15)
    );
}

/* =========================
   Platform Underline
========================= */

.platform::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.platform:hover::after {
    width: 70px;
}

/* =========================
   Platform Icon
========================= */

.platform-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    border-radius: 18px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    font-size: 25px;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.08);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.platform:hover .platform-icon {
    transform: scale(1.1) translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
}

/* =========================
   Platform Heading
========================= */

.platform h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* =========================
   Platform Description
========================= */

.platform p {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.5;
}

/* =========================
   Platform Call to Action
========================= */

.platform-cta {
    margin-top: 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    transition: letter-spacing 0.35s ease;
}

.platform:hover .platform-cta {
    letter-spacing: 0.05em;
}

/* =========================
   Footer
========================= */

footer {
    flex: 0 0 var(--footer-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================
   Footer Layout
========================= */

.footer-inner {
    width: min(var(--content-width), calc(100% - 40px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =========================
   Footer Brand
========================= */

.footer-brand {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* =========================
   Footer Information
========================= */

.footer-info {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-info a {
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-info a:hover {
    color: var(--accent);
}

/* =========================
   Footer Right
========================= */

.footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.copyright {
    color: var(--text-muted);
    font-size: 10px;
}