/*
Theme Name: cryptowiki24.com
Description: A modern dark crypto lexicon WordPress theme
Version: 1.0
Author: Andy Fink
*/

@font-face {
    font-family: 'Manrope';
    src: url('./fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 800;
    font-display: swap;
}

@font-face {
    font-family: 'Quinn';
    src: url('./fonts/Quinn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Quinn', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #9cee69;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #9cee69;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9cee69, #7dd945);
    transition: width 0.3s ease;
}

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

/* Coming Soon Items */
.nav-item-with-label {
    position: relative;
    display: flex;
    flex-direction: row; /* Geändert von column zu row */
    align-items: center; /* Zentriert vertikal */
    gap: 12px; /* Erhöhter Abstand für bessere Lesbarkeit */
}

.nav-item-disabled {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 16px;
    cursor: not-allowed;
}

.coming-soon-label {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(156, 238, 105, 0.3);
    flex-shrink: 0; /* Verhindert, dass das Label schrumpft */
}

.contact-btn {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 238, 105, 0.4);
    background: linear-gradient(135deg, #7dd945, #6bc729);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(156, 238, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 17, 20, 0.1) 0%, transparent 50%),
        #000000;
    overflow: visible !important;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
    overflow: visible !important;
}

.hero-title {
    font-family: 'Quinn', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #9cee69;
    position: relative;
    z-index: 15;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 400;
    position: relative;
    z-index: 15;
}

/* Search Section */
.search-section {
    margin: 50px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 15;
    overflow: visible !important;
}

/* Homepage specific - no footer */
.homepage .main-footer {
    display: none !important;
}

/* Crypto Coins Background - Only inside hero-section */
.hero-section .crypto-coins-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    z-index: 1;
    pointer-events: none;
}

/* Crypto coin individual elements */
.crypto-coin {
    position: absolute !important;
    opacity: 0.6 !important;
    z-index: 2 !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: none;
}

.crypto-coin img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    opacity: 1 !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(156, 238, 105, 0.3));
}

/* Hide crypto coins on non-homepage */
.crypto-coins-background {
    display: none;
}

/* Force show on homepage */
.homepage .crypto-coins-background,
.home .crypto-coins-background {
    display: block !important;
}

@keyframes coinFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) scale(1);
    }
}

@keyframes coinFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(-25px) translateX(10px) rotate(270deg);
    }
}

@keyframes coinGentleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(8px);
    }
    50% {
        transform: translateY(-5px) translateX(-12px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
}

/* CTA Link */
.cta-link {
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.cta-link a {
    color: #9cee69;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.cta-link a:hover {
    color: #ffffff;
}

.cta-link a::after {
    content: ' →';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta-link a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #101114, #000000);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Quinn', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #9cee69;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #9cee69;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Lexicon Post Layout */
.lexicon-post-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
}

/* Background Gradient for Lexicon Posts */
.lexicon-background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(156, 238, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 17, 20, 0.1) 0%, transparent 50%),
        #000000;
    z-index: -1;
    pointer-events: none;
}

.lexicon-layout {
    display: grid;
    grid-template-columns: 60px 1fr 350px;
    gap: 40px;
    position: relative;
}

.social-share-sticky {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.share-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
}

.share-icon:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.share-icon.twitter:hover { background: #1da1f2; }
.share-icon.facebook:hover { background: #4267b2; }
.share-icon.linkedin:hover { background: #0077b5; }
.share-icon.telegram:hover { background: #0088cc; }
.share-icon.copy-link:hover { background: #9cee69; }

.lexicon-content {
    background: transparent;
    padding: 0px 40px 40px 40px;
    max-width: none;
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-title {
    font-family: 'Quinn', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #9cee69;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    line-height: 1.3em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.meta-item svg {
    opacity: 0.7;
}

.post-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 16px;
}

.post-content h1 {
    font-family: 'Quinn', sans-serif;
    font-weight: 700;
    color: #9cee69;
    margin: 30px 0 15px 0;
    line-height: 1.3;
    font-size: 2.2rem;
}

.post-content h2, .post-content h3, .post-content h4 {
    color: #ffffff;
    margin: 30px 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content a {
    color: #9cee69;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px dotted #9cee69;
    padding-bottom: 2px;
}

.post-content blockquote {
    background: rgba(156, 238, 105, 0.1);
    border-left: 4px solid #9cee69;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
}

.post-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.lexicon-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.affiliate-banner.enhanced {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    min-height: 200px;
}

.affiliate-banner.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(156, 238, 105, 0.3);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(156, 238, 105, 0.6));
    z-index: 2;
}

.banner-content.enhanced {
    position: relative;
    z-index: 3;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-text.enhanced h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text.enhanced p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-features {
    margin-bottom: 20px;
}

.banner-features span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.4);
    transition: all 0.3s ease;
}

.affiliate-banner.enhanced:hover .cta-button {
    background: linear-gradient(135deg, #7dd945, #6bc729);
    transform: scale(1.05);
}

/* In-Content CTA Banner */
.incontent-cta-banner {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(156, 238, 105, 0.2);
    transition: all 0.3s ease;
}

.incontent-cta-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(156, 238, 105, 0.3);
}

.incontent-affiliate-banner {
    display: block;
    text-decoration: none;
    position: relative;
    min-height: 160px;
    background: linear-gradient(135deg, #9cee69, #7dd945);
}

.incontent-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(156, 238, 105, 0.1));
    z-index: 1;
}

.incontent-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.incontent-banner-text h4 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.incontent-banner-text p {
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 500px;
}

.incontent-banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.incontent-banner-features span {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

.incontent-cta-button {
    background: #000000;
    color: #9cee69;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.incontent-affiliate-banner:hover .incontent-cta-button {
    background: #1a1a1a;
    transform: scale(1.05);
}

/* Related Terms */
.related-terms {
    margin-top: 10px;
}

.related-terms h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.related-terms h4 span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-top: 5px;
}

.related-terms ul {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    padding: 15px !important;
    list-style: none !important;
}

.related-terms li {
    margin: 8px 0 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-terms li:last-child {
    border-bottom: none;
}

.related-terms a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.related-terms a:hover {
    color: #9cee69 !important;
}

/* Mobile Social Share */
.social-share-mobile {
    display: none;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-share-mobile h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.social-share-mobile .share-icons {
    display: flex;
    gap: 15px;
    flex-direction: row;
}

.social-share-mobile .share-icon {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Homepage Clean */
.homepage-clean .main-footer {
    display: none !important;
}

.homepage .main-footer {
    display: none !important;
}

.homepage-clean body {
    overflow-x: hidden;
}

.homepage-clean .entry-content,
.homepage-clean .post-content,
.homepage-clean .page-content {
    display: none !important;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.3);
}

.social-link.twitter:hover {
    background: #000000;
    border-color: #ffffff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lexicon-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .social-share-sticky {
        display: none;
    }

    .social-share-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Navigation changes for mobile */
    .main-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-item-with-label {
        gap: 8px;
    }

    .coming-soon-label {
        font-size: 8px;
        padding: 2px 4px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .contact-btn {
        margin-top: 10px;
    }

    /* Rest of mobile styles */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-footer {
        padding: 40px 0 20px;
    }

    .lexicon-post-main {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .lexicon-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lexicon-content {
        padding: 0px;
        border-radius: 15px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        gap: 20px;
        line-height: 1.3em;
    }

    .social-share-mobile h4 {
        color: #ffffff;
        margin-bottom: 15px;
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .social-share-mobile .share-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10%;
        flex-direction: row;
        font-size: 14px;
        font-weight: 600;
        flex-wrap: nowrap;
    }

    .social-share-mobile .share-icon {
        padding: 0;
        background: none;
        border-radius: 0;
        text-decoration: none;
        transition: color 0.3s ease;
        color: rgba(255, 255, 255, 0.8);
        white-space: nowrap;
    }

    .social-share-mobile .share-icon:hover {
        color: #9cee69;
    }

    .social-share-mobile .share-icon:not(:last-child)::after {
        content: ' | ';
        margin: 0 8px;
        color: rgba(255, 255, 255, 0.4);
    }

    .sidebar-widget {
        padding: 20px;
    }

    .crypto-coin {
        opacity: 0.3 !important;
        transform: scale(0.7) !important;
    }

    .crypto-coin:nth-child(n+7) {
        display: none;
    }

    .incontent-banner-content {
        padding: 25px 20px;
    }

    .incontent-banner-text h4 {
        font-size: 1.3rem;
    }

    .incontent-banner-text p {
        font-size: 15px;
    }

    .incontent-banner-features {
        gap: 20px;
        flex-direction: column;
    }

    .incontent-cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }

    .search-section {
        margin: 30px 0;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 10px;
        overflow: visible !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .crypto-coin {
        animation: none !important;
        opacity: 0.2 !important;
    }
}