:root {
    --bg-color: #FFF6D6;
    --text-color: #7A4F22;
    --highlight-color: #FEE191;
    --button-color: #D9A066;
    --button-hover-color: #C78C5A;
    --font-body: 'Kalam', cursive;
    --font-title: 'Playfair Display', serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
    cursor: url('magic_wand_cursor.png'), auto;
}

/* Twinkling Star Background */
@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
#stars-bg, #stars-bg2, #stars-bg3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}
#stars-bg {
    background:#000 url(stars_bg.png) repeat top center;
    animation:move-twink-back 200s linear infinite;
    opacity: 0.1;
}
#stars-bg2 {
    background:#000 url(twinkling_bg.png) repeat top center;
    animation:move-twink-back 150s linear infinite;
     opacity: 0.15;
}
#stars-bg3 {
    background:#000 url(clouds_bg.png) repeat top center;
    animation:move-twink-back 100s linear infinite;
     opacity: 0.2;
}


header, section {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

h1, h2 {
    font-family: var(--font-title);
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px dotted var(--button-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.subtitle {
    font-style: italic;
    margin-top: -1rem;
}

.poetic-quote {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto;
    font-style: italic;
    font-family: var(--font-title);
}

/* Constellation & Stars */
.constellation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none'/%3e%3ccircle cx='100' cy='100' r='40' stroke='%23D9A066' stroke-width='2' stroke-dasharray='6%2c 10' stroke-linecap='butt'/%3e%3c/svg%3e");
}

.star-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.star-item span {
    font-size: 2.5rem;
}

.star-item:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--highlight-color);
}

/* Cosmic Shelf */
.cosmic-shelf {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.polaroid-item {
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    padding-bottom: 0.5rem;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
}

.polaroid-item:nth-child(even) {
    transform: rotate(4deg);
}

.polaroid-item:hover {
    transform: rotate(0) scale(1.05);
    box-shadow: 10px 10px 20px rgba(122, 79, 34, 0.3);
}

.polaroid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.polaroid-caption {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: left;
}

/* K-Pop Solar System */
.solar-system {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

.planet {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet.twice { background-color: #ffcce7; }
.planet.bts { background-color: #d8c3ff; }
.planet.itzy { background-color: #f7b3c1; }


.planet-core {
    font-family: var(--font-title);
    font-weight: bold;
}

.moon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--highlight-color);
    animation: orbit 8s linear infinite;
    cursor: pointer;
    transition: transform 0.3s;
}

.moon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.moon:hover {
    transform: scale(1.2);
    animation-play-state: paused;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(75px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(75px) rotate(-360deg); }
}


/* Golden Gallery */
#lesbian-couples {
    background-color: rgba(254, 225, 145, 0.2);
    border-radius: 20px;
}

.golden-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.couple-star {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.couple-star:hover {
    transform: scale(1.1);
}

.couple-star img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--highlight-color);
    box-shadow: 0 0 20px var(--highlight-color);
}


/* Extras */
#random-star-btn {
    background-color: var(--button-color);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-title);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50px;
}

#random-star-btn:hover {
    background-color: var(--button-hover-color);
}

#visitor-mural {
    margin-top: 2rem;
}

#visitor-counter {
    color: var(--button-color);
    letter-spacing: 0.2rem;
}

/* Footer */
footer {
    padding: 2rem;
    margin-top: 2rem;
    border-top: 2px dotted var(--button-color);
}

.footer-img {
    width: 100px;
    margin-top: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: var(--bg-color);
    margin: 10% auto;
    padding: 2rem;
    border: 5px solid var(--button-color);
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px var(--button-hover-color);
    text-align: left;
}

.close-btn {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.modal-body h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-top: 0;
}

.modal-body .quote {
    font-style: italic;
    border-left: 3px solid var(--button-color);
    padding-left: 1rem;
    margin: 1rem 0;
}

.modal-body .emojis {
    font-size: 1.5rem;
}

.interactive {
    cursor: pointer;
}

