/*
Theme Name: fairgo.casino
Theme URI: https:/fairgo.casino
Author: Your Name
Author URI: https://fairgo.casino
Description: fairgo.casino theme
Version: 1.0
License: GPL
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: generatepress
Text Domain: generatepress-child
*/

/* ==========================================================================
   Стили для бонусной карточки в зелено-золотой теме
   ========================================================================== */

.bonus-card {
    max-width: 100%;
    margin: 30px 0;
    background: #0f442e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 68, 46, 0.3);
    position: relative;
    border: 3px solid #f9cb16;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(249, 203, 22, 0.3);
    border-color: #cea813;
}

/* Для single постов ограничиваем ширину */
.single .bonus-card {
    max-width: 800px;
}

.card-header {
    background: linear-gradient(135deg, #196948 0%, #1e6033 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* УДАЛЕНЫ анимации shimmer и вращающийся фон */
/* .card-header::before - удален */

/* Статичные эмодзи вместо анимированных */
.card-header::after {
    content: '🎰 💰 🎲';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    opacity: 0.3;
    /* animation: float - удалена */
}

/* УДАЛЕНА анимация float */

.bonus-amount {
    font-size: 56px;
    font-weight: 900;
    color: #f9cb16;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 0 30px rgba(249, 203, 22, 0.5);
    /* animation: pulse - удалена */
}

/* УДАЛЕНА анимация pulse */

.bonus-type-badge {
    background: rgba(249, 203, 22, 0.2);
    backdrop-filter: blur(10px);
    color: #f9cb16;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(249, 203, 22, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 35px;
    background: #0f442e;
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(249, 203, 22, 0.1), transparent);
    pointer-events: none;
}

.info-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.info-item {
    background: linear-gradient(135deg, rgba(25, 105, 72, 0.2) 0%, rgba(30, 96, 51, 0.2) 100%);
    padding: 18px 25px;
    border-radius: 15px;
    border: 1px solid rgba(249, 203, 22, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(25, 105, 72, 0.3) 0%, rgba(30, 96, 51, 0.3) 100%);
    border-color: #f9cb16;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(249, 203, 22, 0.3);
}

.info-label {
    color: #cea813;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

.bonus-code-wrapper {
    background: linear-gradient(135deg, #f9cb16 0%, #cea813 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(249, 203, 22, 0.4);
}

/* УДАЛЕНА анимация shimmer для bonus-code-wrapper */
/* .bonus-code-wrapper::before - удален */

.bonus-code-label {
    color: rgba(15, 68, 46, 0.8);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.bonus-code {
    font-size: 32px;
    font-weight: 900;
    color: #0f442e;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.description-box {
    background: rgba(25, 105, 72, 0.1);
    border-left: 4px solid #f9cb16;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    color: #e0e0e0;
    line-height: 1.8;
    backdrop-filter: blur(5px);
}

.description-box strong {
    color: #f9cb16;
}

.cta-section {
    text-align: center;
    padding: 25px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f9cb16 0%, #cea813 100%);
    color: #0f442e;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(249, 203, 22, 0.4);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(249, 203, 22, 0.6);
    color: #0f442e;
    text-decoration: none;
}

.cta-button:hover::before {
    left: 100%;
}

.expiry-notice {
    background: linear-gradient(135deg, rgba(249, 203, 22, 0.2) 0%, rgba(206, 168, 19, 0.2) 100%);
    color: #f9cb16;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid rgba(249, 203, 22, 0.4);
    /* animation: blink - удалена */
}

/* УДАЛЕНА анимация blink */

.terms-notice {
    text-align: center;
    color: #cea813;
    font-size: 13px;
    margin-top: 20px;
    padding: 0 20px;
    opacity: 0.7;
}

/* ==========================================================================
   Стили для компактных карточек бонусов (шорткод)
   ========================================================================== */

.latest-bonuses-container {
    margin: 40px 0;
    padding: 0;
}

.latest-bonuses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0;
}

.compact-bonus-card {
    background: #0f442e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 68, 46, 0.3);
    position: relative;
    border: 1px solid #f9cb16;
    transition: all 0.3s ease;
    height: auto;
    min-height: 280px;
}

.compact-bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(249, 203, 22, 0.4);
    border-color: #cea813;
}

.compact-card-header {
    background: linear-gradient(135deg, #196948 0%, #1e6033 100%);
    padding: 20px 15px;
    text-align: center;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* УДАЛЕНА анимация shimmer для compact-card-header */
/* .compact-card-header::before - удален */

.compact-bonus-amount {
    font-size: 28px;
    font-weight: 900;
    color: #f9cb16;
    text-shadow: 0 0 20px rgba(249, 203, 22, 0.5);
    position: relative;
    z-index: 1;
    line-height: 1;
}

.compact-bonus-type {
    background: rgba(249, 203, 22, 0.2);
    backdrop-filter: blur(10px);
    color: #f9cb16;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(249, 203, 22, 0.3);
    position: relative;
    z-index: 1;
}

.compact-card-body {
    padding: 20px 15px;
    background: #0f442e;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.compact-bonus-title {
	color: #fff;
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.compact-bonus-title a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: block;
}

.compact-bonus-title a:hover {
    color: #f9cb16;
}

.compact-bonus-code {
    background: linear-gradient(135deg, #f9cb16 0%, #cea813 100%);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin: 8px 0;
    box-shadow: 0 3px 15px rgba(249, 203, 22, 0.3);
}

.code-label {
    color: rgba(15, 68, 46, 0.8);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
    display: block;
}

.code-value {
    font-size: 18px;
    font-weight: 900;
    color: #0f442e;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.compact-wager {
    background: rgba(25, 105, 72, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(249, 203, 22, 0.3);
    text-align: center;
}

.compact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.compact-cta-button {
    flex: none;
    display: block;
    background: linear-gradient(135deg, #f9cb16 0%, #cea813 100%);
    color: #0f442e;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(249, 203, 22, 0.4);
    text-align: center;
    border: 1px solid #f9cb16;
}

.compact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 203, 22, 0.6);
    color: #0f442e;
    text-decoration: none;
    background: linear-gradient(135deg, #cea813 0%, #f9cb16 100%);
}

.compact-read-more {
    flex: none;
    display: block;
    background: rgba(25, 105, 72, 0.2);
    color: #f9cb16;
    padding: 12px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    border: 1px solid rgba(249, 203, 22, 0.3);
    transition: all 0.3s ease;
}

.compact-read-more:hover {
    background: rgba(25, 105, 72, 0.4);
    color: #f9cb16;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(25, 105, 72, 0.4);
}

.compact-expiry {
    background: linear-gradient(135deg, rgba(249, 203, 22, 0.2) 0%, rgba(206, 168, 19, 0.2) 100%);
    color: #f9cb16;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(249, 203, 22, 0.4);
    /* animation: blink - удалена */
}

/* ==========================================================================
   Адаптивность
   ========================================================================== */

@media (max-width: 768px) {
    .card-header {
        padding: 30px 20px;
    }
    
    .bonus-amount {
        font-size: 42px;
    }
    
    .card-body {
        padding: 25px;
    }
    
    .bonus-code {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 18px;
    }
    
    .latest-bonuses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .compact-bonus-amount {
        font-size: 24px;
    }
    
    .compact-card-header {
        padding: 18px 12px;
        min-height: 90px;
    }
    
    .compact-card-body {
        padding: 18px 12px;
    }
}

@media (max-width: 480px) {
    .card-body {
        padding: 20px;
    }
    
    .info-item {
        padding: 15px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info-value {
        text-align: left;
    }
    
    .bonus-amount {
        font-size: 36px;
    }
    
    .card-header::after {
        display: none;
    }
    
    .latest-bonuses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .compact-bonus-card {
        min-height: 260px;
    }
    
    .compact-card-header {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .compact-bonus-amount {
        font-size: 22px;
    }
    
    .compact-bonus-type {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .compact-card-body {
        padding: 15px 10px;
    }
    
    .compact-bonus-title {
        font-size: 15px;
    }
    
    .code-value {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .compact-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .compact-cta-button,
    .compact-read-more {
        flex: none;
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .latest-bonuses-container {
        margin: 30px 0;
    }
    
    .compact-bonus-amount {
        font-size: 20px;
    }
    
    .compact-bonus-title {
        font-size: 14px;
    }
}

/* ==========================================================================
   Стили для архивов - более компактная версия
   ========================================================================== */

.archive .bonus-card,
.blog .bonus-card,
.search .bonus-card {
    margin: 20px 0;
}

.archive .card-header,
.blog .card-header,
.search .card-header {
    padding: 25px;
}

.archive .bonus-amount,
.blog .bonus-amount,
.search .bonus-amount {
    font-size: 42px;
}

.archive .card-body,
.blog .card-body,
.search .card-body {
    padding: 25px;
}

.archive .description-box,
.blog .description-box,
.archive .terms-notice,
.blog .terms-notice,
.archive .info-item:nth-child(n+4),
.blog .info-item:nth-child(n+4) {
    display: none;
}

/* ==========================================================================
   Дополнительные эффекты (БЕЗ тяжелых анимаций)
   ========================================================================== */

/* Простая анимация появления без GPU нагрузки */
.bonus-card {
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover эффект для всей карточки в архивах */
.archive article:hover .bonus-card,
.blog article:hover .bonus-card {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(249, 203, 22, 0.4);
}

/* УДАЛЕНА анимация sparkle для bonus-amount */
/* .bonus-amount::after - удален */

/* Улучшенная типографика */
.bonus-card {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.bonus-amount,
.bonus-code,
.cta-button {
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
}