/* Tokenomics Section Styles for Peter Gaming Platform */

/* Tokenomics Section */
.tokenomics-section {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.tokenomics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Gas Meter Chart */
.gas-meter {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.meter-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #28a745 0deg 360deg,
        transparent 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotateGlow 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.5);
}

.meter-bg::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--dark-gradient);
    border-radius: 50%;
    top: 10%;
    left: 10%;
}

.meter-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.meter-label h3 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
}

/* Floating Gas Animation */
.floating-gas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gas-emoji {
    position: absolute;
    font-size: 2rem;
    animation: gasFloat 3s ease-in-out infinite;
    opacity: 0;
}

.gas-emoji:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.gas-emoji:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.8s;
}

.gas-emoji:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.6s;
}

.gas-emoji:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 2.4s;
}

/* Tokenomics Detail Cards */
.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.detail-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

/* Fun Stats */
.fun-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.fun-stat:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-emoji {
    font-size: 2rem;
    margin-top: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

/* Tokenomics Animations */
@keyframes rotateGlow {
    0%, 100% {
        transform: rotate(0deg);
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.5);
    }
    50% {
        transform: rotate(180deg);
        box-shadow: 0 0 50px rgba(40, 167, 69, 0.8);
    }
}

@keyframes gasFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-40px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .gas-meter {
        width: 250px;
        height: 250px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}