/* ============================================
   MIAMI VICE TAKES VEGAS - MAXIMALIST CSS
   ============================================ */

:root {
    /* Neon Color Palette */
    --hot-pink: #FF006E;
    --hot-pink-light: #FF1B8D;
    --neon-cyan: #00F5FF;
    --neon-cyan-dark: #00D9FF;
    --electric-purple: #B026FF;
    --electric-purple-dark: #8B00FF;
    --gold: #FFD700;
    --gold-dark: #FFA500;
    --deep-purple: #1a0033;
    --deep-purple-light: #2d0052;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bebas Neue', cursive;
    background: linear-gradient(180deg,
            var(--deep-purple) 0%,
            var(--electric-purple-dark) 25%,
            var(--hot-pink) 50%,
            var(--electric-purple-dark) 75%,
            var(--deep-purple) 100%);
    background-size: 100% 2500px;
    background-repeat: repeat-y;
    background-attachment: scroll;
    color: var(--neon-cyan);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   ANIMATED BACKGROUND ELEMENTS
   ============================================ */

.bg-element {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.bg-element-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--hot-pink) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.bg-element-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--electric-purple) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.bg-element-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(100px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-50px, 100px) scale(0.9);
    }

    75% {
        transform: translate(150px, 50px) scale(1.05);
    }
}

.neon-palm {
    position: fixed;
    font-size: 120px;
    z-index: 1;
    animation: palmFloat 15s infinite ease-in-out;
    text-shadow: 0 0 20px var(--hot-pink),
        0 0 40px var(--hot-pink),
        0 0 60px var(--hot-pink);
}

.neon-palm-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.neon-palm-2 {
    bottom: 30%;
    right: -60px;
    animation-delay: 7s;
}

@keyframes palmFloat {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(150px) rotate(10deg);
    }
}

/* ============================================
   FLOATING PIPPA GIF
   ============================================ */

.floating-pippa {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    animation: pippaFloat 4s infinite ease-in-out;
    filter: drop-shadow(0 0 30px var(--gold)) drop-shadow(0 0 60px var(--hot-pink));
}

.floating-pippa img {
    width: 180px;
    height: auto;
    border-radius: 20px;
    border: 5px solid var(--gold);
    box-shadow: 0 0 40px var(--gold),
        0 0 80px var(--hot-pink),
        0 0 120px var(--electric-purple);
}

@keyframes pippaFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-30px) rotate(3deg);
    }
}

/* ============================================
   SPINNING BOOMBOX GUY
   ============================================ */

.spinning-boombox {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 9998;
    animation: infiniteSpin 5s linear infinite;
}

.spinning-boombox img {
    width: 150px;
    height: auto;
}

@keyframes infiniteSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   MAIN HEADER
   ============================================ */

.main-header {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    overflow: hidden;
    background: transparent;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--hot-pink) 2px, transparent 2px),
        linear-gradient(90deg, var(--hot-pink) 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.1;
    animation: gridScroll 20s linear infinite;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center bottom;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100px;
    }
}

.mega-title {
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    position: relative;
    z-index: 10;
    line-height: 0.95;
    letter-spacing: 8px;
}

.mega-title span {
    display: block;
    font-size: 120px;
    font-weight: 900;
    animation: pulseGlow 2s infinite ease-in-out;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: 15px;
}

.line-1 {
    color: var(--neon-cyan);
    text-shadow:
        0 0 3px var(--neon-cyan),
        0 0 7px var(--neon-cyan),
        0 0 12px var(--neon-cyan);
    animation-delay: 0s;
}

.line-2 {
    font-size: 180px;
    color: var(--hot-pink);
    -webkit-text-stroke: 2px var(--hot-pink);
    text-shadow:
        0 0 2px var(--hot-pink),
        0 0 5px var(--hot-pink),
        0 0 10px var(--hot-pink);
    animation-delay: 0.5s;
    margin: 15px 0;
}

.line-3 {
    color: var(--gold);
    text-shadow:
        0 0 3px var(--gold),
        0 0 7px var(--gold),
        0 0 12px var(--gold);
    animation-delay: 1s;
}

.line-4 {
    font-size: 180px;
    color: var(--hot-pink);
    -webkit-text-stroke: 2px var(--hot-pink);
    text-shadow:
        0 0 2px var(--hot-pink),
        0 0 5px var(--hot-pink),
        0 0 10px var(--hot-pink);
    animation-delay: 1.5s;
    margin-top: 15px;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.subtitle-flash {
    font-family: 'Fugaz One', cursive;
    font-size: 50px;
    color: var(--gold);
    text-shadow:
        0 0 5px var(--gold),
        0 0 10px var(--gold),
        0 0 20px var(--gold);
    margin-top: 30px;
    animation: flash 1s infinite;
    position: relative;
    z-index: 10;
    -webkit-font-smoothing: antialiased;
}

@keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.3;
    }
}

/* ============================================
   SLOT MACHINE SECTION
   ============================================ */

.slot-machine-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 2;
}

.slot-container {
    position: relative;
    z-index: 10;
}

.neon-box {
    background: rgba(26, 0, 51, 0.8);
    border: 8px solid var(--gold);
    border-radius: 40px;
    padding: 80px 120px;
    box-shadow:
        0 0 20px var(--gold),
        0 0 40px var(--gold),
        0 0 80px var(--hot-pink),
        inset 0 0 40px rgba(255, 0, 110, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    animation: boxPulse 3s infinite ease-in-out;
}

@keyframes boxPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.arrow-pointer {
    font-size: 100px;
    animation: bounce 1s infinite;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.lever-container {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.lever-container:hover {
    transform: scale(1.1);
}

.lever-container:active {
    animation: leverPull 0.5s ease;
}

@keyframes leverPull {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.lever-handle {
    width: 40px;
    height: 200px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 20px;
    position: relative;
    box-shadow:
        0 0 20px var(--gold),
        0 0 40px var(--gold),
        inset 0 0 20px rgba(255, 215, 0, 0.5);
}

.lever-handle::before {
    content: '🎰';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    filter: drop-shadow(0 0 20px var(--hot-pink));
}

.lever-base {
    width: 100px;
    height: 60px;
    background: linear-gradient(180deg, var(--electric-purple), var(--electric-purple-dark));
    border-radius: 20px;
    margin-top: 10px;
    box-shadow:
        0 0 20px var(--electric-purple),
        0 0 40px var(--electric-purple);
}

.pull-text {
    font-family: 'Righteous', cursive;
    font-size: 80px;
    color: var(--hot-pink);
    text-shadow:
        0 0 10px var(--hot-pink),
        0 0 20px var(--hot-pink),
        0 0 40px var(--hot-pink),
        0 0 80px var(--hot-pink);
    animation: pulseText 1.5s infinite;
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* ============================================
   CELEBRATION
   ============================================ */

.celebration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.celebration.active {
    display: flex;
}

.ur-in-text {
    font-family: 'Monoton', cursive;
    font-size: 250px;
    color: var(--neon-cyan);
    text-shadow:
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 60px var(--neon-cyan),
        0 0 100px var(--neon-cyan),
        0 0 150px var(--neon-cyan);
    animation: spinFlash 2s infinite;
    position: relative;
    z-index: 10;
}

@keyframes spinFlash {
    0% {
        transform: rotate(0deg) scale(0.8);
        color: var(--neon-cyan);
        opacity: 1;
    }

    25% {
        transform: rotate(5deg) scale(1.2);
        color: var(--hot-pink);
        opacity: 0.8;
    }

    50% {
        transform: rotate(-5deg) scale(0.9);
        color: var(--gold);
        opacity: 1;
    }

    75% {
        transform: rotate(5deg) scale(1.1);
        color: var(--electric-purple);
        opacity: 0.8;
    }

    100% {
        transform: rotate(0deg) scale(0.8);
        color: var(--neon-cyan);
        opacity: 1;
    }
}

.confetti-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--hot-pink);
    top: -50px;
    animation: confettiFall 3s linear infinite;
}

.confetti:nth-child(1) {
    left: 10%;
    background: var(--hot-pink);
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 20%;
    background: var(--neon-cyan);
    animation-delay: 0.3s;
}

.confetti:nth-child(3) {
    left: 30%;
    background: var(--gold);
    animation-delay: 0.6s;
}

.confetti:nth-child(4) {
    left: 40%;
    background: var(--electric-purple);
    animation-delay: 0.9s;
}

.confetti:nth-child(5) {
    left: 60%;
    background: var(--hot-pink);
    animation-delay: 1.2s;
}

.confetti:nth-child(6) {
    left: 70%;
    background: var(--neon-cyan);
    animation-delay: 1.5s;
}

.confetti:nth-child(7) {
    left: 80%;
    background: var(--gold);
    animation-delay: 1.8s;
}

.confetti:nth-child(8) {
    left: 90%;
    background: var(--electric-purple);
    animation-delay: 2.1s;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   TRIP DETAILS
   ============================================ */

.trip-details {
    padding: 120px 40px;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.detail-card {
    background: rgba(26, 0, 51, 0.7);
    border: 6px solid var(--neon-cyan);
    border-radius: 30px;
    padding: 50px;
    max-width: 500px;
    box-shadow:
        0 0 30px var(--neon-cyan),
        0 0 60px var(--electric-purple),
        inset 0 0 30px rgba(0, 245, 255, 0.2);
    animation: cardFloat 6s infinite ease-in-out;
}

.detail-card:nth-child(2) {
    animation-delay: 2s;
}

.detail-card:nth-child(3) {
    animation-delay: 4s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.section-title {
    font-family: 'Fugaz One', cursive;
    font-size: 50px;
    color: var(--gold);
    text-shadow:
        0 0 3px var(--gold),
        0 0 8px var(--gold),
        0 0 15px var(--gold);
    margin-bottom: 20px;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

.detail-text {
    font-family: 'Righteous', cursive;
    font-size: 24px;
    color: var(--hot-pink);
    text-shadow:
        0 0 3px var(--hot-pink),
        0 0 8px var(--hot-pink);
    text-align: center;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */

.floating-photos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.bottom-title-container {
    padding: 60px 20px;
    background: transparent;
    position: relative;
    z-index: 4;
    text-align: center;
}

.gallery-title {
    font-family: 'Monoton', cursive;
    font-size: 100px;
    line-height: 1.2;
    text-align: center;
    color: var(--neon-cyan);
    -webkit-text-stroke: 1px var(--neon-cyan);
    text-shadow:
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan);
    margin-bottom: 40px;
    animation: pulseGlow 2s infinite;
}

.photo-card {
    position: absolute;
    overflow: hidden;
    border-radius: 30px;
    border: 6px solid var(--gold);
    box-shadow:
        0 0 30px var(--gold),
        0 0 60px var(--hot-pink);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
    pointer-events: auto;
    z-index: 5;
}

/* Individual placements - scattered in blank spaces */
.photo-card:nth-child(1) {
    width: 161px;
    height: 161px;
    top: 650px;
    left: 3%;
    transform: rotate(-4deg);
}

.photo-card:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 1050px;
    right: 4%;
    transform: rotate(3deg);
}

.photo-card:nth-child(3) {
    width: 173px;
    height: 173px;
    top: 1450px;
    left: 6%;
    transform: rotate(5deg);
}

.photo-card:nth-child(4) {
    width: 155px;
    height: 155px;
    top: 1950px;
    right: 2%;
    transform: rotate(-2deg);
}

.photo-card:nth-child(5) {
    width: 184px;
    height: 184px;
    top: 800px;
    right: 5%;
    transform: rotate(4deg);
}

.photo-card:nth-child(6) {
    width: 161px;
    height: 161px;
    top: 1250px;
    left: 2%;
    transform: rotate(-3deg);
}

.photo-card:nth-child(7) {
    width: 173px;
    height: 173px;
    top: 2200px;
    left: 4%;
    transform: rotate(2deg);
}

.photo-card:nth-child(8) {
    width: 178px;
    height: 178px;
    top: 1650px;
    right: 7%;
    transform: rotate(-6deg);
}

.photo-card:nth-child(9) {
    width: 190px;
    height: 190px;
    top: 2500px;
    left: 10%;
    transform: rotate(4deg);
}

.photo-card:nth-child(10) {
    width: 167px;
    height: 167px;
    top: 500px;
    right: 8%;
    transform: rotate(-3deg);
}

.photo-card:nth-child(11) {
    width: 173px;
    height: 173px;
    top: 250px;
    left: 8%;
    transform: rotate(5deg);
}

.photo-card:nth-child(12) {
    width: 184px;
    height: 184px;
    top: 1800px;
    right: 12%;
    transform: rotate(-4deg);
}

.photo-card:nth-child(13) {
    width: 161px;
    height: 161px;
    top: 2800px;
    right: 5%;
    transform: rotate(3deg);
}

.photo-card:nth-child(14) {
    width: 178px;
    height: 178px;
    top: 2100px;
    left: 15%;
    transform: rotate(-2deg);
}

.photo-card:nth-child(15) {
    width: 173px;
    height: 173px;
    top: 1150px;
    right: 10%;
    transform: rotate(-3deg);
}

.photo-card:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 40px var(--neon-cyan),
        0 0 80px var(--electric-purple);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    color: var(--gold);
    font-family: 'Fugaz One', cursive;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    text-shadow:
        0 0 5px var(--gold),
        0 0 10px var(--gold);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Floating animations for each photo */
@keyframes floatPhoto1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-3deg);
    }

    50% {
        transform: translate(20px, -30px) rotate(3deg);
    }
}

@keyframes floatPhoto2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(2deg);
    }

    50% {
        transform: translate(-25px, 25px) rotate(-4deg);
    }
}

@keyframes floatPhoto3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(30px, 20px) rotate(5deg);
    }
}

@keyframes floatPhoto4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(4deg);
    }

    50% {
        transform: translate(-20px, -25px) rotate(-3deg);
    }
}

@keyframes floatPhoto5 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-4deg);
    }

    50% {
        transform: translate(25px, -20px) rotate(2deg);
    }
}

@keyframes floatPhoto6 {

    0%,
    100% {
        transform: translate(0, 0) rotate(3deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }
}

@keyframes floatPhoto7 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }

    50% {
        transform: translate(35px, -15px) rotate(4deg);
    }
}

@keyframes floatPhoto8 {

    0%,
    100% {
        transform: translate(0, 0) rotate(2deg);
    }

    50% {
        transform: translate(-15px, 35px) rotate(-6deg);
    }
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

/* ============================================
   VEGAS FACTS TICKER
   ============================================ */



.vegas-facts {
    background: transparent;
    /* Changed to transparent */
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-top: 5px solid var(--gold);
    border-bottom: 5px solid var(--gold);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.ticker span {
    font-family: 'Fugaz One', cursive;
    font-size: 40px;
    color: var(--hot-pink);
    text-shadow:
        0 0 10px var(--hot-pink),
        0 0 20px var(--hot-pink);
    padding: 0 60px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--deep-purple);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-text {
    font-family: 'Monoton', cursive;
    font-size: 80px;
    color: var(--neon-cyan);
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan);
    animation: pulseGlow 2s infinite;
}


/* ============================================
   VEGAS ICONOGRAPHY
   ============================================ */

.vegas-icon {
    position: absolute;
    font-size: 80px;
    z-index: 1;
    animation: vegasFloat 12s infinite ease-in-out;
    filter: drop-shadow(0 0 20px var(--gold)) drop-shadow(0 0 40px var(--neon-cyan));
}

.vegas-dice-1 {
    top: 800px;
    left: 10%;
    animation-delay: 0s;
}

.vegas-dice-2 {
    bottom: 500px;
    left: 8%;
    animation-delay: 5s;
}

.vegas-cards-1 {
    top: 1200px;
    right: 5%;
    animation-delay: 2s;
}

.vegas-cards-2 {
    top: 2000px;
    left: 5%;
    animation-delay: 8s;
}

.vegas-cards-3 {
    bottom: 300px;
    right: 12%;
    animation-delay: 11s;
}

.vegas-chips-1 {
    top: 1600px;
    left: 3%;
    animation-delay: 6s;
}

.vegas-chips-2 {
    bottom: 800px;
    right: 8%;
    animation-delay: 3s;
}

.vegas-star-1 {
    top: 2400px;
    right: 15%;
    animation-delay: 9s;
}

.vegas-star-2 {
    top: 1000px;
    left: 15%;
    animation-delay: 4s;
}

@keyframes vegasFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -30px) rotate(15deg) scale(1.1);
    }

    50% {
        transform: translate(-20px, 40px) rotate(-10deg) scale(0.9);
    }

    75% {
        transform: translate(25px, 20px) rotate(20deg) scale(1.05);
    }
}

/* Additional Palm Tree Positions */
.neon-palm-3 {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

.neon-palm-4 {
    top: 75%;
    right: 10%;
    animation-delay: 10s;
}

.neon-palm-5 {
    bottom: 10%;
    left: 50%;
    animation-delay: 5s;
}

.neon-palm-6 {
    top: 10%;
    right: 20%;
    animation-delay: 12s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .mega-title span {
        font-size: 60px;
    }

    .line-2,
    .line-4 {
        font-size: 100px;
    }

    .subtitle-flash {
        font-size: 30px;
    }

    .neon-box {
        padding: 40px 60px;
    }

    .pull-text {
        font-size: 40px;
    }

    .ur-in-text {
        font-size: 100px;
    }

    .gallery-title {
        font-size: 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .floating-pippa {
        right: 10px;
    }

    .floating-pippa img {
        width: 120px;
    }

    .spinning-boombox {
        bottom: 20px;
        left: 10px;
    }

    .spinning-boombox img {
        width: 100px;
    }

    .section-title {
        font-size: 30px;
    }

    .detail-text {
        font-size: 18px;
    }

    .footer-text {
        font-size: 40px;
    }

    .vegas-icon {
        font-size: 50px;
    }

    .neon-palm {
        font-size: 80px;
    }
}

/* ============================================
   RASTA BANNER
   ============================================ */

.rasta-banner {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(100vw);
    /* Start off-screen right */
    font-family: 'Fugaz One', cursive;
    font-size: 80px;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;

    /* Scroll Animation Only */
    animation: bannerScroll 12s linear infinite;
    will-change: transform;
}

.rasta-vibe {
    display: inline-block;
    /* Color and Vibe Animations */
    animation:
        rastaColors 3.5s linear infinite;

    /* Glow effect */
    text-shadow: 0 0 10px currentColor;
    will-change: color, transform;
}

@keyframes bannerScroll {
    0% {
        transform: translateY(-50%) translateX(100vw);
    }

    75% {
        /* Move all the way to the left edge (-100%) */
        transform: translateY(-50%) translateX(-100%);
    }

    100% {
        /* Stay off-screen for the remaining 25% of time */
        transform: translateY(-50%) translateX(-100%);
    }
}

@keyframes bannerVibrate {

    0%,
    90%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    92% {
        transform: rotate(-3deg) scale(1.1);
    }

    94% {
        transform: rotate(3deg) scale(1.1);
    }

    96% {
        transform: rotate(-3deg) scale(1.1);
    }

    98% {
        transform: rotate(3deg) scale(1.1);
    }
}

@keyframes rastaColors {
    0% {
        color: var(--neon-cyan);
    }

    25% {
        color: #FF0000;
    }

    50% {
        color: #00FF00;
    }

    75% {
        color: #FFFF00;
    }

    100% {
        color: var(--neon-cyan);
    }
}

/* ========================================= */
/* MOBILE RESPONSIVENESS (Max Width 768px)  */
/* ========================================= */
@media (max-width: 768px) {

    /* --- Typography Scaling --- */
    .line-1 {
        font-size: 80px;
        letter-spacing: 5px;
    }

    /* Was 120px */
    .line-2 {
        font-size: 100px;
    }

    /* Was 180px */
    .line-4 {
        font-size: 100px;
    }

    /* Was 180px */

    .gallery-title {
        font-size: 50px;
    }

    /* Was 80px */
    .section-title {
        font-size: 50px;
    }

    .detail-text {
        font-size: 24px;
        padding: 0 20px;
    }

    /* --- Layout Adjustments --- */
    .main-header {
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .trip-details {
        padding: 40px 10px;
    }

    /* --- Photo Gallery Stack --- */
    .floating-photos {
        position: relative;
        /* Stop floating over everything */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        padding-bottom: 100px;
        height: auto;
        /* Allow it to grow */
    }

    .photo-card {
        /* Override absolute positioning */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        /* Mobile Sizing */
        width: 85% !important;
        height: auto !important;
        margin: 30px 0;

        /* Keep some tilt for vibe but reduce it so it doesn't look broken */
        transform: rotate(2deg);
    }

    /* Alternate tilts for visual interest in the stack */
    .photo-card:nth-child(even) {
        transform: rotate(-2deg);
    }

    .photo-card:nth-child(3n) {
        transform: rotate(1deg);
    }

    /* --- Interactive Elements --- */
    .slot-machine-container {
        transform: scale(0.7);
        /* Scale down the whole slot machine */
        margin-top: -50px;
        margin-bottom: -50px;
    }

    /* --- Background & Decorations --- */
    .vegas-icon {
        font-size: 40px;
        /* Smaller background icons */
        opacity: 0.3;
        /* Less intrusive */
    }

    .neon-palm {
        font-size: 80px;
        opacity: 0.4;
    }

    /* --- Rasta Banner --- */
    .rasta-banner {
        font-size: 40px;
        /* Readable but fits screen */
    }

    .rasta-banner span {
        /* Ensure text doesn't wrap awkwardly if we change display modes */
        white-space: nowrap;
    }

    /* --- Floating Heads --- */
    .spinning-boombox {
        width: 100px;
        /* Smaller */
        top: 10px;
        left: 10px;
    }

    .floating-pippa {
        width: 120px;
        bottom: 10px;
        right: 10px;
    }
}