:root {
    
    --primary-blue: #0D1B2A;
    --dark-blue: #005591;
    --main-bg: #355dab;
    --section-bg: rgba(255, 255, 255, 0.15);
    --text-color: white;
    --accent-color: #ffd966;
    
    --dc-blue: #0D1B2A;
    --dc-dark-blue: #005596;
    --dc-light-gray: #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    background-color: var(--primary-blue);
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.nav-links {
    display: flex;
    height: 100%;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    color: orange;
}

.nav-links a.active {
    background-color: var(--dark-blue);
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.profile-dropdown .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s;
}

.profile-dropdown .dropdown-content a:hover {
    background-color: #e9e9e9;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

.profile-container {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.login-link a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 15px;
    transition: color 0.2s;
}

.login-link a:hover {
    color: orange;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: #1e2a38;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

footer {
    width: 100%;
    background-color: var(--dc-blue);
    color: var(--text-color);
    padding: 25px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    padding: 0 15px;
}

.group-name {
    text-align: left;
}

.group-name h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.logo {
    text-align: center;
}

.logo-placeholder {
    width: 180px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dc-blue);
    border-radius: 5px;
}

#footer-logo {
    max-width: 100%;
    max-height: 100%;
}

.team-members {
    text-align: right;
}

.team-members ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-members li {
    margin-bottom: 5px;
    font-size: 14px;
}


@media screen and (max-width: 768px) {
    .nav-links a {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .profile-img {
        width: 30px;
        height: 30px;
    }
    
    .login-link a {
        font-size: 14px;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        flex-wrap: wrap;
        height: auto;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-links a {
        padding: 10px;
        height: 40px;
    }
    
    .profile-container {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .team-members ul {
        text-align: center;
    }
    
    .group-name {
        order: 1;
    }
    
    .logo {
        order: 2;
    }
    
    .team-members {
        order: 3;
    }
}

.game-container {
    flex: 1;
}