/* Custom Styles for Gold Play Dramas */

@layer utilities {
    .text-shadow-gold {
        text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
    }
    .box-shadow-gold {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
}

body {
    background-color: #050505;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Hide scrollbar for carousels but keep functionality */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.carousel-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Views Animation */
.view {
    min-height: 100vh;
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hidden {
    display: none !important;
}

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

/* Hero Banner Gradient */
.banner-gradient {
    background: linear-gradient(to top, #050505 0%, rgba(5,5,5,0.8) 20%, transparent 60%);
}

/* Drama Card Styles */
.drama-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center bottom;
}

.drama-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.6);
    z-index: 20;
}

.drama-card .play-overlay {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
}

.drama-card:hover .play-overlay {
    opacity: 1;
    transform: scale(1);
}

.drama-card .card-info {
    transform: translateY(10px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.drama-card:hover .card-info {
    transform: translateY(0);
    opacity: 1;
}

/* Gold Glow Hover Effect */
.gold-glow {
    position: relative;
}
.gold-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #D4AF37, #F3E5AB, #AA8C2C, #D4AF37);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}
.gold-glow:hover::after {
    opacity: 0.7;
}

/* Gold Button */
.gold-btn {
    position: relative;
    overflow: hidden;
}
.gold-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #141414 25%, #2a2a2a 50%, #141414 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite linear;
}

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

/* Modal Animation */
#password-modal.show {
    display: flex !important;
    opacity: 1;
}
#password-modal.show #password-modal-content {
    transform: scale(1);
}

/* Form inputs focus */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
