/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fixed Left Sidebar */
.sidebar {
    background-color: rgba(66, 39, 90, 0.95);
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 0;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-brand {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 15px 25px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-brand a {
    color: #fff;
    text-decoration: none;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.nav-icon {
    font-size: 20px;
    min-width: 30px;
    display: flex;
    justify-content: center;
    margin-right: 15px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MythDice Title */
.mythdice-title {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.title-text {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #8e44ad, #3498db);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(142, 68, 173, 0.2);
}

.subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .sidebar {
        width: 80px;
        overflow: hidden;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-icon {
        margin-right: 0;
    }
    
    .sidebar-brand {
        padding: 15px 5px;
        font-size: 16px;
    }
    
    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px;
        margin-left: 0;
    }
    
    .mythdice-title {
        margin-top: 20px;
    }
    
    .title-text {
        font-size: 36px;
    }
    
    /* Full-width sidebar for mobile */
    .sidebar {
        width: 100%;
        height: 100vh;
        z-index: 999;
        overflow-y: auto;
    }
    
    /* Display nav text again on mobile when menu is active */
    .nav-text {
        display: inline;
    }
    
    .nav-icon {
        margin-right: 15px;
        font-size: 22px;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .sidebar-nav {
        gap: 8px;
    }
    
    .sidebar-brand {
        margin-bottom: 20px;
        padding: 20px 15px;
    }
    
    .nav-link {
        padding: 16px 20px;
    }
    
    .nav-icon {
        font-size: 24px;
    }
    
    .nav-text {
        font-size: 16px;
    }
    
    .title-text {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
} 