/*
 * Custom styling for the $COKE memecoin website.  This design takes
 * inspiration from playful meme‑token sites like the Moodeng
 * home page, using cartoonish elements, bright pastel colours and
 * thick black borders.  The font choices (Luckiest Guy for
 * headings and Comic Neue for body text) provide a bubbly, fun
 * aesthetic.  The layout is responsive and utilises a grid for
 * card‑like signboards.  Each card has a small rotation applied to
 * evoke a hand‑drawn feeling reminiscent of pinned signs on a
 * noticeboard.  Colours are drawn from the user‑provided artwork
 * palette — predominantly sky‑blues and coral pinks — to keep the
 * site on brand while still feeling whimsical.
 */

@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Comic+Neue:wght@400;700&family=Fredoka+One&display=swap');

/* Colour palette and sizing variables */
:root {
    --sky-color: #01172F;        /* deep navy for the night sky background */
    /* Adjust the base colour to match the user's provided swatch (light blue). */
    --ground-color: #CBE7FD;
    --primary-color: #F45B69;    /* coral pink for headings and buttons */
    --primary-color-hover: #D1495B; /* darker variant for hover states */
    --board-bg: #F0FAFF;         /* pale blue for signboards */
    --board-bg-alt: #FFE3F2;     /* pale pink for alternating signboards */
    --board-border: #000000;     /* black outline for signboards and decorative elements */
    --text-color: #082567;       /* dark blue for body text */
    --footer-bg: #012241;        /* dark navy for the footer */
    --section-pad: 4rem;         /* vertical padding for sections */
}

/* Reset and base styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', sans-serif;
    /* Set a subtle cloud pattern as the page background.  The pastel blue
       remains the primary colour and the clouds repeat across the page.
       The fallback solid colour ensures a smooth load before the image appears. */
    background-color: var(--ground-color);
    background-image: url('clouds-bg.png');
    background-repeat: repeat;
    /* Increase the repeat size so the clouds appear larger and more spaced out. */
    background-size: 800px 800px;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    border-bottom: 2px solid var(--board-border);
    padding: 0.5rem 1rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.nav-links a {
    margin-left: 1rem;
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-links a:hover {
    transform: translateY(-3px);
}

/* Hero section */
.hero {
    /* Remove the dark‑to‑light fade at the top and allow the cloud pattern to show
       through. We overlay a semi‑transparent pastel blue tint for readability. */
    /* Make the hero background semi‑transparent to reveal more of the cloud pattern */
    /* Remove the semi‑transparent overlay so the cloud pattern is fully visible
       in the hero section.  The hero now inherits the body’s cloud background. */
    background-color: transparent;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    min-width: 260px;
}

.main-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    -webkit-text-stroke: 3px var(--board-border);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 500px;

    /* Add a subtle text shadow to improve readability when placed over
       patterned backgrounds. */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.launch-date {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    /* Match the playful heading style for the launch date */
    color: var(--primary-color);
    -webkit-text-stroke: 1px var(--board-border);

    /* Ensure the launch date stands out against patterned backgrounds */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: var(--primary-color);
    border: 3px solid var(--board-border);
    border-radius: 12px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--board-border);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border: 4px solid var(--board-border);
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--board-border);
}

/* Generic section styling */
.section {
    padding: var(--section-pad) 1rem;
}

.section h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.6rem;
    color: var(--primary-color);
    -webkit-text-stroke: 2px var(--board-border);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.2rem;
}

/* Signboard grid */
.boards {
    display: grid;
    /* Use slightly wider minimum width so headings fit comfortably */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    /* Add space below each grid to prevent sections from overlapping when
       content wraps onto the next row */
    margin-bottom: 2rem;
}

.board {
    position: relative;
    background-color: var(--board-bg);
    border: 4px solid var(--board-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 6px 6px 0 var(--board-border);
    transition: transform 0.2s ease;
}

.board:hover {
    transform: translateY(-5px);
}

.board h3 {
    /* Use Fredoka One for board headings to improve legibility.  Luckiest Guy
       works well for large hero titles but can distort smaller headings. */
    font-family: 'Fredoka One', cursive;
    /* Slightly smaller heading so long words wrap more gracefully */
    font-size: 1.4rem;
    color: var(--primary-color);
    -webkit-text-stroke: 2px var(--board-border);
    margin-bottom: 0.5rem;
}

.board p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Lists inside signboards should display simple bullets and adequate spacing */
.board ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 0;
}
.board ul li {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.4;
}

/* Slight rotations for boards to mimic hand‑drawn feel */
.rotate-left {
    transform: rotate(-1.5deg);
}

.rotate-right {
    transform: rotate(1.5deg);
}

/* Alternate background colours for tokenomics boards */
.tokenomics .board:nth-child(odd) {
    background-color: var(--board-bg-alt);
}

.tokenomics .board:nth-child(even) {
    background-color: var(--board-bg);
}

/* Social links styling */
.socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.social-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    border: 3px solid var(--board-border);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--board-border);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
}

/* Disclaimer and footer */
.disclaimer {
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #4a4e69;
    line-height: 1.4;
}

.footer {
    background-color: var(--footer-bg);
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 2px solid var(--board-border);
}

.footer p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .main-title {
        font-size: 2.4rem;
        -webkit-text-stroke: 2px var(--board-border);
    }
    .cta-button {
        font-size: 1rem;
    }
    .hero-image img {
        max-width: 300px;
    }
}
/* Skiltet til countdown */
.hero-countdown .countdown-board {
  background-color: var(--board-bg-color);    /* Samme lyserøde/lyseblå farve som andre kort */
  border: 4px solid var(--board-border);      /* Sort, tyk kant */
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 380px;
  text-align: center;
  transform: rotate(-1deg);                    /* Lidt skæv for det legesyge look */
  margin: 0 auto;
}

/* Definer en variabel til din mørkere blå */
:root {
  --countdown-bg: #9dcfea; /* vælg en mørk pastelblå nuance */
}

/* Stil nedtællingsskiltet */
.countdown-board {
  background-image: none;            /* ingen skyer */
  background-color: var(--countdown-bg);
  border: 4px solid var(--board-border);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Selve timeren */
#countdown-timer,
#countdown-timer * {
  font-size: 1.4rem !important;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);     /* Lidt skygge for at skille sig ud */
}

