/*
Theme Name: Obzorkino Theme
Theme URI: https://обзоркино.рф
Description: Стильная, легкая и современная темная тема для кинопортала обзоркино.рф с неоновыми элементами и высокой SEO-оптимизацией.
Version: 1.0.0
Author: Antigravity AI
Author URI: https://google.com
License: GNU General Public License v2 or later
Text Domain: obzorkino
*/

/* ==========================================================================
   Стили контейнера реферальных ссылок и кнопок (Шорткод)
   ========================================================================== */
.movie-affiliate-container {
    margin: 40px 0;
    padding: 30px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
                0 0 25px rgba(255, 102, 0, 0.15), 
                inset 0 0 15px rgba(255, 255, 255, 0.03);
    color: #ffffff;
}
.movie-affiliate-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.movie-affiliate-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.movie-affiliate-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                filter 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.movie-affiliate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.15);
}
.movie-affiliate-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Брендовые неоновые градиенты */
.btn-kinopoisk {
    background: linear-gradient(135deg, #ff6600 0%, #e65c00 100%);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.35);
}
.btn-kinopoisk:hover {
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.55);
}

.btn-ivi {
    background: linear-gradient(135deg, #ec1840 0%, #95071f 100%);
    box-shadow: 0 4px 15px rgba(236, 24, 64, 0.35);
}
.btn-ivi:hover {
    box-shadow: 0 6px 25px rgba(236, 24, 64, 0.55);
}

.btn-start {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.35);
}
.btn-start:hover {
    box-shadow: 0 6px 25px rgba(123, 31, 162, 0.55);
}

/* ==========================================================================
   Стили автоперелинковки (Внутри шорткода)
   ========================================================================== */
.movie-related-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.movie-related-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.movie-related-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.movie-related-list li {
    position: relative;
    padding-left: 20px !important;
    margin-bottom: 8px !important;
}
.movie-related-list li::before {
    content: "➔";
    position: absolute;
    left: 0;
    color: #ff6600;
    font-size: 12px;
    top: 2px;
}
.movie-related-list li a {
    color: #a1a1aa;
    font-size: 14px;
    transition: color 0.2s ease;
}
.movie-related-list li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Стили для таблиц графиков серий (внедряются в контент)
   ========================================================================== */
.series-schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.series-schedule-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ff6600;
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
.series-schedule-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}
.series-schedule-table tr:last-child td {
    border-bottom: none;
}
.series-schedule-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}
.series-schedule-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Стили для списков саундтреков (внедряются в контент)
   ========================================================================== */
.music-tracks-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 25px 0 !important;
}
.music-tracks-list li {
    position: relative;
    padding-left: 36px !important;
    margin-bottom: 16px !important;
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
}
.music-tracks-list li::before {
    content: '♪';
    position: absolute;
    left: 8px;
    color: #ff6600;
    font-size: 22px;
    font-weight: bold;
    top: -2px;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
}

/* ==========================================================================
   Стили для списков биографий актеров
   ========================================================================== */
.actor-bio-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 25px 0 !important;
}
.actor-bio-list li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 14px !important;
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
}
.actor-bio-list li::before {
    content: '★';
    position: absolute;
    left: 5px;
    color: #ff6600;
    font-size: 16px;
    top: 0;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
}

/* ==========================================================================
   Адаптивность для mobile
   ========================================================================== */
@media (max-width: 600px) {
    .movie-affiliate-container {
        padding: 20px;
    }
    .movie-affiliate-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .movie-affiliate-btn {
        justify-content: center;
        width: 100%;
        padding: 16px;
    }
    .series-schedule-table th, 
    .series-schedule-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Стили для интерактивных тестов (Киноквизы)
   ========================================================================== */
.obzorkino-quiz-card {
    margin: 40px 0;
    padding: 35px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
                0 0 25px rgba(255, 102, 0, 0.15), 
                inset 0 0 15px rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.obzorkino-quiz-title {
    font-size: 22px;
    font-weight: 800;
    color: #ff6600;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}
.obzorkino-quiz-question {
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.obzorkino-quiz-question:last-of-type {
    border-bottom: none;
}
.obzorkino-quiz-qtext {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.5;
}
.obzorkino-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.obzorkino-quiz-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    padding: 14px 20px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
.obzorkino-quiz-option-btn:hover:not(:disabled) {
    background: rgba(255, 102, 0, 0.12);
    border-color: rgba(255, 102, 0, 0.4);
    color: #ffffff;
    transform: translateX(4px);
}
.obzorkino-quiz-option-btn.selected {
    background: rgba(255, 102, 0, 0.25) !important;
    border-color: #ff6600 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
}
.obzorkino-quiz-option-btn.correct {
    background: rgba(46, 213, 115, 0.25) !important;
    border-color: #2ed573 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.2);
}
.obzorkino-quiz-option-btn.incorrect {
    background: rgba(255, 71, 87, 0.25) !important;
    border-color: #ff4757 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
}
.obzorkino-quiz-option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}
.obzorkino-quiz-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.obzorkino-quiz-submit-btn {
    background: linear-gradient(135deg, #ff6600 0%, #e65c00 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 40px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.obzorkino-quiz-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.55);
}
.obzorkino-quiz-submit-btn:disabled {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}
.obzorkino-quiz-result {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    animation: fadeIn 0.5s ease;
}
.obzorkino-quiz-result span {
    color: #ff6600;
    font-weight: 800;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
}

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

@media (max-width: 600px) {
    .obzorkino-quiz-card {
        padding: 20px;
    }
    .obzorkino-quiz-option-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    .obzorkino-quiz-submit-btn {
        width: 100%;
        padding: 16px;
    }
}
