* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('background.gif') center center / cover no-repeat fixed;
    overflow-x: hidden;
    position: relative;
}

/* Background overlay for better text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Animated Background Overlay */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.4) 0%, 
        rgba(118, 75, 162, 0.4) 25%,
        rgba(240, 147, 251, 0.4) 50%,
        rgba(255, 107, 107, 0.4) 75%,
        rgba(102, 126, 234, 0.4) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section */
#hero {
    position: relative;
    padding: 2rem 0;
}

.z-3 {
    z-index: 3;
}

/* Logo Animation - Buzz Effect */
.logo-container {
    display: inline-block;
}

.logo-img {
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.buzz-animation {
    animation: buzz 2s ease-in-out infinite;
}

@keyframes buzz {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-2px, -2px) rotate(-1deg); }
    20% { transform: translate(2px, 2px) rotate(1deg); }
    30% { transform: translate(-2px, 2px) rotate(-1deg); }
    40% { transform: translate(2px, -2px) rotate(1deg); }
    50% { transform: translate(-2px, -2px) rotate(-1deg); }
    60% { transform: translate(2px, 2px) rotate(1deg); }
    70% { transform: translate(-2px, 2px) rotate(-1deg); }
    80% { transform: translate(2px, -2px) rotate(1deg); }
    90% { transform: translate(-2px, -2px) rotate(-1deg); }
}

.buzz-on-hover:hover {
    animation: buzz 0.5s ease-in-out;
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff8e53 0%, #ff6b6b 100%);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Contract Address Copy Section */
.contract-container {
    max-width: 600px;
    margin: 0 auto;
}

.contract-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contract-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.contract-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.contract-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contract-label i {
    color: #ffd700;
    font-size: 1.1rem;
}

.contract-address-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contract-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 15px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.contract-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.copy-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff8e53 0%, #ff6b6b 100%);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
    animation: pulse 0.3s ease;
}

.copy-btn i {
    font-size: 1rem;
}

.copy-feedback {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(81, 207, 102, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-feedback i {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.twitter-btn {
    background: #1DA1F2;
    color: white;
}

.twitter-btn:hover {
    background: #0d8bd9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.telegram-btn {
    background: #0088cc;
    color: white;
}

.telegram-btn:hover {
    background: #006699;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

.pump-btn {
    background: #ff6b6b;
    color: white;
}

.pump-btn:hover {
    background: #ff5252;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}

.feature-card h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Chart Section */
#chart {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dex-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dex-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.chart-container a {
    display: block;
    text-decoration: none;
}

.dex-iframe {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    background: white;
}

/* Community Section */
#community {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.community-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.twitter-image-link {
    display: block;
    text-decoration: none;
}

.twitter-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.twitter-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(29, 161, 242, 0.5);
}

.twitter-card:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1DA1F2;
}

.telegram-card:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
}

.card-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: buzz 2s ease-in-out infinite;
}

.card-icon i {
    color: white;
}

.community-card h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.community-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-width: 80px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    .dex-image {
        border-radius: 10px;
    }
    
    .twitter-image {
        border-radius: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    body {
        background-size: auto 100%;
        background-position: center center;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .community-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        font-size: 3.5rem;
    }
    
    /* Contract Box Mobile */
    .contract-box {
        padding: 20px 15px;
    }
    
    .contract-input {
        font-size: 0.75rem;
        padding: 10px 12px;
    }
    
    .copy-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .copy-btn .copy-text {
        display: none;
    }
    
    .copy-btn i {
        margin: 0;
    }
    
    .contract-address-wrapper {
        flex-wrap: nowrap;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}