/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --accent-color: orange;
    --text-color: white;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Super Sedan', sans-serif;
    line-height: 1.6;
    color: black;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s ease;
}

.logo {
    color: var(--light-text);
    font-size: 24px;
    font-weight: bold;
    justify-items: center;
    text-align: center;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    color: var(--light-text);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 120vh;
    background: url('../images/webs.gif');
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#leavesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@keyframes overlayMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-content {
    text-align: center;
    color: var(--light-text);
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #fff, #4CAF50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    text-align: center;
    align-items: center;
    justify-items: center;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contract-address {
    font-family: 'Super Sedan', sans-serif;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0);
    width: 500px;
    margin-top: -350px;
    padding: 15px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ca-label {
    font-family: 'Super Sedan', sans-serif;
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 1.8;
}

.ca-container {
    font-family: 'Super Sedan', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ca-input {
    font-family: 'Super Sedan', sans-serif;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    color: whitesmoke;
    font-size: 0.8rem;
    outline: none;
    width: 100%;
}

.copy-btn {
    font-family: 'Super Sedan', sans-serif;
    background: orange;
    border: none;
    color: var(--light-text);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: orangered;
    transform: translateY(-2px);
}

.copy-btn i {
    font-size: 1rem;
}

.copy-btn.copied {
    background: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(45deg, orangered, orange);
    color: #fff;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About and How to Buy Wrapper */
.about-howtobuy-wrapper {
    background: url('../images/about2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* About Section */
.about {
    padding: 30px 0;
    position: relative;
}

.about h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(45deg, orangered, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    width: 650px;
    text-align: justify;
    margin-bottom: 20px;
    color: white;
}

.about-image img {
    width: 100%;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* How to Buy Section */
.how-to-buy {
    padding: 100px 0;
    position: relative;
}

.how-to-buy h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-top: -120px;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, orangered, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, orangered, orange);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color:black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,red, orangered, orange, yellow);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Community Section */
.community {
    padding: 100px 0;
    background: url('../images/sword.png');
    background-repeat: no-repeat;
    padding: 150px;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #1a1a1a, #333);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.community h2 {
    text-align: center;
    margin-top: -700;
    margin-bottom: 50px;
    font-size: 2.5rem;
    background: linear-gradient(45deg, orangered, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    position: relative;
    z-index: 1;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    top: -50px;
    width: 150px;
    height: 150px;
    background: transparent;
    border-radius: 50%;
    text-decoration: none;
    color: black;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        orangered, orange,
        transparent
    );
    transition: 0.5s;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.social-card i {
    font-size: 5rem;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.social-card:hover i {
    transform: scale(1.2);
}

.social-img {
    width: 75px;
    height: 75px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-slogan {
    text-align: center;
    margin: 0;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer-links a {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-social h4 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loaded {
    opacity: 1;
    transition: opacity 0.5s;
}

body:not(.loaded) {
    opacity: 0;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
