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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    min-height: 100vh;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.sidebar-header h1 {
    color: white;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    margin: 10px 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-item a:hover {
    background: rgba(255,255,255,0.1);
    border-left-color: #ffd93d;
}

.nav-item.active a {
    background: rgba(255,255,255,0.2);
    border-left-color: #ffd93d;
}

.nav-item .icon {
    font-size: 1.8em;
    margin-right: 15px;
}

.nav-item .text {
    font-size: 1.2em;
    font-weight: bold;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
    min-height: 100vh;
}

/* Home Page */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.welcome-section h1 {
    font-size: 3.5em;
    color: #667eea;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.welcome-section p {
    font-size: 1.5em;
    color: #2d3561;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.game-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.game-card h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.game-card p {
    color: #2d3561;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.play-btn {
    padding: 15px 40px;
    font-size: 1.3em;
    font-weight: bold;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.play-btn:hover {
    transform: scale(1.05);
}

/* Characters Section */
.characters-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.home-character {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.home-character:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar-header h1 {
        font-size: 1.5em;
    }
    
    .nav-item .text {
        display: none;
    }
    
    .nav-item .icon {
        margin-right: 0;
    }
    
    .main-content {
        margin-left: 80px;
        padding: 20px;
    }
    
    .welcome-section h1 {
        font-size: 2em;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .characters-section {
        flex-direction: column;
    }
}
