/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY & BACKGROUND
========================= */
body {
    font-family: 'Georgia', serif;
    background: url("images/background.gif") no-repeat center center fixed !important;
    background-size: cover !important;
    color: #f2f2f2;
    line-height: 1.8;
    letter-spacing: 0.3px;
    cursor: url('images/star.png') 16 16, auto;
    overflow-x: hidden;
    position: relative;
}

/* Soft nebula/mist glow */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(255,105,180,0.07), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* =========================
   PARTICLE CANVAS
========================= */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* behind content & mist */
    pointer-events: none;
}

/* =========================
   STICKY HEADER
========================= */
header {
    position: sticky;
    top: 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(4px);
    padding: 20px 0;
    z-index: 1000;
}

header h1 {
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255,255,255,0.3);
}

header p {
    text-align: center;
    font-style: italic;
    color: #cccccc;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* =========================
   NAVIGATION
========================= */
header nav {
    text-align: center;
    margin-top: 10px;
}

nav a {
    margin: 0 18px;
    text-decoration: none;
    color: #bbbbbb;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background: #FF69B4;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #FF69B4;
    cursor: url('images/star.png') 16 16, pointer;
}

/* =========================
   MAIN CONTAINER
========================= */
.container {
    width: 750px;
    max-width: 92%;
    margin: 40px auto;
    padding: 40px;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 40px rgba(255,105,180,0.2),
        inset 0 0 20px rgba(255,255,255,0.03);
    position: relative;
    z-index: 1;
}

/* =========================
   SECTIONS
========================= */
section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: normal;
    border-left: 3px solid #FF69B4;
    padding-left: 15px;
    text-shadow: 0 0 6px rgba(255,105,180,0.4);
}

section p {
    color: #dddddd;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Staggered fade-in */
section:nth-of-type(1) { transition-delay: 0s; }
section:nth-of-type(2) { transition-delay: 0.2s; }
section:nth-of-type(3) { transition-delay: 0.4s; }
section:nth-of-type(4) { transition-delay: 0.6s; }

/* =========================
   POSTS / IMAGES
========================= */
.post {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.post.visible {
    opacity: 1;
    transform: translateY(0);
}

.post img {
    width: 300px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
}

/* =========================
   SPARKLE CURSOR TRAIL
========================= */
.sparkle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: url('images/pixel-star.gif');
    background-size: cover;
    pointer-events: none;
}

/* =========================
   FLOATING PIXEL PLANET
========================= */
.floating-planet {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 100px;
    animation: float 6s ease-in-out infinite;
    image-rendering: pixelated;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-top: 50px;
    opacity: 0.7;
}

/* ——————————————
   CUSTOM HTML COMMENT BOX STYLING
   — Make it fit CanaryCries theme
—————————————— */

/* Container override */
#HCB_comment_box {
    background: rgba(0,0,0,0.75) !important;
    border: 2px solid #FF69B4 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    color: #eee !important;
    font-family: 'Press Start 2P', monospace !important;
    max-width: 800px;
    margin: auto;
}

/* Style each comment entry */
.hcb-comment-body {
    background: rgba(30,30,30,0.8) !important;
    border: 1px dashed #ff00ff !important;
    padding: 12px !important;
    margin: 10px 0 !important;
    color: #eaeaea !important;
}

/* Name text / meta */
.hcb-comment-info {
    color: #ff69b4 !important;
    font-size: 0.85rem !important;
    text-shadow: 0 0 6px #ff69b4;
}

/* The input form area */
#hcb_form_content textarea,
#hcb_form_content input[type="text"] {
    background: rgba(255,255,255,0.05) !important;
    border: 2px solid #ff00ff !important;
    color: #f8f8f8 !important;
    font-family: 'Press Start 2P', monospace !important;
    padding: 10px !important;
    border-radius: 8px !important;
    width: 100% !important;
}

/* Submit button style */
#hcb_submit {
    background: #ff00ff !important;
    color: #000 !important;
    font-weight: bold !important;
    text-shadow: 0 0 4px #fff !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
}

/* Hide the “add image” button if present */
#hcb_form_content [title="Add image"] {
    display: none !important;
}

