:root {
    --primary: #22c7b8;
    --primary-light: #53d5c2;
    --glass-light: rgba(255, 255, 255, 0.18);
    --glass-dark: rgba(7, 18, 19, 0.44);
    --glass-disabled: rgba(245, 248, 249, 0.22);
    --border-light: rgba(255, 255, 255, 0.30);
    --border-soft: rgba(255, 255, 255, 0.17);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.74);
    --page-bg: #071416;
    --button-radius: 31px;
    --panel-radius: 30px;
    --background-image: url("assets/camping-bg.png");
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--page-bg);
    font-family: "Vazirmatn", sans-serif;
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.page-shell {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 199, 184, 0.08), transparent 34%),
        #050b0d;
}

.mobile-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background: #0a1719;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.background,
.background-overlay {
    position: absolute;
    inset: 0;
}

.background {
    z-index: -3;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.015);
}

.background-overlay {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(4, 17, 22, 0.08) 0%, rgba(5, 16, 19, 0.04) 38%, rgba(3, 12, 13, 0.40) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 55%, rgba(255, 195, 95, 0.04));
    backdrop-filter: saturate(1.03);
}

.content {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: max(28px, env(safe-area-inset-top)) 20px calc(122px + env(safe-area-inset-bottom));
}

.brand-mark {
    width: 112px;
    height: 72px;
    margin-top: 5vh;
    opacity: 0;
    animation: reveal 0.8s 0.08s ease forwards;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.16));
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.actions {
    width: min(100%, 390px);
    display: grid;
    gap: 18px;
    margin: auto 0;
    transform: translateY(-2vh);
}

.glass-button {
    width: 100%;
    min-height: 104px;
    border-radius: var(--button-radius);
    border: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 64px 1fr 54px;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 18px 42px rgba(0, 0, 0, 0.16);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
    opacity: 0;
    animation: button-reveal 0.7s ease forwards;
}

.glass-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255,255,255,0.15), transparent 38%, rgba(255,255,255,0.06));
    pointer-events: none;
}

.glass-button--active {
    background: linear-gradient(135deg, rgba(56, 211, 194, 0.62), rgba(11, 164, 154, 0.48));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        0 18px 48px rgba(0, 0, 0, 0.18),
        0 0 26px rgba(34, 199, 184, 0.13);
    animation-delay: 0.18s;
}

.glass-button--disabled {
    background: linear-gradient(135deg, rgba(245,248,249,0.28), rgba(205,215,218,0.18));
    border-color: rgba(255,255,255,0.30);
    opacity: 0;
    animation-delay: 0.28s;
}

.glass-button--active:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        0 22px 54px rgba(0,0,0,0.22),
        0 0 30px rgba(34,199,184,0.20);
}

.glass-button--active:active {
    transform: translateY(0) scale(0.985);
}

.button-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.11);
}

.button-icon svg,
.arrow svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-label {
    position: relative;
    text-align: center;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.button-label strong {
    font-size: 18px;
    font-weight: 700;
}

.arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.13);
}

.glass-button--active .arrow {
    background: rgba(21, 218, 196, 0.72);
}

.glass-button--disabled .button-icon,
.glass-button--disabled .arrow {
    opacity: 0.58;
}

.glass-button--disabled .button-label {
    color: rgba(255,255,255,0.68);
}

.contact-panel {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 88px;
    padding: 8px 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    border-radius: var(--panel-radius);
    background: linear-gradient(135deg, rgba(7, 15, 16, 0.54), rgba(29, 31, 27, 0.38));
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 16px 45px rgba(0,0,0,0.28);
    opacity: 0;
    animation: reveal 0.8s 0.45s ease forwards;
}

.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: transform 200ms ease, color 200ms ease;
}

.contact-item + .contact-item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(255,255,255,0.17);
}

.contact-item:hover {
    transform: translateY(-2px);
    color: #fff;
}

.contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
}

.contact-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes button-reveal {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 360px) {
    .content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .actions {
        gap: 13px;
    }

    .glass-button {
        min-height: 92px;
        grid-template-columns: 52px 1fr 46px;
        padding: 10px 13px;
    }

    .button-icon {
        width: 45px;
        height: 45px;
    }

    .arrow {
        width: 42px;
        height: 42px;
    }

    .button-label {
        font-size: 14px;
    }

    .button-label strong {
        font-size: 16px;
    }

    .contact-panel {
        left: 10px;
        right: 10px;
    }

    .contact-item {
        font-size: 10px;
    }
}

@media (min-width: 481px) {
    .page-shell {
        padding: 18px 0;
    }

    .mobile-container {
        min-height: calc(100dvh - 36px);
        border-radius: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
