:root {
    /* Layout & Theme */
    --bg-color: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --card-bg: #f9fafb;
    --card-border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    
    /* The Starting Six Brand Colors */
    --brand-gold: #ECA400;
    --btc-color: #F7931A;
    --eth-color: #627EEA;
    --xrp-color: #23292F;
    --doge-color: #C2A633;
    --bnb-color: #F3BA2F;
    --sol-color: #14F195;
}

/* FIX MOBILE X-OVERFLOW & ADD SMOOTH SCROLLING */
html {
    scroll-behavior: smooth; /* Gives that fluid, gliding scroll when tapping nav links */
}

html, body {
    max-width: 100vw;
    overflow-x: clip; /* Fixes horizontal scroll bleeding on mobile */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a { 
    text-decoration: none; 
    color: inherit; 
}


/*  HEADER & MAIN NAV == */

.site-header {
    position: relative;
    background-color: var(--bg-color); 
    color: var(--text-main); 
    padding: 15px 20px;
    z-index: 2000;
    border-bottom: 1px solid var(--card-border); 
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Image Logo constraints */
.logo-img {
    max-height: 100px; 
    width: auto;
    display: block;
}

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    font-size: 0.95rem; 
    font-weight: 600; 
}

.main-nav a:hover, .nav-drop-btn:hover {
    color: var(--brand-gold);
    transition: color 0.2s ease;
}

/* DROPDOWN MENU */
.nav-dropdown {
    position: relative;
    cursor: pointer;
}

.nav-drop-menu {
    display: none; 
    position: absolute; 
    top: 150%; 
    right: 0;
    background: white; 
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow); 
    border-radius: 8px;
    min-width: 160px; 
    flex-direction: column; 
    z-index: 200;
    overflow: hidden;
}

.nav-drop-menu.open { 
    display: flex; 
}

.nav-drop-menu a { 
    padding: 12px 16px; 
    border-bottom: 1px solid var(--card-border);
    color: var(--brand-gold);
    font-size: 0.9rem;
}

.nav-drop-menu a:last-child { 
    border-bottom: none; 
}

.nav-drop-menu a:hover { 
    background: var(--card-bg); 
    color: var(--brand-gold);
}


/* == ==  SUBNAV (HORZ SCROLL MOBILE)    ======= */

.subnav-wrapper {
    background: #f5f6f7; 
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0; 
    z-index: 1000;
    transition: box-shadow 0.25s ease;
}

.subnav-wrapper.stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
}

.subnav-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    gap: 18px;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

/* Hide scrollbar for clean mobile look */
.subnav-inner::-webkit-scrollbar {
    display: none;
}
.subnav-inner {
    -ms-overflow-style: none;
    scrollbar-width: none; 
}

.subnav-inner a {
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    white-space: nowrap; 
    flex-shrink: 0; 
    font-weight: 700;
    transition: border-color 0.2s ease;
}

.subnav-inner a:hover {
    border-bottom-color: var(--text-main);
}


/* ====  MAIN FEED & AD BANNERS   ==== */

main {
    max-width: 600px; 
    margin: 30px auto;
    padding: 0 15px;
}

.ad-wrapper {
    margin: 40px 0;
    text-align: center;
}

.ad-wrapper img {
    border-radius: 8px; 
    border: 1px solid var(--card-border); 
    max-width: 100%;
}

.intro-text {
    text-align: center;
    margin: 10px 0 40px 0;
    padding: 0 15px;
}

.intro-text p {
    color: var(--text-muted);
    font-size: 1.05rem; /* Slightly larger than standard body text */
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   MINI AD BANNERS (FRONT PAGE)
   ========================================================================== */
.mini-ad-card {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.mini-ad-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-gold);
    box-shadow: 0 6px 12px rgba(236, 164, 0, 0.15);
}

.mini-ad-logo {
    flex: 0 0 100px; /* Fixed width for logo */
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-ad-logo img {
    max-width: 100%;
    height: auto;
}

.mini-ad-text {
    flex: 1;
}

.mini-ad-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 800;
}

.mini-ad-text p {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.mini-ad-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .mini-ad-card {
        flex-direction: column;
        text-align: center;
    }
    .mini-ad-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.intro-text strong {
    color: var(--text-main); /* Makes "KryptoKurve" and "Starting Six" pop out in dark text */
}

/* = STATIC PAGE & CONTACT = */

/* The white card wrapper for text content */
.text-card {
    background-color: var(--bg-color); /* Pure white */
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}


#kontakt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--brand-gold);
}

.gmrc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.gmrc-header h3 {
    margin: 0 !important; /* Overrides the default margin so it centers with the icon */
    color: var(--text-main);
}

.gmrc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%; /* Forces a perfect circle */
    object-fit: cover; /* Ensures the image doesn't stretch */
    border: 2px solid var(--brand-gold); /* Adds a premium KryptoKurve gold ring */
    background-color: var(--card-bg); /* Fallback background just in case */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.text-card h1, .text-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-main);
}

.text-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* The StockMarket24 callout box */
.network-box {
    background-color: var(--card-bg);
    border-left: 4px solid var(--brand-gold);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
}

.network-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Elegant inline links */
.text-link {
    color: var(--text-main);
    font-weight: 700;
    border-bottom: 2px solid var(--brand-gold);
    transition: all 0.2s ease;
}

.text-link:hover {
    color: var(--brand-gold);
    border-bottom-color: transparent;
}

.modern-form {
    margin-top: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sleek, soft input fields */
.modern-form input,
.modern-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--card-bg); /* Light grey background like the coin cards */
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Premium focus state */
.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    background-color: var(--bg-color); /* Turns white when typing */
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 4px rgba(236, 164, 0, 0.1); /* Soft gold glow */
}

/* The Submit Button */
.modern-form .submit-btn {
    display: inline-block;
    width: 100%;
    background-color: var(--text-main); /* Dark charcoal */
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.modern-form .submit-btn:hover {
    background-color: var(--brand-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(236, 164, 0, 0.25);
}

.form-status {
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}
.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }


/* = COIN CARDS, COLORS ========= */

.coin-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* The Colored "Jersey" Top Border */
.coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Connect individual coin borders */
.card-btc::before  { background-color: var(--btc-color); }
.card-eth::before  { background-color: var(--eth-color); }
.card-xrp::before  { background-color: var(--xrp-color); }
.card-doge::before { background-color: var(--doge-color); }
.card-bnb::before  { background-color: var(--bnb-color); }
.card-sol::before  { background-color: var(--sol-color); }

.coin-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    background: #ddd; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

/* Connect individual coin icon backgrounds */
.card-btc .coin-icon  { background-color: var(--btc-color); }
.card-eth .coin-icon  { background-color: var(--eth-color); }
.card-xrp .coin-icon  { background-color: var(--xrp-color); }
.card-doge .coin-icon { background-color: var(--doge-color); }
.card-bnb .coin-icon  { background-color: var(--bnb-color); }
.card-sol .coin-icon  { background-color: var(--sol-color); color: #111; /* Dark text for contrast on bright green */ }

.coin-title { 
    margin: 0; 
    font-size: 1.4rem; 
    font-weight: 800; 
}

.coin-ticker { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    margin-left: 8px; 
    font-weight: 600; 
}

/* Chart Box Layout */
.chart-box {
    width: 100%;
    height: 160px; /* Increased for breathing room */
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin: 20px 0;
    position: relative; /* Crucial for absolute positioning of labels */
    overflow: hidden;
}

/* Constrain the SVG so it doesn't overlap the text */
svg.sparkline {
    position: absolute;
    top: 25px; /* Pushes the chart down, away from y-max */
    left: 0;
    width: 100%;
    height: calc(100% - 55px); /* Pulls chart up, away from x-axis */
    z-index: 1;
}

/* Axis Labels (Dates & USD) */
.chart-box span {
    position: absolute;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    z-index: 2;
}


.chart-box .y-max,
.chart-box .y-min {
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(2px); /* premium */
    z-index: 2;
}

.chart-box .y-max { top: 8px; left: 8px; color: var(--text-main); }
.chart-box .y-min { bottom: 25px; left: 8px; }
.chart-box .x-start { bottom: 8px; left: 12px; }
.chart-box .x-end { bottom: 8px; right: 12px; }

.coin-description {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0;
}


/*  FOOTER === */

.seo-footer-text {
    background-color: var(--card-bg);
    border-top: 1px solid var(--card-border);
    padding: 40px 20px;
    margin-top: 50px;
}

.seo-footer-inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.seo-footer-inner h3 { 
    color: var(--text-main); 
    font-size: 1.1rem; 
    margin-bottom: 10px;
}

.seo-footer-inner p {
    margin-bottom: 20px;
}


/* == MAIN FOOTER == */

.site-footer {
    background-color: #111827;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-inner a {
    margin: 0 10px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-inner a:hover { 
    color: white; 
}

/* ==========================================================================
   CALL TO ACTION / BEWERTUNGEN BOX
   ========================================================================== */
.cta-box {
    background-color: var(--card-bg);
    border: 2px solid var(--brand-gold); /* Bold orange border to grab attention */
    border-radius: 16px;
    padding: 30px 24px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.cta-box h3 {
    color: black;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cta-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-box li {
    margin-bottom: 14px;
}

.cta-box a {
    display: inline-block;
    color: var(--text-main);
    font-weight: 700;
    border-bottom: 2px solid var(--btc-color);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.cta-box a:hover {
    color: var(--brand-gold);
    border-bottom-color: transparent;
}

/* ($GMRC)  */
.contract-box {
    background-color: #111827; /* Dark terminal look */
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0 35px 0;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.contract-address {
    display: block;
    font-family: monospace; /* Gives it that raw code feel */
    color: #10b981; /* Neongreen for positive crypto vibes */
    font-size: 1.1rem;
    word-break: break-all; /* Ensures it doesn't break mobile layouts */
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.copy-btn {
    background-color: var(--brand-gold);
    color: #111827;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   REVIEW GRID & CARDS
   ========================================================================== */

.review-grid {
    display: grid;
    /* Automatically creates columns based on screen size */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.review-card {
    background-color: var(--bg-color); /* White card */
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* KryptoKurve Signature Top Border */
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--brand-gold);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.review-card-content {
    flex-grow: 1; /* Pushes the button to the bottom */
}

.review-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--text-main);
}

.review-subtitle {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-gold);
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Call to Action Button inside Cards */
.review-btn {
    display: block;
    text-align: center;
    background-color: var(--text-main);
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-decoration: none;
}

.review-btn:hover {
    background-color: var(--brand-gold);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 164, 0, 0.25);
}

.sm24-network-badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: inherit; 
  opacity: 0.8;
  margin-top: 1rem;
}

.sm24-network-badge a {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  font-weight: normal;
  text-transform: none; 
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(136, 136, 136, 0.3);
  padding-bottom: 1px;
  margin-left: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sm24-network-badge a:hover {
  color: #31597d; 
  border-bottom-color: #31597d;
}

.sm24-about-badge {
  margin: 3rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid #31597d; 
  background: #f9f9f9; 
  max-width: 600px;
}

.badge-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555555;
  margin-bottom: 0.5rem;
}

.badge-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111111;
}

.badge-text a {
  font-family: 'Georgia', serif;
  font-weight: normal;
  color: #31597d;
  text-decoration: none;
  border-bottom: 1px solid rgba(49, 89, 125, 0.3);
  transition: all 0.2s ease;
}

.badge-text a:hover {
  border-bottom-color: #31597d;
  background-color: rgba(49, 89, 125, 0.05);
}

.footer-disclaimer {
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 20px 15px 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider line */
}

.footer-disclaimer p {
    color: #6b7280; /* Muted gray so it fades into the background */
    font-size: 0.75rem; /* Very small text */
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.footer-disclaimer strong {
    color: #9ca3af; /* Slightly brighter for the bold word */
}

/* == MOBILE TWEAKS === */

@media (max-width: 720px) {
    /* 1. Logo & Header Trap */
    .logo-img {
        max-height: 46px; /* Scales logo down for mobile */
    }
    
    .header-inner {
        flex-direction: row; 
        flex-wrap: nowrap; /* Forces logo and nav to stay on the same line */
        justify-content: space-between;
    }

    .main-nav {
        gap: 15px; /* Tighter gap so it fits on small screens */
    }

    /* 2. Squeezed Padding Trap */
    .text-card, 
    .coin-card, 
    .review-card, 
    .cta-box {
        padding: 20px 15px; /* Gives content breathing room on small screens */
    }

    /* 3. Grid Blowout Trap */
    .review-grid {
        grid-template-columns: 1fr; /* Forces a safe, single column on all mobile devices */
    }

    /* 4. Contract Address Trap */
    .contract-address {
        font-size: 0.85rem; /* Smaller font so it breaks much cleaner */
    }
    
    /* Dropdown UI adjustment for mobile */
    .nav-drop-menu {
        right: -10px; /* Aligns nicely under the "Bewertungen" text */
        left: auto;
        width: 200px;
    }
    
    /* Make intro text slightly smaller to fit better */
    .intro-text p {
        font-size: 0.95rem;
    }
    
    /* Typography scaling */
    .coin-title { font-size: 1.25rem; }
    .text-card h1 { font-size: 1.5rem; }
    .text-card h2 { font-size: 1.3rem; }
}
