.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.skip-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid #ff3333;
    color: #ff3333;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.skip-button:hover {
    background: rgba(255, 51, 51, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    transform: scale(1.1);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    background: rgba(20, 0, 0, 0.9);
    border: 3px solid #ff3333;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.loading-text {
    font-size: 1.8em;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff0000;
    min-height: 80px;
    max-height: 80px;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.loading-bar {
    width: 100%;
    height: 15px;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff3333;
    overflow: hidden;
    border-radius: 3px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff3333, #ff6666, #ff3333);
    background-size: 200% 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px #ff0000;
    animation: shimmer 1s infinite;
}

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

.movies-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-top: 30px;
}

.ads-sidebar {
    background: transparent;
    padding: 0;
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.ads-carousel-container {
    height: 610px;
    overflow: hidden;
    position: relative;
}

.ads-carousel {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
}

.ads-box {
    background: rgba(30, 0, 0, 1);
    border: 3px solid #ff3333;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 51, 51, 1);
    min-height: 110px;
    flex-shrink: 0;
}

.ads-carousel-btn {
    position: absolute;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff3333;
    color: #ff3333;
    padding: 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    z-index: 10;
    transition: all 0.3s ease;
}

.ads-carousel-btn:hover {
    background: rgba(50, 0, 0, 0.9);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.ads-carousel-btn.prev {
    top: 10px;
}

.ads-carousel-btn.next {
    bottom: 10px;
}

.ads-title {
    color: #ff9999;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff3333;
}

.ads-company {
    color: #ff3333;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px #ff0000;
    line-height: 1.2;
}

.ads-slogan {
    color: #ffaaaa;
    font-size: 0.8em;
    font-style: italic;
    line-height: 1.3;
}

#moviesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 1400px) {
    #moviesGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    #moviesGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .movies-grid {
        grid-template-columns: 1fr;
    }
    
    #moviesGrid {
        grid-template-columns: 1fr;
    }
}

.movie-card {
    border: 3px solid #ff1a1a;
    background: rgba(15, 0, 0, 0.9);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.movie-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 30px #ff0000,
        inset 0 0 30px rgba(255, 0, 0, 0.3);
}

.movie-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-bottom: 3px solid #ff1a1a;
    filter: contrast(1.2) saturate(1.3) sepia(0.2);
}

.movie-info {
    padding: 20px;
}

.movie-title {
    font-size: 1.8em;
    color: #ff1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #ff0000;
}

.movie-year {
    font-size: 1.2em;
    color: #ff6666;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff0000;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #ff9933;
    text-shadow: 0 0 10px #ff6600;
    font-size: 1.5em;
}

.score {
    margin-left: 15px;
    font-size: 1.3em;
    color: #ffaaaa;
}

.review {
    font-size: 0.95em;
    line-height: 1.6;
    color: #bbbbbb;
    border-left: 3px solid #ff4444;
    padding-left: 15px;
    margin-top: 15px;
    font-style: italic;
    min-height: 40px;
}

.review-author {
    margin-top: 10px;
    font-size: 0.85em;
    color: #ff8888;
    text-align: right;
}
