/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(
        135deg,
        #000000,
        #1a0b2e,
        #261447,
        #1a0b2e,
        #000000
    );
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding: 1rem 0;
    overflow-y: auto;
}

/* Static neon background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(103, 0, 255, 0.1) 0%,
        rgba(103, 0, 255, 0.2) 20%,
        rgba(148, 0, 211, 0.3) 40%,
        rgba(103, 0, 255, 0.2) 60%,
        rgba(103, 0, 255, 0.1) 80%,
        rgba(103, 0, 255, 0.05) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Additional ambient glow */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(103, 0, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(148, 0, 211, 0.15), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(103, 0, 255, 0.1), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Vending Machine Container */
.vending-machine {
    width: 90%;
    max-width: 1200px;
    min-height: 80vh;
    height: auto;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1.5rem;
    box-shadow: 
        0 0 50px rgba(103, 0, 255, 0.3),
        0 0 100px rgba(148, 0, 211, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    backdrop-filter: blur(10px);
    overflow: visible;
    margin: 1rem auto;
}

/* 3D edges effect */
.vending-machine::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        45deg,
        rgba(103, 0, 255, 0.5),
        rgba(148, 0, 211, 0.5)
    );
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
}

/* Perfume Display Section */
.perfume-display {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    overflow: hidden;
}

.perfume-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0.05rem;
    height: 100%;
    background: 
        linear-gradient(180deg, 
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(103, 0, 255, 0.1) 60%,
            rgba(255, 0, 255, 0.1) 70%,
            rgba(0, 255, 255, 0.1) 80%,
            rgba(0, 0, 0, 0.7) 100%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(103, 0, 255, 0.2) 0%,
            rgba(255, 0, 255, 0.15) 30%,
            rgba(0, 255, 255, 0.1) 60%,
            transparent 80%
        );
    gap: 0.1rem;
    position: relative;
}

.perfume-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0%,
            rgba(103, 0, 255, 0.1) 20%,
            rgba(255, 0, 255, 0.1) 40%,
            rgba(0, 255, 255, 0.1) 60%,
            transparent 80%
        );
    opacity: 0.3;
    animation: neonFlow 8s linear infinite;
}

@keyframes neonFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.perfume-slot {
    flex: 1;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.perfume-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 230, 150, 0.05) 40%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%
        );
    border-radius: 12px;
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(255, 230, 150, 0.05),
        0 0 15px rgba(255, 255, 255, 0.05);
    transform: translateZ(-20px);
    z-index: -1;
}

.perfume-slot::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: 
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 10%,
            rgba(255, 230, 150, 0.05) 20%,
            transparent 70%
        );
    filter: blur(10px);
    opacity: 0.5;
    z-index: -2;
    pointer-events: none;
}

.perfume-image {
    width: 100%;
    aspect-ratio: 1/1.5;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(103, 0, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(10px);
}

.perfume-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: 
        radial-gradient(
            ellipse at 30% 20%,
            rgba(255, 250, 230, 0.15) 0%,
            rgba(255, 250, 230, 0.05) 40%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(255, 230, 150, 0.15) 0%,
            rgba(255, 230, 150, 0.05) 40%,
            transparent 70%
        );
    border-radius: 16px;
    z-index: -1;
    transform: translateZ(-15px);
    filter: blur(5px);
    pointer-events: none;
}

.perfume-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 8px;
    pointer-events: none;
}

.perfume-slot:hover {
    transform: translateZ(30px);
}

.perfume-slot:hover .perfume-image {
    transform: translateZ(40px) rotateY(-5deg);
    box-shadow: 
        0 0 30px rgba(103, 0, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2),
        10px 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.perfume-slot:hover::before {
    box-shadow:
        inset 0 0 50px rgba(255, 255, 255, 0.2),
        inset 0 0 100px rgba(255, 230, 150, 0.15),
        0 0 25px rgba(255, 255, 255, 0.15);
}

.perfume-slot:hover .perfume-image::before {
    background: 
        radial-gradient(
            ellipse at 30% 20%,
            rgba(255, 250, 230, 0.25) 0%,
            rgba(255, 250, 230, 0.1) 40%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(255, 230, 150, 0.25) 0%,
            rgba(255, 230, 150, 0.1) 40%,
            transparent 70%
        );
    filter: blur(3px);
}

.perfume-slot:hover::after {
    opacity: 0.8;
    filter: blur(8px);
}

.slot-indicator {
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}

.arrow {
    width: 24px;
    height: 12px;
    position: relative;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(103, 0, 255, 0.5));
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: white;
    top: 50%;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(103, 0, 255, 0.5);
}

.arrow::before {
    left: 0;
    transform: rotate(45deg);
}

.arrow::after {
    right: 0;
    transform: rotate(-45deg);
}

.arrow:nth-child(2) {
    opacity: 0.6;
}

.arrow:nth-child(3) {
    opacity: 0.4;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(103, 0, 255, 0.3),
        inset 0 0 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

/* Payment Section */
.payment-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.coin-payment {
    background: linear-gradient(145deg, #444, #333);
    padding: 1.5rem;
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 
        0 0 20px rgba(103, 0, 255, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    height: auto;
}

.bitcoin-icon {
    font-size: 3.5rem;
    color: #F7931A;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
    margin-bottom: 0.5rem;
}

.slot-display {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(103, 0, 255, 0.5);
    letter-spacing: 1px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.coin-slot {
    width: 25px;
    height: 100px;
    background: #000;
    border-radius: 5px;
    box-shadow: 
        inset 0 0 10px rgba(103, 0, 255, 0.3),
        0 0 15px rgba(103, 0, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.insert-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, #F7931A, #e67e00);
    border: 2px solid transparent;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(247, 147, 26, 0.4),
        inset 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.insert-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(247, 147, 26, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Add glowing border when slot is selected */
.perfume-slot.selected ~ .payment-section .insert-button {
    border: 2px solid #fff;
    box-shadow: 
        0 0 20px rgba(247, 147, 26, 0.4),
        0 0 5px rgba(255, 255, 255, 0.4),
        inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.perfume-slot.selected ~ .payment-section .insert-button:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(247, 147, 26, 0.6),
        0 0 10px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.insert-button i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.card-reader {
    background: linear-gradient(145deg, #222, #111);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 
        0 0 20px rgba(103, 0, 255, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(103, 0, 255, 0.5);
    letter-spacing: 0.5px;
    margin-top: 1rem;
    position: relative;
    flex: 1;
    min-height: 120px;
}

.card-reader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(103, 0, 255, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.qr-code {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.payment-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(103, 0, 255, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 10px rgba(103, 0, 255, 0.5);
}

.payment-button:hover {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    transform: translateZ(40px);
    box-shadow: 
        0 0 30px rgba(103, 0, 255, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Spray Container */
.spray-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.mist-effect {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.1) 60%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(10px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .vending-machine {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .payment-section {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

.title-section {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    width: 100%;
}

.neon-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(
        45deg,
        #ffb6c1,  /* Light pink */
        #ffd700,  /* Gold */
        #98fb98,  /* Pale green */
        #87ceeb,  /* Sky blue */
        #dda0dd,  /* Plum */
        #ffa07a,  /* Light salmon */
        #e6e6fa,  /* Lavender */
        #ffb6c1   /* Light pink */
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 5px rgba(255, 182, 193, 0.5),
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(152, 251, 152, 0.5),
        0 0 30px rgba(135, 206, 235, 0.5),
        0 0 40px rgba(221, 160, 221, 0.5),
        0 0 55px rgba(255, 160, 122, 0.5),
        0 0 75px rgba(230, 230, 250, 0.5);
    animation: neonPulse 1.5s ease-in-out infinite alternate;
    transform: perspective(500px) rotateX(10deg);
    position: relative;
    z-index: 11;
    margin: 0 auto;
    display: block;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px rgba(255, 182, 193, 0.5),
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(152, 251, 152, 0.5),
            0 0 30px rgba(135, 206, 235, 0.5),
            0 0 40px rgba(221, 160, 221, 0.5),
            0 0 55px rgba(255, 160, 122, 0.5),
            0 0 75px rgba(230, 230, 250, 0.5);
    }
    to {
        text-shadow: 
            0 0 2.5px rgba(255, 182, 193, 0.3),
            0 0 5px rgba(255, 215, 0, 0.3),
            0 0 10px rgba(152, 251, 152, 0.3),
            0 0 15px rgba(135, 206, 235, 0.3),
            0 0 20px rgba(221, 160, 221, 0.3),
            0 0 27.5px rgba(255, 160, 122, 0.3),
            0 0 37.5px rgba(230, 230, 250, 0.3);
    }
}

.text-display {
    background: linear-gradient(145deg, #222, #111);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 
        0 0 20px rgba(103, 0, 255, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #e6f3ff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 
        0 0 5px rgba(230, 243, 255, 0.8),
        0 0 10px rgba(230, 243, 255, 0.5);
    letter-spacing: 2px;
    position: relative;
    width: 100%;
    min-height: 120px;
    height: auto;
    margin-top: 1rem;
}

.text-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            45deg,
            transparent 0%,
            rgba(230, 243, 255, 0.05) 50%,
            transparent 100%
        ),
        repeating-linear-gradient(
            0deg,
            rgba(230, 243, 255, 0.03) 0px,
            rgba(230, 243, 255, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
}

.text-display p {
    margin: 0;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(230, 243, 255, 0.2);
    box-shadow: 
        inset 0 0 10px rgba(230, 243, 255, 0.1),
        0 0 10px rgba(230, 243, 255, 0.1);
    transition: opacity 0.2s ease-in-out;
}

/* Copyright and Attribution */
.copyright {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    z-index: 1000;
    white-space: nowrap;
}

.copyright p {
    margin: 0;
    display: inline;
}

.copyright p:not(:last-child)::after {
    content: " | ";
    margin: 0 5px;
} 