/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			FarmingPro
	Original author: 	NecheB © phpBB Bulgaria
	Modified by:		Богучанский Спорт
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=07eb944c");
@import url("links.css?hash=18286e16");
@import url("content.css?hash=d6d1338b");
@import url("buttons.css?hash=56f0d25f");
@import url("cp.css?hash=50d868ab");
@import url("forms.css?hash=9016b55c");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=fcb2f289");
@import url("responsive.css?hash=17e3901f");

/* ======================================================
   БОГУЧАНСКИЙ СПОРТ - ПОЛНАЯ АДАПТАЦИЯ
   ====================================================== */

/* ----- 1. ПОДКЛЮЧЕНИЕ ШРИФТА ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ----- 2. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ----- */
:root {
    --primary-color: #6C3CE1 !important;
    --secondary-color: #FF6B6B !important;
    --accent-color: #06D6A0 !important;
    --accent2-color: #FFD93D !important;
    --text-color: #FFFFFF !important;
    --bg-body: #0a0a12 !important;
}

/* ----- 3. ФОН И ТЕКСТ ----- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: 
        linear-gradient(180deg, rgba(10, 10, 18, 0.92) 0%, rgba(20, 20, 35, 0.85) 100%),
        url('https://boguchanysport.ru/wp-content/uploads/2026/08/fon.jpg') center/cover no-repeat fixed !important;
    color: #FFFFFF !important;
    min-height: 100vh;
    font-size: 16px !important;
}

/* Декоративный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 60, 225, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ----- 4. ОСНОВНОЙ КОНТЕЙНЕР (полупрозрачный серый) ----- */
#wrap {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 20px auto !important;
    padding: 20px !important;
    background: rgba(180, 180, 195, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* ----- 5. БЛОКИ С ТЕМАМИ (БЕЛЫЕ) ----- */
.forabg,
.forumbg {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 16px !important;
    border: 1px solid rgba(200, 200, 210, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
}

/* ----- 6. ТЕКСТ В БЕЛЫХ БЛОКАХ ----- */
.forabg *,
.forumbg * {
    color: #1a1a2e !important;
}

.forabg a,
.forumbg a {
    color: #6C3CE1 !important;
}

.forabg a:hover,
.forumbg a:hover {
    color: #FF6B6B !important;
}

.forabg .header a,
.forumbg .header a {
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

/* ----- 7. ЗАГОЛОВКИ РАЗДЕЛОВ (в белых блоках) ----- */
.forabg .header,
.forumbg .header {
    background: transparent !important;
    border-bottom: 2px solid #f0f0f5 !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}

/* ----- 8. СТРОКИ ТАБЛИЦ (в белых блоках) ----- */
.topiclist li {
    background: transparent !important;
    border-bottom: 1px solid #f0f0f5 !important;
    padding: 12px 0 !important;
    color: #1a1a2e !important;
}

.topiclist li:hover {
    background: rgba(108, 60, 225, 0.04) !important;
}

.topiclist li:last-child {
    border-bottom: none !important;
}

/* ----- 9. ПОСТЫ (белые) ----- */
.post {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 16px !important;
    border: 1px solid rgba(200, 200, 210, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.post * {
    color: #1a1a2e !important;
}

.post a {
    color: #6C3CE1 !important;
}

.post a:hover {
    color: #FF6B6B !important;
}

/* ----- 10. ПРОФИЛЬ В ПОСТЕ ----- */
.postprofile {
    background: rgba(245, 245, 250, 0.6) !important;
    border: 1px solid #e8e8ef !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin: 0 !important;
}

.postprofile dt,
.postprofile dd {
    color: #1a1a2e !important;
}

.postprofile .username-coloured {
    color: #6C3CE1 !important;
}

.avatar {
    border-radius: 50% !important;
    border: 3px solid #6C3CE1 !important;
}

/* ----- 11. ПАНЕЛИ И НАВИГАЦИЯ (полупрозрачные) ----- */
.panel,
.navbar,
.postbody,
.content {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.navbar a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar a:hover {
    color: #FFFFFF !important;
}

/* ----- 12. ВСЕ ТЕКСТЫ (кроме белых блоков) ----- */
body,
p,
li,
div,
span,
.content,
.postbody,
.topiclist,
.panel,
.navbar {
    color: #ff9800 !important;
}

h1,
h2,
h3,
h4,
.topic-title,
.forumtitle {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

h2 {
    background: linear-gradient(135deg, #6C3CE1, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ----- 13. ССЫЛКИ ----- */
a,
a:link,
a:visited,
.forumtitle,
.topictitle,
.topic-title a {
    color: #8B5CF6 !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
}

a:hover,
.forumtitle:hover,
.topictitle:hover,
.topic-title a:hover {
    color: #FFD93D !important;
}

/* ----- 14. КНОПКИ (ПОЛНОСТЬЮ БЕЗ СДВИГА ТЕКСТА) ----- */
.button,
input[type="submit"],
input[type="button"],
.button-icon,
.button-search {
    background: #673ab7b0 !important;
    border: 2px solid #6C3CE1 !important;
    color: #FFFFFF !important;
    padding: 10px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: none !important;
    /* ПОЛНОСТЬЮ ОТКЛЮЧАЕМ ВСЕ ТРАНСФОРМАЦИИ */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
    transition: border-color 0.3s ease, background 0.3s ease !important;
}

/* ЗАЩИТА ТЕКСТА */
.button span,
input[type="submit"] span,
input[type="button"] span,
.button i,
input[type="submit"] i,
input[type="button"] i,
.button *,
input[type="submit"] *,
input[type="button"] * {
    position: relative !important;
    z-index: 2 !important;
    color: #FFFFFF !important;
    /* ПОЛНОСТЬЮ ОТКЛЮЧАЕМ ТРАНСФОРМАЦИИ */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transition: none !important;
}

/* ЭФФЕКТ ВОЛНА (НЕ ВЛИЯЕТ НА ТЕКСТ) */
.button::before,
input[type="submit"]::before,
input[type="button"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(108, 60, 225, 0.12) 25%,
        rgba(255, 107, 107, 0.12) 50%,
        rgba(108, 60, 225, 0.12) 75%,
        transparent 100%
    );
    transition: all 0.5s ease !important;
    z-index: 0;
    pointer-events: none;
}

.button:hover::before,
input[type="submit"]:hover::before,
input[type="button"]:hover::before {
    left: 100%;
}

/* ПРИ НАВЕДЕНИИ (БЕЗ ЛЮБЫХ ТРАНСФОРМАЦИЙ) */
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    border-color: #FF6B6B !important;
    background: transparent !important;
    /* ПОЛНОСТЬЮ ОТКЛЮЧАЕМ ТРАНСФОРМАЦИИ */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
    box-shadow: none !important;
}

.button:hover span,
input[type="submit"]:hover span,
input[type="button"]:hover span,
.button:hover i,
input[type="submit"]:hover i,
input[type="button"]:hover i {
    color: #FFFFFF !important;
    /* ОТКЛЮЧАЕМ ЛЮБЫЕ ИЗМЕНЕНИЯ */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
}

/* НАЖАТИЕ (БЕЗ СДВИГА) */
.button:active,
input[type="submit"]:active,
input[type="button"]:active {
    border-color: #8B5CF6 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
}

.button:active span,
input[type="submit"]:active span,
input[type="button"]:active span {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    scale: 1 !important;
    -webkit-scale: 1 !important;
    position: relative !important;
    top: 0 !important;
}

/* Вторичные кнопки */
.button-secondary {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    -webkit-transform: none !important;
    scale: 1 !important;
}

.button-secondary::before {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.06) 75%,
        transparent 100%
    ) !important;
}

/* Маленькие кнопки */
.button-icon-only {
    padding: 8px 12px !important;
    min-width: 36px !important;
    justify-content: center !important;
}

/* Ссылка как кнопка */
.button-link {
    background: transparent !important;
    border: none !important;
    color: #8B5CF6 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    scale: 1 !important;
}

.button-link:hover {
    color: #FFD93D !important;
    transform: none !important;
    -webkit-transform: none !important;
    scale: 1 !important;
    background: transparent !important;
}

.button-link::before,
.button-link::after {
    display: none !important;
}

/* ----- 15. ПОЛЯ ВВОДА ----- */
.inputbox,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    padding: 22px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
}

.inputbox:focus,
input[type="text"]:focus {
    border-color: #6C3CE1 !important;
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15) !important;
    outline: none !important;
}

.inputbox::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ----- 16. ПАГИНАЦИЯ ----- */
.pagination {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 15px 0 !important;
    margin: 0 !important;
}

.pagination a,
.pagination span {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    padding: 8px 16px !important;
    font-size: 1rem !important;
    transition: background 0.2s ease !important;
}

.pagination a:hover {
    background: #6C3CE1 !important;
    color: #FFFFFF !important;
    transform: none !important;
}

.pagination .active {
    background: linear-gradient(135deg, #6C3CE1, #FF6B6B) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
}

/* ----- 17. ЦИТАТЫ И КОД ----- */
blockquote {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 4px solid #6C3CE1 !important;
    border-radius: 0 10px 10px 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 15px 20px !important;
    margin: 15px 0 !important;
    font-size: 1rem !important;
}

blockquote cite {
    color: #8B5CF6 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.codebox {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    color: #4ECDC4 !important;
    font-size: 0.95rem !important;
}

.codebox code {
    color: #4ECDC4 !important;
}

/* ----- 18. ПОДВАЛ ----- */
#page-footer {
    margin-top: 30px !important;
    padding: 20px 0 !important;
}

#page-footer .navbar {
    background: rgba(26, 5, 51, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    margin-bottom: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.copyright {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    margin-top: 15px !important;
}

.copyright a {
    color: rgba(255, 255, 255, 0.5) !important;
}

.copyright a:hover {
    color: #FFD93D !important;
}

/* ----- 19. СТАТИСТИКА И ИНФОРМАЦИЯ ----- */
.statistics,
.stat-block,
.online-list {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin: 10px 0 !important;
    font-size: 1rem !important;
}

.statistics dt,
.stat-block dt {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1rem !important;
}

.statistics dd,
.stat-block dd {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.online-list,
.online-list dt {
    color: #FFFFFF !important;
}

/* ----- 20. МЕЛКИЙ ТЕКСТ ----- */
.post .post-info,
.topiclist .post-info,
.small,
.small a,
.time {
    color: #9999AA !important;
    font-size: 0.95rem !important;
}

/* ----- 21. АНИМАЦИИ ПОЯВЛЕНИЯ (ТОЛЬКО ПРИ ЗАГРУЗКЕ) ----- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.forabg {
    animation: fadeInUp 0.5s ease forwards;
}

.forumbg {
    animation: fadeInUp 0.6s ease forwards;
}

.post {
    animation: fadeInUp 0.4s ease forwards;
}

.panel {
    animation: fadeInUp 0.4s ease forwards;
}

.topiclist {
    animation: fadeInUp 0.3s ease forwards;
}

/* Задержки для последовательного появления */
.post:nth-child(1) { animation-delay: 0.05s; }
.post:nth-child(2) { animation-delay: 0.10s; }
.post:nth-child(3) { animation-delay: 0.15s; }
.post:nth-child(4) { animation-delay: 0.20s; }
.post:nth-child(5) { animation-delay: 0.25s; }
.post:nth-child(6) { animation-delay: 0.30s; }
.post:nth-child(7) { animation-delay: 0.35s; }
.post:nth-child(8) { animation-delay: 0.40s; }
.post:nth-child(9) { animation-delay: 0.45s; }
.post:nth-child(10) { animation-delay: 0.50s; }

/* ----- 22. СКРОЛЛБАР ----- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6C3CE1, #FF6B6B);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8B5CF6, #FF8A8A);
}

/* ----- 23. АДАПТИВНОСТЬ ----- */
@media (max-width: 768px) {
    #wrap {
        padding: 15px !important;
        margin: 10px !important;
        border-radius: 16px !important;
    }

    .forabg,
    .forumbg,
    .post,
    .panel {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .postprofile {
        min-width: 100% !important;
        margin-bottom: 15px !important;
    }

    .button,
    input[type="submit"],
    input[type="button"] {
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
    }

    .pagination a,
    .pagination span {
        padding: 6px 12px !important;
        font-size: 0.9rem !important;
    }

    .postprofile .username {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    #wrap {
        padding: 10px !important;
        margin: 8px !important;
        border-radius: 12px !important;
    }

    .forabg,
    .forumbg,
    .post,
    .panel {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    h1 {
        font-size: 1.6rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    .button,
    input[type="submit"],
    input[type="button"] {
        font-size: 0.8rem !important;
        padding: 6px 14px !important;
    }
}