/* Bonuses Page Specific Styles */

.bonuses-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.bonuses-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonuses-header h2 {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.bonuses-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sidebar Enhancements */
.bonus-calculator {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
}

.bonus-calculator h3 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin: 0 20px 15px;
    letter-spacing: 0.5px;
}

.calc-input {
    margin: 0 20px 20px;
}

.calc-input label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-input input {
    width: 100%;
    padding: 10px 12px;
    background: var(--background-dark);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 14px;
}

.calc-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.calc-result {
    margin: 0 20px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.calc-item.total {
    background: rgba(255, 215, 0, 0.1);
    padding: 12px;
    border-radius: var(--border-radius);
    margin-top: 10px;
    border: none;
    font-weight: 700;
    color: var(--primary-color);
}

.active-bonuses {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
}

.active-bonuses h3 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin: 0 20px 15px;
    letter-spacing: 0.5px;
}

.active-bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.active-bonus-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.bonus-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.bonus-info {
    flex: 1;
}

.bonus-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.bonus-value {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Welcome Bonus Section */
.welcome-bonus-section {
    margin-bottom: 60px;
}

.welcome-bonus-card {
    background: linear-gradient(135deg, var(--surface-color), rgba(255, 215, 0, 0.05));
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.welcome-bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 215, 0, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
}

.welcome-bonus-card > * {
    position: relative;
    z-index: 2;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.bonus-badge {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.bonus-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.bonus-timer i {
    animation: bounce 1s infinite;
}

.bonus-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

.bonus-main h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bonus-main h3 {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.bonus-example {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.example-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.example-item.total {
    background: rgba(255, 215, 0, 0.1);
    padding: 12px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border: none;
    font-weight: 700;
}

.example-item .label {
    color: var(--text-muted);
    font-size: 14px;
}

.example-item .value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
}

.bonus-highlight {
    color: var(--primary-color) !important;
    font-size: 18px !important;
}

.bonus-code {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 215, 0, 0.1);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
}

.code-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.code-value {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.copy-code {
    background: var(--primary-color);
    color: var(--background-dark);
    border: none;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.copy-code:hover {
    transform: scale(1.1);
}

.bonus-features {
    display: grid;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.feature i {
    color: var(--success-color);
    font-size: 16px;
}

.bonus-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ongoing Offers Section */
.ongoing-offers-section {
    margin-bottom: 60px;
}

.ongoing-offers-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.offer-card:nth-child(1) { animation-delay: 0.1s; }
.offer-card:nth-child(2) { animation-delay: 0.2s; }
.offer-card:nth-child(3) { animation-delay: 0.3s; }
.offer-card:nth-child(4) { animation-delay: 0.4s; }

.offer-card.featured {
    border: 2px solid var(--warning-color);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.offer-card:hover::before {
    left: 100%;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--background-dark);
    margin: 20px auto 20px;
    position: relative;
    z-index: 2;
}

.offer-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.offer-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.offer-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.offer-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

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

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

.detail-label {
    color: var(--text-muted);
    font-size: 13px;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.offer-card .btn {
    position: relative;
    z-index: 2;
}

/* VIP Program Section */
.vip-program-section {
    margin-bottom: 60px;
}

.vip-program-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.vip-intro {
    text-align: center;
    margin-bottom: 40px;
}

.vip-intro p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.vip-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vip-level {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.vip-level:nth-child(1) { animation-delay: 0.1s; }
.vip-level:nth-child(2) { animation-delay: 0.2s; }
.vip-level:nth-child(3) { animation-delay: 0.3s; }
.vip-level:nth-child(4) { animation-delay: 0.4s; }

.vip-level.bronze {
    border: 2px solid #CD7F32;
}

.vip-level.silver {
    border: 2px solid #C0C0C0;
}

.vip-level.gold.featured {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

.vip-level.diamond {
    border: 2px solid #B9F2FF;
}

.vip-level::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.05), transparent 30%);
    animation: rotate 8s linear infinite;
}

.vip-level > * {
    position: relative;
    z-index: 2;
}

.vip-level:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vip-level.gold.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.level-header {
    margin-bottom: 25px;
}

.level-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.bronze .level-icon {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    color: white;
}

.silver .level-icon {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: var(--background-dark);
}

.gold .level-icon {
    background: var(--gradient-primary);
    color: var(--background-dark);
}

.diamond .level-icon {
    background: linear-gradient(135deg, #B9F2FF, #87CEEB);
    color: var(--background-dark);
}

.level-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.level-requirement {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.level-benefits {
    display: grid;
    gap: 12px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-align: left;
}

.benefit i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
}

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

/* Holiday Bonuses Section */
.holiday-bonuses-section {
    margin-bottom: 60px;
}

.holiday-bonuses-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.holiday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.holiday-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.holiday-card:nth-child(1) { animation-delay: 0.1s; }
.holiday-card:nth-child(2) { animation-delay: 0.2s; }
.holiday-card:nth-child(3) { animation-delay: 0.3s; }
.holiday-card:nth-child(4) { animation-delay: 0.4s; }

.holiday-card.eid {
    border-left: 4px solid #10B981;
}

.holiday-card.pohela {
    border-left: 4px solid #F59E0B;
}

.holiday-card.independence {
    border-left: 4px solid #EF4444;
}

.holiday-card.victory {
    border-left: 4px solid #8B5CF6;
}

.holiday-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.holiday-card:hover::before {
    left: 100%;
}

.holiday-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.holiday-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.holiday-icon {
	margin: 0 auto;
    margin-bottom: 15px;
		width: 100px;
		height: 100px;
		border-radius: 50%;
		overflow: hidden;
		display: flex;
		align-items: center;
}

.holiday-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.holiday-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.holiday-date {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

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

.holiday-offers {
    margin-bottom: 20px;
}

.holiday-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.holiday-offer i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
}

.holiday-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Bonus Terms Section */
.bonus-terms-section {
    margin-bottom: 60px;
}

.bonus-terms-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.terms-container {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.term-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.term-card:nth-child(1) { animation-delay: 0.1s; }
.term-card:nth-child(2) { animation-delay: 0.2s; }
.term-card:nth-child(3) { animation-delay: 0.3s; }
.term-card:nth-child(4) { animation-delay: 0.4s; }
.term-card:nth-child(5) { animation-delay: 0.5s; }
.term-card:nth-child(6) { animation-delay: 0.6s; }

.term-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.term-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--background-dark);
    margin: 0 auto 20px;
}

.term-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.term-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.terms-note {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.terms-note p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.terms-note strong {
    color: var(--error-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .offers-grid,
    .vip-levels,
    .holiday-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .bonuses-header h1 {
        font-size: 32px;
    }
    
    .bonuses-header h2 {
        font-size: 20px;
    }
    
    .welcome-bonus-card {
        padding: 25px;
    }
    
    .bonus-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .bonus-main h2 {
        font-size: 28px;
    }
    
    .bonus-main h3 {
        font-size: 18px;
    }
    
    .bonus-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .offers-grid,
    .vip-levels,
    .holiday-grid,
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .vip-level.gold.featured {
        transform: none;
    }
    
    .vip-level.gold.featured:hover {
        transform: translateY(-5px);
    }
    
    .ongoing-offers-section h2,
    .vip-program-section h2,
    .holiday-bonuses-section h2,
    .bonus-terms-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .bonuses-header h1 {
        font-size: 26px;
    }
    
    .bonuses-header h2 {
        font-size: 18px;
    }
    
    .welcome-bonus-card {
        padding: 20px;
    }
    
    .bonus-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .bonus-main h2 {
        font-size: 24px;
    }
    
    .bonus-main h3 {
        font-size: 16px;
    }
    
    .bonus-example {
        padding: 20px;
    }
    
    .bonus-code {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .offer-card,
    .vip-level,
    .holiday-card,
    .term-card {
        padding: 20px;
    }
    
    .offer-value {
        font-size: 24px;
    }
    
    .level-icon,
    .offer-icon,
    .term-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .ongoing-offers-section h2,
    .vip-program-section h2,
    .holiday-bonuses-section h2,
    .bonus-terms-section h2 {
        font-size: 24px;
    }
}

/* Copy Code Animation */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background: var(--success-color); }
    100% { transform: scale(1); }
}

.copy-code.copied {
    animation: copySuccess 0.3s ease;
}