@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ========================================
   BASE STYLES
   Color Scheme:
   - White (40%): #FFFFFF - backgrounds
   - Gray (30%): #F7F9FC, #E3E8EF - secondary backgrounds
   - Black (20%): #02050A - text and sub elements
   - Dark Blue (10%): #174399 - accents
   - Yellow (3-5%): #F0C808 - buttons and highlights
   - Red (0-2%): #DE212E - errors
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   WRAPPER & LAYOUT
   ======================================== */
.wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(180deg, #F7F9FC 0%, #E3E8EF 100%);
}

.wrapper a {
    text-decoration: none;
}

.content {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

.side {
    display: none;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.header {
    position: relative;
    padding: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #174399 0%, #0F2F6B 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 67, 153, 0.9) 0%, rgba(15, 47, 107, 0.8) 100%);
}

.header_title {
    position: relative;
    z-index: 2;
    line-height: 1.3;
    max-width: 90%;
    font-size: 28px;
    font-weight: 700;
    padding: 12px 30px 12px 24px;
    margin: 0 0 20px 0;
    border-radius: 0 100px 100px 0;
    background-color: #FFFFFF;
    color: #02050A;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ========================================
   BADGE LIST SPECIFIC
   ======================================== */
.badge_list_title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0 10px 0;
    color: #02050A;
    letter-spacing: -0.5px;
}

.badge_list_top {
    display: grid;
    place-items: center;
    margin-top: 0;
    padding: 0 15px 24px;
}

.badge_list_container {
    background-color: #F7F9FC;
    border-radius: 12px;
    padding: 24px 16px;
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid #E3E8EF;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.ao_icon {
    display: inline-block;
    vertical-align: bottom;
    width: 1em;
    height: 1em;
    margin-right: 0.1em;
    background-image: url('../data/img/cat.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.home_button a {
    display: block;
    text-align: center;
    color: #02050A;
    padding: 14px 32px;
    background-color: #F0C808;
    margin: 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 200, 8, 0.3);
}

.home_button a:hover {
    background-color: #D9B407;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 200, 8, 0.4);
}

.home_button a:active {
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE - TABLET & DESKTOP
   ======================================== */
@media (min-width: 500px) {
    .wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .content {
        width: 500px;
        margin: 0 auto;
    }

    .side {
        display: block;
        width: calc((100vw - 500px) / 2);
    }

    .header {
        height: 220px;
    }

    .header_title {
        font-size: 32px;
        padding: 14px 40px 14px 28px;
        margin-bottom: 24px;
    }

    .badge_list_title {
        font-size: 36px;
        margin: 40px 0 16px 0;
    }

    .badge_list_container {
        padding: 30px 20px;
    }
}

@media (min-width: 768px) {
    .header {
        height: 240px;
    }
}