/* Social page styles */

/* Background radial highlights (variations from party page) */
.social-decoration-1 {
    left: calc(50% - 180px);
    top: 260px;
    width: 1165px;
    height: 747px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.social-decoration-2 {
    left: calc(50% - 860px);
    top: 820px;
    width: 1121px;
    height: 739px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.social-decoration-blur-1 {
    left: -820px;
    top: -950px;
    width: 2000px;
    height: 2000px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
}

.social-decoration-blur-2 {
    right: -680px;
    top: 1020px;
    width: 1200px;
    height: 1200px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
}

.social-hero {
    padding: 64px 0 64px;
    position: relative;
    z-index: 1;
}

.social-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: stretch;
    background-color: var(--bg-secondary);
    border: 1px solid var(--alfa-grey-1);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
}

.social-hero-card::before {
    content: '';
    position: absolute;
    left: calc(33.33% - 1008px);
    top: calc(100% - 1008px);
    width: 2016px;
    height: 2016px;
    background: radial-gradient(circle at calc(50% + 50px) calc(50% - 30px), rgba(60, 150, 255, 0.25) 0%, rgba(60, 150, 255, 0.12) 12%, rgba(60, 150, 255, 0.06) 30%, rgba(60, 150, 255, 0.025) 50%, rgba(60, 150, 255, 0.008) 70%, rgba(60, 150, 255, 0.002) 88%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.social-hero-card > * {
    position: relative;
    z-index: 1;
}

.social-hero-content {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.social-hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.social-hero-title {
    font-size: 64px;
    line-height: 72px;
    margin: 0;
}

.social-hero-description {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
    margin: 0;
}

.social-hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-hero-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--text-primary);
}

.social-hero-item-top {
    align-items: flex-start;
}

.social-hero-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.social-hero-icon .icon-calendar,
.social-hero-icon .icon-clock-small,
.social-hero-icon .icon-price,
.social-hero-icon .icon-drop {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-hero-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: normal;
    font-weight: 500;
}

.social-hero-date-block {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
}

.social-hero-date-main {
    font-style: normal;
    font-weight: 500;
}

.social-hero-days-available {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--text-primary);
}

.social-hero-info-btn {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    transform: translateY(-2px);
}

.social-hero-info-btn .icon-btn-icon {
    display: block;
    width: calc(24px / 1.2);
    height: calc(24px / 1.2);
}

.social-hero-info-btn:hover .icon-btn-icon .icon-default {
    opacity: 0;
}

.social-hero-info-btn:hover .icon-btn-icon .icon-pressed {
    opacity: 1;
}

.social-hero-info-btn .icon-info {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-schedule-tooltip {
    position: fixed;
    z-index: 1000;
    max-width: 320px;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    background: var(--bg-secondary, #121e36);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    animation: social-tooltip-appear 0.15s ease-out forwards;
}

@keyframes social-tooltip-appear {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.social-hero-item-subtext {
    font-weight: 500;
}

.social-info-link {
    color: var(--text-placeholder);
    font-size: 14px;
}

.social-hero-item .selectable-text {
    font-style: normal;
    font-weight: 500;
}

.social-hero-item .icon-location-pin {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-price-line {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--text-primary);
}

.social-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    border: none;
    background: none;
}

.social-btn-primary {
    background-color: var(--bg-brand-dark);
    color: var(--text-primary);
    box-shadow: inset 6px 8px 9px 0px #ff1597, inset -6px -8px 9px 0px #ff1597;
}

.social-btn-secondary {
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background-color: transparent;
}

.social-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 24px;
}

.social-btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Buy pass: neon text glow on interaction (same as header nav hover) */
a.social-btn[href*="eventType=pass"] {
    transition: color 0.3s, text-shadow 0.3s, box-shadow 0.3s ease;
}

a.social-btn[href*="eventType=pass"]:hover,
a.social-btn[href*="eventType=pass"]:active,
a.social-btn[href*="eventType=pass"]:focus-visible {
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

.social-hero-media {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    z-index: 1;
}

/* Direct child only — do not match .social-hero-play img (would break the overlay) */
/* Must win over .img-placeholder img { position: relative } in image-placeholder.css */
.social-hero-media.img-placeholder > img,
.social-hero-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    z-index: 1;
}

.social-hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.social-hero-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.social-hero-play img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.social-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.social-section-title {
    font-size: 48px;
    line-height: 56px;
    margin: 0 0 8px;
}

.social-section-title-left {
    text-align: left;
    margin-bottom: 32px;
}

.social-section-subtitle {
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin: 0;
}

.social-moments {
    padding: 40px 0 120px;
    position: relative;
    z-index: 1;
}

.social-moments .social-section-title-left {
    text-align: center;
}

.social-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(250px, 330px);
    gap: 20px;
    max-width: 100%;
    width: 100%;
}

.social-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    min-height: 250px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.social-gallery-item-a { grid-column: span 1; }
.social-gallery-item-b { grid-column: span 1; }
.social-gallery-item-c { grid-column: span 2; }
.social-gallery-item-d { grid-column: span 2; }
.social-gallery-item-e { grid-column: span 1; }
.social-gallery-item-f { grid-column: span 1; }
.social-gallery-item-g { grid-column: span 2; }
.social-gallery-item-h { grid-column: span 2; }

.social-gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    align-self: center;
}

.social-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .social-hero-card {
        grid-template-columns: minmax(0, 1fr) 420px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 48px;
    }

    .social-hero-card {
        grid-template-columns: 1fr;
    }

    .social-hero-content {
        grid-column: 1;
        grid-row: auto;
    }

    .social-hero-media {
        order: -1;
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-height: 320px;
        aspect-ratio: 16 / 9;
    }

    .social-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .social-hero {
        padding: 40px 0 32px;
    }

    .social-hero-content {
        padding: 32px 24px;
        gap: 24px;
    }

    .social-hero-text {
        gap: 24px;
    }

    .social-hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .social-hero-description {
        font-size: 14px;
        line-height: 20px;
    }

    .social-hero-item {
        font-size: 14px;
        line-height: 20px;
    }

    .social-hero-days-available {
        font-size: 14px;
        line-height: 20px;
    }

    .social-price-line {
        font-size: 14px;
        line-height: 20px;
    }

    .social-section-title {
        font-size: 32px;
        line-height: 40px;
    }

    .social-section-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    /* Moments gallery: match party — one image per view, horizontal snap scroll */
    .social-gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        grid-template-columns: unset;
        grid-auto-rows: unset;
        width: 100%;
        max-width: none;
        scrollbar-width: thin;
    }

    .social-gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        min-height: 0;
        height: min(300px, 52vh);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .social-gallery-item-a,
    .social-gallery-item-b,
    .social-gallery-item-c,
    .social-gallery-item-d,
    .social-gallery-item-e,
    .social-gallery-item-f,
    .social-gallery-item-g,
    .social-gallery-item-h {
        grid-column: unset;
    }

    .social-gallery-action {
        display: none;
    }

    .social-gallery-wrapper {
        align-items: stretch;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 24px;
    }
}
