.map-screen { 
    background: #00AEEF; 
    padding-top: 70px; 
    overflow: hidden; 
}

.map-scroll-box,
.map-scroll-inner {
    width: 100%;
    height: 100%;
}

.map-full-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block; 
    user-select: none;
    -webkit-user-drag: none;
}
.status-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; background: var(--color-bright-blue); color: #fff; font-size: 0.85rem; font-weight: 600; }

.events-screen { background: var(--color-white); justify-content: flex-start; padding-top: 105px; }

.events-top-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.events-top-bar .section-subtitle { margin-bottom: 0; }
.events-tabs { display: flex; gap: 8px; background: var(--color-winter-ice); padding: 5px; border-radius: 50px; }
.event-tab { border: none; background: transparent; padding: 8px 20px; border-radius: 50px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--color-dark-teal); cursor: pointer; transition: 0.25s; }
.event-tab.active { background: var(--color-bright-blue); color: var(--color-white); box-shadow: 0 4px 12px rgba(14,176,207,0.25); }

.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-height: calc(100vh - 235px); overflow-y: auto; overflow-x: hidden; padding: 10px 12px 16px; }
.events-grid::-webkit-scrollbar { width: 5px; }
.events-grid::-webkit-scrollbar-thumb { background: var(--color-winter-ice); border-radius: 10px; }

.event-card { background: transparent; padding: 6px; transition: 0.25s; }
.event-card:hover { transform: translateY(-4px); }
.event-card:hover .event-blob-wrap::before { opacity: 0.9; filter: brightness(0.96); }
.event-blob-wrap { position: relative; height: 145px; margin-bottom: 12px; }
.event-blob-wrap::before { content: ""; position: absolute; inset: 4px -4px -4px 6px; background: var(--color-light-cyan); opacity: 0.65; transition: 0.3s; }
.event-blob { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--color-winter-ice); z-index: 1; }
.event-blob img { width: 100%; height: 100%; object-fit: cover; object-position: center; padding: 0; display: block; }

.event-card:nth-child(10n+1) .event-blob { border-radius: 42% 58% 65% 35% / 45% 38% 62% 55%; }
.event-card:nth-child(10n+1) .event-blob-wrap::before { border-radius: 58% 42% 36% 64% / 50% 62% 38% 50%; transform: rotate(-5deg) scale(1.02); }
.event-card:nth-child(10n+2) .event-blob { border-radius: 64% 36% 42% 58% / 35% 62% 38% 65%; }
.event-card:nth-child(10n+2) .event-blob-wrap::before { border-radius: 36% 64% 60% 40% / 64% 34% 66% 36%; transform: rotate(6deg) translate(3px, -2px); }
.event-card:nth-child(10n+3) .event-blob { border-radius: 33% 67% 54% 46% / 60% 33% 67% 40%; }
.event-card:nth-child(10n+3) .event-blob-wrap::before { border-radius: 62% 38% 44% 56% / 34% 58% 42% 66%; transform: rotate(-6deg) translate(-3px, 2px); }
.event-card:nth-child(10n+4) .event-blob { border-radius: 58% 42% 32% 68% / 46% 60% 40% 54%; }
.event-card:nth-child(10n+4) .event-blob-wrap::before { border-radius: 40% 60% 70% 30% / 56% 38% 62% 44%; transform: rotate(5deg) scale(1.03); }
.event-card:nth-child(10n+5) .event-blob { border-radius: 47% 53% 62% 38% / 66% 40% 60% 34%; }
.event-card:nth-child(10n+5) .event-blob-wrap::before { border-radius: 68% 32% 40% 60% / 42% 68% 32% 58%; transform: rotate(-4deg) translate(2px, 3px); }
.event-card:nth-child(10n+6) .event-blob { border-radius: 70% 30% 50% 50% / 42% 54% 46% 58%; }
.event-card:nth-child(10n+6) .event-blob-wrap::before { border-radius: 34% 66% 48% 52% / 58% 44% 56% 42%; transform: rotate(7deg) translate(-2px, -3px); }
.event-card:nth-child(10n+7) .event-blob { border-radius: 38% 62% 36% 64% / 52% 36% 64% 48%; }
.event-card:nth-child(10n+7) .event-blob-wrap::before { border-radius: 64% 36% 62% 38% / 38% 64% 36% 62%; transform: rotate(-7deg) scale(1.02); }
.event-card:nth-child(10n+8) .event-blob { border-radius: 52% 48% 72% 28% / 38% 68% 32% 62%; }
.event-card:nth-child(10n+8) .event-blob-wrap::before { border-radius: 46% 54% 30% 70% / 66% 34% 66% 34%; transform: rotate(4deg) translate(4px, 1px); }
.event-card:nth-child(10n+9) .event-blob { border-radius: 30% 70% 62% 38% / 44% 46% 54% 56%; }
.event-card:nth-child(10n+9) .event-blob-wrap::before { border-radius: 68% 32% 38% 62% / 54% 52% 48% 46%; transform: rotate(-5deg) translate(-3px, -2px); }
.event-card:nth-child(10n+10) .event-blob { border-radius: 60% 40% 48% 52% / 68% 34% 66% 32%; }
.event-card:nth-child(10n+10) .event-blob-wrap::before { border-radius: 38% 62% 54% 46% / 32% 66% 34% 68%; transform: rotate(6deg) scale(1.03); }

.event-date { display: block; color: var(--color-bright-blue); font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.event-title { font-size: 1.05rem; color: var(--color-dark-teal); margin-bottom: 4px; line-height: 1.25; }
.event-type { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--color-medium-teal); line-height: 1.35; }
.event-type i { color: var(--color-bright-blue); font-size: 0.9rem; line-height: 1; display: inline-flex; flex-shrink: 0; }

.about-screen { background: var(--color-dark-teal); color: var(--color-white); justify-content: flex-start; padding-top: 105px; padding-bottom: 30px; }
.about-container { display: flex; flex-direction: column; height: 100%; }
.about-content { max-width: 820px; margin-bottom: 24px; }
.about-text { font-size: 1.05rem; line-height: 1.5; margin-bottom: 10px; }
.about-concession { color: var(--color-winter-ice); font-size: 0.98rem; margin-bottom: 0; }

.about-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 20px; margin-bottom: 22px; }
.stat-item { border-left: 2px solid rgba(157, 238, 254, 0.35); padding-left: 14px; }
.stat-number { font-family: var(--font-heading); font-size: 1.85rem; color: var(--color-light-cyan); display: block; line-height: 1.15; margin-bottom: 6px; white-space: nowrap; }
.stat-label { font-size: 0.9rem; line-height: 1.35; color: rgba(255, 255, 255, 0.9); display: block; }

.about-map { width: 100%; height: 400px; border-radius: 20px; overflow: hidden; margin-bottom: 22px; background: var(--color-winter-ice); }
.about-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.about-btn, .about-btn-vk { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; font-size: 0.95rem; }
.about-btn i, .about-btn-vk i { font-size: 1.1rem; line-height: 1; }
.about-btn-vk { background: rgba(255, 255, 255, 0.14); color: var(--color-white); border: 1px solid rgba(157, 238, 254, 0.35); }
.about-btn-vk:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.btn-svg-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1); }
.footer-contacts { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-info { text-align: right; line-height: 1.6; }
.footer-info a { color: var(--color-light-cyan); font-weight: 600; }

.footer__icui { display: flex; align-items: center; justify-content: center; }
.footer__icui-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: opacity 0.15s ease; }
.footer__icui-link:hover { opacity: 0.85; }
.footer__icui-text { text-align: left; line-height: 1.1; }
.footer__icui-text span { display: block; color: #00A59B; font-size: 11px; font-weight: 500; }
.footer__icui-text strong { display: block; color: #ffffff; font-size: 14px; font-weight: 800; letter-spacing: 0.03em; }


@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .rink-grid, .map-container { grid-template-columns: 1fr; height: auto; }
    .map-canvas { height: 300px; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}


@media (max-width: 768px) {
    html, body { overflow-y: auto; }
    .sections-container { height: auto; overflow: visible; }
    .screen { position: relative; height: auto; min-height: 100vh; opacity: 1; visibility: visible; padding: 100px 0 40px; }
    
    .hero-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-image-wrapper::before { display: none; }
    .hero-blob { width: 320px; min-width: 0; max-width: 100%; }

    .nav { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: #fff; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; box-shadow: -5px 0 25px rgba(33, 106, 119, 0.12); transition: 0.4s; }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; align-items: center; }
    .burger { display: flex; z-index: 1001; }

    .events-grid { grid-template-columns: 1fr; max-height: none; overflow: visible; padding: 0; }
    
    .about-actions { flex-direction: column; }
    .about-btn, .about-btn-vk { width: 100%; }
    .about-stats { grid-template-columns: 1fr; gap: 16px; }
    .about-map { height: 320px; }

    .footer-contacts { flex-direction: column; gap: 15px; text-align: center; }
    .footer-info { text-align: center; }
    .footer__icui { order: 3; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); width: 100%; }
     .map-screen {
        height: 100vh;
        min-height: 100vh;
        padding: 70px 0 0;
        display: block;
        overflow: visible;
    }

     .map-screen {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        display: block;
    }

    .map-scroll-box {
        position: relative;
        z-index: 10;
        width: 100%;
        height: 100vh;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
    }

    .map-scroll-inner {
        width: 1200px;
        height: 100%;
    }

    .map-full-image {
        width: 1200px;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }
}
