
.bottom-nav,
.fab {
    display: none;
}
.pwa-install-button {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 20px;
    right: 20px;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px 24px 14px 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateY(200px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pwa-install-button.show {
    transform: translateY(0);
    opacity: 1;
}
.pwa-install-button:active {
    transform: translateY(0) scale(0.96);
}
.pwa-close-button {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    z-index: 1;
}
.pwa-close-button:hover {
    background: rgba(0, 0, 0, 0.3);
}
.pwa-close-button:active {
    transform: scale(0.9);
}
.pwa-close-button svg {
    width: 14px;
    height: 14px;
    fill: white;
}
.install-icon {
    width: 20px;
    height: 20px;
    fill: white;
}
.install-text {
    font-size: 15px;
}
.ios-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.ios-install-content {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 30px 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.ios-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ios-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.ios-install-content h3 {
    color: #ffffff;
    font-size: 24px;
    margin: 0 0 24px 0;
    text-align: center;
    font-weight: 700;
}
.ios-steps {
    margin: 20px 0;
}
.ios-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff5f3d, #ff4520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.step-text {
    flex: 1;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
    padding-top: 4px;
}
.step-text strong {
    color: #ffffff;
    font-weight: 600;
}
.ios-ok {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff5f3d, #ff4520);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.2s;
}
.ios-ok:active {
    transform: scale(0.98);
}
@media (max-width: 1024px) {
    .bottom-nav,
    .fab {
        display: flex;
    }
    body {
        padding-bottom: env(safe-area-inset-bottom);
        padding-top: 0 !important;
    }
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.95), #000);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 8px;
        color: #666;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        flex: 1;
        max-width: 100px;
    }
    .nav-item.active {
        color: #ff5f3d;
    }
    .nav-item:active {
        transform: scale(0.9);
    }
    .nav-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        fill: currentColor;
    }
    .nav-label {
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    main {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .container, .container-full-desc {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .hamburger-menu,
    header nav.menu {
        display: none !important;
    }
    header, .header {
        position: static !important;
        padding: 12px 20px !important;
        height: auto !important;
        box-shadow: none !important;
    }
    header .logo h3 {
        font-size: 14px;
        margin: 0;
    }
    .fab {
        position: fixed;
        bottom: calc(90px + env(safe-area-inset-bottom));
        right: 20px;
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #ff5f3d 0%, #ff4520 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 
            0 6px 20px rgba(255,95,61,0.5),
            0 2px 8px rgba(0,0,0,0.3);
        z-index: 999;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .fab:active {
        transform: scale(0.9);
        box-shadow: 0 4px 12px rgba(255,95,61,0.4);
    }
    .fab svg {
        width: 28px;
        height: 28px;
        fill: white;
    }
    .film-card {
        background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 
            0 4px 12px rgba(0,0,0,0.4),
            0 1px 3px rgba(255,95,61,0.05);
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .film-card:active {
        transform: scale(0.96);
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .cinema-page-header {
        border-radius: 0 0 24px 24px;
        margin-top: 0 !important;
    }
    .cinema-name {
        margin-top: 0 !important;
    }
    .hero-section {
        border-radius: 0 0 24px 24px;
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
    .films-section-header {
        margin-bottom: 20px !important;
    }
    a, button, .film-card, .nav-item {
        -webkit-tap-highlight-color: transparent;
    }
    .ripple {
        position: relative;
        overflow: hidden;
    }
    .ripple::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s, opacity 0.6s;
        opacity: 0;
    }
    .ripple:active::after {
        width: 300px;
        height: 300px;
        opacity: 1;
        transition: width 0s, height 0s, opacity 0s;
    }
    .app-header {
        background: #000;
        padding: 16px 20px;
        padding-top: calc(16px + env(safe-area-inset-top));
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .app-title {
        font-size: 32px;
        font-weight: 700;
        margin: 0;
        letter-spacing: -0.5px;
        color: #fff;
    }
    .app-subtitle {
        font-size: 14px;
        color: #999;
        margin-top: 4px;
        font-weight: 400;
    }
    html {
        scroll-behavior: smooth;
    }
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        * {
            animation: none !important;
            transition: none !important;
        }
    }
    .skeleton {
        background: linear-gradient(
            90deg,
            #1a1a1a 25%,
            #2a2a2a 50%,
            #1a1a1a 75%
        );
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
        border-radius: 8px;
    }
    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
    .elevation-1 {
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    .elevation-2 {
        box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    }
    .elevation-3 {
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }
    .fade-in {
        animation: fadeIn 0.5s ease-in;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .touch-target {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 375px) {
    .nav-item {
        padding: 6px 4px;
        max-width: 70px;
    }
    .nav-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
    .nav-label {
        font-size: 9px;
        letter-spacing: 0.2px;
    }
    .bottom-nav {
        padding: 6px 0;
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
    }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .nav-item {
        padding: 10px 16px;
        max-width: 120px;
    }
    .nav-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
    }
    .nav-label {
        font-size: 11px;
        font-weight: 600;
    }
    .bottom-nav {
        padding: 12px 0;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .bottom-nav,
    .fab {
        display: none !important;
    }
    header nav.menu {
        display: flex !important;
    }
    main {
        padding-bottom: 60px !important;
    }
}
