@font-face {
    font-family: "Oswald";
    src:
        url("../fonts/Oswald-Bold.ttf?v=20260901-1")
        format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Anton";
    src:
        url("../fonts/Anton-Regular.ttf?v=20260901-1")
        format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --page-bg: #0d0d0e;
    --surface: #171719;
    --surface-light: #202023;
    --surface-hover: #29292d;
    --border: #343438;
    --border-light: #48484e;
    --text: #f7f7f7;
    --body-copy: #e2e2e5;
    --muted: #a9a9b0;
    --brand: #ff0038;
    --brand-dark: #cf002e;
    --brand-hover: #ff5275;
    --success: #00e68a;
    --danger: #ff4669;
    --surface-rgb: 23, 23, 25;
    --brand-rgb: 255, 0, 56;
    --font-body: "Oswald", Arial, sans-serif;
    --font-body-weight: 700;
    --font-brand: "Anton", Impact, sans-serif;
    --font-brand-weight: 400;
    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    --transition: 180ms ease;
    --telegram: #229ed9;
    --telegram-dark: #1687bd;
}

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

html {
    min-width: 320px;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 50% -12%,
            rgba(var(--brand-rgb), 0.12),
            transparent 31rem
        ),
        var(--page-bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: var(--font-body-weight);
    line-height: 1.5;
    letter-spacing: 0.012em;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.landing-shell {
    display: flex;
    flex-direction: column;
    width: min(100% - 2rem, 1040px);
    min-height: 100vh;
    margin: 0 auto;
}

.landing-header {
    display: flex;
    justify-content: center;
    padding: 2.1rem 0 1.25rem;
}

.site-title {
    color: var(--brand);
    font-family: var(--font-brand);
    font-size: clamp(2.2rem, 7vw, 4.3rem);
    font-weight: var(--font-brand-weight);
    line-height: 1;
    letter-spacing: 0.018em;
    text-align: center;
    text-transform: uppercase;
}

main {
    flex: 1;
}

.landing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.shop-card,
.telegram-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 7.4rem;
    overflow: hidden;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);
    transition:
        transform var(--transition),
        filter var(--transition),
        box-shadow var(--transition);
}

.shop-card:hover,
.telegram-banner:hover,
.social-links a:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

.shop-card:focus-visible,
.telegram-banner:focus-visible,
.social-links a:focus-visible,
.section-heading a:focus-visible,
.landing-footer a:focus-visible,
.video-play-button:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: 4px;
}

.shop-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.3rem 4rem 1.3rem 1.5rem;
    background:
        linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #ffffff;
}

.shop-card .action-label,
.telegram-banner small {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    opacity: 0.83;
    text-transform: uppercase;
}

.shop-card strong,
.telegram-banner strong {
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    line-height: 1.18;
}

.telegram-banner {
    gap: 1rem;
    padding: 1.3rem 4rem 1.3rem 1.25rem;
    background:
        linear-gradient(135deg, var(--telegram), var(--telegram-dark));
    color: #ffffff;
}

.telegram-mark {
    display: grid;
    flex: 0 0 3.1rem;
    width: 3.1rem;
    height: 3.1rem;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.action-arrow {
    position: absolute;
    right: 1.4rem;
    font-size: 2rem;
    line-height: 1;
}

.video-section {
    margin-top: 1.3rem;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: rgba(var(--surface-rgb), 0.92);
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.section-heading h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.section-heading a {
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.video-player {
    position: relative;
    display: grid;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    place-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    background:
        radial-gradient(
            circle at center,
            var(--surface-light),
            var(--page-bg)
        );
}

.video-message {
    padding: 1.5rem;
    color: var(--muted);
    text-align: center;
}

.video-play-button {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
}

.video-play-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.video-play-button::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.38),
            transparent 50%
        );
    content: "";
}

.video-play-button:hover img {
    transform: scale(1.015);
}

.play-symbol {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(3.8rem, 9vw, 5.5rem);
    height: clamp(3.8rem, 9vw, 5.5rem);
    padding-left: 0.25rem;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
    place-items: center;
    transform: translate(-50%, -50%);
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title {
    margin: 0.85rem 0 0.1rem;
    color: var(--body-copy);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.35;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1.3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.4rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: var(--surface);
    color: var(--body-copy);
    transition:
        transform var(--transition),
        filter var(--transition),
        border-color var(--transition);
}

.social-links a:hover {
    border-color: var(--border-light);
}

.social-links span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--text);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0 1.5rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.landing-footer nav {
    display: flex;
    gap: 1rem;
}

.landing-footer a:hover {
    color: var(--text);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .landing-shell {
        width: min(100% - 1.25rem, 1040px);
    }

    .landing-header {
        padding-top: 1.55rem;
    }

    .landing-actions {
        grid-template-columns: 1fr;
    }

    .shop-card,
    .telegram-banner {
        min-height: 6.3rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .telegram-banner {
        gap: 0.75rem;
    }

    .telegram-mark {
        flex-basis: 2.65rem;
        width: 2.65rem;
        height: 2.65rem;
    }

    .video-section {
        padding: 0.75rem;
        border-radius: var(--radius-medium);
    }

    .social-links a {
        gap: 0.4rem;
        padding-inline: 0.45rem;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Banner progetti (dicembre 2026) */
.projects-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.2rem 4rem 1.2rem 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(115deg, transparent 62%, rgba(var(--brand-rgb), 0.85) 62%, rgba(var(--brand-rgb), 0.85) 68%, transparent 68%),
        var(--surface);
    box-shadow: var(--shadow);
    transition: transform var(--transition), filter var(--transition);
}

.projects-banner:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

.projects-banner:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: 4px;
}

.projects-banner small {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.projects-banner strong {
    display: block;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    line-height: 1.18;
}

.projects-banner-cta {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .projects-banner {
        background: var(--surface);
        border-left: 0.35rem solid var(--brand);
    }

    .projects-banner-cta {
        display: none;
    }
}
