/* ============================================
   UEBER-UNS — Vice City Crew
   ============================================ */

.page-hero {
    position: relative;
    padding: 200px 32px 100px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 45, 146, 0.3), transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 217, 224, 0.2), transparent 50%),
        linear-gradient(180deg, var(--purple-deep) 0%, var(--night) 100%);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-image:
        linear-gradient(to right, rgba(255, 45, 146, 0.15) 1px, transparent 1px),
        linear-gradient(to top, rgba(0, 217, 224, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.6;
    animation: gridDrift 24s linear infinite;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-head);
    font-size: clamp(56px, 9vw, 120px);
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--cream);
    text-transform: uppercase;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.page-sub {
    font-family: var(--font-script);
    font-size: 24px;
    color: var(--text-dim);
    font-style: italic;
}

/* ============ STORY ============ */
.story-section {
    background: var(--night);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-title {
    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: 3px;
    line-height: 1.05;
    margin: 16px 0 32px;
    color: var(--cream);
    text-transform: uppercase;
}

.story-text {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-text strong {
    color: var(--cream);
    font-weight: 600;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: linear-gradient(180deg, rgba(255, 45, 146, 0.06), var(--bg-card));
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(255, 45, 146, 0.15);
}

.story-stat {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

.story-stat-num {
    font-family: var(--font-head);
    font-size: 52px;
    color: var(--pink-soft);
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.story-stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* ============ BOSS — SOLO FEATURE ============ */
.boss-section {
    padding: 100px 32px;
}

.boss-feature {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.boss-mugshot {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 4px solid rgba(255, 245, 225, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 45, 146, 0.2),
        0 0 60px rgba(255, 45, 146, 0.15);
    animation: bossFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

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

.boss-mugshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.05) saturate(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.boss-mugshot:hover img {
    transform: scale(1.03);
}

.mugshot-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 12px, #222 12px, #222 24px);
    color: var(--text-muted);
}

.boss-mugshot.no-img .mugshot-fallback {
    display: flex;
}

.fallback-icon {
    font-size: 80px;
    opacity: 0.4;
}

.fallback-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Mugshot tag — like the placard in the photo */
.mugshot-tag {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 360px;
    background: rgba(8, 8, 8, 0.92);
    border: 2px solid rgba(255, 245, 225, 0.15);
    border-radius: 6px;
    padding: 16px 20px;
    color: var(--cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.mugshot-tag-title {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.mugshot-tag-id {
    font-family: var(--font-head);
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--cream);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1;
}

.mugshot-tag-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 245, 225, 0.1);
}

.charge {
    background: var(--sunset-1);
    color: var(--night);
    padding: 3px 8px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 11px;
}

/* Boss info side */
.boss-info {
    animation: bossInfoIn 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes bossInfoIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.boss-quote {
    font-family: var(--font-script);
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--pink-soft);
    line-height: 1.15;
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(255, 45, 146, 0.3);
}

.boss-meta {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.boss-name {
    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 56px);
    color: var(--cream);
    letter-spacing: 3px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.boss-alias {
    font-family: var(--font-script);
    font-size: 22px;
    color: var(--pink-soft);
    font-style: italic;
    margin-bottom: 6px;
}

.boss-role {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.boss-bio {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.boss-bio strong {
    color: var(--cream);
    font-weight: 600;
}

.boss-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
    padding: 24px;
    background: rgba(255, 45, 146, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.boss-cta {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .boss-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .boss-mugshot {
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ============ CREW (legacy, kept for any leftover use) ============ */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.crew-card {
    position: relative;
    background: linear-gradient(180deg, var(--bg-card), var(--bg));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.crew-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: var(--sunset-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.crew-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(255, 45, 146, 0.2);
}

.crew-card:hover::before { opacity: 1; }

.crew-img {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--sunset-1), var(--pink));
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.crew-img.teal {
    background: linear-gradient(135deg, var(--teal), var(--purple));
}
.crew-img.sunset {
    background: linear-gradient(135deg, var(--sunset-3), var(--sunset-1));
}
.crew-img.purple {
    background: linear-gradient(135deg, var(--purple), var(--pink-deep));
}

.crew-silhouette {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 90%;
    background: linear-gradient(to top, #000 0%, #000 50%, rgba(0, 0, 0, 0.4) 100%);
}

.crew-silhouette.male {
    clip-path: polygon(35% 0%, 65% 0%, 75% 20%, 80% 50%, 95% 100%, 5% 100%, 20% 50%, 25% 20%);
}

.crew-silhouette.female {
    clip-path: polygon(38% 0%, 62% 0%, 72% 18%, 78% 45%, 95% 100%, 5% 100%, 22% 45%, 28% 18%);
}

.crew-name {
    font-family: var(--font-head);
    font-size: 32px;
    letter-spacing: 3px;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.crew-alias {
    font-family: var(--font-script);
    font-size: 20px;
    color: var(--pink-soft);
    margin-bottom: 6px;
    font-style: italic;
}

.crew-role {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
}

.crew-bio {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.crew-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-bar {
    display: grid;
    grid-template-columns: 100px 1fr 32px;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.cs-bar > span:last-child {
    color: var(--pink-soft);
    text-align: right;
    font-weight: 700;
}

.bar-track {
    height: 4px;
    background: rgba(255, 45, 146, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.bar-track span {
    display: block;
    height: 100%;
    background: var(--sunset-gradient);
    animation: barFill 1.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transform-origin: left;
    border-radius: 2px;
}

/* ============ TIMELINE ============ */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--pink) 10%, var(--teal) 90%, transparent);
    box-shadow: 0 0 16px rgba(255, 45, 146, 0.3);
}

.timeline-event {
    position: relative;
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.timeline-event.left {
    margin-left: 0;
    text-align: right;
    padding-right: 80px;
}

.timeline-event.right {
    margin-left: 50%;
    text-align: left;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    top: 40px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--night);
    border: 3px solid var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(255, 45, 146, 0.4);
    z-index: 2;
}

.timeline-event.left .timeline-marker {
    right: -36px;
}

.timeline-event.right .timeline-marker {
    left: -36px;
}

.timeline-event.active .timeline-marker {
    border-color: var(--teal);
    box-shadow: 0 0 32px rgba(0, 217, 224, 0.6);
    animation: markerPulse 2.4s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 32px rgba(0, 217, 224, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 48px rgba(0, 217, 224, 0.9);
    }
}

.marker-year {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--pink-soft);
    letter-spacing: 1px;
}

.timeline-event.active .marker-year {
    color: var(--teal);
}

.timeline-content {
    background: linear-gradient(180deg, var(--bg-card), var(--bg));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    transition: all 0.3s;
}

.timeline-event:hover .timeline-content {
    border-color: var(--border-strong);
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 45, 146, 0.15);
}

.timeline-tag {
    display: inline-block;
    background: var(--pink);
    color: var(--cream);
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 14px;
    border-radius: 100px;
    text-transform: uppercase;
}

.timeline-tag.pink {
    background: var(--teal);
    color: var(--night);
    animation: blink 2s infinite;
}

.timeline-title {
    font-family: var(--font-head);
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    color: var(--cream);
    text-transform: uppercase;
    line-height: 1;
}

.timeline-text {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 14px;
}

.timeline-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--pink-soft);
    letter-spacing: 1px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.timeline-event.left .timeline-stats {
    justify-content: flex-end;
}

/* ============ AWARDS ============ */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.award {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card), var(--bg));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.award::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 146, 0.15), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    pointer-events: none;
}

.award:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
}

.award:hover::before {
    width: 200%;
    height: 200%;
}

.award-icon {
    font-size: 48px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 16px rgba(255, 45, 146, 0.4));
}

.award-year {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--pink-soft);
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.award-title {
    font-family: var(--font-head);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--cream);
    margin-bottom: 6px;
    line-height: 1;
    text-transform: uppercase;
}

.award-sub {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dim);
}

/* ============ WORKSHOP GALLERY ============ */
.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery-tile {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}

.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.gt-1 {
    background: linear-gradient(135deg, var(--pink), var(--purple-deep));
    grid-column: span 2;
}
.gt-2 {
    background: linear-gradient(135deg, var(--teal), var(--purple-deep));
}
.gt-3 {
    background: linear-gradient(135deg, var(--sunset-3), var(--sunset-1));
}
.gt-4 {
    background: linear-gradient(135deg, var(--teal-bright), var(--purple));
}
.gt-5 {
    background: linear-gradient(135deg, var(--sunset-1), var(--pink-deep));
    grid-column: span 2;
}

.gallery-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 45, 146, 0.25);
    z-index: 2;
}

.gallery-tile:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.tile-tag {
    display: inline-block;
    background: var(--pink);
    color: var(--cream);
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.tile-info {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--cream);
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .workshop-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 240px);
    }
    .gt-1, .gt-5 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .timeline-line { left: 24px; }
    .timeline-event {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 64px !important;
        padding-right: 16px !important;
        text-align: left !important;
    }
    .timeline-event.left .timeline-marker,
    .timeline-event.right .timeline-marker {
        left: -12px;
        right: auto;
        width: 56px;
        height: 56px;
    }
    .marker-year { font-size: 13px; }
    .timeline-event.left .timeline-stats { justify-content: flex-start; }
    .workshop-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 220px);
    }
    .gt-1, .gt-5 { grid-column: span 1; }
    .story-stats { grid-template-columns: 1fr; }
}
