body {
    font-family: 'Comic Sans MS','Nunito', sans-serif;
    background: linear-gradient(to bottom, #fef6e4, #ffe5ec);
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    text-align: center;
    background-color: #67077c;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.2em;
    margin: 0;
}

.tagline {
    font-style: normal;
    color: #fffaf0;
}

.story {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    font-size: 1.1em;
}

.story p {
    margin: 15px 0;
}
#playStory {
    background-color: #7b1f85;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1.1em;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

#playStory:hover {
    background-color: #ff85c2;
}

.ending {
    text-align: center;
    font-weight: bold;
    color: #ff69b4;
    font-size: 1.3em;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #67077c;
    color: #fff;
    margin-top: 20px;
}

/* 🌈 Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #67077c;
    padding: 15px 30px;
}

.logo {
    font-size: 1.4em;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.1em;
}

.nav-links a.active {
    text-decoration: underline;
}

/* 🎈 Hero */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(#ffe5ec, #fef6e4);
}

.hero h1 {
    font-size: 2.5em;
    color: #ff69b4;
}

/* 📖 Story Cards */
.story-cards {
    text-align: center;
    padding: 40px 20px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgb(244, 146, 240);
    padding: 20px;
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.card a {
    display: inline-block;
    margin-top: 10px;
    background: #ff69b4;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    text-decoration: none;
}

/* 🚧 Coming Soon */
.coming-soon {
    text-align: center;
    padding: 40px;
    background: #fff0f5;
}

.story-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 10px;
}
html, body {
    height: auto;
    overflow-x: hidden;
}

.story img {
    width: 90%;   /* try 60% or 50% if you want smaller */
    max-width:500px;
    height:500px;
    display: block;
    margin: 20px auto; /* centers the image */
    border-radius: 20px;
    object-fit: cover;
}