:root {
    --bg:             #080510;
    --purple-dark:    #1e0b40;
    --purple-mid:     #5b1fa8;
    --purple-bright:  #8b3fe8;
    --purple-light:   #c084fc;
    --purple-glow:    #a855f7;
    --white:          #ffffff;
    --white-dim:      rgba(255, 255, 255, 0.123);
    --white-border:   rgba(255,255,255,0.10);
    --white-text:     rgba(255,255,255,0.55);
    --font:           'Special Gothic Expanded One', sans-serif;
    --font-body:     'Inter', sans-serif;
    --card-gap:       14px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* ===== NOISE ===== */
body::before {
    content: '';
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 220px;
    opacity: 0.055;
    mix-blend-mode: screen;
}

/* ===== GRID BG ===== */
.grid-bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(168,85,247,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168,85,247,0.05) 1px, transparent 1px);
    background-size: 52px 52px;
}

/* ===== MAIN ===== */
main {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
    padding: 56px 20px 88px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.logo-wrap { display: flex; justify-content: center; width: 100%; }

.logo-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(168,85,247,0.7));
}

.tagline {
    font-size: clamp(9px, 2.6vw, 12px);
    font-weight: 400;
    letter-spacing: clamp(0.02em, 0.8vw, 0.06em);
    color: var(--white-text);
    line-height: 1.75;
    max-width: 400px;
    text-transform: uppercase;
}


/* ===== CRAZY MODE ===== */
.logo-img.crazy {
    animation: crazySpin 0.2s linear infinite;
    filter: drop-shadow(0 0 20px #a855f7) brightness(1.5);
}

@keyframes crazySpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Jumping text */
.crazy-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: #a855f7;
    text-transform: uppercase;
    animation: jumpText 0.6s ease infinite alternate;
    z-index: 9999;
    text-align: center;
}

@keyframes jumpText {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -60%) scale(1.2); }
}

/* Confetti pieces */
.confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    background: red;
    top: 0;
    animation: fall linear forwards;
    z-index: 9999;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== SHARE BUTTON ===== */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--white-border);
    border-radius: 6px;
    background: var(--white-dim);
    color: var(--white-text);
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(10px, 2.4vw, 12px);
    letter-spacing: clamp(0.08em, 0.8vw, 0.22em);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.25s, border-color 0.25s;
}

.share-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.share-btn:hover::before,
.share-btn:focus-visible::before { transform: scaleX(1); }

.share-btn:hover,
.share-btn:focus-visible {
    color: var(--white);
    border-color: var(--purple-glow);
}

.share-btn svg,
.share-btn span { position: relative; z-index: 1; }

.share-btn svg { width: 15px; height: 15px; }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--purple-glow);
    color: var(--white);
    font-family: var(--font);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 999;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== SOCIALS ===== */
.socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 68px;
    min-height: 64px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--white-text);
}

.social-btn:hover,
.social-btn:focus-visible {
    color: var(--white);
    transform: translateY(-4px);
}

.social-btn svg {
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 2px solid var(--white-border);
    border-radius: 50%;
    background: var(--white-dim);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.3s;
}

.social-btn:hover svg,
.social-btn:focus-visible svg {
    border-color: var(--purple-glow);
    background: var(--purple-glow);
    box-shadow: 0 0 28px rgba(168,85,247,0.55);
}

.social-btn span {
    font-weight: 400;
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== SECTION ===== */
.section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-label {
    font-weight: 400;
    font-size: clamp(9px, 2.4vw, 12px);
    letter-spacing: clamp(0.12em, 1.5vw, 0.38em);
    text-transform: uppercase;
    color: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-label::before,
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--white-border);
}

.update-img-wrap {
    width: 96px;
    flex-shrink: 0;
    background: var(--purple-dark);
    overflow: hidden;
}

.update-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CARD GRIDS ===== */
.card-grid {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
}

.card-grid--row {
    flex-direction: row;
    gap: var(--card-gap);
}

.card-grid--row .link-card {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 16px;
    gap: 10px;
    min-height: 100px;
}

.card-grid--row .card-label {
    font-size: clamp(10px, 3vw, 16px);
    flex: unset;
}

/* ===== LINK CARDS ===== */
.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    min-height: 70px;
    border: 1px solid var(--white-border);
    border-radius: 6px;
    background: var(--white-dim);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0%;
    background: var(--purple-glow);
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.link-card:hover::before,
.link-card:focus-visible::before { height: 100%; }

.link-card:hover,
.link-card:focus-visible {
    border-color: rgba(168,85,247,0.45);
    box-shadow: 0 4px 24px rgba(168,85,247,0.14);
    transform: translateX(6px);
}

.card-icon,
.card-label,
.promo-badge,
.card-arrow { position: relative; z-index: 2; }
.card-arrow-promo { position: relative; z-index: 2; }

.card-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.card-label {
    font-weight: 400;
    font-size: clamp(10px, 2.8vw, 14px);
    letter-spacing: clamp(0.04em, 0.6vw, 0.1em);
    text-transform: uppercase;
    flex: 1;
    color: var(--white);
    min-width: 0;
    overflow-wrap: break-word;
}

.card-arrow {
    font-size: 16px;
    color: var(--purple-light);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
}

.link-card:hover .card-arrow,
.link-card:focus-visible .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-arrow-promo {
    font-size: 10px;
    color: var(--white);
    padding: 6px;
    background: var(--purple-mid);
    border-radius: 4px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
}

.promo-card:hover .card-arrow-promo,
.promo-card:focus-visible .card-arrow-promo {
    opacity: 1;
    transform: translateX(0);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  padding: 20px;
  justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-content {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.close {
  position: fixed;
  top: 16px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  color: white;
  cursor: pointer;
  z-index: 1000;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.close:hover { opacity: 1; }


/* ===== PROMO CARD ===== */
.promo-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    min-height: 70px;
    border: 1px solid var(--white-border);
    border-radius: 6px;
    background: var(--white-dim);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0%;
    background: var(--purple-glow);
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.promo-card {
    border-color: rgba(168,85,247,0.35);
    background: linear-gradient(135deg, rgba(91,31,168,0.2) 0%, rgba(8,5,16,0.7) 100%);
}

.promo-card:hover,
.promo-card:focus-visible {
    border-color: rgba(168,85,247,0.45);
    box-shadow: 0 4px 24px rgba(168,85,247,0.14);
    transform: translateX(6px);
}

.promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.04) 30%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.04) 70%,
        transparent 100%
    );
    transform: skewX(-15deg);
    transition: none;
    pointer-events: none;
    z-index: 3;
}
 
.promo-card:hover::after {
    animation: promoFlash 0.55s ease forwards;
}
 
@keyframes promoFlash {
    0%   { left: -120%; }
    100% { left: 160%; }
}

.promo-badge {
    font-weight: 400;
    font-size: clamp(9px, 2vw, 10px);
    letter-spacing: clamp(0.08em, 0.8vw, 0.22em);
    text-transform: uppercase;
    background: var(--purple-glow);
    color: var(--white);
    padding: 3px 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== LOCATION CARD ===== */
.location-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 30px 24px;
    min-height: unset;
    background: rgba(4, 2, 10, 0.85);
    border-color: rgba(255,255,255,0.07);
}

.location-card .card-icon {
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 26px;
}

.location-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    position: relative;
    z-index: 2;
    min-width: 0;
}

.location-address {
    font-family: var(--font-body);
    font-weight: 300;
}

.location-label {
    font-weight: 400;
    font-size: clamp(11px, 2.8vw, 14px);
    letter-spacing: clamp(0.06em, 0.8vw, 0.2em);
    text-transform: uppercase;
    color: var(--white);
    flex: unset;
}

.location-address {
    font-size: clamp(12px, 2.8vw, 14px);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--white-text);
    line-height: 1.65;
    text-transform: none;
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
}

/* ===== FOOTER ===== */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--white-border);
}

footer p {
    font-size: clamp(9px, 2.2vw, 11px);
    letter-spacing: clamp(0.08em, 1vw, 0.22em);
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
    text-align: center;
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero                 { animation: fadeUp 0.6s ease both 0.08s; }
.socials              { animation: fadeUp 0.6s ease both 0.18s; }
.section:nth-child(3) { animation: fadeUp 0.6s ease both 0.26s; }
.section:nth-child(4) { animation: fadeUp 0.6s ease both 0.32s; }
.section:nth-child(5) { animation: fadeUp 0.6s ease both 0.38s; }
.section:nth-child(6) { animation: fadeUp 0.6s ease both 0.44s; }
.section:nth-child(7) { animation: fadeUp 0.6s ease both 0.50s; }
.section:nth-child(8) { animation: fadeUp 0.6s ease both 0.56s; }
footer                { animation: fadeUp 0.6s ease both 0.56s; }

/* ===== MOBILE ≤ 480px ===== */
@media (max-width: 480px) {
    main {
        padding: 36px 14px 80px;
        gap: 40px;
    }

    :root { --card-gap: 10px; }

    .logo-img {
        max-width: 100%;
        width: calc(100vw - 48px);
    }

    .tagline {
        font-size: 11px;
        letter-spacing: 0.02em;
        max-width: 300px;
    }

    .section-label {
        font-size: 12px;
        letter-spacing: 0.12em;
        gap: 8px;
    }

    /* Socials */
    .socials { gap: 1px; }
    .social-btn {
        width: clamp(54px, 21vw, 68px);
        min-height: 58px;
        gap: 6px;
    }
    .social-btn svg { width: 44px; height: 44px; padding: 10px; }
    .social-btn span { display:none; }

    /* Link cards */
    .link-card { padding: 16px 14px; min-height: 58px; gap: 10px; }
    .promo-card { padding: 16px 14px; min-height: 58px; gap: 10px; }
    .card-icon { font-size: 18px; width: 22px; }
    .card-label { font-size: 12px; letter-spacing: 0.04em; }
    .card-arrow { display: none; }

    .update-img-wrap { width: 60px; }

    /* Row grid */
    .card-grid--row .link-card { padding: 18px 10px; min-height: 80px; }
    .card-grid--row .card-icon { font-size: 17px; }
    .card-grid--row .card-label { font-size: 12px; letter-spacing: 0.03em; }

    /* Share button */
    .share-btn {
        width: 100%;
        justify-content: center;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    /* Location card */
    .location-card { padding: 16px 14px; gap: 10px; }
    .location-label { font-size: 11px; letter-spacing: 0.06em; }
    .location-address { font-size: 12px; }

    /* Promo badge */
    .promo-badge { font-size: 9px; letter-spacing: 0.08em; padding: 3px 8px; }

    /* Footer */
    footer p { font-size: 9px; letter-spacing: 0.08em; }
}

/* ===== VERY SMALL ≤ 360px ===== */
@media (max-width: 360px) {
    .logo-img { width: calc(100vw - 40px); }

    .tagline { font-size: 9px; letter-spacing: 0.01em; }

    .section-label { font-size: 8px; letter-spacing: 0.1em; }

    .card-label { font-size: 10px; letter-spacing: 0.02em; }

    .card-grid--row { flex-direction: column; }
    .card-grid--row .link-card {
        flex-direction: row;
        text-align: left;
        min-height: 52px;
        padding: 12px 14px;
        gap: 10px;
    }
    .card-grid--row .card-label { flex: 1; font-size: 10px; }
    .card-grid--row .card-icon { font-size: 17px; }
}

/* ===== TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
    .link-card:hover { transform: none; border-color: var(--white-border); box-shadow: none; }
    .link-card:hover::before { height: 0%; }
 
    .link-card:active {
        transform: translateX(3px);
        border-color: rgba(169, 85, 247, 0.514);
        box-shadow: 0 0 18px rgba(169, 85, 247, 0.418);
    }
    .link-card:active::before { height: 0%; }
 
    .social-btn:hover { transform: none; }
    .social-btn:active svg {
        background: var(--purple-glow);
        border-color: var(--purple-glow);
        box-shadow: 0 0 20px rgba(168,85,247,0.5);
    }
 
    .share-btn:active::before { transform: scaleX(1); }
    .share-btn:active { color: var(--white); }
}