.hero-section {
    background-image: 
        linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%),
        url('/assets/images/fenix.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.hero-desc {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 24px;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero-search input {
    background: transparent;
    color: #fff;
    border: none;
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 1rem;
    outline: none;
}

.hero-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.hero-search button {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.hero-search button:hover {
    background: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 32px 16px;
    }

    .hero-search {
        max-width: 100%;
    }

    .hero-search button {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-search {
        flex-direction: row;
    }

    .hero-search input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .hero-search button {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

.section {
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.games-grid .game-entry {
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid var(--border);
    background: var(--bg-card);
}

.games-grid .game-entry:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.game-entry .game-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.game-entry .game-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.game-entry .game-posts-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 32px 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
}
/* ============================================
   🎮 3D SKIN PREVIEW
   ============================================ */

.post-card {
    position: relative;
    overflow: clip;
}

.post-card[data-category="skins"] .post-card-img,
.post-card[data-category="skins"] .post-card-image {
    position: relative;
}

.skin-3d-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    border: 3px solid #4CAF50;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.5);
    overflow: hidden;
}

.skin-3d-preview.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

@media (hover: hover) and (pointer: fine) {
    .post-card[data-category="skins"]:hover .skin-3d-preview {
        animation: show3DPreview 0.4s ease forwards;
    }
}

@keyframes show3DPreview {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

.skin-3d-preview canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.skin-hover-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 175, 80, 0.95);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.post-card[data-category="skins"]:hover .skin-hover-hint,
.post-card[data-category="skins"] .post-card-img:active .skin-hover-hint {
    opacity: 1;
}

.skin-3d-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile адаптация */
@media (max-width: 768px) {
    .skin-hover-hint {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .skin-3d-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .skin-3d-preview {
        border-width: 2px;
    }
    
    .skin-hover-hint {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}