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

:root {
    --primary-color: #5D3FD3;
    --secondary-color: #00e5ff;
    --accent-color: #ff0050;
    --background-dark: #120d29;
    --text-color: #ffffff;
    --menu-background: rgba(25, 21, 48, 0.8);
    --button-gradient: linear-gradient(135deg, #5D3FD3, #00e5ff);
    --button-hover-gradient: linear-gradient(135deg, #00e5ff, #5D3FD3);
    --button-active-gradient: linear-gradient(135deg, #4527a0, #00b8d4);
}

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

body {
    overflow: hidden;
    background-color: var(--background-dark);
    color: var(--text-color);
}

.app-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18, 13, 41, 0.3) 0%, rgba(18, 13, 41, 0.8) 100%);
    z-index: 1;
}

.game-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}

.game-logo h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(93, 63, 211, 0.8);
    color: var(--text-color);
}

.game-logo span {
    color: var(--secondary-color);
    font-style: italic;
}

.menu-container {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 5;
    padding: 100px 40px 120px 40px;
    overflow-y: auto;
}

.character-preview {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.character-model {
    width: 100%;
    height: 720px;
    position: relative;
}

.character-rotate-platform {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(93, 63, 211, 0.6) 0%, transparent 70%);
    border-radius: 50%;
}

.character-info {
    margin-top: 20px;
    text-align: center;
}

.character-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.character-info p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.menu-buttons {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.menu-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: var(--button-gradient);
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.menu-btn:hover {
    transform: translateX(5px);
    background: var(--button-hover-gradient);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.menu-btn:hover::before {
    left: 100%;
}

.menu-btn:active {
    transform: translateX(5px) scale(0.98);
    background: var(--button-active-gradient);
}

.btn-icon {
    margin-right: 15px;
    font-size: 1.3rem;
}

.play-btn {
    background: linear-gradient(135deg, #ff0050, #ff7b00);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.4);
}

.play-btn:hover {
    background: linear-gradient(135deg, #ff7b00, #ff0050);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.5);
}

.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 13, 41, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.news-ticker {
    flex: 0 0 70%;
    overflow: hidden;
    white-space: nowrap;
}

.news-item {
    display: inline-block;
    animation: scrollText 20s linear infinite;
    color: #ffcc00;
    font-weight: 600;
}

.player-stats {
    display: flex;
    align-items: center;
}

.v-bucks {
    margin-right: 20px;
    font-weight: 600;
    color: #ffcc00;
}

.version {
    opacity: 0.7;
    font-size: 0.8rem;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.settings-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(93, 63, 211, 0.5);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(93, 63, 211, 0.5);
}

.settings-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.close-settings {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-settings:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.settings-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.settings-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(93, 63, 211, 0.8), rgba(0, 229, 255, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
}

.settings-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.8), rgba(93, 63, 211, 0.8));
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.settings-option:active {
    transform: translateX(5px) scale(0.98);
}

.settings-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.audio-settings {
    display: none;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--primary-color);
}

.audio-settings h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.controls-settings {
    display: none;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--primary-color);
    overflow-y: auto;
    max-height: 60vh;
}

.controls-settings h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.control-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.platform {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(93, 63, 211, 0.3);
    margin-bottom: 15px;
}

.platform h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
}

.control-group {
    margin-bottom: 15px;
}

.control-group h5 {
    font-size: 1rem;
    color: #ffcc00;
    margin-bottom: 8px;
}

.control-group p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-color);
    opacity: 0.9;
}

.control-tip {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 15px;
}

.control-tip p {
    font-size: 0.9rem;
    color: #ffcc00;
    text-align: center;
}

.slider-container {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-label {
    font-size: 1.2rem;
    font-weight: 600;
    flex: 0 0 35%;
}

.slider-control {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80%;
    height: 12px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
    cursor: pointer;
}

.volume-value {
    width: 15%;
    margin-left: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.save-audio-settings {
    background: var(--button-gradient);
    border: none;
    color: var(--text-color);
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
}

.save-audio-settings:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.save-audio-settings:active {
    transform: translateY(0px) scale(0.98);
}

.item-shop-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(255, 0, 80, 0.5);
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 80, 0.5);
}

.shop-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

.close-shop {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-shop:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.shop-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shop-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.8), rgba(255, 123, 0, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.shop-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.8), rgba(255, 0, 80, 0.8));
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.shop-option:active {
    transform: translateX(5px) scale(0.98);
}

.item-shop-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.extras-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #00b8d4;
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(0, 184, 212, 0.5);
}

.extras-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 184, 212, 0.5);
}

.extras-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #00b8d4;
    text-shadow: 0 0 10px rgba(0, 184, 212, 0.5);
}

.close-extras {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-extras:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.extras-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.extras-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.8), rgba(76, 175, 80, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
}

.extras-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(0, 184, 212, 0.8));
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.extras-option:active {
    transform: translateX(5px) scale(0.98);
}

.extras-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.play-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #ff7b00;
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.5);
}

.play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 123, 0, 0.5);
}

.play-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff7b00;
    text-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
}

.close-play {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-play:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.play-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.play-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.8), rgba(255, 0, 80, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.play-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.8), rgba(255, 123, 0, 0.8));
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.play-option:active {
    transform: translateX(5px) scale(0.98);
}

.play-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.locker-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #9c27b0;
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.5);
}

.locker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(156, 39, 176, 0.5);
}

.locker-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #9c27b0;
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
}

.close-locker {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-locker:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.locker-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.locker-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.8), rgba(63, 81, 181, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.locker-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.8), rgba(156, 39, 176, 0.8));
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.4);
}

.locker-option:active {
    transform: translateX(5px) scale(0.98);
}

.locker-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.career-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #ffcc00;
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.5);
}

.career-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.close-career {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-career:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.career-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.career-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.8), rgba(255, 152, 0, 0.8));
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.career-option:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.8), rgba(255, 204, 0, 0.8));
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.career-option:active {
    transform: translateX(5px) scale(0.98);
}

.career-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.steel-wear-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    background: var(--menu-background);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #ff7b00;
    padding: 30px;
    z-index: 100;
    display: none;
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.5);
}

.steel-wear-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 123, 0, 0.5);
}

.steel-wear-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff7b00;
    text-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
}

.close-steel-wear {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-steel-wear:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.steel-wear-content {
    height: calc(100% - 80px);
    overflow: auto;
}

.steel-wear-active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.credits-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    overflow: hidden;
}

.credits-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    padding: 40px 20px;
    overflow: hidden;
}

.credits-header {
    margin-bottom: 30px;
    text-align: center;
}

.credits-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

.credits-scroller {
    width: 100%;
    max-width: 800px;
    height: calc(100% - 150px);
    overflow-y: auto;
    text-align: center;
    padding: 0 20px;
}

.credits-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--section-index, 0) * 0.1s);
    opacity: 0;
}

.credits-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(93, 63, 211, 0.7);
}

.credits-section p {
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.back-to-menu {
    position: absolute;
    bottom: 40px;
    padding: 15px 30px;
    background: var(--button-gradient);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(93, 63, 211, 0.5);
}

.back-to-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
    background: var(--button-hover-gradient);
}

.back-to-menu:active {
    transform: translateY(-1px);
}

.credits-active {
    display: block;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    width: 40px;
    height: 40px;
    background: var(--button-gradient);
    color: var(--text-color);
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hamburger-menu:hover {
    background: var(--button-hover-gradient);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 270px;
    height: 100%;
    background: var(--menu-background);
    z-index: 200;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(10px);
    border-right: 2px solid var(--primary-color);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(93, 63, 211, 0.5);
}

.mobile-menu-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-mobile-menu:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    background: var(--button-gradient);
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.mobile-menu-btn:hover {
    transform: translateX(5px);
    background: var(--button-hover-gradient);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.mobile-menu-btn:hover::before {
    left: 100%;
}

.mobile-menu-btn:active {
    transform: translateX(5px) scale(0.98);
    background: var(--button-active-gradient);
}

.play-mobile-btn {
    background: linear-gradient(135deg, #ff0050, #ff7b00);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.4);
}

.play-mobile-btn:hover {
    background: linear-gradient(135deg, #ff7b00, #ff0050);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.5);
}

@media (max-width: 768px) {
    .control-layout {
        grid-template-columns: 1fr;
    }
    
    .controls-settings {
        max-height: 70vh;
    }
    
    .menu-container {
        flex-direction: column;
        padding-top: 130px;
        padding-bottom: 100px;
    }
    
    .character-preview {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    
    .menu-buttons {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .menu-btn {
        padding: 12px 20px;
        font-size: 1.2rem;
    }
    
    .game-logo h1 {
        font-size: 2.5rem;
    }
    
    .character-model {
        height: 500px;
    }
    
    .menu-container {
        padding-top: 100px;
        padding-bottom: 100px;
        justify-content: flex-start;
    }
    
    .game-logo {
        top: 20px;
        left: 20px;
    }
    
    .game-logo h1 {
        font-size: 2rem;
    }
    
    .bottom-bar {
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .player-stats {
        margin-top: 10px;
    }
    
    .settings-screen {
        width: 90%;
        padding: 20px;
    }
    
    .settings-header h2 {
        font-size: 1.8rem;
    }
    
    .settings-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .item-shop-screen {
        width: 90%;
        padding: 20px;
    }
    
    .shop-header h2 {
        font-size: 1.8rem;
    }
    
    .shop-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .extras-screen {
        width: 90%;
        padding: 20px;
    }
    
    .extras-header h2 {
        font-size: 1.8rem;
    }
    
    .extras-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .play-screen {
        width: 90%;
        padding: 20px;
    }
    
    .play-header h2 {
        font-size: 1.8rem;
    }
    
    .play-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .slider-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slider-label {
        margin-bottom: 10px;
        flex: none;
    }
    
    .slider-control {
        width: 100%;
        flex: none;
    }
    
    .volume-slider {
        width: 75%;
    }
    
    .locker-screen {
        width: 90%;
        padding: 20px;
    }
    
    .locker-header h2 {
        font-size: 1.8rem;
    }
    
    .locker-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .career-screen {
        width: 90%;
        padding: 20px;
    }
    
    .career-header h2 {
        font-size: 1.8rem;
    }
    
    .career-option {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .credits-header h2 {
        font-size: 2rem;
    }
    
    .credits-section h3 {
        font-size: 1.5rem;
    }
    
    .credits-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-container {
        padding: 80px 20px 100px 20px;
    }
    
    .menu-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .character-info h3 {
        font-size: 1.4rem;
    }
    
    .character-info p {
        font-size: 1rem;
    }
    
    .character-model {
        height: 450px;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .hamburger-menu {
        display: flex;
    }
    
    .menu-container {
        visibility: hidden;
    }
    
    .game-logo {
        width: 100%;
        text-align: center;
        left: 0;
    }
    
    .character-preview {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 300px;
        z-index: 5;
        visibility: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .character-info {
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 100%;
        text-align: center;
    }
}

.fallback-character {
    display: none;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .fallback-character {
        display: none;
    }
    
    .character-model canvas {
        display: block;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

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