/* ESPANOLGAMES — SIDEBAR STYLES */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.widget-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-content {
    padding: 20px;
}

/* Popular Games */
.popular-game-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
}

.popular-game-item:last-child {
    border-bottom: none;
}

.popular-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-cover {
    width: 50px;
    flex-shrink: 0;
}

.popular-cover img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.popular-info {
    flex: 1;
}

.popular-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-title:hover {
    color: #667eea;
}

.popular-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #7f8c8d;
}

.popular-meta i {
    margin-right: 3px;
}

/* Categories */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.category-badge:hover {
    background: #667eea;
    color: #fff;
    transform: translateX(5px);
}

.category-badge:hover i {
    color: #fff !important;
}

.category-badge i {
    font-size: 16px;
}

.category-badge .count {
    margin-left: auto;
    color: #95a5a6;
    font-size: 12px;
}

.category-badge:hover .count {
    color: rgba(255,255,255,0.8);
}

/* Latest Games */
.latest-game-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
}

.latest-game-item:last-child {
    border-bottom: none;
}

.latest-cover {
    width: 60px;
    flex-shrink: 0;
}

.latest-cover img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.latest-info {
    flex: 1;
}

.latest-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.3;
}

.latest-title:hover {
    color: #667eea;
}

.latest-date {
    font-size: 12px;
    color: #95a5a6;
}

.latest-date i {
    margin-right: 5px;
}

/* Newsletter Widget */
.newsletter-widget .widget-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.newsletter-desc {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 15px;
}

.newsletter-email {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.newsletter-email:focus {
    outline: none;
    border-color: #667eea;
}

.newsletter-submit {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #667eea;
    color: #fff;
}

.tag-count {
    font-size: 11px;
    opacity: 0.7;
}

/* Ad Widget */
.ad-widget .widget-content {
    padding: 0;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

@media (max-width: 1024px) {
    .sidebar {
        margin-top: 40px;
    }
}