* {
    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 {
    height: 100%;
    width: 100%;
}

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

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

#bg-canvas, #canvas-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

#bg-canvas {
    z-index: -1;
    opacity: 0.5;
}

#canvas-3d {
    opacity: 0.15;
}

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

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

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 15px 10px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.status-bar {
    display: flex;
    justify-content: flex-end;
    padding: 8px 15px 0;
    background: rgba(0, 0, 0, 0.1);
}

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

.logo-world {
    color: #000;
    background: #e0e0e0;
    padding: 2px 5px;
    border-radius: 3px;
}

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

.menu-toggle {
    background: transparent;
    border: 2px solid #ff1111;
    color: #ff1111;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    padding: 5px 8px;
    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.02em;
    line-height: 1.1;
    width: max-content;
}

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

.visitor-counter__value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ff1111;
    min-width: 1.1ch;
    text-align: center;
}

.menu-toggle:active {
    background: #ff1111;
    color: #000;
}

.nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    z-index: 99;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.nav-menu.active {
    display: flex;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.75);
    border: 1.5px solid #ff1111;
    color: #ff1111;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-btn i {
    font-size: 1.1rem;
}

.nav-btn:active {
    background: #ff1111;
    color: #000;
}

/* MAIN CONTENT */
main {
    flex: 1;
    position: relative;
    z-index: 10;
}

.page {
    display: none;
    padding: 20px 15px;
    animation: fadeIn 0.3s ease;
}

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

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

/* HOME PAGE */
.home-hero {
    margin-bottom: 25px;
}

.cyber-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-left: 4px solid #ff1111;
    padding-left: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 6px #ff0000;
    line-height: 1.2;
}

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

#birthdays-page .cyber-title {
    font-size: clamp(1.4rem, 5vw, 2.1rem);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

#birthdays-page .section-text {
    max-width: 100%;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 10px;
}

.intro-text {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 0.95rem;
}

.highlight {
    color: #ff4444;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.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);
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}

.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;
}

.btn-primary {
    background: #ff1111;
    color: #000;
}

.btn-primary:active {
    background: #ff5555;
    transform: scale(0.98);
}

.btn-secondary:active {
    background: #ff1111;
    color: #000;
}

.filter-actions {
    margin-top: 18px;
}

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

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;
}

.section-title {
    font-size: 1.5rem;
    font-family: 'Orbitron', monospace;
    margin: 20px 0 15px;
    border-left: 4px solid #ff1111;
    padding-left: 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ff1111;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.2s;
}

.feature-card:active {
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    border-color: #ff6666;
}

.feature-card i {
    font-size: 1.8rem;
    color: #ff1111;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-family: 'Orbitron', monospace;
}

.feature-card p {
    font-size: 0.85rem;
    color: #ccc;
}

/* PAGES TITLE */
.page-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    margin-bottom: 8px;
    border-left: 4px solid #ff1111;
    padding-left: 12px;
    text-transform: uppercase;
}

.page-subtitle {
    color: #ffdddd;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}


/* SERVICES */
.services-carousel {
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ff1111;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-item {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-item.active {
    opacity: 1;
}

.gift-banner {
    background-image: url('./Sertificate1920x1080.png');
}

.birthday-banner {
    background-image: url('./Birthsday.png');
}

.loft-banner {
    background-image: url('./images/LoftsUslugi.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.loft-services-banner {
    background-image: url('./images/LoftsUslugi.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pinjata-banner {
    background-image: url('./Pinjata.png');
}

.animator-banner {
    background-image: url('./Animator.png');
}

.fotograf-banner {
    background-image: url('./Photograf.png');
}

.nastolki-banner {
    background-image: url('./Nastolki.png');
}

.ykrashenia-banner {
    background-image: url('./ChatGPT Image 8 июн. 2026 г., 17_09_31.png');
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.carousel-btn {
    background: rgba(255, 17, 17, 0.2);
    border: 1.5px solid #ff1111;
    color: #ff1111;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.carousel-btn:active:not(.disabled) {
    background: #ff1111;
    color: #000;
}

.carousel-btn.disabled {
    background: rgba(255, 17, 17, 0.1);
    border-color: rgba(255, 17, 17, 0.3);
    color: rgba(255, 17, 17, 0.3);
    cursor: not-allowed;
}

.carousel-counter {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #ffdddd;
}

.service-descriptions {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ff1111;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 100px;
}

.service-desc {
    display: none;
}

.service-desc.active {
    display: block;
}

.service-desc h3 {
    font-size: 1.1rem;
    font-family: 'Orbitron', monospace;
    margin-bottom: 8px;
}

.service-desc p {
    font-size: 0.9rem;
    color: #ccc;
}

.contact-box {
    background: rgba(255, 17, 17, 0.15);
    border: 1px solid #ff1111;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.contact-box a {
    color: #ff1111;
    text-decoration: none;
    font-weight: bold;
}

.promo-empty {
    margin: 24px 0 0;
    color: #ffdddd;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.promo-carousel {
    margin-top: 12px;
}

.promo-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 58vh;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ff1111;
    background: rgba(0, 0, 0, 0.6);
}

.promo-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s;
}

.promo-item.active {
    opacity: 1;
}

.promo-date {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 12px rgba(255, 17, 17, 0.2);
}

.promo-description {
    position: absolute;
    bottom: 12px;
    right: 10px;
    z-index: 2;
    max-width: 200px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.58rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-align: right;
    box-shadow: 0 0 10px rgba(255, 17, 17, 0.15);
}

.promo-item__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 16px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.8));
}

.promo-item__badge {
    display: inline-block;
    background: rgba(255, 17, 17, 0.85);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-item h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.promo-item p {
    color: #f7dcdc;
    font-size: 0.78rem;
    line-height: 1.4;
}

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

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

.promo-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.promo-btn {
    background: rgba(255, 17, 17, 0.2);
    border: 1.5px solid #ff1111;
    color: #ff1111;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.promo-btn:active:not(.disabled) {
    background: #ff1111;
    color: #000;
}

.promo-btn.disabled {
    background: rgba(255, 17, 17, 0.1);
    border-color: rgba(255, 17, 17, 0.3);
    color: rgba(255, 17, 17, 0.3);
    cursor: not-allowed;
}

.promo-counter {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    color: #ffdddd;
}

.contact-box a:active {
    color: #ff5555;
}

/* PRICES */
.prices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.price-item {
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 17, 17, 0.6);
    border-radius: 14px;
    padding: 16px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.price-item.full-width {
    grid-column: 1 / -1;
}

.price-item__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.price-item i {
    font-size: 1.8rem;
    color: #ffbbbb;
}

.price-item h3 {
    font-size: 1rem;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
    margin: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 17, 17, 0.16);
    font-size: 0.95rem;
}

.price-legend-inline {
    font-size: 0.78rem;
    color: #ffbdbd;
    margin-top: 4px;
    letter-spacing: 0.6px;
}

.price-split {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    justify-content: flex-end;
}

.price-weekday,
.price-weekend {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-weekday::before {
    content: 'Будни';
    font-size: 0.75rem;
    color: #ffbdbd;
    margin-bottom: 4px;
}

.price-weekend::before {
    content: 'Выходные';
    font-size: 0.75rem;
    color: #ffbdbd;
    margin-bottom: 4px;
}

.price-weekday {
    font-weight: 700;
    color: #ffddd0;
}

.price-weekend {
    font-weight: 700;
    color: #ffb3b3;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 12px;
    margin-left: 12px;
}

.price-row:last-child {
    border-bottom: none;
}

.price-value {
    color: #ff8888;
    font-weight: 700;
    min-width: 110px;
    text-align: right;
}

.compact-prices .price-item {
    padding: 14px;
}

.price-note {
    color: #ffdddd;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

.price-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.price-table th,
.price-table td {
    padding: 12px 14px;
    border: 1px solid rgba(255, 17, 17, 0.2);
    color: #fff;
    font-size: 0.95rem;
}

.price-table th {
    background: rgba(255, 17, 17, 0.15);
    text-align: left;
    font-family: 'Orbitron', monospace;
}

.price-table td {
    background: rgba(0, 0, 0, 0.6);
}

.price-table td:first-of-type {
    font-weight: 600;
}

@media (max-width: 520px) {
    .price-table table,
    .price-table thead,
    .price-table tbody,
    .price-table th,
    .price-table td,
    .price-table tr {
        display: block;
    }

    .price-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .price-table tr {
        margin-bottom: 16px;
        border: 1px solid rgba(255, 17, 17, 0.25);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.55);
        overflow: hidden;
        padding: 0;
    }

    .price-table td {
        border: none;
        border-bottom: 1px solid rgba(255, 17, 17, 0.1);
        position: relative;
        padding: 12px 14px 12px 120px;
        text-align: left;
    }

    .price-table td:last-of-type {
        border-bottom: none;
    }

    .price-table td:before {
        position: absolute;
        top: 12px;
        left: 14px;
        width: 92px;
        white-space: nowrap;
        font-weight: 700;
        color: #ffbbbb;
        font-size: 0.9rem;
    }

    .price-table td:nth-of-type(1):before {
        content: 'Услуга';
    }
    .price-table td:nth-of-type(2):before {
        content: 'Будни';
    }
    .price-table td:nth-of-type(3):before {
        content: 'Выходные';
    }
}

/* GAMES */
.games-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

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

.game-link {
    display: block;
}

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

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

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

.game-card {
    background: rgba(18,18,18,0.95);
    border: 1px solid rgba(255,17,17,0.15);
    border-radius: 22px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 260px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.game-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(255,17,17,0.14), rgba(0,0,0,0.8));
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 45%);
    pointer-events: none;
}

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

.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;
}

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .game-card {
        min-height: 280px;
    }
}

@media (max-width: 420px) {
    .search-input {
        width: 100%;
    }
    .game-card {
        padding: 10px;
    }
    .catalog .games-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

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

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

.catalog .game-banner {
    min-height: 140px;
}

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

.game-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ff1111;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

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

.play-btn {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255,17,17,0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.game-item:hover .game-overlay,
.game-item:active .game-overlay {
    opacity: 1;
}


.game-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 8px;
    font-size: 0.85rem;
    font-family: 'Orbitron', monospace;
    text-align: center;
}

.games-note {
    color: #ffdddd;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

.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));
}

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

.sidebar {
    width: 100%;
    max-width: 100%;
    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(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .catalog .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .catalog .games-grid {
        grid-template-columns: 1fr;
    }
}

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

.catalog .game-card {
    background: rgba(18,18,18,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.catalog .game-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(255,17,17,0.14), rgba(0,0,0,0.8));
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.catalog .game-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 45%);
    pointer-events: none;
}

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

.catalog .game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.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;
}

.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);
}

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

.game-card {
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,17,17,0.35);
    border-radius: 14px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 260px;
}

.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);
}

.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__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;
}

.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: radial-gradient(circle at top left, rgba(255,17,17,0.18), transparent 30%), radial-gradient(circle at bottom right, rgba(255,255,255,0.05), transparent 25%), rgba(0,0,0,0.84);
}

.game-modal__content {
    position: relative;
    z-index: 2;
    width: min(100%, 720px);
    max-height: min(100%, calc(100vh - 30px));
    overflow: auto;
    background: rgba(10,10,10,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}

.game-modal__content::-webkit-scrollbar { width: 10px; }
.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.7), rgba(255,17,17,0.35)); border-radius: 999px; border: 2px solid rgba(0,0,0,0.18); }

.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;
}

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

.game-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.game-hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}

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

.video-banner {
        width: 100%;
        min-height: 280px;
        border-radius: 22px;
        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 20px 50px rgba(0, 0, 0, 0.32), 0 0 18px rgba(255, 17, 17, 0.14);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        filter: none !important;
    }

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

    .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: 280px;
        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: 72px;
        height: 72px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 17, 17, 0.24);
        backdrop-filter: blur(12px);
        box-shadow: 0 20px 45px 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: 18px solid #fff;
        border-top: 12px solid transparent;
        border-bottom: 12px 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: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.95;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.45);
    padding: 18px;
    text-align: center;
    line-height: 1.6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.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;
}

.game-meta-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

.meta-group {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 16px;
}

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

@media (max-width: 700px) {
    .game-modal__content { width: min(100%, calc(100vw - 24px)); }
    .game-detail { padding: 24px; }
    .game-meta-panel { grid-template-columns: 1fr; }
    .video-banner { min-height: 240px; }
}

/* BIRTHDAYS PAGE */
.birthdays-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 28px;
}

.birthday-banner-card {
    position: relative;
    width: 100%;
    min-height: 240px;
    border: 1.5px solid #ff3333;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 0 15px rgba(255, 17, 17, 0.12);
    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:active {
    background: rgba(0, 0, 0, 0.85);
    border-color: #ff6666;
    transform: scale(0.98);
    box-shadow: 0 4px 20px rgba(255, 17, 17, 0.2);
}

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

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

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

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

/* PHOTOS */
.photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.photo-gallery {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.photo-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 17, 17, 0.45);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-banner:hover,
.photo-banner:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 17, 17, 0.18);
}

.photo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.photo-banner:hover::after,
.photo-banner:focus-within::after {
    background: rgba(255, 255, 255, 0.1);
}

.photo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.photo-banner-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 16px;
    color: #fff;
    z-index: 1;
    pointer-events: none;
}

.photo-banner-overlay h4 {
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
    margin: 0;
}

.photo-banner-action {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.4;
    margin-top: 8px;
    display: inline-block;
}

.vr-banner {
    background-image: url('images/VR1.png');
}

.loft-banner {
    background-image: url('images/Loft1.png');
}

.ps-banner {
    background-image: url('images/PS1.png');
}

.btn-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #ff1111;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-map:active {
    background: #ff5555;
    transform: scale(0.98);
}

/* CONTACTS */
.contacts-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-item {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ff1111;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff1111;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-family: 'Orbitron', monospace;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.9rem;
    color: #ccc;
}

.contact-item a {
    color: #ff1111;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:active {
    color: #ff5555;
}

.contact-hours {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 4px;
}

.social-links {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ff1111;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.social-links h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 12px;
    font-size: 1rem;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.social-btn {
    background: rgba(255, 17, 17, 0.2);
    border: 1.5px solid #ff1111;
    color: #ff1111;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn i {
    font-size: 1rem;
}

.social-btn:active {
    background: #ff1111;
    color: #000;
}

/* FOOTER */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    padding: 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

.footer p {
    margin: 4px 0;
}

.footer-text {
    font-size: 0.75rem;
}

/* VIDEO MODAL */
.video-modal,
.photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

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

.video-modal-content,
.photo-modal__content {
    position: relative;
    width: min(100%, 900px);
    max-width: 95vw;
    max-height: calc(100vh - 20px);
    background: rgba(10, 10, 10, 0.95);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

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

.photo-modal__image {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #000;
    overflow: hidden;
}

.photo-modal__image img {
    width: auto;
    height: auto;
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.photo-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s, transform 0.2s;
}

.photo-modal__nav:hover,
.photo-modal__nav:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

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

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

.photo-modal__indicator {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    letter-spacing: 1px;
    z-index: 2;
}

.modal-close,
.photo-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:active {
    background: rgba(255, 255, 255, 0.3);
}

/* MEDIA QUERIES */
@media (min-width: 600px) {
    .cyber-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .games-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 480px) {
    .promo-carousel {
        max-width: 100%;
    }

    .promo-container {
        max-width: 360px;
        width: 100%;
        aspect-ratio: 16 / 10;
        max-height: 58vh;
        margin: 0 auto 12px;
    }

    .promo-item {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .promo-date {
        top: 8px;
        right: 8px;
        font-size: 0.52rem;
        padding: 5px 8px;
    }

    .promo-description {
        position: absolute;
        right: 8px;
        bottom: 10px;
        left: auto;
        max-width: 170px;
        font-size: 0.52rem;
        line-height: 1.2;
        padding: 5px 8px;
    }

    .birthdays-carousel-wrap {
        gap: 8px;
        margin-top: 16px;
        align-items: stretch;
    }

    .birthday-carousel {
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .birthday-card {
        position: relative;
        inset: auto;
        display: none;
        padding: 16px 10px 14px;
        gap: 12px;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .birthday-card.active {
        display: flex;
    }

    .birthday-header {
        padding-bottom: 8px;
    }

    .birthday-title {
        font-size: 0.8rem;
    }

    .birthday-date {
        font-size: 0.68rem;
    }

    .birthday-media-grid,
    .birthday-media-grid--wide {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .birthday-media {
        min-height: 0;
    }

    .birthday-placeholder {
        min-height: 180px;
        padding: 6px;
    }

    .birthday-video,
    .birthday-photo-slide {
        object-fit: contain;
        background: rgba(0, 0, 0, 0.25);
    }

    .birthday-photo-carousel {
        min-height: 220px;
    }

    .birthday-photo-stage {
        min-height: 220px;
    }

    .birthday-carousel__nav,
    .birthday-photo-nav {
        width: 34px;
        height: 34px;
    }
}

@media (orientation: landscape) {
    .header {
        padding: 10px 15px;
    }

    .page {
        padding: 15px;
    }

    .cyber-title {
        font-size: 1.4rem;
    }
}

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

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

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

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

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

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

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

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

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

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

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

.birthday-placeholder {
    flex: 1;
    min-height: 170px;
    border-radius: 12px;
    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: 10px;
    color: #ff4444;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    overflow: hidden;
}

.birthday-placeholder i {
    font-size: 2.2rem;
    text-shadow: 0 0 12px 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: 12px;
}

.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: 8px;
    flex: 1;
    min-height: 260px;
}

.birthday-photo-stage {
    position: relative;
    flex: 1;
    height: 100%;
    min-height: 260px;
    border-radius: 10px;
    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: 32px;
    height: 32px;
    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:active {
    background: #ff3333;
    color: #000;
}

.birthday-carousel__nav {
    width: 42px;
    height: 42px;
    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:active {
    background: #ff3333;
    color: #000;
    transform: scale(0.92);
}

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