/* style.css */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #a1c4fd, #fbc2eb, #f6d365, #fdc094, #fbc2eb, #a1c4fd);
    background-size: 600% 600%;
    animation: gradientBG 20s linear infinite;
    min-height: 100vh;
    padding: 20px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    20% { background-position: 20% 60%; }
    40% { background-position: 40% 40%; }
    60% { background-position: 60% 60%; }
    80% { background-position: 80% 40%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

/* Grid container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

/* Grid items */
.grid-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.item-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6a5acd;
    margin-bottom: 10px;
}

.item-content {
    display: none;
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.item-content.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive design */
@media (max-width: 480px) {
    .header {
        font-size: 2rem;
        padding: 15px;
    }
    
    .grid-container {
        gap: 15px;
    }
    
    .grid-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .item-header {
        font-size: 1.3rem;
    }
}

/* Sakura (cherry blossom) petals */
.sakura {
    position: fixed;
    top: -50px;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    will-change: transform;
}