
   /* ------------------------------ */
/*     THEME GENERAL CUTE 💗      */
/* ------------------------------ */

body {
    margin: 0;
    padding: 0;
    background: #e1c9e6;
    font-family: "Comfortaa", sans-serif;
    color: #444;
    overflow-x: hidden;
    cursor: url('cursor.png'), auto;
}

/* ------------------------------ */
/*          STAR BACKGROUND ✨     */
/* ------------------------------ */

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('cozycabin.gif');
    background-size: cover;
    opacity: 0.35;
    z-index: -1;
}

/* ------------------------------ */
/*             HEADER ♡           */
/* ------------------------------ */

header {
    text-align: center;
    padding: 20px;
    background: #f3cade;
    border-bottom: 3px dashed #ffb6d9;
}

.title {
    margin: 0;
    font-size: 2.6em;
    color: #ff74b4;
}

.header_img {
    width: 130px;
    border-radius: 20px;
    margin-top: 10px;
    border: 2px dashed #ff80bf;
}

.subtitle {
    font-size: 1.1em;
    color: #ff8ac8;
    margin-top: 5px;
}

/* ------------------------------ */
/*           CONTAINER 🍓         */
/* ------------------------------ */

.container {
    display: flex;
    margin: 20px;
    gap: 20px;
}

/* ------------------------------ */
/*             SIDEBAR 🌸         */
/* ------------------------------ */

.sidenav {
    width: 260px;
    background: #f7d9e8;
    padding: 15px;
    border-radius: 20px;
    border: 2px dashed #ffc2e1;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebox {
    background: #ffffffdd;
    padding: 12px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px dashed #ffd2eb;
}

.sidebox h3 {
    color: #ff5ca8;
    text-align: center;
    margin: 0 0 10px 0;
}

.navlinks a {
    display: block;
    padding: 9px;
    margin: 7px 0;
    background: #f4c3da;
    border-radius: 14px;
    text-decoration: none;
    color: #ff4d9e;
    font-weight: bold;
    text-align: center;
    transition: transform .15s, background .15s;
}

.navlinks a:hover {
    background: #ffd3ec;
    transform: scale(1.05);
}

/* Blinkies y Stamps */

.blinkies img {
    width: 100%;
    margin: 6px 0;
    border-radius: 6px;
}

.counter {
    text-align: center;
    margin-top: 12px;
    font-size: .9em;
    color: #ff4fa7;
}

/* ------------------------------ */
/*            MAIN AREA 🧸        */
/* ------------------------------ */

.main {
    flex: 1;
}

.inline-link {
  color: inherit;            
  text-decoration: none;     
  border-bottom: 1px dotted currentColor; 
}
.inline-link:focus { outline: 2px solid HotPink; }

.area {
    background: #ffffff;
    border: 2px dashed #ffc6e7;
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 0 10px #ffbde88a;
}

.posth2 {
    margin: 0;
    color: #ff66ad;
    font-size: 1.6em;
}

.postcontent {
    margin-top: 10px;
    line-height: 1.7;
    color: #444;
    font-size: 1.05em;
}

.area ul {
    list-style: "✿  ";
}

/* ------------------------------ */
/*        PIXEL ART GALLERY 🐰       */
/* ------------------------------ */

.pixel-art-single {
  text-align: center;
  margin: 18px 0;
}

.pixel-img {
  max-width: 320px;
  width: 80%;
  height: auto;
  border-radius: 8px;
  border: 3px solid rgba(255,180,210,0.6);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.caption {
  margin: 8px 0 4px;
  color: #a6367a;
  font-weight: 600;
}

/* Galería */
.pixel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: start;
}

.pixel-card {
  background: rgba(255,250,255,0.8);
  padding: 10px;
  border-radius: 12px;
  border: 2px dashed rgba(255,150,200,0.35);
  text-align: center;
}

.pixel-thumb {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  image-rendering: pixelated; /* para mantener look pixel art */
  border-radius: 8px;
  margin-bottom: 8px;
}

.pixel-card figcaption {
  font-size: 0.95rem;
  color: #8b2f66;
}

/* ------------------------------ */
/*        FLOATING CHIBI 🐰       */
/* ------------------------------ */

.floating-chibi {
    position: fixed;
    bottom: 20px;
    right: 25px;
    animation: floaty 3.5s ease-in-out infinite;
}

.floating-chibi img {
    width: 120px;
}

.chibi-area {
    position: relative;
    display: inline-block;
}

.chibi {
    width: 180px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chibi:hover {
    transform: scale(1.05);
}

.gift {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 245, 250, 0.9);
    border: 2px solid #ffb6d9;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
    display: none;
    width: 150px;
    animation: pop 0.25s ease;
}

.gift-img {
    width: 70px;
    display: block;
    margin: 0 auto 5px;
}

/*------------------------------ */
/*         MOD GALLERY✨          */
/*------------------------------ */

.header-cute {
    text-align: center;
    padding: 20px;
    color: #ffe6f5;
}

.subtitle {
    font-size: 14px;
    opacity: 0.8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
}

.mod-card {
    background: #2c1f2f;
    border: 2px solid #ffb6da;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.mod-card img {
    width: 100%;
    border-radius: 10px;
}

.mod-card h3 {
    font-size: 16px;
    margin-top: 10px;
    color: #ffd8f2;
}

.mod-card:hover {
    transform: scale(1.05);
    border-color: #ffd0eb;
}

/* ------------------------------ */
/*          MOD PAGE STYLES ✨      */ 

/* Título de actualizaciones */
.updates-title {
    font-size: 22px;
    color: #ffe6f9;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Contenedor de posts */
.updates-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Cada post */
.update-post {
    background: #2c1d2e;
    border: 2px solid #ffb6da;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    transition: transform 0.15s ease;
}

/* Hover suave */
.update-post:hover {
    transform: translateY(-3px);
    border-color: #ffd0eb;
}

/* Fecha */
.update-date {
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
}

/* Título del post */
.update-header {
    color: #ffd8f2;
    font-size: 18px;
    margin: 6px 0;
}

/* Texto */
.update-text {
    color: #ffe5f7;
    font-size: 15px;
    line-height: 1.5;
}


.back-btn {
    display: inline-block;
    margin: 20px;
    text-decoration: none;
    color: #bc3076;
    font-size: 14px;
}

.mod-container {
    max-width: 720px;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.mod-title {
    color: #ffe6f9;
    font-size: 28px;
    margin-bottom: 10px;
}

.mod-preview {
    width: auto;
    border-radius: 10px;
    border: 2px solid #ffbde6;
    margin-bottom: 20px;
}

.mod-description {
    color: #ffe5f7;
    background: #2c1f2f;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ffb6da;
    line-height: 1.6;
}

.update-image {
    width: auto;
    border-radius: 8px;
    margin-top: 12px;
    border: 2px solid #ffbde6;
    margin-left: 30px;
}

/* SECTION */
.contact-section {
    padding: 30px 20px;
    margin-top: 40px;
}

.section-title {
    text-align: center;
    color: #ffd8f0;
    font-size: 26px;
    margin-bottom: 25px;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

@media (max-width: 750px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD STYLES */
.card {
    background: #2b1d2f;
    border: 2px solid #ffb6da;
    border-radius: 14px;
    padding: 16px;
}

.card-light {
    background: linear-gradient(180deg, #ffeef7, #fff6fb);
    border-radius: 14px;
    padding: 16px;
    color: #4a3750;
    border: 2px solid #ffb6da;
}

/* TEXTAREA */
.contact-form textarea {
    width: 95%;
    height: 160px;
    resize: vertical;
    border: 2px solid #ffb6da;
    border-radius: 10px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    background: #3a2b3f;
    color: #ffe7f6;
}

.contact-form textarea::placeholder {
    color: #e9c5d8;
}

/* BUTTON */
.btn-send {
    margin-top: 10px;
    background: #ffb6da;
    color: #40283c;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-send:hover {
    background: #ffd2eb;
    transform: scale(1.05);
}

/* CONTACT INFO */
.contact-info p {
    margin: 6px 0;
    font-size: 14px;
}

.contact-info a {
    color: #d64b9c;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Feedback text */
.feedback {
    margin-top: 6px;
    font-size: 13px;
    color: #ffcae5;
}

/* BLOG */
/* PAGE TITLE */
.page-title {
    text-align: center;
    color: #ffd7f1;
    font-size: 28px;
    margin: 25px 0;
}

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

/* BLOG CARD */
.blog-card {
    background: #2b1d2f;
    border: 2px solid #ffb6da;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: #ffe7f6;
    transition: transform 0.15s ease, border-color 0.15s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #ffd2eb;
}

.blog-thumb {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 20px;
    color: #ffd7f1;
}

.blog-card-date {
    font-size: 13px;
    opacity: 0.75;
    margin: 4px 0;
}

.blog-card-desc {
    font-size: 14px;
    opacity: 0.95;
}

/* POST PAGE */
.post-container {
    max-width: 760px;
    margin: auto;
    padding: 20px;
}

.post-title {
    text-align: center;
    color: #ffd7f1;
    margin-bottom: 4px;
}

.post-date {
    text-align: center;
    opacity: 0.75;
    margin-bottom: 18px;
}

.post-banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.post-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: #ffe7f6;
}

.post-img {
    width: 100%;
    border-radius: 10px;
    margin: 10px 0 20px;
}

/* BACK BUTTON */
.back-btn {
    display: inline-block;
    margin: 20px;
    color: #b9206c;
    text-decoration: none;
    font-size: 14px;
}

.back-btn:hover {
    text-decoration: underline;
}


@keyframes pop {
    0% { transform: translateX(-50%) scale(0.4); opacity: 0; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}


@keyframes floaty {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
