* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    /* background: linear-gradient(135deg, #C3B091 0%, #9e8f76 100%); */
    background: linear-gradient(135deg, #97e9e5 0%, #f6cb80 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Twinkling Stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

.star:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 80%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 40%; left: 70%; animation-delay: 1s; }
.star:nth-child(4) { top: 70%; left: 30%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 10%; left: 60%; animation-delay: 0.3s; }
.star:nth-child(6) { top: 90%; left: 10%; animation-delay: 0.8s; }
.star:nth-child(7) { top: 30%; left: 90%; animation-delay: 1.2s; }
.star:nth-child(8) { top: 60%; left: 50%; animation-delay: 0.7s; }
.star:nth-child(9) { top: 50%; left: 15%; animation-delay: 1.8s; }
.star:nth-child(10) { top: 15%; left: 85%; animation-delay: 0.2s; }
.star:nth-child(11) { top: 75%; left: 45%; animation-delay: 1.4s; }
.star:nth-child(12) { top: 35%; left: 5%; animation-delay: 0.9s; }
.star:nth-child(13) { top: 5%; left: 40%; animation-delay: 1.7s; }

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 200;
    position: relative;
    overflow: hidden;
}

.header-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.header-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    animation: headerTwinkle 1.5s infinite;
}

.header-star:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.header-star:nth-child(2) { top: 60%; left: 25%; animation-delay: 0.3s; }
.header-star:nth-child(3) { top: 30%; left: 45%; animation-delay: 0.6s; }
.header-star:nth-child(4) { top: 70%; left: 60%; animation-delay: 0.9s; }
.header-star:nth-child(5) { top: 40%; left: 75%; animation-delay: 1.2s; }
.header-star:nth-child(6) { top: 80%; left: 85%; animation-delay: 0.2s; }
.header-star:nth-child(7) { top: 15%; left: 90%; animation-delay: 0.8s; }
.header-star:nth-child(8) { top: 50%; left: 95%; animation-delay: 1.1s; }

@keyframes headerTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #fdfdfe;
    margin: 0;
}

.logo-text p {
    color: #fdfdfe;
    margin: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fdfdfe;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Main */
.main {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.poem-menu {
    list-style: none;
    margin-bottom: 2rem;
}

.poem-menu li {
    margin-bottom: 0.5rem;
}

.poem-menu a {
    display: block;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.poem-menu a:hover,
.poem-menu a.active {
    background: rgba(255, 255, 255, 0.3);
    border-left-color: white;
    transform: translateX(5px);
}

.poem-menu small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.games-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.game-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-links img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.game-links img:hover {
    transform: scale(1.05);
}

/* Content */
.content {
    padding: 0 1rem;
}

.poem-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 15px;
}

.poem-header h2 {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.meta {
    color: #718096;
    font-style: italic;
}

.poems-container {
    margin-bottom: 2rem;
}

.poem-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.poem-item:hover {
    transform: translateY(-2px);
}

.poem-item h4 {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.poem-text {
    font-style: italic;
    color: #718096;
    line-height: 1.8;
}

.about-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.moon-smile {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.about-section h3 {
    color: #4a5568;
    margin-bottom: 1rem;
}

.about-section p {
    color: #718096;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar {
        order: 2;
    }
    
    .content {
        order: 1;
    }
}
