:root {
    --brand-dark-bg: #1a1a1a;
    --brand-light-bg: #2c2c2c;
    --accent-gold: #C9A86A;
    --light-text: #D1D1D1;
}

.floating-coin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #C9A86A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.3s ease;
    border: 3px solid #fff;
    animation: pulse-coin 2.5s infinite, spin-coin 8s linear infinite;
}

.floating-coin-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.coin-icon {
    font-size: 32px;
    color: #4a3c1e;
    font-weight: bold;
}

@keyframes pulse-coin {
    0%, 100% { box-shadow: 0 0 15px rgba(201, 168, 106, 0.5); }
    50% { box-shadow: 0 0 30px rgba(201, 168, 106, 0.9); }
}

@keyframes spin-coin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.reward-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.reward-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.reward-card-container {
    background: radial-gradient(circle at 50% 0%, #3a3a3a, var(--brand-light-bg) 80%);
    font-family: serif;
    border-radius: 20px;
    width: 90%;
    max-width: 440px; 
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-gold);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpFadeIn 0.5s ease forwards;
}

@keyframes slideUpFadeIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.card-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.2);
}

.brand-logo {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-gold);
}

.popup-close {
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s;
}
.popup-close:hover {
    transform: rotate(90deg);
    color: #fff;
}

.card-body {
    padding: 30px;
    text-align: center;
}

.bonus-highlight {
    font-size: 64px;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(201, 168, 106, 0.5);
}

.bonus-details {
    font-size: 18px;
    color: var(--light-text);
    margin-top: 5px;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.features-list li {
    color: var(--light-text);
    padding: 10px 0;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    color: var(--accent-gold);
    margin-right: 12px;
    font-size: 18px;
}

.card-footer {
    padding: 20px 30px;
    background: rgba(0,0,0,0.2);
    border-top: 2px dashed var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code-section img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
}

.cta-section {
    flex-grow: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.cta-section p {
    font-size: 12px; 
    color: var(--light-text);
    margin: 0;
    line-height: 1.4;
}

.claim-btn {
    background: linear-gradient(to bottom, #fde047, #c9a86a);
    color: var(--brand-dark-bg);
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 90%;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.claim-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(201, 168, 106, 0.4);
}