/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --blood-red: #8B0000;
    --fire-orange: #FF4500;
    --dark-purple: #2D0B42;
    --void-black: #0A0A0A;
    --ash-gray: #2C2C2C;
    --bone-white: #F5F5DC;
    --lava-yellow: #FFD700;
    --mythic-purple: #6A0DAD;
    
    /* Fonts */
    --font-title: 'Cinzel', serif;
    --font-body: 'MedievalSharp', cursive;
    --font-special: 'UnifrakturMaguntia', cursive;
}

body {
    font-family: var(--font-body);
    background: var(--void-black);
    color: var(--bone-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.fire-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--fire-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--fire-orange);
    animation: floatFire 8s infinite linear;
}

.fire-particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.fire-particle:nth-child(2) {
    top: 40%;
    left: 70%;
    animation-delay: 2s;
}

.fire-particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.smoke-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ash-gray);
    opacity: 0.3;
    border-radius: 50%;
    animation: floatSmoke 12s infinite linear;
}

@keyframes floatFire {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) scale(0.5);
        opacity: 0;
    }
}

@keyframes floatSmoke {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-300px) translateX(100px);
        opacity: 0;
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--blood-red);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-chimera {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--fire-orange), var(--blood-red), var(--mythic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--ash-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--bone-white);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--fire-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fire-orange);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title h2 {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.highlight {
    color: var(--fire-orange);
    text-shadow: 0 0 20px var(--fire-orange);
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--ash-gray);
    margin-bottom: 50px;
}

.chimera-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    font-size: 4rem;
    position: relative;
}

.creature-head, .creature-body, .creature-tail {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fire-breath {
    font-size: 3rem;
    animation: fireBreath 2s infinite;
    margin-left: 20px;
}

@keyframes fireBreath {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-family: var(--font-title);
}

.btn-primary {
    background: linear-gradient(45deg, var(--fire-orange), var(--blood-red));
    color: white;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--bone-white);
    border: 2px solid var(--blood-red);
}

.btn-secondary:hover {
    background: var(--blood-red);
    color: white;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.blood-text {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
}

.fire-text {
    color: var(--fire-orange);
    text-shadow: 0 0 10px var(--fire-orange);
}

.dark-section {
    background: rgba(43, 11, 66, 0.3);
    border-radius: 20px;
    padding: 60px;
    margin: 40px 0;
    border: 1px solid var(--mythic-purple);
}

/* ===== MYTHOLOGY SECTION ===== */
.mythology-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.myth-card {
    background: rgba(43, 11, 66, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--blood-red);
    transition: transform 0.3s;
}

.myth-card:hover {
    transform: translateY(-10px);
    border-color: var(--fire-orange);
}

.myth-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.myth-card h3 {
    color: var(--fire-orange);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legend-story {
    background: rgba(139, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--fire-orange);
}

.legend-story h3 {
    color: var(--lava-yellow);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote {
    font-style: italic;
    color: var(--ash-gray);
    margin-top: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--mythic-purple);
}

/* ===== TOKENOMICS SECTION ===== */
.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--mythic-purple);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--lava-yellow);
    margin-bottom: 10px;
    font-family: var(--font-title);
}

.stat-label {
    color: var(--ash-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.burn-mechanism {
    text-align: center;
}

.burn-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    font-size: 1.5rem;
}

.token, .ash {
    padding: 10px 20px;
    border-radius: 5px;
}

.token {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--lava-yellow);
}

.fire-arrow {
    color: var(--fire-orange);
    animation: moveRight 2s infinite;
}

@keyframes moveRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.ash {
    background: rgba(44, 44, 44, 0.5);
    border: 1px solid var(--ash-gray);
    color: var(--ash-gray);
}

/* ===== ROADMAP SECTION ===== */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.timeline-item {
    background: rgba(43, 11, 66, 0.5);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--fire-orange), var(--mythic-purple), var(--blood-red));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.5;
}

.timeline-phase {
    color: var(--fire-orange);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--bone-white);
}

.timeline-features {
    list-style: none;
}

.timeline-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bone-white);
}

.timeline-features li i {
    color: var(--fire-orange);
}

/* ===== COMMUNITY SECTION ===== */
.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.community-link:hover {
    transform: translateY(-10px);
}

.community-link i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.community-link span {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.link-desc {
    font-size: 0.9rem;
    color: var(--ash-gray);
}

.twitter {
    background: rgba(29, 161, 242, 0.1);
    border-color: rgba(29, 161, 242, 0.3);
    color: #1DA1F2;
}

.telegram {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
    color: #0088cc;
}

.opensea {
    background: rgba(32, 129, 226, 0.1);
    border-color: rgba(32, 129, 226, 0.3);
    color: #2081E2;
}

.discord {
    background: rgba(114, 137, 218, 0.1);
    border-color: rgba(114, 137, 218, 0.3);
    color: #7289DA;
}

.warning-box {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid var(--blood-red);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.warning-box i {
    font-size: 2rem;
    color: var(--fire-orange);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 2px solid var(--blood-red);
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-chimera {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--fire-orange);
    display: block;
}

.footer-tagline {
    color: var(--ash-gray);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--ash-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--fire-orange);
}

.copyright {
    color: var(--ash-gray);
    font-size: 0.9rem;
}

.myth-text {
    font-style: italic;
    margin-top: 10px;
    color: var(--mythic-purple);
}

.ritual-text {
    background: rgba(43, 11, 66, 0.5);
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    letter-spacing: 1px;
    color: var(--lava-yellow);
    border: 1px solid var(--mythic-purple);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-title h2 {
        font-size: 2.5rem;
    }
    
    .chimera-image {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .dark-section {
        padding: 30px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-chimera {
        font-size: 1.8rem;
    }
    
    .hero-title h2 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .mythology-content,
    .token-stats,
    .roadmap-timeline,
    .community-links {
        grid-template-columns: 1fr;
    }
}

/* ===== SCROLL BAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--void-black);
}

::-webkit-scrollbar-thumb {
    background: var(--blood-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--fire-orange);
}
/* ===== LOGO STYLES ===== */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.5));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(5px) rotate(1deg);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-chimera {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--fire-orange), var(--blood-red), var(--mythic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--ash-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Logo dengan fallback jika gambar tidak ada */
.logo-container::before {
    content: '🐉';
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-chimera {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .logo-link {
        gap: 10px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo-chimera {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}


/* Dark mode logo adjustments */
@media (prefers-color-scheme: dark) {
    .logo-image {
        filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.7)) 
                brightness(1.1) contrast(1.2);
    }
}