/* Category Tabs Styles */

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.category-tab.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.bonus-category {
    animation: fadeIn 0.5s ease;
}

.bonus-category.hidden {
    display: none !important;
}

.bonus-grid.single {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin: 0 auto 32px;
}

.bonus-card.featured {
    padding: 48px 40px;
}

/* Bonus Details */
.bonus-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.detail-value.highlight-value {
    color: #FFD700;
    font-size: 16px;
}

/* Bonus Steps */
.bonus-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.bonus-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.bonus-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bonus-step .step-content {
    flex: 1;
}

.bonus-step .step-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.bonus-step .step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.bonus-actions.large {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.bonus-btn.large {
    padding: 16px 32px;
    font-size: 15px;
}

.bonus-btn.large.primary {
    flex: 2;
}

.bonus-btn.large.twitter-btn {
    flex: 1;
}

/* Mobile Styles */
@media (max-width: 968px) {
    .category-tabs {
        gap: 8px;
        margin-bottom: 32px;
    }
    
    .category-tab {
        font-size: 13px;
        padding: 12px 20px;
    }
    
    .bonus-grid.single {
        max-width: 100%;
    }
    
    .bonus-card.featured {
        padding: 32px 24px;
    }
    
    .bonus-details {
        padding: 16px;
    }
    
    .detail-row {
        padding: 10px 0;
    }
    
    .detail-label {
        font-size: 13px;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .bonus-step {
        padding: 16px;
    }
    
    .bonus-actions.large {
        flex-direction: column;
    }
    
    .bonus-btn.large {
        font-size: 14px;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .category-tab {
        width: 100%;
        text-align: center;
    }
    
    .bonus-step {
        flex-direction: column;
        text-align: center;
    }
    
    .bonus-step .step-number {
        margin: 0 auto 12px;
    }
}

/* Telegram Handle Style */
.telegram-handle {
    color: #0088cc;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 136, 204, 0.1);
}

.telegram-handle:hover {
    background: rgba(0, 136, 204, 0.2);
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

.telegram-btn {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 2px solid #0088cc;
}

.telegram-btn:hover {
    background: rgba(0, 136, 204, 0.2);
}


/* Contact Info Section */
.contact-info {
    margin-top: 48px;
    padding: 32px;
    background: rgba(0, 136, 204, 0.05);
    border: 2px solid rgba(0, 136, 204, 0.2);
    border-radius: 16px;
    text-align: center;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0088cc;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0099dd;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

@media (max-width: 480px) {
    .contact-info {
        padding: 24px 16px;
    }
    
    .contact-icon {
        font-size: 40px;
    }
    
    .contact-info h4 {
        font-size: 20px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .contact-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Bonus Images */
.bonus-image {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.bonus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bonus-card {
    position: relative;
}

.bonus-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .bonus-image {
        height: 180px;
    }
    
    .bonus-badge {
        top: 15px;
        right: 15px;
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* 보너스 그리드 깨짐 방지 */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .bonus-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 보너스 카드 고정 */
.bonus-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.bonus-title {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.bonus-description {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 이미지 비율 유지 */
.bonus-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 400px;
}

.bonus-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
