:root {
    --color-red: #351919; 
    --color-red-dark: #351919;
    --color-gold: #b38740;
    --color-black: #24231f;
    --color-text-light: #e0e0e0;
    --color-text-dark: #1a1a1a;
    
    --font-primary: 'Crimson Text', serif;
    --font-headings: 'Cinzel', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: 
        radial-gradient(ellipse at top, rgba(121, 21, 24, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(179, 135, 64, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 40%, rgba(53, 25, 25, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(36, 35, 31, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 21, 21, 0.7) 0%, rgba(36, 35, 31, 0.65) 25%, rgba(31, 26, 26, 0.65) 50%, rgba(36, 35, 31, 0.65) 75%, rgba(26, 21, 21, 0.7) 100%),
        url('../imgaes/bg.png');
    background-size: 100% 100%, 100% 100%, 200% 200%, 200% 200%, 100% 100%, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed;
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
        radial-gradient(circle at 1px 1px, rgba(179, 135, 64, 0.15) 1px, transparent 0);
    background-size: 100% 100%, 100% 100%, 50px 50px;
    background-position: 0 0, 0 0, 0 0;
    z-index: 0;
    pointer-events: none;
    animation: textureMove 20s linear infinite;
    opacity: 0.4;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(121, 21, 24, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(179, 135, 64, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 1000px 400px at 50% 50%, rgba(53, 25, 25, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: ambientGlow 15s ease-in-out infinite alternate;
}

@keyframes textureMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 50px 50px;
    }
}

@keyframes ambientGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.site-header {
    background-color: rgba(36, 35, 31, 0.2);
    backdrop-filter: blur(10px);
    padding: 30px 0 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.main-logo {
    max-width: 100px;
    height: auto;
    display: block;
}

.main-nav {
    flex: 1;
    background-color: rgba(53, 25, 25, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-gold);
    padding: 15px 20px;
    margin-bottom: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 20px;
    background-color: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    border: none;
}

.nav-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.nav-link.active {
    color: var(--color-gold);
    text-decoration: underline;
}

.nav-link.nav-user {
    color: var(--color-gold);
    font-weight: 700;
    cursor: default;
    text-transform: none !important;
}

.nav-link.nav-user:hover {
    text-decoration: none;
    color: var(--color-gold);
}

@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .main-logo {
        max-width: 80px;
    }
    
    .main-nav {
        width: 100%;
        padding: 12px 15px;
    }
    
    .nav-links {
        gap: 15px;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0 0 0;
    }
    
    .header-container {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .main-logo {
        max-width: 60px;
    }
    
    .main-nav {
        padding: 10px 12px;
    }
    
    .nav-links {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 10px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
    }
    
    .main-nav {
        padding: 8px 10px;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 5px 8px;
    }
}

main {
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(121, 21, 24, 0.15) 100%);
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.features-section {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 40px 40px;
    background-color: transparent;
    align-items: start;
}

.right-column-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-carousel-container {
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 3px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(179, 135, 64, 0.3);
    border-radius: 15px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.features-image {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-red);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    width: 50px;
    height: 50px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--color-gold);
    transform: scale(1.2);
}

.random-item-card {
    background-color: rgba(53, 25, 25, 0.75);
    backdrop-filter: blur(10px);
    border: 3px solid var(--color-gold);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.random-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(179, 135, 64, 0.5);
}

.random-item-header {
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 15px;
}

.random-item-title {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.random-item-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.random-item-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.random-item-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.random-item-nav-btn {
    background: rgba(179, 135, 64, 0.2);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-gold);
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.random-item-nav-btn:hover {
    background: rgba(179, 135, 64, 0.4);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(179, 135, 64, 0.5);
}

.random-item-nav-btn:active {
    transform: scale(0.95);
}

.random-item-nav-btn span {
    display: block;
    margin-top: -2px;
}

.random-item-icon {
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.random-item-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(179, 135, 64, 0.5);
}

.random-item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.random-item-name {
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
    word-break: break-word;
    cursor: pointer;
    transition: color 0.3s ease;
}

.random-item-name:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.random-item-id {
    font-size: 14px;
    color: var(--color-text-light);
    opacity: 0.8;
    text-align: center;
}

.random-item-id span {
    font-weight: 600;
    color: var(--color-gold);
}

.action-section {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.social-button {
    background-color: var(--color-red);
    color: var(--color-text-light);
    border: 3px solid var(--color-gold);
    padding: 15px 30px;
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: inline-block;
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.social-button:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(179, 135, 64, 0.5);
}

.download-button {
    background-color: var(--color-red);
}

.discord-button {
    background-color: #5865F2;
}

.youtube-button {
    background-color: #FF0000;
}

.twitter-button {
    background-color: #1DA1F2;
}

.facebook-button {
    background-color: #1877F2;
}

.online-status-section {
    background-color: rgba(53, 25, 25, 0.75);
    backdrop-filter: blur(10px);
    border: 3px solid var(--color-gold);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.online-status-title {
    font-family: var(--font-headings);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.online-status-number {
    font-family: var(--font-headings);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text-light);
    text-align: center;
}

.online-status-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
    color: var(--color-text-light);
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}

.badge-cards-section {
    max-width: 1800px;
    margin: 0 auto;
    padding: 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.badge-card {
    background-color: rgba(53, 25, 25, 0.75);
    backdrop-filter: blur(10px);
    border: 3px solid var(--color-gold);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(179, 135, 64, 0.5);
}

.badge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 10px;
}

.badge-card-title {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-card-date {
    font-size: 14px;
    color: var(--color-text-light);
    opacity: 0.8;
}

.badge-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge-card-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-card-item-title {
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-light);
}

.badge-card-item-description {
    font-size: 14px;
    color: var(--color-text-light);
    opacity: 0.9;
    line-height: 1.5;
}

.badge-card-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 6px;
    transition: color 0.3s ease;
}

.badge-card-link:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.badge-card-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.badge-card-item-placeholder {
    padding: 15px;
    text-align: center;
    color: var(--color-text-light);
    opacity: 0.7;
    font-style: italic;
}

.clickable-news-item,
.clickable-patch-item {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.clickable-news-item:hover,
.clickable-patch-item:hover {
    background-color: rgba(179, 135, 64, 0.1);
    transform: translateX(5px);
}

.clickable-news-item:last-child,
.clickable-patch-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.site-footer {
    background-color: rgba(53, 25, 25, 0.9);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--color-gold);
    padding: 20px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
}

.site-footer p {
    color: var(--color-text-light);
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .main-logo {
        max-width: 65px;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .right-column-cards {
        gap: 12px;
    }
    
    .action-section {
        padding: 20px 20px;
    }
    
    .social-buttons-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .social-button {
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .badge-cards-section {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 15px;
    }
}

.modal {
    display: none;
}

.modal.show {
    display: flex;
}

.modal .close:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.modal .alchemy-close-btn:hover {
    background-color: var(--color-gold) !important;
    color: var(--color-black) !important;
    transform: translateY(-2px);
}

.item-info-modal {
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) var(--color-black);
}

.item-info-modal::-webkit-scrollbar {
    width: 10px;
}

.item-info-modal::-webkit-scrollbar-track {
    background: var(--color-black);
}

.item-info-modal::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 15px;
}

.item-info-modal::-webkit-scrollbar-thumb:hover {
    background: #c9a055;
}

@media (max-width: 768px) {
    .item-info-modal {
        max-width: 95% !important;
        max-height: 95vh !important;
    }
    
    .item-info-content > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

.login-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    background-color: transparent;
}

.login-card {
    background-color: rgba(53, 25, 25, 0.85);
    backdrop-filter: blur(15px);
    border: 3px solid var(--color-gold);
    border-radius: 18px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.login-card .brand-logo {
    display: block;
    text-align: center;
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.login-card .brand-logo:hover {
    color: #c9a055;
}

.login-card h2 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-headings);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(36, 35, 31, 0.8);
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c9a055;
    background-color: rgba(36, 35, 31, 1);
    box-shadow: 0 0 10px rgba(179, 135, 64, 0.3);
}

.login-card .btn {
    width: 100%;
    padding: 15px;
    background-color: var(--color-red);
    color: var(--color-text-light);
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-card .btn:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(179, 135, 64, 0.5);
}

.login-error {
    background-color: rgba(121, 21, 24, 0.5);
    border: 2px solid var(--color-red);
    color: var(--color-text-light);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-primary);
}

.login-success {
    background-color: rgba(53, 25, 25, 0.8);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-primary);
}

.login-links {
    margin-top: 25px;
    text-align: center;
}

.login-links a {
    color: var(--color-gold);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #c9a055;
    text-decoration: underline;
}

.lang-selector {
    position: relative;
    margin-left: 20px;
    flex-shrink: 0;
}

.lang-selector-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    margin: 0;
}

.lang-selector .lang-toggle {
    background: var(--color-red-dark);
    border: 2px solid var(--color-gold);
    color: var(--color-text-light);
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lang-selector .lang-toggle:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 135, 64, 0.6);
}

.lang-selector .lang-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 5px);
    background: var(--color-red-dark);
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    display: none;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    overflow: hidden;
}

.lang-selector-fixed .lang-menu {
    bottom: calc(100% + 5px);
    top: auto;
}

.lang-selector.open .lang-menu {
    display: block;
}

.lang-selector .lang-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    background: transparent;
    color: var(--color-text-light);
    border: 0;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(179, 135, 64, 0.2);
}

.lang-selector .lang-menu button:last-child {
    border-bottom: none;
}

.lang-selector .lang-menu button:hover {
    background: rgba(179, 135, 64, 0.2);
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .login-container {
        padding: 40px 20px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .login-card .brand-logo {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .login-card h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .lang-selector-fixed {
        bottom: 15px;
        left: 15px;
    }
    
    .lang-selector .lang-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .lang-selector .lang-menu {
        min-width: 120px;
        bottom: calc(100% + 5px);
    }
    
    .profile-container {
        padding: 20px !important;
    }
    
    .characters-list {
        grid-template-columns: 1fr !important;
    }
    
    .profile-page-wrapper {
        flex-direction: column;
        padding: 20px !important;
    }
    
    .profile-sidebar {
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
    }
    
    .profile-menu-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .profile-menu-item {
        margin-bottom: 0 !important;
    }
}

.donation-amount-card {
    transition: all 0.3s ease;
}

.donation-amount-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(179, 135, 64, 0.5);
    border-color: #c9a055;
}

.donation-amount-card:active {
    transform: translateY(-2px);
}

.profile-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px;
}

.character-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(179, 135, 64, 0.5);
}

.profile-username,
.profile-username *,
h1.profile-username,
h1.profile-username * {
    text-transform: none !important;
    font-variant: normal !important;
    font-feature-settings: normal !important;
}

.character-card h3,
.character-card h3 *,
h3.character-card,
h3.character-card * {
    text-transform: none !important;
    font-variant: normal !important;
    font-feature-settings: normal !important;
}

.profile-header-section .profile-username,
.profile-header-section .profile-username *,
.characters-section .character-card h3,
.characters-section .character-card h3 * {
    text-transform: none !important;
    font-variant: normal !important;
    font-feature-settings: normal !important;
}

.profile-page-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: rgba(53, 25, 25, 0.85);
    backdrop-filter: blur(10px);
    border: 3px solid var(--color-gold);
    border-radius: 15px;
    padding: 20px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.profile-sidebar::-webkit-scrollbar {
    width: 8px;
}

.profile-sidebar::-webkit-scrollbar-track {
    background: rgba(36, 35, 31, 0.5);
    border-radius: 8px;
}

.profile-sidebar::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 8px;
}

.profile-sidebar::-webkit-scrollbar-thumb:hover {
    background: #c9a055;
}

.profile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.profile-menu-item:hover {
    background-color: rgba(179, 135, 64, 0.2);
    color: var(--color-gold);
    transform: translateX(5px);
}

.profile-menu-item.active {
    background-color: rgba(179, 135, 64, 0.2);
    border-left: 3px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
}

.profile-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .profile-page-wrapper {
        flex-direction: column;
        padding: 20px;
    }
    
    .profile-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .profile-menu-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .profile-menu-item {
        margin-bottom: 0;
    }
}

.item-showcase {
    margin: 20px 0;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(53, 25, 25, 0.3);
    border: 2px solid var(--color-gold);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.item-row:hover {
    background-color: rgba(53, 25, 25, 0.5);
    transform: translateX(5px);
}

.item-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.clickable-item-icon {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 2px;
}

.clickable-item-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(179, 135, 64, 0.5);
}

.item-info {
    flex: 1;
    color: var(--color-text-light);
}

.item-info strong {
    color: var(--color-gold);
    font-family: var(--font-headings);
    font-size: 1.1rem;
}

.item-info em {
    color: var(--color-text-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

.multilingual-content {
    display: none;
}

.multilingual-content[data-lang="en"] {
    display: block;
}

