* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(135deg, #d4ac01 0%, #e7d3fc 100%);
    overflow-x: hidden;
    color: #fff;
}

/* Glitch Effect */
.glitch {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
        0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch span:first-child {
    animation: glitch 500ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-0.04em, -0.03em);
    opacity: 0.75;
}

.glitch span:last-child {
    animation: glitch 375ms infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(0.04em, 0.03em);
    opacity: 0.75;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
            -0.04em -0.025em 0 #fffc00;
    }
}

/* Scrolling Text */
.marquee {
    background: rgba(0, 0, 0, 0.8);
    color: #fffc00;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-family: 'Righteous', cursive;
    font-size: 2rem;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 50px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('rain.png') repeat;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 10px solid #fffc00;
    box-shadow: 0 0 50px rgba(255, 252, 0, 0.8),
                0 0 100px rgba(255, 252, 0, 0.5);
    animation: bounce 2s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Contract Address */
.contract-box {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border: 3px solid #fffc00;
    box-shadow: 0 0 30px rgba(255, 252, 0, 0.5);
    position: relative;
    z-index: 10;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.copy-btn {
    font-family: 'Bowlby One', cursive;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.copy-btn:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Social Links */
.social-section {
    padding: 60px 20px;
    text-align: center;
}

.social-title {
    font-family: 'Bangers', cursive;
    font-size: 4rem;
    color: #fffc00;
    text-shadow: 3px 3px 0px #fc00ff,
                 6px 6px 0px #00fffc;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 3px solid #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 5px;
}

.social-link:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 252, 0, 0.8);
}

.social-link:hover img {
    transform: scale(1.1);
}

/* Social Icon Style for Twitter & Telegram */
.social-icon {
    flex-direction: column;
    padding: 10px;
    text-decoration: none;
    color: #fff;
}

.social-icon i {
    font-size: 2rem;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.social-icon span {
    font-family: 'Bowlby One', cursive;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: none;
}

.social-icon:hover {
    width: 120px;
    height: 50px;
    flex-direction: row;
    gap: 10px;
}

.social-icon:hover span {
    display: inline-block;
}

.social-icon:hover i {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
}

.feature-card {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    margin: 0 auto;
    border: 5px solid #fffc00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    height: auto;
    animation: floatUpDown 3s ease-in-out infinite;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Different animation delays for each card */
.feature-card-1 {
    animation-delay: 0s;
}

.feature-card-2 {
    animation-delay: 0.5s;
}

.feature-card-3 {
    animation-delay: 1s;
}

.feature-card-4 {
    animation-delay: 1.5s;
}

.feature-card-5 {
    animation-delay: 2s;
}

.feature-card-6 {
    animation-delay: 2.5s;
}

.feature-card-7 {
    animation-delay: 3s;
}

.feature-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 252, 0, 0.8);
    border-color: #00fffc;
}

.feature-img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s;
    object-fit: cover;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

/* Float Up Down Animation */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #00ff00, #00fffc);
    color: #000;
    padding: 20px 30px;
    border-radius: 15px;
    font-family: 'Bowlby One', cursive;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: slideIn 0.5s ease-out;
    display: none;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }

    .marquee-content {
        font-size: 1.5rem;
    }

    .social-title {
        font-size: 2.5rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .social-icon:hover {
        width: 100px;
    }

    .logo-img {
        max-width: 250px;
    }

    .contract-address {
        font-size: 0.9rem;
    }

    .copy-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .feature-card {
        max-width: 400px;
        margin: 0 auto 20px;
        border-width: 3px;
        aspect-ratio: 1 / 1;
    }

    .feature-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .features .col-sm-12 {
        padding: 0 15px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
    .feature-card {
        max-width: 400px;
    }
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background: #fffc00;
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) translateX(500px);
        opacity: 0;
    }
}
