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

@font-face {
    font-family: 'MundoSansBlack';
    src: url('../fonts/MundoSansBlack.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-feature-settings: 'kern';
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid #1a1a1a;
}

.subtitle {
    font-family: 'MundoSansBlack', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 0;
    flex-shrink: 0;
}

nav {
    background: transparent;
    padding: 0;
    text-align: right;
    backdrop-filter: none;
    border-bottom: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

nav a {
    font-family: 'MundoSansBlack', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    text-decoration: none;
    padding: 0.4rem 1rem;
    margin: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

nav a:hover {
    background: rgba(183, 148, 246, 0.1);
    color: #b794f6;
    transform: translateY(-1px);
}

nav a.active {
    background: rgba(183, 148, 246, 0.2);
    color: #b794f6;
    border-bottom: 2px solid #b794f6;
    padding-bottom: 0.2rem;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    background: rgba(15, 15, 15, 0.8);
    border-radius: 15px;
    padding: 2rem 4rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #1a1a1a;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.8s; }
.section:nth-child(5) { animation-delay: 1.0s; }
.section:nth-child(n+6) { animation-delay: 1.2s; }

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(32, 33, 32, 0.4);
}

h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

h3 {
    color: #c9adff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.6) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.card:hover {
    border-color: #b794f6;
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.8) 0%, rgba(20, 10, 30, 0.8) 100%);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(183, 148, 246, 0.2);
}

.card h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    color: #e0e0e0;
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.tip {
    background: rgba(183, 148, 246, 0.2);
    border-left: 4px solid #b794f6;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tip strong {
    color: #dfc8ff;
}

.tip a {
    color: #ffffff;
    text-decoration: underline;
}

ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

li {
    margin: 0.5rem 0;
    color: #e8d5ff;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    color: #ffffff;
    border-top: 2px solid #1a1a1a;
    margin-top: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: flex-start;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav a {
        padding: 0.35rem 0.8rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 0.5rem;
        margin: 1rem auto;
    }

    .section {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .aligned-units li {
        display: flex;
        justify-content: space-between;
        white-space: normal;
    }
}
