:root {
    --text-color: #ffffff;
    --bg-color: #121212;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Sans', sans-serif;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/assets/background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

.main-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    border-bottom: 2px solid #222;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-rune {
    width: 40px;
    height: 40px;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    cursor: default;
}

.header-nav {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-button, .auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 8px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-button:hover, .auth-btn:hover {
    filter: brightness(1.2);
    background-color: rgba(255, 255, 255, 0.1);
}

#app {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-container {
    text-align: center;
    padding: 60px;
}

.landing-rune {
    width: clamp(160px, 40vw, 320px);
    height: auto;
    aspect-ratio: 1/1;
    margin-bottom: 20px;
}

.hideout-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin-top: 50px;
}

.hideout-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    padding: 32px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.menu-item:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-item img {
    width: 188px;
    height: 188px;
    object-fit: contain;
    margin-bottom: 10px;
}

.menu-item span {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.scav-outpost-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 8px;
    transition: all 0.3s ease;
}

.scav-outpost-button .button-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.scav-outpost-button .button-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.scav-outpost-button:hover .button-icon {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.scav-outpost-button span {
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.welcome-text {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    padding: 0 10px;
}

.auth-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-btn {
    background-color: #222;
    padding: 15px 40px;
    border: 1px solid #444;
    border-radius: 8px;
}

.form-container, .auth-container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: clamp(30px, 8vw, 60px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 500px;
    margin: 40px auto;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.form-group label {
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 0 #000;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #666;
    background-color: #222;
}

.register-submit {
    margin-top: 10px;
    align-self: center;
    width: 100%;
    justify-content: center;
}

.slideshow-container {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: clamp(20px, 5vw, 40px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slideshow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.skill-icon {
    width: clamp(80px, 20vw, 120px);
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.skill-name {
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #000;
}

.skill-description {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 0 #000;
    padding: 0 10px;
}

.auth-extra {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.auth-extra p {
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    width: 100%;
    text-align: center;
}

.main-footer {
    padding: 20px;
    text-align: center;
    background-color: #000;
    border-top: 2px solid #222;
}

.main-footer p {
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
