:root {
    --lego-red: #FF4D4D;
    --lego-blue: #4D79FF;
    --lego-yellow: #FFD84D;
    --lego-green: #4DFF79;
    --lego-dark: #1a1a2e;
    --lego-light: #f8f9fa;
}

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

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--lego-dark);
    color: var(--lego-light);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 30px 30px, rgba(255, 255, 255, 0.1) 1px, transparent 2px);
    background-size: 40px 40px;
}

/* LEGO Stud Pattern */
.lego-stud {
    position: relative;
}

.lego-stud::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: radial-gradient(circle at 10px 5px, var(--lego-yellow) 4px, transparent 5px),
    radial-gradient(circle at 30px 5px, var(--lego-yellow) 4px, transparent 5px),
    radial-gradient(circle at 50px 5px, var(--lego-yellow) 4px, transparent 5px);
    background-size: 20px 10px;
    border-radius: 5px 5px 0 0;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--lego-yellow);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--lego-yellow);
    text-transform: uppercase;
}

.logo i {
    margin-right: 10px;
    color: var(--lego-red);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--lego-light);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--lego-red);
    transition: width 0.3s ease;
}

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

.nav-btn {
    background: var(--lego-green);
    color: var(--lego-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(77, 255, 121, 0.3);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 255, 121, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--lego-yellow), var(--lego-green), var(--lego-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--lego-red);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--lego-blue);
    border: 3px solid var(--lego-blue);
}

.btn-secondary:hover {
    background: rgba(77, 121, 255, 0.1);
    transform: translateY(-5px);
}

/* LEGO Blocks */
.lego-block {
    position: absolute;
    z-index: 1;
}

.block-1 {
    top: 15%;
    right: 12%;
    width: 200px;
    height: 100px;
    background: var(--lego-red);
    animation: float 6s ease-in-out infinite;
}

.block-2 {
    top: 45%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: var(--lego-blue);
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.block-3 {
    top: 75%;
    right: 11%;
    width: 120px;
    height: 110px;
    background: var(--lego-green);
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.block-4 {
    bottom: 10%;
    left: 10%;
    width: 180px;
    height: 90px;
    background: var(--lego-yellow);
    animation: float 9s ease-in-out infinite;
}

.block-5 {
    top: 38%;
    left: 50%;
    width: 360px;
    height: 300px;
    background: var(--lego-yellow);
    animation: float 5s ease-in-out infinite;
}

.mobile {
    display: none;
}

/* Features Section */
.features {
    padding: 120px 10%;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--lego-yellow);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--lego-blue);
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--lego-green);
}

.feature-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--lego-yellow);
}

.feature-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Tokenomics Section */
.tokenomics {
    padding: 120px 10%;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.token-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.token-info {
    flex: 1;
}

.token-chart {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    position: relative;
    transform: rotate(-25deg);
}

.chart-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 50%, 100% 50%, 100% 0);
    border-radius: 50%;
}

.segment-1 {
    background: var(--lego-red);
    transform: rotate(0deg);
}

.segment-2 {
    background: var(--lego-blue);
    transform: rotate(72deg);
}

.segment-3 {
    background: var(--lego-yellow);
    transform: rotate(144deg);
}

.segment-4 {
    background: var(--lego-green);
    transform: rotate(216deg);
}

.segment-5 {
    background: #a64dff;
    transform: rotate(288deg);
}

.chart-center {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--lego-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
}

.chart-center span:first-child {
    font-size: 2.5rem;
    color: var(--lego-yellow);
}

.token-list {
    list-style: none;
    margin-top: 40px;
}

.token-list li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
}

.token-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--lego-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--lego-dark);
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 80px 10% 40px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--lego-yellow);
    margin-bottom: 20px;
}

.footer-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lego-yellow);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--lego-red);
    color: white;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--lego-green);
    color: var(--lego-dark);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.copy-notification.show {
    opacity: 1;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .token-content {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .block-5 {
        top: 10%;
        left: 12%;
        width: 360px;
        height: 300px;
        background: var(--lego-yellow);
        animation: float 5s ease-in-out infinite;
    }

    .hero-content {
        margin-top: 220px;
    }
}

@media (max-width: 768px) {
    .mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        /*padding: 20px;*/
        padding-top: 7.8rem;
        position: relative;
        z-index: 1;
    }

    .navbar {
        padding: 18px 5%;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero {
        /*padding-top: 100px;*/
        text-align: center;
        height: 76vh;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .block-1, .block-2, .block-3, .block-4, .block-5 {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

}