/* Joy88 Casino Bonuses Page Styles */
@import url('index.css'); /* Import base styles */

/* Bonuses-specific styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.15) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content 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;
}

.hero-content h2 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.offer-main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    padding: 30px 50px;
    text-align: center;
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% { 
        border-color: var(--accent-color); 
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.3); 
    }
    50% { 
        border-color: var(--primary-color); 
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.5); 
    }
}

.offer-title {
    display: block;
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.offer-amount {
    display: block;
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    animation: bonus-pulse 2s ease-in-out infinite;
}

@keyframes bonus-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-subtitle {
    display: block;
    font-size: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.btn-claim-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    animation: claim-glow 3s infinite;
}

@keyframes claim-glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(255, 107, 53, 0.7); }
}

.btn-claim-hero:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.8);
}

/* Welcome Bonus Section */
.welcome-bonus {
    padding: 80px 0;
    background: var(--darker-bg);
}

.bonus-showcase {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
}

.bonus-visual {
    text-align: center;
}

.bonus-card-3d {
    perspective: 1000px;
    width: 350px;
    height: 500px;
    margin: 0 auto;
}

.card-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    border-radius: 25px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(10deg) rotateX(5deg);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: card-float 4s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% { transform: rotateY(10deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(15deg) rotateX(8deg) translateY(-10px); }
}

.bonus-card-3d:hover .card-front {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.card-header i {
    font-size: 32px;
    animation: spin 4s linear infinite;
}

.card-amount {
    text-align: center;
    margin-bottom: 30px;
}

.percentage {
    display: block;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature i {
    font-size: 20px;
    color: var(--accent-color);
}

.bonus-details h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonus-details p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.bonus-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-label {
    font-size: 14px;
    opacity: 0.8;
}

.breakdown-value {
    font-weight: 600;
    color: var(--accent-color);
}

.bonus-steps {
    margin-bottom: 30px;
}

.bonus-steps h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.bonus-steps ol {
    margin-left: 20px;
}

.bonus-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.btn-claim-bonus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-claim-bonus:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
}

/* Active Promotions */
.active-promotions {
    padding: 80px 0;
    background: var(--dark-bg);
}

.active-promotions h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.promo-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.promo-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
}

.promo-card.vip {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(155, 89, 182, 0.1));
}

.promo-card.tournament {
    border: 2px solid var(--success-color);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
}

.promo-card.special {
    border: 2px solid var(--danger-color);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.promo-badge.vip {
    background: var(--gradient-secondary);
}

.promo-badge.special {
    background: var(--gradient-primary);
    animation: urgent-pulse 1s infinite;
}

@keyframes urgent-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.promo-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.promo-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-light);
}

.promo-amount {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1;
}

.promo-description p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.promo-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 107, 53, 0.1);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-color);
}

.btn-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
}

.btn-promo.vip {
    background: var(--gradient-secondary);
}

.btn-promo.tournament {
    background: var(--gradient-success);
}

.btn-promo.special {
    background: linear-gradient(135deg, var(--danger-color), var(--primary-color));
    animation: special-glow 2s infinite;
}

@keyframes special-glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(231, 76, 60, 0.7); }
}

/* Festival Bonuses */
.festival-bonuses {
    padding: 80px 0;
    background: var(--darker-bg);
}

.festival-bonuses h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.festival-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 300px;
}

.festival-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.festival-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.festival-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.festival-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.festival-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.festival-offers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.offer {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: none;
}

/* Loyalty Program */
.loyalty-program {
    padding: 80px 0;
    background: var(--dark-bg);
}

.loyalty-program h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.loyalty-ladder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.loyalty-level {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.loyalty-level:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.loyalty-level.bronze {
    border-color: #cd7f32;
}

.loyalty-level.silver {
    border-color: #c0c0c0;
}

.loyalty-level.gold {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.loyalty-level.diamond {
    border-color: #b9f2ff;
    box-shadow: 0 0 30px rgba(185, 242, 255, 0.3);
}

.level-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.bronze .level-icon { color: #cd7f32; }
.silver .level-icon { color: #c0c0c0; }
.gold .level-icon { color: #ffd700; }
.diamond .level-icon { color: #b9f2ff; }

.loyalty-level h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bronze h3 { color: #cd7f32; }
.silver h3 { color: #c0c0c0; }
.gold h3 { color: #ffd700; }
.diamond h3 { color: #b9f2ff; }

.level-requirement {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.level-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.level-benefits span {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    color: var(--accent-color);
}

/* Terms Section */
.terms-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.terms-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.terms-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.terms-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.terms-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.terms-card ul {
    list-style: none;
    padding: 0;
}

.terms-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}

.terms-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.terms-footer {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.terms-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-footer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-cta.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-cta.primary:hover {
    background: transparent;
    color: white;
    transform: scale(1.05);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Footer Responsible Gaming */
.responsible-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.responsible-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 14px;
}

.responsible-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .offer-amount {
        font-size: 48px;
    }
    
    .bonus-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .bonus-card-3d {
        width: 300px;
        height: 420px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .festivals-grid {
        grid-template-columns: 1fr;
    }
    
    .loyalty-ladder {
        grid-template-columns: 1fr;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .offer-amount {
        font-size: 42px;
    }
    
    .bonus-card-3d {
        width: 280px;
        height: 380px;
    }
    
    .card-front {
        padding: 20px;
    }
    
    .percentage {
        font-size: 56px;
    }
    
    .promo-card,
    .terms-card {
        padding: 20px;
    }
    
    .section h2 {
        font-size: 28px;
    }
}

/* Special bonus animations */
.promo-card {
    animation: slideInUp 0.6s ease;
}

.promo-card:nth-child(1) { animation-delay: 0.1s; }
.promo-card:nth-child(2) { animation-delay: 0.2s; }
.promo-card:nth-child(3) { animation-delay: 0.3s; }
.promo-card:nth-child(4) { animation-delay: 0.4s; }
.promo-card:nth-child(5) { animation-delay: 0.5s; }
.promo-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bonus claim celebration */
@keyframes bonusCelebration {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1.2) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.promo-card.claimed {
    animation: bonusCelebration 0.8s ease;
    border-color: var(--success-color);
    box-shadow: 0 0 30px rgba(39, 174, 96, 0.5);
}
