@font-face {
    font-family: 'Inter';
    src: url('Assets/Fonts/Inter/Inter_28pt-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: clamp(96px, 12vw, 136px);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    display: flex;
    justify-content: center;
    padding: clamp(18px, 2vw, 28px) clamp(24px, 5vw, 64px) clamp(14px, 1.6vw, 22px);
    background: linear-gradient(180deg, rgba(5, 6, 18, 0.68) 0%, rgba(5, 6, 18, 0.32) 65%, rgba(5, 6, 18, 0) 100%);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 40;
}

.site-nav {
    width: min(1180px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 14px rgba(8, 10, 20, 0.22);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease;
}

.site-nav__button:hover,
.site-nav__button:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 22px rgba(8, 10, 20, 0.3);
}

.site-nav__button:active {
    transform: translateY(0) scale(0.985);
    box-shadow: 0 6px 12px rgba(8, 10, 20, 0.24);
    filter: brightness(0.98);
}

@media (max-width: 768px) {
    body {
        padding-top: clamp(78px, 18vw, 108px);
    }

    .site-nav {
        width: min(92%, 640px);
    }

    .site-nav__button {
        padding: 10px 18px;
        font-size: 15px;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-4vw);
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 1600px;
    height: 390px;
    max-width: 100%;
    max-height: 100%;
    margin-top: 192px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.1s ease;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 16px;
    background: radial-gradient(120% 120% at 50% 20%, rgba(82, 115, 255, 0.16), rgba(82, 115, 255, 0));
    filter: blur(18px);
    opacity: 0;
    transition: opacity 1s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.image-wrapper:hover::after,
.image-wrapper:focus-within::after {
    opacity: 0.55;
    transform: scale(1.02);
}

.centered-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.60) 0%, 
        rgba(0, 0, 0, 0) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.text-content {
    position: absolute;
    top: 60px;
    left: 60px;
    z-index: 10;
    pointer-events: none;
}

.cta-wrapper {
    margin-top: 32px;
}

.cta-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    color: #FFFFFF;
    background:
        linear-gradient(135deg, rgba(48, 54, 204, 0.55) 0%, rgba(18, 25, 122, 0.55) 100%),
        radial-gradient(100% 120% at 20% 30%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 80%);
    background-blend-mode: screen;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, filter 0.4s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
}

.cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 140% at 20% 20%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(16, 22, 84, 0.45);
}

.cta-button:hover::after,
.cta-button:focus-visible::after {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(0px) scale(0.985);
    box-shadow: 0 8px 16px rgba(16, 22, 84, 0.4);
    filter: brightness(0.95);
}

.info-card {
    align-self: flex-start;
    margin-left: 60px;
    width: clamp(320px, 42vw, 702px);
    padding: 34px;
    border-radius: 12px;
    background-color: #0f132c;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 24px;
    pointer-events: auto;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
    cursor: default;
    user-select: none;
}

.info-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 10px;
    background: radial-gradient(ellipse 105% 140% at 40% 35%, rgba(44, 82, 255, 0.4) 0%, rgba(44, 82, 255, 0) 50%);
    pointer-events: none;
    opacity: 0.75;
    transition: opacity 0.45s ease;
}

.info-card:hover,
.info-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(102, 143, 255, 0.55);
    box-shadow: 0 26px 54px rgba(25, 44, 105, 0.38);
}

.info-card:hover::after,
.info-card:focus-within::after {
    opacity: 1;
}

.info-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.info-card__icon {
    width: 28px;
    height: 28px;
    display: block;
    filter: none;
}

.info-card__title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.2;
    margin: 0;
    color: #FFFFFF;
}

.info-card__description {
    margin: 0;
    font-family: 'Onest', 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.5);
}


.info-grid {
    width: min(1200px, 90vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
    justify-items: stretch;
    grid-auto-rows: 1fr;
    margin-top: 48px;
}

.info-grid .info-card {
    margin: 0;
    height: 100%;
}

.info-grid .info-card:nth-child(odd) {
    justify-self: end;
}

.info-grid .info-card:nth-child(even) {
    justify-self: start;
}

.plans {
    width: min(1200px, 90vw);
    margin: 92px auto 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.plans__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.plans__title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #f5f7ff;
    text-align: left;
}


.plans__tabs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(15, 19, 44, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 42px rgba(10, 16, 42, 0.45);
    width: fit-content;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.plans__tabs::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    background: radial-gradient(ellipse 135% 170% at 30% 30%, rgba(44, 82, 255, 0.35) 0%, rgba(44, 82, 255, 0) 60%);
    opacity: 0.75;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.plans__tab {
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    background: none;
    cursor: pointer;
    outline: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.plans__tab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(44, 82, 255, 0.28), rgba(18, 28, 68, 0.42));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plans__tab:not(.plans__tab--active):hover {
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

.plans__tab:not(.plans__tab--active):hover::after {
    opacity: 0.35;
}

.plans__tab--active {
    color: #ffffff;
    font-weight: 600;
}

.plans__tab--active::after {
    opacity: 1;
}

.plans__tab:focus-visible {
    box-shadow: 0 0 0 2px rgba(102, 143, 255, 0.45);
}

.plans__tab:active {
    transform: translateY(0) scale(0.98);
}

.plans__panels {
    position: relative;
    min-height: 200px;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: visible;
}

.plans__panel {
    display: none;
    padding: 36px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background-color: #0f132c;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    transition: border-color 0.45s ease, box-shadow 0.45s ease;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    will-change: opacity, transform;
}

.plans__panel::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 18px;
    background: radial-gradient(ellipse 140% 180% at 38% 26%, rgba(44, 82, 255, 0.32) 0%, rgba(44, 82, 255, 0) 60%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.plans__panel--active,
.plans__panel--animating-in,
.plans__panel--animating-out {
    display: block;
}

.plans__panel--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.plans__panel--animating-in {
    animation: plansPanelFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.plans__panel--animating-out {
    animation: plansPanelFadeOut 0.35s ease forwards;
}

.plans__panel--active:focus-within,
.plans__panel--active:hover {
    border-color: rgba(102, 143, 255, 0.45);
    box-shadow: 0 26px 54px rgba(25, 44, 105, 0.38);
}

.plans__panel--active:focus-within::after,
.plans__panel--active:hover::after {
    opacity: 0.82;
}

@keyframes plansPanelFadeIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes plansPanelFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-16px);
    }
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    background-color: #0f132c;
    box-shadow: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.plan-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 14px;
    --plan-card-texture: none;
    background-image: linear-gradient(165deg, rgba(8, 12, 32, 0.78), rgba(12, 18, 48, 0.62)), var(--plan-card-texture);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, 155% 155%;
    background-position: center, center;
    opacity: 0.82;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.plans__panel[data-panel="game"] .plan-card::after {
    --plan-card-texture: url('Assets/Background/2.png');
}

.plans__panel[data-panel="virtual"] .plan-card::after {
    --plan-card-texture: url('Assets/Background/3.png');
}

.plan-card:hover,
.plan-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(102, 143, 255, 0.55);
    box-shadow: 0 26px 54px rgba(25, 44, 105, 0.38);
}

.plan-card:hover::after,
.plan-card:focus-within::after {
    opacity: 1;
}

.plan-card__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    z-index: 1;
}

.plan-card__title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plan-card__name {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #ffffff;
}

.plan-card__tag {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(102, 143, 255, 0.16);
    border: 1px solid rgba(102, 143, 255, 0.28);
}

.plan-card__tag--accent {
    color: #08102c;
    background: linear-gradient(120deg, rgba(126, 166, 255, 0.9), rgba(255, 255, 255, 0.9));
    border-color: transparent;
}

.plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    z-index: 1;
    color: #ffffff;
}

.plan-card__amount {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.plan-card__period {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.plan-card__description {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.68);
}

.plan-card__features {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
}

.plan-card__features li {
    position: relative;
    padding-left: 0;
}

.plan-card__cta {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
}

.plan-card__cta.cta-button {
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(102, 143, 255, 0.18);
    border: 1px solid rgba(102, 143, 255, 0.32);
    box-shadow: none;
    color: #ffffff;
    border-radius: 999px;
}

.plan-card__cta.cta-button:hover,
.plan-card__cta.cta-button:focus-visible {
    background: rgba(102, 143, 255, 0.26);
    box-shadow: 0 10px 22px rgba(24, 44, 105, 0.32);
}

.plan-card__cta.cta-button:active {
    box-shadow: 0 6px 12px rgba(24, 44, 105, 0.26);
}

@media (max-width: 900px) {
.plans {
margin-top: 72px;
width: min(640px, 92vw);
    }

    .plans__tabs {
        width: 100%;
        justify-content: center;
    }

    .plans__tab {
        flex: 1;
        text-align: center;
    }

    .plans__grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 600px) {
    .plans {
        margin-top: 56px;
        width: 100%;
        padding: 0 8px;
    }

    .plans__panel {
        padding: 24px;
    }

    .plans__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .info-card {
        margin-left: 32px;
        width: clamp(280px, 48vw, 640px);
    }
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: min(640px, 92vw);
        margin-top: 32px;
    }

    .image-wrapper {
        margin-top: 144px;
    }

    .info-card {
        align-self: stretch;
        margin: 24px 32px 0;
        width: auto;
    }
}

@media (max-width: 600px) {
    .info-grid {
        width: 100%;
        padding: 0 8px;
        gap: 16px;
        margin-top: 28px;
    }

    .info-card {
        margin: 16px 20px 0;
        padding: 24px;
        gap: 20px;
        align-self: stretch;
    }

    .image-wrapper {
        margin-top: 112px;
    }

    .info-card__header {
        gap: 16px;
    }

    .info-card__title {
        font-size: 24px;
    }
}

.main-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: bold;
    font-size: 48px;
    line-height: 48px;
    color: #FAFAFA;
    margin: 0;
    text-align: left;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.sub-title-container {
    position: relative;
    height: 68px;
    overflow: visible;
}

.sub-title {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: bold;
    font-size: 48px;
    line-height: 48px;
    padding-bottom: 8px;
    background: linear-gradient(180deg,
        rgba(219, 221, 255, 1.0) 0%,
        rgba(219, 221, 255, 0.7) 28%,
        rgba(83, 77, 255, 0.33) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-align: left;
    text-shadow: 0px 12px 24px rgba(0, 0, 0, 0.45);
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fade-out-up {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

.show {
    animation: fade-in-up 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    z-index: 2;
}

.hide {
    animation: fade-out-up 0.7s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
    z-index: 1;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1600px) {
    .image-wrapper {
        width: 100%;
        height: auto;
        max-width: 1600px;
        max-height: 742px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .image-wrapper {
        width: 100%;
        height: auto;
    }
}
