/* 1980s Style Marquee Board CSS */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=VT323&display=swap');

/* Marquee Board Container */
.marquee-board {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
}

.marquee-frame {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border: 3px solid #ff6b35;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        0 0 8px rgba(255, 107, 53, 0.25),
        inset 0 0 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.marquee-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Neon Borders */
.neon-border {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ff6b35 20%, 
        #ff8c42 50%, 
        #ff6b35 80%, 
        transparent 100%);
    box-shadow: 
        0 0 4px rgba(255, 107, 53, 0.4),
        0 0 8px rgba(255, 107, 53, 0.15);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.neon-border.top {
    margin-bottom: 2rem;
}

.neon-border.bottom {
    margin-top: 2rem;
}

@keyframes neonPulse {
    0% {
        box-shadow: 
            0 0 4px rgba(255, 107, 53, 0.4),
            0 0 8px rgba(255, 107, 53, 0.15);
    }
    100% {
        box-shadow: 
            0 0 8px rgba(255, 107, 53, 0.6),
            0 0 12px rgba(255, 107, 53, 0.2);
    }
}

/* Marquee Display */
.marquee-display {
    height: 120px;
    background: #000;
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.05) 50%, 
            transparent 100%);
    animation: scanline 3s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Marquee Text */
.marquee-text {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 2rem;
    color: #00ff41;
    text-shadow: 
        0 0 10px rgba(0, 255, 65, 0.8),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 30px rgba(0, 255, 65, 0.2);
}

.marquee-text.paused {
    animation-play-state: paused;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.movie-title {
    margin: 0 2rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 
        0 0 10px rgba(255, 107, 53, 0.8),
        0 0 20px rgba(255, 107, 53, 0.4);
}

.movie-info {
    margin: 0 2rem;
    font-size: 1.5rem;
    color: #00ff41;
    opacity: 0.8;
}

/* Marquee Controls */
.marquee-controls {
    margin-top: 1rem;
    text-align: center;
}

.control-panel {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 2px solid #ff6b35;
}

.control-btn {
    background: #ff6b35;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.control-btn:hover {
    background: #ff8c42;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
}

.control-btn.active {
    background: #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.speed-indicator {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

/* Movie Posters Section */
.movie-posters-section {
    margin-top: 4rem;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 
        0 0 10px rgba(255, 107, 53, 0.8),
        0 0 20px rgba(255, 107, 53, 0.4);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.poster-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poster-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.poster-frame {
    position: relative;
    border: 3px solid #ff6b35;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.poster-frame:hover {
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

.poster-frame img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.poster-item:hover .poster-frame img {
    transform: scale(1.1);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-item:hover .poster-overlay {
    opacity: 1;
}

.movie-details {
    padding: 1.5rem;
    color: white;
    text-align: left;
    width: 100%;
}

.movie-details h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ff6b35;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.movie-details p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: #ccc;
}

.showtimes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.showtimes span {
    background: rgba(255, 107, 53, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    margin: 5% auto;
    padding: 2rem;
    border: 3px solid #ff6b35;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #ff6b35;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: #ff8c42;
    transform: scale(1.1);
}

.booking-form h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #00ff41;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff6b35;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.book-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.book-btn:hover {
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .marquee-text {
        font-size: 1.5rem;
    }
    
    .movie-title {
        margin: 0 1rem;
    }
    
    .movie-info {
        margin: 0 1rem;
        font-size: 1.2rem;
    }
    
    .poster-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .control-panel {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .marquee-frame {
        padding: 1rem;
    }
    
    .marquee-text {
        font-size: 1.2rem;
    }
    
    .poster-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .marquee-board {
        max-width: 100vw;
        padding: 0 0.2rem;
    }
    .marquee-frame {
        padding: 0.5rem;
    }
    .marquee-text {
        font-size: 1rem;
    }
    .poster-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .modal-content {
        margin: 10% auto;
        padding: 0.5rem;
        width: 99vw;
        max-width: 99vw;
    }
} 