/* Platform Stats Styles */
.platform-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    animation: fadeIn 0.5s ease-out;
}

.platform-stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.platform-stats-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #a0a5b1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.platform-stats-header p {
    color: #a0a5b1;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(30, 30, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #a0a5b1;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Promo section */
.promo-section {
    margin-top: 4rem;
}

.promo-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #fff;
}

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

.promo-card {
    background: linear-gradient(145deg, rgba(255, 85, 0, 0.1), rgba(30, 30, 40, 0.8));
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 1.25rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff5500;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 85, 0, 0.15);
    border-color: rgba(255, 85, 0, 0.4);
}

.promo-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #ff5500;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(255, 85, 0, 0.3);
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.promo-title img {
    height: 24px;
}

.promo-desc {
    color: #a0a5b1;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.promo-link-btn {
    display: inline-block;
    background: #ff5500;
    color: #fff !important;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

.promo-link-btn:hover {
    background: #e64d00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 85, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner */
.stats-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #a0a5b1;
}

.stats-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}