/* layout.css */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.page {
    display: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    min-height: 90vh;
    animation: slideIn 0.4s ease-out;
    position: relative;
}

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 50%, var(--accent-purple) 100%);
    color: white;
    padding: var(--space-md) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header h1 i {
    font-size: 2.2rem;
    animation: wiggle 2s ease-in-out infinite;
}

.header-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: var(--space-xs);
    font-weight: 500;
}

.top-right-buttons {
    display: flex;
    gap: var(--space-sm);
}

.content {
    padding: var(--space-xl);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: var(--radius-full);
}

.content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

