.pepe-image-flip {
    transform: scaleX(-1);
}

.pepe-pulse {
    animation: pepeAnimation 0.55s infinite ease-in-out alternate;
}

.pepe-bounce {
    animation: pepeBounce 2s infinite ease-in-out;
}

.pepe-wiggle {
    animation: pepeWiggle 3s infinite ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pepeAnimation {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.04);
    }
}

@keyframes pepeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-stake-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hero-stake-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.hero-stake-button:hover {
    background-color: rgba(87, 186, 7, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



@keyframes pepeWiggle {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.floating-pepe {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.floating-pepe-1 {
    top: 15%;
    left: 5%;
    width: 80px;
    animation: parallaxFloat1 5s infinite alternate ease-in-out;
}

.floating-pepe-2 {
    bottom: 15%;
    right: 5%;
    width: 120px;
    animation: parallaxFloat2 7s infinite alternate ease-in-out;
}

@keyframes parallaxFloat1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

@keyframes parallaxFloat2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20px, -10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.smoke-particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    --move-x: 0px;
    --move-y: 0px;
    animation: float var(--duration) infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 0.05;
    }

    100% {
        transform: translate(var(--move-x), var(--move-y));
        opacity: 0;
    }
}


@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Cards / UI */
.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step-card,
.roadmap-item,
.wallets-popup-content {
    background-color: #1a1a1c;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(87, 186, 7, 0.2);
    position: relative;
}

.step-card {
    width: calc(33.333% - 20px);
    padding: 30px;
    margin-bottom: 30px;
}

.step-card::before,
.roadmap-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.jpg');
    background-size: 100px;
    background-repeat: repeat;
    opacity: 0.01;
    border-radius: 10px;
    z-index: -1;
    pointer-events: none;
    animation: diagonalScroll 20s linear infinite;
}

.step-card:hover,
.roadmap-item:hover,
.exchange-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(87, 186, 7, 0.5);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-card h3,
.roadmap-item h3,
.wallets-popup-content h3 {
    color: var(--secondary-color);
    font-family: 'Edo SZ', sans-serif;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 24px;
}

.card-pepe,
.roadmap-pepe {
    position: absolute;
    width: 70px;
    transition: all 0.3s ease;
    z-index: 5;
}

.card-pepe {
    bottom: -35px;
    right: -20px;
}

.step-card:hover .card-pepe {
    transform: translateY(-10px) rotate(5deg) scaleX(-1);
}

/* Roadmap */
.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item {
    padding: 22px;
    margin-bottom: 30px;
    z-index: 1;
}

.roadmap-item h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.roadmap-item ul {
    padding-left: 20px;
}

.roadmap-item li {
    margin-bottom: 8px;
}

.roadmap-pepe {
    top: -26px;
    right: 30px;
    z-index: 2;
    transform: scaleX(-1);
}

.roadmap-item:hover .roadmap-pepe {
    transform: translateY(10px) rotate(-4deg) scaleX(-1) scale(1.1);
}

/* Footer Pepe */
.footer-pepe {
    top: 20%;
    position: absolute;
    width: 180px;
    bottom: 180px;
    z-index: 5;
    transition: all 0.3s ease;
}

.footer-pepe-left {
    left: 20%;
    animation: footerPepeFloat1 5s infinite alternate ease-in-out;
}

.footer-pepe-right {
    right: 20%;
    transform: scaleX(-1);
    animation: footerPepeFloat2 5s infinite alternate ease-in-out;
}

@keyframes footerPepeFloat1 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

@keyframes footerPepeFloat2 {
    0% {
        transform: scaleX(-1) translateY(0);
    }

    100% {
        transform: scaleX(-1) translateY(-5px);
    }
}

/* Wallets Popup */
.verify-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Comfortaa', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(87, 186, 7, 0.3);
}

.verify-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.wallets-popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.wallets-popup-content {
    margin: 10% auto;
    padding: 30px;
    border: 1px solid rgba(87, 186, 7, 0.3);
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.close-popup {
    color: var(--secondary-color);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-popup:hover {
    color: var(--hover-color);
}

.wallets-popup-content h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

.wallet-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wallet-item h4 {
    margin-bottom: 10px;
    color: #ffffff;
}

.wallet-address {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 5px;
    font-family: monospace;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(87, 186, 7, 0.1);
    word-break: break-all;
}

.copy-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    color: var(--hover-color);
    transform: scale(1.1);
}

.verify-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.verify-link:hover {
    color: var(--hover-color);
}

/* Exchanges */
.exchanges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.exchange-icon {
    background-color: #1a1a1c;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(87, 186, 7, 0.2);
}

.exchange-icon:hover {
    box-shadow: 0 5px 15px rgba(87, 186, 7, 0.2);
}

.exchange-icon img {
    max-width: 60%;
    max-height: 60%;
}

.circular-social-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 15px;
}

.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0 !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    margin: 0 !important;
    border: none !important;
}

.circle-icon:after {
    display: none !important;
}

.telegram-icon {
    background-color: #0088cc !important;
    color: white !important;
}

.telegram-icon:hover:not(.disabled),
.twitter-icon:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.telegram-icon:hover:not(.disabled) {
    background-color: #0077b3 !important;
}

.twitter-icon {
    background-color: #1DA1F2 !important;
    color: white !important;
}

.twitter-icon:hover:not(.disabled) {
    background-color: #1a91da !important;
}

a.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}


/* Media Queries */
@media (max-width: 1024px) {
    .step-card {
        width: calc(50% - 15px);
    }

    .footer-pepe {
        width: 80px;
    }

    .footer-pepe-left {
        left: 5%;
    }

    .footer-pepe-right {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .step-card {
        width: 100%;
    }

    .wallets-popup-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }

    .option-tab {
        flex: 1;
        min-width: unset;
    }

    .reward-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .platform-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .staking-interface {
        min-width: auto;
        width: 95%;
    }
}

@media (max-width: 576px) {
    .floating-pepe {
        width: 50px !important;
    }

    .card-pepe,
    .roadmap-pepe {
        width: 50px;
    }

    .circular-social-icons {
        justify-content: center;
    }

    @media (orientation: portrait) {
        .footer-pepe {
            display: none;
        }

        .navbar {
            display: none;
        }
    }

    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}