/* ===== Global ===== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0a0e17;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Global link colors */
a,
a:visited {
    color: #0ff;
}

a:hover,
a:focus {
    color: #00cccc;
}

h1,
h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: inherit;
    /* color set in style.css */
}

h2 {
    font-size: 2rem;
}

/* ===== Header & Nav ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 14, 23, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #0ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #0ff;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #141a29;
    border: 1px solid #223;
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0; /* no gap to avoid losing :hover when moving cursor */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.dropdown-content li {
    padding: 0;
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1rem;
    color: #fff;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #0a0e17;
    color: #0ff;
}

/* show on hover (desktop) */
.dropdown:hover > .dropdown-content {
    display: block;
}

/* Burger */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0ff;
}

/* Normalize native button styles for the burger toggle */
button.menu-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Optional: konsistente Fokus-Styles (A11y) */
button.menu-toggle:focus {
    outline: 2px solid #0ff;
    outline-offset: 2px;
}

/* Firefox inner padding/ring entfernen */
button.menu-toggle::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* ===== Hero (basic structure, BG in style.css) ===== */
.hero {
    background: #0a0e17;
    /* fallback if no bg image */
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0ff;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #0ff;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #00cccc;
}

/* Ensure CTA text stays dark across states */
.cta-button,
.cta-button:visited,
.cta-button:hover,
.cta-button:focus {
    color: #000 !important;
}

/* ===== Sections ===== */
section {
    padding: 2rem 2rem;
}

.alt-bg {
    background: #141a29;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Images & Videos ===== */
.content-image {
    display: block;
    margin: 2rem auto;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.content-image2 {
    display: block;
    margin: 2rem auto;
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.video-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.content-video,
.content-video img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 1rem auto;
}

/* Sound toggle button */
.sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 2;
    display: none;
    /* default hidden */
}

.sound-toggle.active {
    display: flex;
    /* JS will add this if data-speaker="true" */
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .sound-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        bottom: 8px;
        right: 8px;
    }
}

/* ===== News ===== */
.news {
    background: #1a1f2e;
    padding: 0.6rem 2rem;
    text-align: center;
}

.news p {
    margin: 0.2rem 0; /* alle News-Absätze gleich */
    color: #ffb400;
    font-size: 1.1rem;
    font-weight: 700;
}

.news p:not(#countdown):not(.contract-address) {
    font-size: 1.1rem;
    color: #ffb400;
}

.news .contract-address {
    font-size: 1rem;
    font-weight: 400;
    margin: 0.2rem 0;
    color: #0ff !important;
}

.news #countdown {
    font-size: 1.2rem;
    color: #0ff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {text-shadow: 0 0 5px #0ff;}
    50% {text-shadow: 0 0 20px #0ff;}
    100% {text-shadow: 0 0 5px #0ff;}
}

/* ===== Layouts ===== */
.two-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.two-col .text {
    flex: 1;
    min-width: 280px;
}

.two-col .image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.two-col .image img {
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* ===== Lists ===== */
.tokenomics-list,
.roadmap-list,
.values-list {
    text-align: left;
    margin: 0 auto;
    max-width: 700px;
    padding: 0;
}

.tokenomics-list li,
.roadmap-list li,
.values-list li {
    margin: 0.8rem 0;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.values-list li {
    background: #0a0e17;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid #ffb400;
    box-shadow: 0 0 8px rgba(255, 180, 0, 0.3);
}

.values-list i {
    margin-right: 0.5rem;
}

/* ===== Community ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #0ff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #00cccc;
}

.social-links i {
    margin-right: 0.5rem;
}

/* ===== Projects list ===== */
.project-list {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    max-width: 700px;
}

.project-list li {
    margin: 0.6rem 0;
}

/* ===== Disclaimer ===== */
.disclaimer-text {
    font-size: 0.85rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ===== Footer ===== */
footer {
    background: #0a0e17;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #141a29;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #141a29;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    /* Mobile dropdown: position within flow */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: 0;
        margin: 0.25rem 0 0 0;
        background: transparent;
        padding: 0;
    }

    .dropdown-content a {
        padding: 0.5rem 0.25rem 0.5rem 0.5rem;
    }

    /* open via JS toggle on mobile */
    .dropdown.open > .dropdown-content {
        display: block;
    }
}