/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #000;
}

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

/* Animated Lava Background */
.lava-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #1a0000, #330000, #4d0000);
}

.lava-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff4500, #ff6500, #ff8500, #ffa500);
    opacity: 0.3;
    animation: lavaFlow 8s ease-in-out infinite;
}

.layer1 {
    animation-delay: 0s;
    background: linear-gradient(45deg, #ff4500, #ff6500, #ff8500);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 80%);
}

.layer2 {
    animation-delay: -2s;
    background: linear-gradient(45deg, #ff6500, #ff8500, #ffa500);
    clip-path: polygon(0 20%, 100% 40%, 100% 100%, 0 100%);
}

.layer3 {
    animation-delay: -4s;
    background: linear-gradient(45deg, #ff8500, #ffa500, #ffc500);
    clip-path: polygon(0 40%, 100% 20%, 100% 80%, 0 100%);
}

@keyframes lavaFlow {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateX(-5px) translateY(-10px) scale(1.02);
        opacity: 0.4;
    }
    50% {
        transform: translateX(5px) translateY(5px) scale(0.98);
        opacity: 0.35;
    }
    75% {
        transform: translateX(-3px) translateY(8px) scale(1.01);
        opacity: 0.4;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #ff6500;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff6500;
}

.nav-logo i {
    font-size: 2rem;
    animation: flameFlicker 2s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-2deg); }
    50% { transform: scale(0.95) rotate(1deg); }
    75% { transform: scale(1.05) rotate(-1deg); }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-meme-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ff6500;
    transform: translateY(-2px);
}

.nav-link:hover .nav-meme-icon {
    border-color: #ff6500;
    box-shadow: 0 0 10px rgba(255, 101, 0, 0.5);
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6500;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}


.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.flame-text {
    background: linear-gradient(45deg, #ff4500, #ff6500, #ff8500, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 10px #ff6500); }
    50% { filter: drop-shadow(0 0 20px #ff8500) drop-shadow(0 0 30px #ffa500); }
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    color: #cccccc;
    margin-top: 0.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff4500, #ff6500);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
    border: 2px solid #ff4500;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.7);
    background: linear-gradient(45deg, #ff5500, #ff7500);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(255, 69, 0, 0.7); }
    50% { box-shadow: 0 10px 30px rgba(255, 69, 0, 0.7), 0 0 20px rgba(255, 69, 0, 0.8); }
}

.btn-secondary {
    background: linear-gradient(45deg, #ff6500, #ff8500);
    color: white;
    border: 2px solid #ff6500;
    box-shadow: 0 4px 15px rgba(255, 101, 0, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary:hover {
    background: linear-gradient(45deg, #ff8500, #ffa500);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.6);
    animation: buttonPulseSecondary 1.5s ease-in-out infinite;
}

@keyframes buttonPulseSecondary {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 101, 0, 0.6); }
    50% { box-shadow: 0 8px 25px rgba(255, 101, 0, 0.6), 0 0 20px rgba(255, 101, 0, 0.7); }
}

/* Hero Meme */
.hero-meme {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 400px;
}

.meme-frame {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6500, #ff4500);
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 
        0 0 30px rgba(255, 101, 0, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.meme-frame:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(255, 101, 0, 0.8),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.3);
}

.hero-meme-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.meme-frame:hover .hero-meme-img {
    transform: scale(1.1);
}



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






/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ff6500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    font-style: italic;
}

/* Laws Section */
.laws-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.law-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 101, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.law-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 101, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.law-card:hover {
    transform: translateY(-10px);
    border-color: #ff6500;
    box-shadow: 0 20px 40px rgba(255, 101, 0, 0.3);
}

.law-meme-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6500;
    box-shadow: 0 0 20px rgba(255, 101, 0, 0.4);
    transition: all 0.3s ease;
}

.law-card:hover .law-meme-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 101, 0, 0.6);
}


@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.law-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.law-card p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Backstory Section */
.backstory-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Forge Meme */
.forge-meme {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forge-meme-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    border: 3px solid #ff6500 !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
}


.backstory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.story-paragraph {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.story-highlight {
    color: #ff6500;
    font-weight: 700;
    font-size: 1.3rem;
}

.forge-scene {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #1a0000, #330000);
    border-radius: 20px;
    overflow: hidden;
}

.anvil {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: #666;
    border-radius: 10px;
}

.sparks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.8) 0%, transparent 70%);
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.forgie-forging {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 100px;
}

.forgie-forging .flame-head {
    width: 60px;
    height: 80px;
    top: 0;
}

.forgie-forging .forging-body {
    width: 50px;
    height: 60px;
    top: 60px;
}


/* Memes Gallery Section */
.memes-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.memes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.meme-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 101, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.meme-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff6500;
    box-shadow: 0 20px 40px rgba(255, 101, 0, 0.4);
}

.meme-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.meme-item:hover .meme-image {
    transform: scale(1.1);
}

.meme-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 101, 0, 0.8), rgba(255, 69, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.meme-item:hover .meme-overlay {
    opacity: 1;
}

.meme-overlay i {
    font-size: 3rem;
    color: white;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: #ff6500;
    background: rgba(255, 101, 0, 0.2);
}

.social-link i {
    font-size: 1.5rem;
}

.twitter:hover { color: #1da1f2; }
.community:hover { color: #ff6500; }
.telegram:hover { color: #0088cc; }

.contract-info {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 101, 0, 0.3);
}

.contract-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6500;
}

.contract-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.contract-address code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #ff6500;
    word-break: break-all;
}

.copy-btn {
    background: #ff6500;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ff8500;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid #ff6500;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #ff6500;
    margin-bottom: 1rem;
}

.footer-text {
    color: #cccccc;
    margin-bottom: 2rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .backstory-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .laws-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contract-address {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mascot-container {
        width: 250px;
        height: 300px;
    }
}
