/* Styles for Show page */

/* Show page Hero */
.hero {
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(26, 16, 60, 0.85) 0%, rgba(5, 8, 22, 0.95) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(249, 192, 79, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 22, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffd700 0%, #f9c04f 50%, #e8af3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px var(--primary-glow);
    letter-spacing: 1px;
    animation: title-fade-in 1s ease-out;
}

@keyframes title-fade-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 20px;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.8;
    animation: fade-up 1s ease-out 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-image-wrapper {
    margin: 32px auto;
    max-width: 600px;
    animation: fade-up 1s ease-out 0.4s both;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(249, 192, 79, 0.15);
    transition: all 0.4s ease;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(249, 192, 79, 0.25);
}

.hero-content-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fade-up 1s ease-out 0.6s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

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

/* Show Container */
.show-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Featured Section */
.featured-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 36px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 16px auto 0;
}

/* Generic Card Style */
.card {
    background: var(--card-gradient);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.08), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-glow);
}

.card-image-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.35rem;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 2.8em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    max-height: 4.8em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #e8af3f 100%);
    color: #000;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.card-btn:hover::before {
    left: 100%;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Ad Block */
.ad-block {
    max-width: 1200px;
    margin: 40px auto 0;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.ad-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-content-text {
        font-size: 16px;
    }
    
    .show-container {
        padding: 40px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .card {
        padding: 24px;
    }
    
    .card-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 12px 50px;
    }
    
    .hero-title {
        font-size: 32px;
        letter-spacing: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-content-text {
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        max-height: 6.4em;
    }
    
    .hero-image-wrapper {
        margin: 24px auto;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h3 {
        -webkit-line-clamp: 1;
        max-height: 1.4em;
    }
    
    .card p {
        -webkit-line-clamp: 2;
        max-height: 3.2em;
    }
    
    .card-image {
        height: 150px;
    }
}
