/**
 * nfts_bonus Section Styles
 * NFT Collector Rewards Section
 * Displays collector bonuses and NFT rewards
 */

/* ============================================================
 * MAIN SECTION
 * ============================================================ */

.nfts_bonus {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 0;
    overflow: hidden;
    background: var(--color-bg);
}

/* ============================================================
 * BACKGROUND LAYER
 * ============================================================ */

.nfts_bonus__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

/* ============================================================
 * WRAPPER (container_sections)
 * ============================================================ */

.nfts_bonus__container {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 60px 20px;
}

.nfts_bonus__wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(132, 185, 255, 0.1);
}

/* ============================================================
 * HEADER WITH NAVIGATION ARROWS
 * ============================================================ */

.nfts_bonus__header {
    text-align: center;
    margin-bottom: 30px;
}

/* ============================================================
 * TYPOGRAPHY
 * ============================================================ */

.nfts_bonus__title {
    font-family: 'Changa', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--color-link);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.02em;
}

.nfts_bonus__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
}

.nfts_bonus__description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 20px 0;
    text-align: center;
}

/* ============================================================
 * BUTTON
 * ============================================================ */

.nfts_bonus__reveal-btn {
    background: linear-gradient(135deg, #0dcaf0 0%, #13c8e7 100%);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 30px auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.3);
}

.nfts_bonus__reveal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 202, 240, 0.5);
}

.nfts_bonus__reveal-btn:active {
    transform: translateY(0);
}

.nfts_bonus__reveal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
 * BONUS GRID
 * ============================================================ */

.nfts_bonus__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.nfts_bonus__item {
    background: rgba(50, 50, 80, 0.6);
    border: 1px solid rgba(132, 185, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nfts_bonus__item:hover {
    border-color: rgba(132, 185, 255, 0.5);
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.2);
    transform: translateY(-2px);
}

.bonus-card {
    padding: 0;
}

.bonus-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.bonus-card:hover .bonus-thumb {
    opacity: 0.8;
}

.bonus-info {
    padding: 15px;
}

.bonus-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-link);
    margin: 10px 0 5px 0;
}

.bonus-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
}

.bonus-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bonus-info .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    margin-top: 8px;
    margin-right: 4px;
    display: inline-block;
}

/* ============================================================
 * NOTICE
 * ============================================================ */

.nfts_bonus__notice {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(132, 185, 255, 0.1);
    font-style: italic;
}

/* ============================================================
 * FOOTER WITH NAVIGATION ARROWS
 * ============================================================ */

.nfts_bonus__footer {
    text-align: center;
    margin-top: 30px;
}

/* ============================================================
 * MODAL PREVIEW
 * ============================================================ */

#bonusPreviewModal .modal-content {
    background: var(--color-surface);
    border: 1px solid rgba(132, 185, 255, 0.2);
}

#bonusPreviewModal .modal-header {
    border-bottom: 1px solid rgba(132, 185, 255, 0.1);
    background: rgba(20, 20, 30, 0.9);
}

#bonusPreviewModal .modal-title {
    color: var(--color-link);
    font-weight: 600;
}

#bonusPreviewModal .modal-body {
    background: rgba(20, 20, 30, 0.95);
    padding: 30px;
}

#bonusPreviewModal .modal-footer {
    border-top: 1px solid rgba(132, 185, 255, 0.1);
    background: rgba(20, 20, 30, 0.9);
}

#bonusPreviewModal img {
    max-height: 60vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* ============================================================
 * MODAL UPLOAD
 * ============================================================ */

.bonus-upload-modal {
    background: var(--color-surface);
    border: 1px solid rgba(132, 185, 255, 0.2);
}

.bonus-upload-header {
    border-bottom: 1px solid rgba(132, 185, 255, 0.1);
    background: rgba(20, 20, 30, 0.9);
}

.bonus-upload-body {
    background: rgba(20, 20, 30, 0.95);
    padding: 20px;
}

.bonus-input {
    background: rgba(50, 50, 80, 0.6);
    border: 1px solid rgba(132, 185, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.bonus-input:focus {
    background: rgba(50, 50, 80, 0.8);
    border-color: rgba(132, 185, 255, 0.5);
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.25);
}

.bonus-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.bonus-upload-footer {
    border-top: 1px solid rgba(132, 185, 255, 0.1);
    background: rgba(20, 20, 30, 0.9);
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */

@media (max-width: 768px) {
    .nfts_bonus__title {
        font-size: 1.8rem;
    }

    .nfts_bonus__subtitle {
        font-size: 1rem;
    }

    .nfts_bonus__wrapper {
        padding: 25px;
    }

    .nfts_bonus__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nfts_bonus__container {
        padding: 40px 15px;
    }
}

/* ============================================================
 * DARK THEME
 * ============================================================ */

.nfts_bonus.theme-dark {
    --color-link: #84b9ff;
    --color-bg: #0d0d1a;
    --color-surface: rgba(20, 20, 30, 0.85);
    --color-border: rgba(132, 185, 255, 0.1);
}

/* ============================================================
 * LIGHT THEME
 * ============================================================ */

.nfts_bonus.theme-light {
    --color-link: #0d6efd;
    --color-bg: #ffffff;
    --color-surface: rgba(255, 255, 255, 0.95);
    --color-border: rgba(13, 110, 253, 0.1);
}

.nfts_bonus.theme-light .nfts_bonus__description {
    color: rgba(0, 0, 0, 0.7);
}

.nfts_bonus.theme-light .nfts_bonus__subtitle {
    color: rgba(0, 0, 0, 0.9);
}

.nfts_bonus.theme-light .bonus-info {
    background: rgba(240, 240, 250, 0.8);
}