* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    background-image: url('./zadnik.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000000;
    color: #e0e0e0;
    overflow-x: hidden;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#canvas-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    pointer-events: none;
}

#bg-canvas, #canvas-3d {
    display: block;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.app-wrapper {
    position: relative;
    z-index: 10;
    backdrop-filter: blur(3px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 40px 18px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    flex-wrap: wrap;
    gap: 15px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.status-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 40px 0;
    background: rgba(0, 0, 0, 0.15);
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.logo-world {
    color: #000000;
    background: #e0e0e0;
    padding: 0 8px;
    border-radius: 4px;
}

.logo-vr {
    color: #ff1111;
    text-shadow: 0 0 12px #ff0000;
    margin-left: 5px;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.75);
    border: 1.5px solid #ff3333;
    color: #ff3333;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(4px);
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.3);
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 17, 17, 0.8);
    box-shadow: 0 0 8px rgba(255, 17, 17, 0.12);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.03em;
    line-height: 1.1;
    width: max-content;
}

.visitor-counter__label,
.visitor-counter__unit {
    font-size: 0.54rem;
    color: #ffb8b8;
    text-transform: none;
    white-space: nowrap;
}

.visitor-counter__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ff1111;
    text-shadow: 0 0 8px rgba(255, 17, 17, 0.6);
    min-width: 1.1ch;
    text-align: center;
}

.nav-btn i {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 3px #ff4444);
}

.nav-btn:hover {
    background: #ff1111;
    color: #000000;
    border-color: #ff8888;
    box-shadow: 0 0 18px #ff1111;
    transform: scale(1.05);
}

.nav-btn:hover i {
    color: #000;
}

.page {
    display: none;
    padding: 60px 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.page.active-page {
    display: block;
}

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

.cyber-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0;
    border-left: 5px solid #ff1a1a;
    padding-left: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #ff0000;
}

#services-page .cyber-title,
#promotions-page .cyber-title,
#birthdays-page .cyber-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    padding-left: 0;
}

#birthdays-page .section-text {
    margin-top: 18px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.section-text {
    margin-top: 24px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffdddd;
    max-width: 760px;
    line-height: 1.7;
    letter-spacing: 0.6px;
}

.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-action {
    margin: 0;
}

.advantages-grid,
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 10px;
}

.service-slider {
    width: 100%;
    max-width: 960px;
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.service-carousel .service-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform: scale(0.98);
}

.service-carousel .service-banner.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.service-pagination,
.promo-pagination {
    margin-top: 18px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #ffdddd;
    letter-spacing: 1px;
}

.service-nav,
.promo-nav {
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 1.5px solid #ff3333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-nav:hover,
.promo-nav:hover {
    background: #ff1111;
    border-color: #ff6666;
    transform: translateY(-2px);
}

.service-nav.disabled,
.service-nav:disabled,
.promo-nav.disabled,
.promo-nav:disabled {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 51, 51, 0.4);
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    transform: none;
}

.service-nav.disabled:hover,
.service-nav:disabled:hover,
.promo-nav.disabled:hover,
.promo-nav:disabled:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 51, 51, 0.4);
}

.service-nav i,
.promo-nav i {
    font-size: 1.1rem;
}

.service-banner {
    width: 100%;
    max-width: 720px;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid #ff3333;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid #ff3333;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: auto;
}

.preview-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.preview-modal.active {
    display: flex;
}

.preview-modal__content {
    position: relative;
    width: min(1280px, calc(100vw - 40px));
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 40px);
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    image-rendering: auto;
}

.preview-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.preview-modal__close:hover {
    background: rgba(255,255,255,0.2);
}

.promo-empty {
    margin: 40px auto 0;
    color: #ddd;
    font-size: 1.2rem;
    text-align: center;
}

.promo-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 10px;
}

.promo-slider {
    width: 100%;
    max-width: 960px;
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.promo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 51, 51, 0.9);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform: scale(0.98);
    box-shadow: 0 0 20px rgba(255, 17, 17, 0.18);
}

.promo-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.promo-date {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    box-shadow: 0 0 20px rgba(255, 17, 17, 0.25);
    backdrop-filter: blur(4px);
}

.promo-description {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    max-width: 280px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.68rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-align: right;
    box-shadow: 0 0 15px rgba(255, 17, 17, 0.15);
    backdrop-filter: blur(4px);
}

.promo-slide__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.8));
}

.promo-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(255, 17, 17, 0.85);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.promo-slide h3 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(255, 17, 17, 0.5);
}

.promo-slide p {
    font-size: 1.1rem;
    color: #f7dcdc;
    max-width: 70%;
    line-height: 1.5;
}

.promo-slide--gift {
    background-image: url('./promotions/пятерка.png');
}

.promo-slide--review {
    background-image: url('./promotions/отзыв.png');
}

.service-banner.gift-banner {
    background-image: url('./Sertificate1920x1080.png');
    background-color: #000;
    border-color: #ff3333;
}

.service-banner.gift-banner i,
.service-banner.gift-banner h3,
.service-banner.gift-banner p {
    display: none;
}

/* Birthday photo banner */
.service-banner.birthday-banner {
    background-image: url('./Birthsday.png');
    background-size: contain;
    background-position: center;
    color: #fff;
    position: relative;
    filter: brightness(1.2) saturate(1.15);
}
.service-banner.birthday-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.2));
    pointer-events: none;
}
.service-banner.birthday-banner i {
    display: none;
}

.service-banner.birthday-banner h3,
.service-banner.birthday-banner p {
    display: none;
}

.service-banner:hover {
    transform: translateY(-6px);
    border-color: #ff6666;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.35);
}

.service-banner i,
.service-banner h3,
.service-banner p {
    display: none;
}

.service-banner i {
    font-size: 2.4rem;
    color: #ff4444;
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.7);
}

.service-banner h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

.service-banner p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .service-banners {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}

@media (max-width: 900px) {
    .service-banners {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
    }
    .service-banner {
        max-width: 100%;
        width: 100%;
    }
}

.service-note {
    margin-top: 48px;
    text-align: center;
}

.service-note-text {
    display: block;
    max-width: 760px;
    margin: 0 auto 16px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.5;
}

.service-note .service-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    color: #000;
    background: #ff1111;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    margin: 0 auto 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-note .service-contact-link i {
    margin-right: 10px;
}


.service-contact-link:hover {
    background: #ff5555;
    transform: translateY(-1px);
}

.adv-card,
.price-card,
.photo-item,
.contacts-card,
.game-card {
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
    border: 1px solid #ff3333;
    border-radius: 20px;
    padding: 25px 20px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.adv-card:hover,
.price-card:hover,
.photo-item:hover,
.contacts-card:hover,
.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
    border-color: #ff6666;
}

.adv-card i,
.price-icon,
.contacts-card i,
.game-card i {
    font-size: 3rem;
    color: #ff3333;
    margin-bottom: 20px;
    text-shadow: 0 0 8px red;
}

.adv-card h3,
.price-card h3,
.contacts-card h3,
.photo-info h4,
.game-card h3 {
    font-family: 'Orbitron', sans-serif;
}

.adv-card h3,
.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-card {
    width: 260px;
    text-align: center;
    padding: 25px 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    font-weight: bold;
}

.price-row span:first-child {
    color: #ff8888;
}

.price-row span:last-child {
    font-size: 1.3rem;
    color: #ff1111;
    font-family: monospace;
}

.page#prices-page .cyber-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.price-banner {
    background: rgba(255, 17, 17, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    padding: 32px 30px;
    margin: 24px 0 30px;
    text-align: center;
    box-shadow: 0 0 35px rgba(255, 17, 17, 0.14);
    backdrop-filter: blur(16px);
}

.price-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.price-banner__icon i {
    font-size: 1.8rem;
    color: #ffd1d1;
}

.price-banner__content h3 {
    font-size: 2.1rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffe8e8;
    font-family: 'Orbitron', sans-serif;
}

.price-banner__content p {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.6;
}

.price-table {
    background: rgba(0,0,0,0.85);
    border: 1px solid #ff3a3a;
    border-radius: 24px;
    overflow-x: auto;
    margin: 0 auto 30px;
    max-width: 1080px;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', monospace;
    font-weight: 600;
}

.price-table th,
.price-table td {
    padding: 18px 16px;
    text-align: center;
    border-bottom: 1px solid #ff3333;
    color: #f0f0f0;
    font-size: 1.05rem;
}

.price-table th {
    background: #1a0000;
    color: #ff8888;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.price-table td:first-child {
    font-weight: bold;
    color: #ff8888;
}

.price-table tr:hover {
    background: rgba(255, 0, 0, 0.2);
}

.contacts-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.contacts-card {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.contacts-card p,
.adv-card p,
.photo-info p,
.game-card p,
.price-desc {
    color: #ccc;
}

.contact-detail {
    margin: 25px 0;
    border-top: 1px dashed #ff4444;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-detail a {
    color: #ff1111;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-detail a:hover {
    color: #ff4444;
    text-decoration: none;
}

.contact-detail i {
    font-size: 1.8rem;
    margin: 0;
}

.contact-detail i {
    font-size: 1.8rem;
    margin-right: 12px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid #ff3333;
    border-radius: 50px;
    padding: 8px 20px;
    color: #ff6666;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    transition: all 0.2s ease;
}

.social-icon i {
    font-size: 1.3rem;
    color: #ff3333;
    margin: 0;
}

.social-icon:hover {
    background: #ff1111;
    color: #000;
    box-shadow: 0 0 15px #ff1111;
    border-color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.58);
}

.game-link .game-card {
    display: block;
}

.game-link .game-banner {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-link:hover .game-banner {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(255,17,17,0.16);
}

.game-link:focus .game-banner,
.game-link:active .game-banner {
    box-shadow: 0 18px 40px rgba(255,17,17,0.16);
}

.catalog .game-card {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 260px;
}

.catalog .game-banner {
    min-height: 0;
    height: auto;
}

.catalog .game-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-title-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}

.page-decor {
    width: 160px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,17,17,0.95), rgba(255,119,119,0.8));
}

.sidebar {
    padding: 22px;
    position: sticky;
    top: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.catalog {
    width: 100%;
    min-width: 0;
}

.catalog .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.catalog .game-link {
    display: block;
}

.catalog .game-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--accent-2);
    border-radius: 14px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 300px;
}

.catalog .game-banner {
    width: 100%;
    background: linear-gradient(135deg, rgba(255,17,17,0.18), rgba(0,0,0,0.8));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    box-shadow: 0 0 25px rgba(255,0,0,0.18);
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
}

.catalog .game-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0) 40%),
      linear-gradient(90deg, rgba(255,255,255,0.05), transparent 20%, transparent 80%, rgba(255,255,255,0.05));
    pointer-events: none;
    mix-blend-mode: overlay;
}

.catalog .game-banner::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,17,17,0.65), rgba(255,255,255,0.12), rgba(255,17,17,0.65));
    pointer-events: none;
}

.catalog .game-banner:hover {
    transform: translateY(-4px);
    border-color: #ff1111;
}

.catalog .game-banner__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.catalog .game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #fff;
    letter-spacing: 0.8px;
    text-align: center;
    padding: 10px 10px 0;
    word-break: break-word;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.catalog .game-link .game-card {
    display: block;
}

.catalog .game-link .game-banner {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.catalog .game-link:hover .game-banner {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(255,17,17,0.16);
}

.catalog .game-link:focus .game-banner,
.catalog .game-link:active .game-banner {
    box-shadow: 0 18px 40px rgba(255,17,17,0.16);
}

.catalog .game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog .tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.78rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

.sidebar {
    min-width: 280px;
    max-width: 280px;
    justify-self: start;
}

@media (max-width: 1200px) {
    .content-layout {
        grid-template-columns: minmax(240px, 280px) 1fr;
    }
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-label {
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,17,17,0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.filter-pill:hover {
    background: rgba(255,17,17,0.2);
}

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 18px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,0.14);
        background: linear-gradient(135deg, rgba(255,17,17,0.18), rgba(10,10,10,0.85));
        color: #fff;
        font-family: 'Orbitron', monospace;
        font-weight: 700;
        font-size: 0.95rem;
        text-transform: uppercase;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .btn:hover {
        background: linear-gradient(135deg, rgba(255,17,17,0.28), rgba(20,20,20,0.95));
        border-color: rgba(255,255,255,0.25);
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(255,17,17,0.35), rgba(10,10,10,0.95));
    }

    .btn.secondary {
        background: rgba(0,0,0,0.35);
        border-color: rgba(255,17,17,0.22);
        color: #ffdddd;
    }

    .btn.secondary:hover {
        background: rgba(255,17,17,0.12);
        color: #fff;
    }

button,
.btn,
.btn-primary,
.btn-secondary,
.nav-btn {
    outline: none;
}

button:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-btn:focus-visible {
    outline: none;
}

    .search-input {
        width: 100%;
        padding: 10px 14px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(255,255,255,0.06);
        color: #fff;
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

.search-input:focus {
    border-color: rgba(255,17,17,0.9);
    background: rgba(255,255,255,0.12);
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.filter-pill.active {
    background: #ff1111;
    border-color: #ff1111;
    color: #000;
}

.game-link {
    display: block;
    text-decoration: none;
    outline: none;
}

.game-link:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
}

.game-banner {
    background: linear-gradient(135deg, rgba(255,17,17,0.18), rgba(0,0,0,0.8));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    box-shadow: 0 0 25px rgba(255,0,0,0.18);
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 0;
    height: auto;
}

.game-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0) 40%),
      linear-gradient(90deg, rgba(255,255,255,0.05), transparent 20%, transparent 80%, rgba(255,255,255,0.05));
    pointer-events: none;
    mix-blend-mode: overlay;
}

.game-banner::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,17,17,0.65), rgba(255,255,255,0.12), rgba(255,17,17,0.65));
    pointer-events: none;
}

.game-banner:hover {
    transform: translateY(-4px);
    border-color: #ff1111;
}

.game-banner--midway {
    background: none;
    background-color: #07122b;
}

.game-banner--midway::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.65));
    pointer-events: none;
}

.game-banner__img {
    width: 100%;
    max-height: 220px;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #fff;
    letter-spacing: 0.8px;
    text-align: center;
    padding: 10px 10px 0;
    word-break: break-word;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.tag-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255,17,17,0.12), rgba(0,0,0,0.12));
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,17,17,0.16);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    align-items: center;
    gap: 6px;
}

.tag-pill.player {
    background: linear-gradient(90deg, rgba(17,119,255,0.08), rgba(0,0,0,0.06));
    border-color: rgba(17,119,255,0.14);
    color: #dfefff;
}

.tag-pill.genre {
    background: linear-gradient(90deg, rgba(255,17,17,0.12), rgba(0,0,0,0.12));
    border-color: rgba(255,17,17,0.16);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    justify-content: flex-start;
}

.more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 22px 0;
}

.page-label {
    display: inline-flex;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255,17,17,0.15);
    color: #ffb3b3;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 16px;
}

.game-meta-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

    .game-hero {
        display: grid;
        gap: 24px;
        margin-bottom: 20px;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .video-banner {
        width: 100%;
        min-height: 420px;
        border-radius: 28px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: transparent !important;
        box-shadow: 0 0 0 1px rgba(255, 17, 17, 0.06) inset, 0 26px 70px rgba(0, 0, 0, 0.4), 0 0 28px rgba(255, 17, 17, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        filter: none !important;
    }

    .video-banner:hover,
    .video-banner:focus-within {
        filter: none;
    }

    .video-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: transparent !important;
        pointer-events: none;
    }

    .video-banner,
    .video-banner::before,
    .video-banner::after,
    .video-banner:hover,
    .video-banner:focus-within,
    .video-banner__video,
    .video-banner__video:hover,
    .video-banner__video:focus {
        filter: none !important;
        opacity: 1 !important;
        background: transparent !important;
        mix-blend-mode: normal !important;
    }

    .video-banner__video {
        width: 100%;
        height: 100%;
        min-height: 420px;
        object-fit: cover;
        display: block;
        background: #000;
        filter: saturate(1.05);
        accent-color: #ff1111;
    }

    .video-banner__play {
        position: absolute;
        z-index: 2;
        inset: 50% auto auto 50%;
        transform: translate(-50%, -50%);
        width: 84px;
        height: 84px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 17, 17, 0.22);
        backdrop-filter: blur(12px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        cursor: pointer;
        transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
    }

    .video-banner__play::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-42%, -50%);
        width: 0;
        height: 0;
        border-left: 22px solid #fff;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
    }

    .video-banner__play:hover {
        transform: translate(-50%, -50%) scale(1.05);
        background: rgba(255, 17, 17, 0.34);
    }

    .video-banner__play:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.85);
        outline-offset: 4px;
    }

    .video-banner__play--hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -50%) scale(0.95);
    }

    .video-banner__video::-webkit-media-controls-panel {
        background: rgba(10, 10, 10, 0.9);
        border-radius: 0;
        box-shadow: 0 0 0 1px rgba(255, 17, 17, 0.12);
    }

    .video-banner__video::-webkit-media-controls-button,
    .video-banner__video::-webkit-media-controls-play-button,
    .video-banner__video::-webkit-media-controls-fullscreen-button,
    .video-banner__video::-webkit-media-controls-volume-slider {
        filter: drop-shadow(0 0 4px rgba(255, 17, 17, 0.6));
        color: #fff;
    }

    .video-banner__video::-webkit-media-controls-timeline {
        accent-color: #ff4444;
    }

    .video-banner__placeholder {
        width: 100%;
        min-height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        opacity: 0.95;
        font-size: 1rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        background: rgba(0, 0, 0, 0.45);
        padding: 24px;
        text-align: center;
        line-height: 1.6;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

        letter-spacing: 0.03em;
        background: rgba(255,255,255,0.04);
    }

    .game-tagline {
        font-size: 1rem;
        line-height: 1.75;
        color: #f5f1e9;
        margin: 0;
        max-width: 100%;
    }

.meta-title {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffb3b3;
    margin-bottom: 12px;
}

.game-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,5,5,0.85);
    box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}

.game-description .section-text {
    max-width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #f3f1ea;
    margin: 0;
}

.game-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #ffb3b3;
    font-weight: 800;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(255,17,17,0.15);
}

.description-lead {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #f3f1ea;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.description-body {
    font-size: 0.98rem;
    line-height: 1.9;
    color: #d8d5d1;
    margin: 0;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.feature-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px 18px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,17,17,0.08), rgba(14,14,14,0.95));
    color: #eee;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.feature-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,17,17,0.85));
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-title {
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.feature-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #d8d5d1;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 22px 18px;
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 16px;
    color: #ccc;
    text-align: center;
    background: rgba(255,255,255,0.03);
}

.game-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(10px);
}

.game-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.game-modal__backdrop {
    position: absolute;
    inset: 0;
    /* Убрали затемняющий фон - делаем прозрачным, чтобы модалки не затемняли весь экран */
    background: transparent;
}

.game-modal__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    max-height: min(100%, calc(100vh - 40px));
    overflow: auto;
    transform: translateY(24px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,17,17,0.65) rgba(255,255,255,0.04);
}

.game-modal__content::-webkit-scrollbar {
    width: 12px;
}

.game-modal__content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
}

.game-modal__content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255,17,17,0.75), rgba(255,17,17,0.35));
    border-radius: 999px;
    border: 3px solid rgba(0,0,0,0.14);
}

.game-modal__content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,17,17,0.95), rgba(255,17,17,0.55));
}

.game-modal.active .game-modal__content {
    transform: translateY(0);
}

.game-modal__content::before {
    display: none;
}

.game-modal__content .game-detail {
    margin: 0;
    border-radius: 32px;
    box-shadow: 0 32px 90px rgba(0,0,0,0.55);
    background: radial-gradient(circle at top left, rgba(255,17,17,0.12), rgba(10,10,10,0.98) 45%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 28px;
}

.game-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.game-modal__close:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .game-modal__content { width: min(100%, 1000px); }
}

@media (max-width: 700px) {
    .game-modal__content { width: min(100%, calc(100vw - 24px)); }
    .game-detail { border-radius: 24px; }
}

@media (max-width: 600px) {
    .game-banner { min-height: 140px; padding: 12px; }
    .game-title { font-size: clamp(0.95rem, 3.6vw, 1.05rem); }
}

@media (max-width: 900px) {
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: relative; top: auto; }
    .filters-row { flex-direction: column; align-items: flex-start; }
}

.section-note {
    margin-top: 14px;
    max-width: 760px;
    color: #ffdddd;
    background: rgba(255, 51, 51, 0.12);
    border: 1px solid rgba(255, 51, 51, 0.35);
    padding: 16px 18px;
    border-radius: 18px;
    font-style: italic;
    letter-spacing: 0.4px;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.08);
}

.beat-saber-card,
.arizona-card,
.angry-birds-card {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
}

/* Loft room banner */
.service-banner.loft-banner {
    background-image: url('./Loft.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}

/* Decorations banner uses loft photo moved here */
.service-banner.ykrashenia-banner {
    background-image: url('./ChatGPT Image 8 июн. 2026 г., 17_09_31.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}

/* Pinjata banner */
.service-banner.pinjata-banner {
    background-image: url('./Pinjata.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}

/* Animator banner */
.service-banner.animator-banner {
    background-image: url('./Animator.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}

/* Photographer banner */
.service-banner.fotograf-banner {
    background-image: url('./Photograf.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}

/* Board games banner */
.service-banner.nastolki-banner {
    background-image: url('./Nastolki.png');
    background-size: contain;
    background-position: center;
    background-color: #000;
    filter: brightness(1);
}


.angry-birds-card .game-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 999px;
}

.angry-birds-card .game-badge i {
    font-size: 1rem;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #ff6666;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
}

.game-card i {
    font-size: 2.5rem;
    color: #ff3333;
    margin-bottom: 15px;
}

.game-card h3 {
    font-size: 1.4rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.game-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.game-badge {
    display: inline-block;
    background: rgba(255,0,0,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ff8888;
}

.video-preview {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.96);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.15s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.game-card:hover .video-preview {
    opacity: 1;
    transform: scale(1);
}

.video-preview video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.game-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: inherit;
    position: relative;
    z-index: 0;
    background: #000;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal__content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1280px, calc(100vw - 80px));
    max-width: 100%;
    height: min(720px, calc(100vh - 80px));
    max-height: calc(100vh - 80px);
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 40px rgba(255,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.video-modal__close:hover {
    background: rgba(255,255,255,0.2);
}

.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.photo-item {
    background: #0a0a0a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ff3333;
    transition: 0.3s;
}

.photo-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255,0,0,0.4);
}

.photo-carousel {
    position: relative;
    background: #050505;
    border-bottom: 1px solid rgba(255,51,51,0.3);
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.photo-item.active-banner {
    display: grid;
    grid-template-rows: auto auto;
}

.photo-carousel__slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-carousel__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #000;
    display: block;
    filter: blur(1.5px) brightness(0.82);
    transition: filter 0.35s ease;
}

.photo-carousel:hover .photo-carousel__slide img {
    filter: blur(1px) brightness(0.92);
}

.photo-carousel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.photo-carousel__nav {
    display: none;
}

.photo-carousel__nav:hover {
    background: rgba(255,17,17,0.8);
}

.photo-carousel__nav--prev {
    left: 12px;
}

.photo-carousel__nav--next {
    right: 12px;
}

.photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 120;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
}

.photo-modal__content {
    position: relative;
    width: min(1280px, calc(100vw - 40px));
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 40px);
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.photo-modal__close,
.photo-modal__nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.photo-modal__close:hover,
.photo-modal__nav:hover {
    background: rgba(255,17,17,0.8);
}

.photo-modal__close {
    top: 16px;
    right: 16px;
}

.photo-modal__nav--prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-modal__nav--next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-modal__indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}

.photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
}

.photo-modal__content {
    position: relative;
    width: min(1200px, 100%);
    max-width: 100%;
    max-height: min(90vh, 100%);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal__image {
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.photo-modal__close,
.photo-modal__nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.photo-modal__close:hover,
.photo-modal__nav:hover {
    background: rgba(255,17,17,0.8);
}

.photo-modal__close {
    top: 16px;
    right: 16px;
}

.photo-modal__nav--prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-modal__nav--next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-modal__indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}

.photo-carousel__nav:hover {
    background: rgba(255,17,17,0.8);
}

.photo-carousel__nav--prev {
    left: 12px;
}

.photo-carousel__nav--next {
    right: 12px;
}

.photo-info {
    padding: 15px;
    text-align: center;
}

.photo-info h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
}

.map-link {
    margin-top: 40px;
    text-align: center;
}

.map-link a {
    color: #ff3333;
    text-decoration: none;
    border: 1px solid #ff3333;
    padding: 12px 30px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* BIRTHDAYS CAROUSEL */
.birthdays-carousel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 20px;
    max-width: 980px;
}

.birthday-carousel {
    position: relative;
    flex: 1;
    min-height: 620px;
    border: 1.5px solid rgba(255, 17, 17, 0.6);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 20px rgba(255, 17, 17, 0.12);
    overflow: hidden;
}

.birthday-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 30px 30px 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform: translateX(18px);
}

.birthday-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.birthday-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 17, 17, 0.3);
}

.birthday-date {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: #ffb0b0;
    letter-spacing: 0.08em;
}

.birthday-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #ffffff;
    text-transform: uppercase;
}

.birthday-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    height: 100%;
}

.birthday-media-grid--wide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.8fr);
}

.birthday-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.birthday-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    color: #ffb6b6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.birthday-placeholder {
    flex: 1;
    min-height: 220px;
    border-radius: 14px;
    border: 1px solid rgba(255, 17, 17, 0.35);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #ff4444;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    overflow: hidden;
}

.birthday-placeholder i {
    font-size: 2.9rem;
    text-shadow: 0 0 16px rgba(255, 17, 17, 0.5);
}

.birthday-placeholder--video {
    background: linear-gradient(135deg, rgba(255, 17, 17, 0.08), rgba(0, 0, 0, 0.2));
    padding: 0;
    aspect-ratio: 16 / 9;
    height: auto;
}

.birthday-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    border-radius: 14px;
}

.birthday-placeholder--photo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 17, 17, 0.06));
}

.birthday-photo-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-height: 360px;
}

.birthday-photo-stage {
    position: relative;
    flex: 1;
    height: 100%;
    min-height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 17, 17, 0.35);
    background: rgba(0, 0, 0, 0.25);
}

.birthday-photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.birthday-photo-slide.active {
    opacity: 1;
}

.birthday-photo-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 17, 17, 0.7);
    background: rgba(0, 0, 0, 0.7);
    color: #ff5b5b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.birthday-photo-nav:hover {
    background: #ff3333;
    color: #000;
}

.birthday-carousel__nav {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.75);
    color: #ff3333;
    border: 1.5px solid #ff3333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.birthday-carousel__nav:hover {
    background: #ff3333;
    color: #000;
    transform: translateY(-2px);
}

.carousel-indicator {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #ffdddd;
}

.map-link a:hover {
    background: #ff1111;
    color: #000;
    box-shadow: 0 0 20px red;
}

.footer {
    margin-top: 60px;
    padding: 25px;
    border-top: 1px solid #ff3333;
    background: rgba(0,0,0,0.8);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-inner p {
    margin: 0;
    text-align: left;
    flex: 1;
}

.footer-socials {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer .social-icon {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
}

.footer .social-icon i {
    margin: 0;
}

.start-btn {
    background: #ff1111;
    color: #000;
    border: none;
    padding: 12px 35px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    transition: 0.2s;
    box-shadow: 0 0 12px #ff4444;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff1111;
}

@media (max-width: 760px) {
    .header { flex-direction: column; text-align: center; }
    .cyber-title { font-size: 1.8rem; }
    .home-hero { flex-direction: column; align-items: flex-start; }
    .hero-action { width: 100%; }
    .nav-btn { padding: 8px 16px; font-size: 0.9rem; }
    .page { padding: 40px 20px; }
    .contacts-card { padding: 25px 20px; }
    .social-icons { gap: 12px; }
    .social-icon { padding: 5px 12px; font-size: 0.9rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-socials { gap: 16px; margin-top: 14px; }
    .video-modal__content { width: 100%; height: calc(100% - 40px); max-height: calc(100% - 40px); }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 22px;
        padding: 0 10px;
    }
    .page:not(#games-page) .game-card {
        width: 100%;
        min-width: auto;
        height: auto;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
    .beat-saber-card,
    .arizona-card,
    .angry-birds-card {
        width: 100%;
        height: 100%;
    }
    .page:not(#games-page) .game-card h3 {
        font-size: 1.2rem;
    }
    .page:not(#games-page) .game-card p {
        font-size: 0.9rem;
    }
    .video-preview {
        border-radius: 18px;
    }
}

.catalog .game-card {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 260px;
    aspect-ratio: auto;
}

@media (max-width: 600px) {
    body {
        background-attachment: scroll;
    }
    .header {
        padding: 16px 18px;
    }
    .nav-buttons {
        justify-content: center;
        gap: 12px;
    }
    .nav-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .cyber-title {
        font-size: 1.6rem;
    }
    .section-text {
        font-size: 1rem;
        max-width: 100%;
    }
    .service-banner {
        padding: 18px 16px;
    }
    .price-card {
        width: 100%;
        max-width: 100%;
    }
    .service-note,
    .section-note {
        padding: 14px 16px;
    }
    .footer-inner {
        align-items: stretch;
    }
    .footer-inner p {
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .video-modal {
        padding: 10px;
    }
    .video-modal__content {
        width: 100%;
        height: calc(100% - 30px);
        max-height: calc(100% - 30px);
    }
}

::-webkit-scrollbar { width: 8px; }

::-webkit-scrollbar-track { background: black; }

::-webkit-scrollbar-thumb { background: #ff2222; border-radius: 10px; }
/* BIRTHDAYS PAGE */
.birthdays-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.birthday-banner-card {
    position: relative;
    width: 100%;
    min-height: 280px;
    border: 1.5px solid #ff3333;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 0 20px rgba(255, 17, 17, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.birthday-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 17, 17, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.birthday-banner-card:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: #ff6666;
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(255, 17, 17, 0.25);
}

.birthday-banner-card:hover::before {
    opacity: 1;
}

.banner-icon {
    font-size: 3.2rem;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 17, 17, 0.5);
}

.birthday-banner-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    color: #fff;
    text-transform: none;
    margin: 0;
    position: relative;
    z-index: 1;
}

.birthday-banner-card p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* BIRTHDAYS GALLERY */
.birthdays-content {
    margin-top: 40px;
    margin-bottom: 40px;
}

.birthdays-section {
    margin-bottom: 50px;
}

.section-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: #ff4444;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.birthdays-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border: 1.5px solid rgba(255, 17, 17, 0.5);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: #ff3333;
    box-shadow: 0 0 20px rgba(255, 17, 17, 0.25);
    transform: translateY(-4px);
}

.gallery-item.placeholder {
    flex-direction: column;
    gap: 12px;
}

.placeholder-icon {
    font-size: 2.4rem;
    color: #ff4444;
    text-shadow: 0 0 15px rgba(255, 17, 17, 0.4);
}

.gallery-item p {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
}
