/* CSS RESET & VARIABLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
}

/* TICKER */
.ticker {
    background-color: #1e293b;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #334155;
    color: #cbd5e1;
}
.ticker strong { color: #fff; }
.ticker .time-ago { color: #64748b; font-size: 12px; }

/* CATEGORY FILTERS */
.categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #334155;
    color: #f8fafc;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* GRID & CARDS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.card {
    background-color: #1e293b;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.trending { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.hot { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.new { background-color: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }

.card-image-box {
    font-size: 60px;
    margin: 15px 0 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-gaming { color: #818cf8; }
.icon-giftcards { color: #f43f5e; }
.icon-utilities { color: #38bdf8; }
.icon-apps { color: #10b981; }

.card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

.card-body p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.claim-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}

.claim-btn:hover {
    background-color: #2563eb;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* MODAL SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: #1e293b;
    padding: 40px 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    border: 1px solid #334155;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalIn 0.4s ease-out forwards;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover { color: #f8fafc; }

.hidden { display: none !important; }

/* Dynamic Modal Icon */
.dynamic-icon-container { margin-bottom: 25px; }
#dynamic-modal-icon {
    font-size: 4.5rem;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
    100% { transform: scale(1); }
}

#modal-title { font-size: 22px; margin-bottom: 8px; }
.modal-sub { color: #94a3b8; font-size: 14px; margin-bottom: 25px; }

/* Progress Bar */
.progress-wrapper {
    width: 100%;
    background-color: #0f172a;
    border-radius: 20px;
    height: 12px;
    margin: 25px 0;
    overflow: hidden;
    border: 1px solid #334155;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.4s ease-in-out;
    border-radius: 20px;
}

.status-log {
    font-size: 14px;
    color: #cbd5e1;
    font-family: monospace;
    background: #0f172a;
    padding: 10px;
    border-radius: 8px;
}

/* Verification Step */
.warning-icon { font-size: 55px; color: #ef4444; margin-bottom: 20px; }
#modal-step-2 p { color: #cbd5e1; margin: 15px 0 25px 0; font-size: 15px; line-height: 1.5; }

.verify-btn {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    animation: bounce 2s infinite;
    transition: background 0.3s;
}
.verify-btn:hover { background-color: #dc2626; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-8px);}
    60% {transform: translateY(-4px);}
}
