/* Fl1kzzzHub - Единый файл стилей */

/* Шрифты */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Переменные цветов */
:root {
    --bg-primary: #F2F4F5;
    --bg-secondary: #FFFFFF;
    --text-primary: #393B3D;
    --text-muted: #666666;
    --accent-blue: #00A2FF;
    --accent-green: #00CF5C;
    --accent-orange: #FF6B35;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', 'Inter', 'Roboto', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--bg-secondary);
    padding: 1rem 0;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
}

.name_games {
    font-size: 1.5rem;
    font-weight: 525;
    color: black;
    text-decoration: none;
}

.current-game {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Панель под рекламу */
.ad-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px var(--shadow);
}

.ad-panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ad-panel-content {
    min-height: 250px; /* Высота под баннер */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.02); /* Легкий фон для визуального отделения */
    border-radius: 8px;
    padding: 1rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--bg-primary);
}

.play-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 162, 255, 0.3);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Game Hero */
.game-hero {
    position: relative;
    padding: 5rem 1rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.game-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.game-hero-content {
    position: relative;
    z-index: 2;
}

.game-hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.game-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.game-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.game-hero-stat {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow);
}

.game-card {
    cursor: pointer;
}

.image {
    width: 100%;
    height: 150px; /* можно уменьшить или сделать адаптивным */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* сохраняет пропорции и заполняет контейнер */
    display: block; /* убирает лишние отступы */
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .image {
        height: 120px; /* уменьшаем высоту на мобильных */
    }
}

@media (max-width: 480px) {
    .image {
        height: 100px; /* ещё меньше на очень маленьких экранах */
    }
}

@media (max-width: 768px) {
    .item-image {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 768px) {
    .game-hero-icon {
        width: 60px;
        height: 60px;
    }
}

.item-detail-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5; /* можно убрать, если не нужно */
}

.item-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптив под мобильные */
@media (max-width: 768px) {
    .item-detail-image {
        width: 75%;
        height: 75%;
        margin: 0 auto;
        margin-right: auto;
        margin-right: auto;
    }
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* можно убрать, если не нужно */
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.game-hero-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 100%;
}

/* Дополнительные стили для мобильной адаптации */
@media (max-width: 768px) {
    .game-hero {
        padding: 30px 15px;
    }
    
    .game-hero-icon img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .game-hero {
        padding: 20px 10px;
    }
    
    .game-hero-icon img {
        width: 80px;
        height: 80px;
    }
}

.game-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.game-content {
    padding: 1.5rem;
}

.game-title-sm {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.game-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    color: white;
}

/* Section Cards */
.section-card {
    padding: 1.5rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.section-icon {
    font-size: 3rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Item Cards */
.item-card {
    padding: 1rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-flex {
    display: flex;
    gap: 1rem;
}

.item-image {
    font-size: 4rem;
    flex-shrink: 0;
}
game-hero-icon
.item-content {
    flex: 1;
}

.item-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-blox-fruits-mythical {
    background: #FF0000;
    color: white;
}

.badge-blox-fruits-legendary {
    background: #AF4FFF; 
    color: white;
}
.badge-blox-fruits-rare {
    background: #5D36FF; 
    color: white;
}
.badge-blox-fruits-uncommon {
    background: #1480FF; 
    color: white;
}
.badge-blox-fruits-common {
    background: #b0b0b0;
    color: white;
}
.badge-blox-fruits-price {
    background:greenyellow ;
    color: green;
}

.badge-blox-fruits-robux {
    background:yellowgreen;
    color: yellow;
}


.badge-legendary {
    background: #d4af37;
    color: white;
}

.badge-rare {
    background: #4a90e2;
    color: white;
}

.badge-common {
    background: #b0b0b0;
    color: white;
}

/* Item Detail Page */
.item-detail-hero {
    padding: 5rem;
    display: table-cell;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    
   
 
}

.item-detail-image {
    
    flex-shrink: 0;
}

.item-detail-info {
    flex: 1;
    
}

.item-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.item-detail-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.item-detail-hero{
    margin-bottom:1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-header-icon {
    font-size: 1.5rem;
}

.section-header-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.abilities-list {
    list-style: none;
}

.abilities-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ability-bullet {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Telegram Banner */
.telegram-banner {
    background: linear-gradient(to right, rgba(0, 162, 255, 0.1), rgba(0, 207, 92, 0.1));
    border: 1px solid rgba(0, 162, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.telegram-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.telegram-icon {
    background: rgba(0, 162, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-blue);
}

.telegram-text h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.telegram-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.telegram-btn {
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.telegram-btn:hover {
    transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--accent-blue);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-muted);
}

/* Grid Layouts */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax4300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Utilities */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        justify-content: center;
    }

    .hero h1,
    .game-hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .item-detail-hero {
        flex-direction: column;
        text-align: center;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Abilities Styles - Responsive Game Abilities List */

/* Основной контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Карточка секции */
.card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    margin: 1.5rem 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Заголовок секции */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.section-header-icon {
    font-size: 1.5rem;
    color: #00A2FF;
}

.section-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #393B3D;
}

/* Список способностей */
.abilities-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.abilities-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #F8F9FA;
    border-radius: 8px;
    border-left: 4px solid #00A2FF;
}

/* Заголовок способности */
.ability-bullet {
    color: #00A2FF;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    display: block;
}

/* Описание способности */
.text-muted {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .abilities-list li {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }
    
    .ability-bullet {
        font-size: 1rem;
    }
    
    .text-muted {
        font-size: 0.9rem;
    }
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-header {
        padding: 1rem 1rem 0 1rem;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .section-header-icon {
        font-size: 1.25rem;
    }
    
    .section-header-title {
        font-size: 1.1rem;
    }
    
    .abilities-list {
        padding: 1rem 1rem 1rem 1rem;
    }
    
    .abilities-list li {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        padding: 0.75rem 0.75rem 0.75rem 1rem;
        border-left-width: 3px;
    }
    
    .ability-bullet {
        font-size: 0.95rem;
        margin-bottom: 0.125rem;
    }
    
    .text-muted {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Мелкие мобильные устройства */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section-header {
        padding: 0.75rem 0.75rem 0 0.75rem;
    }
    
    .section-header-title {
        font-size: 1rem;
    }
    
    .abilities-list {
        padding: 0.75rem 0.75rem 0.75rem 0.75rem;
    }
    
    .abilities-list li {
        padding: 0.6rem 0.6rem 0.6rem 0.8rem;
    }
    
    .ability-bullet {
        font-size: 0.9rem;
    }
    
    .text-muted {
        font-size: 0.8rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .ability-bullet {
        font-size: 0.85rem;
    }
    
    .text-muted {
        font-size: 0.75rem;
    }
}

/* Дополнительные стили для улучшения читаемости */
.abilities-list li:last-child {
    margin-bottom: 0;
}

/* Анимация при наведении */
.abilities-list li:hover {
    background: #F0F4F8;
    transform: translateX(2px);
}

/* Улучшенная адаптивность для разных ориентаций */
@media (orientation: landscape) and (max-height: 600px) {
    .abilities-list {
        padding: 1rem;
    }
    
    .abilities-list li {
        margin-bottom: 0.5rem;
    }
}

.refresh_link{
    font-size: 1.0rem;
    text-align: 125 ;
    color:  #0000CD;
    text-decoration: aquamarine;
}