* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #050505;
    font-family: 'Cinzel', serif;
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img {
    border-radius: 8px !important;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #d4af37;
    border-right-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.loader-text {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    animation: blink 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8a6d3b, #d4af37, #8a6d3b);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f9dfa1;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    margin-left: 240px;
    min-height: 100vh;
    max-width: 100%;
}

.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    scroll-margin-top: 80px;
}

.hero-content {
    max-width: 100%;
    width: 1200px;
    padding: 40px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.cta-button:hover {
    background: #d4af37;
    color: #050505;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

header {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

main {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 5rem;
    margin: 0;
    letter-spacing: 8px;
    color: #d4af37;
    background: linear-gradient(to bottom, #f9dfa1 0%, #d4af37 50%, #8a6d3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    text-transform: uppercase;
    font-weight: 900;
    max-width: 100%;
    word-wrap: break-word;
}

.divider {
    width: 300px;
    max-width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 20px auto;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(5, 5, 5, 0.95) 100%);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    backdrop-filter: blur(15px);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8a6d3b, #d4af37, #8a6d3b);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.sidebar-logo {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: #d4af37;
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px auto;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.sidebar-logo:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

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

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: rgba(224, 224, 224, 0.65);
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    text-transform: uppercase;
    white-space: nowrap;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
    color: #d4af37;
    border-left: 3px solid #d4af37;
    padding-left: 15px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    font-weight: 500;
}

.presentation-section {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(5, 5, 5, 0.7) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 35px 45px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(12px);
    line-height: 1.6;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 80px;
    overflow: hidden;
    position: relative;
}

.presentation-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.presentation-section h2 {
    color: #d4af37;
    font-size: 2.5rem;
    margin-top: 0;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
    margin-bottom: 25px;
    word-wrap: break-word;
}

.presentation-section h3 {
    color: #d4af37;
    font-size: 2.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.presentation-section p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.section-flex {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    max-width: 100%;
    margin-bottom: 40px;
}

.section-flex.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
    min-width: 0;
}

.section-image {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
}

.character-render {
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.flags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.flag-item {
    width: 55px;
    height: 35px;
    animation: float-flag 4s ease-in-out infinite;
}

@keyframes float-flag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.flag-item img {
    width: 100%;
    border-radius: 3px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: all 0.3s ease;
}

.character-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.character-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.4s ease;
    width: 100%;
}

.character-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(8px);
}

.char-image {
    flex: 0 0 140px;
    max-width: 100%;
}

.char-image img {
    width: 100%;
    height: auto;
}

.char-info {
    min-width: 0;
}

.char-info h3 {
    color: #d4af37;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    word-wrap: break-word;
}

.specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.specialization span {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.dungeon-gallery {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dungeon-img-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    text-align: center;
}

.dungeon-screenshot {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.img-caption {
    display: inline-block;
    margin-top: 12px;
    margin-bottom: 20px;
    padding: 8px 25px;
    font-family: 'Cinzel', serif;
    color: #fff;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.6);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    position: relative;
    max-width: 100%;
}

.img-caption::before, .img-caption::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 15px;
    height: 1px;
    background: #d4af37;
}

.img-caption::before { left: -20px; }
.img-caption::after { right: -20px; }

.alchemy-stones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    width: 100%;
}

.stone-item {
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid #d4af37;
    padding: 10px 15px;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.refinement-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.refine-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.refine-card { 
    flex: 1; 
    min-width: 250px;
    text-align: center; 
}

.refine-card img {
    max-width: 100%;
    height: auto;
}

.alchemy-footer {
    margin-top: 40px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.alchemy-advanced {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    width: 100%;
}

.sash-gallery-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.sash-model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.sash-renders {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 6px;
    align-items: center;
}

.sash-renders img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1001;
    font-family: 'Cinzel', serif;
}

.lang-selected {
    background: rgba(10, 10, 10, 0.9);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 8px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 140px;
}

.lang-selected:hover {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.lang-selected img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 100%;
    backdrop-filter: blur(10px);
}

.lang-dropdown.open {
    display: flex;
}

.lang-option {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #fff;
    font-size: 0.8rem;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 5px;
    z-index: 1000;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
    transition: left 0.4s ease;
}

.mobile-toggle.open {
    left: 300px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #d4af37;
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .language-selector {
        right: 20px;
        top: 20px;
    }

    .mobile-toggle { 
        display: flex; 
        top: 20px;
        left: 20px;
    }

    .mobile-toggle.open {
        left: 215px;
        background: transparent;
        border-color: rgba(212, 175, 55, 0.3);
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        width: 280px;
        background: rgba(5, 5, 5, 0.98);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.8);
        padding-top: 20px;
    }

    .sidebar-logo {
        margin: 0 0 40px 40px;
    }

    .sidebar.open { transform: translateX(0); }
    .content-wrapper { margin-left: 0; padding-top: 60px; }
    .section-flex { flex-direction: column-reverse; align-items: center; }
    .section-flex.reverse { flex-direction: column; }
    #predstaveni .section-image { display: none; }
    .section-image { flex: 0 0 auto; width: 100%; max-width: 300px; margin-bottom: 20px; }
    .mobile-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .shop-render-wrapper {
        flex: 0 0 auto !important;
        width: 120px !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 260px;
    }
    .mobile-toggle.open {
        left: 175px;
    }
    .sidebar-logo {
        margin-left: 25px;
    }
}

@media (max-width: 900px) {
    .refine-grid, .dungeon-gallery { flex-direction: column; align-items: center; }
    .skills-info-grid { grid-template-columns: 1fr; }
    .pet-ui-wrapper { flex: 1; width: 100%; max-width: 450px; }
    .qol-grid { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; letter-spacing: 4px; }
    .hero-subtitle { font-size: 1.1rem; }
    .presentation-section { padding: 25px 20px; }
    .presentation-section h2 { font-size: 2rem; }
    .character-card { flex-direction: column; text-align: center; }
    .char-image { width: 120px; flex: 0 0 auto; }
    .specialization { justify-content: center; }
    .aura-evolution-grid { grid-template-columns: repeat(2, 1fr); }
    .bio-ui-wrapper { flex: 1; width: 100%; max-width: 400px; }
    .skills-info-grid { display: block !important; }
    .skill-learning { width: 100% !important; margin-bottom: 20px; }
    .skill-types { display: none !important; }
}

@media (max-width: 600px) {
    .talisman-grid { grid-template-columns: 1fr; }
    .faq-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; letter-spacing: 2px; }
    .hero-content { padding: 20px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .cta-button { padding: 12px 25px; font-size: 1rem; }
    .presentation-section { padding: 20px 15px; margin-bottom: 40px; }
    .presentation-section h2 { font-size: 1.5rem; padding-bottom: 10px; margin-bottom: 20px; }
    .presentation-section p { font-size: 1rem; }
    .content-wrapper { padding: 0 15px; }
    .faq-container { grid-template-columns: 1fr; }
    .aura-evolution-grid { grid-template-columns: 1fr; }
    .pet-skills-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .skill-learning, .skill-types { padding: 15px; }
    .skill-box { padding: 10px; }
    .alchemy-stones-grid { grid-template-columns: 1fr; }
    .stone-item { font-size: 0.85rem; }
    .pet-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .sidebar-logo { margin-bottom: 30px; width: 60px; height: 60px; font-size: 2rem; }
    .social-btn { min-width: 100%; padding: 10px 20px; }
}

@media (max-width: 360px) {
    h1 { font-size: 1.8rem; }
    .lang-selected { min-width: 110px; gap: 5px; }
    .mobile-toggle { width: 40px; height: 40px; top: 15px; left: 15px; }
}

.img-placeholder {
    position: relative;
    background: #111;
    overflow: hidden;
    border-radius: 8px;
}

.img-placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shimmer-effect 2s infinite;
}

@keyframes shimmer-effect {
    100% {
        transform: translateX(100%);
    }
}

img[loading="lazy"] {
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s ease-out;
    transform: scale(1.02);
    will-change: opacity, filter, transform;
}

img.loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.character-render, 
.dungeon-screenshot, 
.flag-item img, 
.char-image img,
.sash-renders img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
}

.character-render:hover, 
.dungeon-screenshot:hover, 
.flag-item img:hover, 
.char-image img:hover,
.sash-renders img:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 15px 25px rgba(212, 175, 55, 0.3));
    border-color: rgba(212, 175, 55, 0.6) !important;
}

.flag-item img:hover {
    transform: translateY(-5px) scale(1.1);
}

.sash-renders img:hover {
    transform: translateY(-5px) scale(1.15);
}

.aura-evolution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.aura-evo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.aura-evo-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.aura-evo-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    margin-bottom: 10px;
}

.aura-evo-card h4 {
    color: #d4af37;
    margin: 10px 0 5px 0;
    text-transform: uppercase;
    font-size: 1rem;
}

.aura-evo-card span {
    font-size: 0.8rem;
    color: #aaa;
    font-family: 'Lora', serif;
}

.runes-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid #d4af37;
    width: 100%;
}

.rune-item {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.rune-item strong {
    color: #d4af37;
}

.talisman-list-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.talisman-list-container h3 {
    color: #d4af37;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.talisman-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    width: 100%;
}

.talisman-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.talisman-card:hover {
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.talisman-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.talisman-info {
    min-width: 0;
}

.talisman-info h4 {
    color: #d4af37;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    word-wrap: break-word;
}

.talisman-info p {
    font-size: 0.9rem;
    margin: 0;
    color: #ccc;
    line-height: 1.4;
}

.talisman-example {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.biologist-intro {
    margin-bottom: 40px;
    width: 100%;
}

.bio-ui-wrapper {
    flex: 0 0 350px;
    max-width: 100%;
}

.bio-table-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.bio-table-container h3 {
    color: #d4af37;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    -webkit-overflow-scrolling: touch;
}

.bio-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-family: 'Lora', serif;
    color: #e0e0e0;
}

.bio-table th {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    text-align: left;
    padding: 15px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.bio-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 1rem;
}

.bio-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

.bio-table tr:last-child td {
    border-bottom: none;
}

.special-row td {
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
    font-family: 'Cinzel', serif;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px;
    font-size: 0.9rem;
}

.pet-intro {
    margin-bottom: 50px;
    width: 100%;
}

.pet-ui-wrapper {
    flex: 0 0 400px;
    max-width: 100%;
}

.pet-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pet-features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-family: 'Lora', serif;
    color: #e0e0e0;
}

.pet-features-list li::before {
    content: "◈";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 1.2rem;
}

.pet-showcase {
    margin: 40px 0;
    padding: 30px;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    width: 100%;
}

.pet-showcase h3 {
    color: #d4af37;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    width: 100%;
}

.pet-card {
    text-align: center;
    transition: all 0.3s ease;
}

.pet-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: all 0.4s ease;
}

.pet-card h4 {
    margin-top: 10px;
    color: #d4af37;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.pet-card:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 15px 20px rgba(212, 175, 55, 0.3));
}

.pet-skills-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.pet-skills-container h3 {
    color: #d4af37;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.skills-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
    width: 100%;
}

.skill-learning, .skill-types {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.skill-learning h4, .skill-types h4 {
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1rem;
}

.pet-skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.skill-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.skill-box span {
    color: #d4af37;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.skill-box:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pet-dual-info {
    margin-top: 30px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px dashed #d4af37;
    padding: 20px;
    width: 100%;
}

.pet-dual-info h3 {
    margin-top: 0;
    color: #d4af37;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.skill-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.skill-item h4 {
    color: #d4af37;
    margin: 0 0 10px 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.skill-item p {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
}

.upgrade-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.upgrade-card {
    flex: 1;
    min-width: 250px;
    background: rgba(212, 175, 55, 0.03);
    border-left: 3px solid #d4af37;
    padding: 15px;
}

.upgrade-card h4 {
    color: #d4af37;
    margin-top: 0;
    text-transform: uppercase;
}

.stats-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.stats-table th, .stats-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-table th {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.shop-render-wrapper {
    flex: 0 0 200px !important;
    max-width: 100%;
}

.shop-render-wrapper img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.shop-search-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.full-width-ui {
    max-width: 900px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    height: auto;
}

.wiki-preview-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.wiki-preview-container .full-width-ui {
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.event-card-item {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid #d4af37;
}

.event-card-item:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
}

.event-card-item h4 {
    color: #d4af37;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.event-card-item p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.qol-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    width: 100%;
}

.qol-column {
    flex: 1;
    min-width: 0;
}

.qol-column h3 {
    color: #d4af37;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
    width: 100%;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item h4 {
    color: #d4af37;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.faq-item p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.footer-content {
    text-align: center;
    width: 100%;
}

.social-links-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.social-links-container h3 {
    color: #d4af37;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.social-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background: rgba(212, 175, 55, 0.05);
    min-width: 180px;
    text-align: center;
}

.social-btn:hover {
    background: #d4af37;
    color: #050505;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #d4af37;
    color: #050505;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

#back-to-top span {
    font-weight: bold;
    transition: transform 0.3s ease;
}

#back-to-top:hover span {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

.locations-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 1rem;
}

.tab-button.active {
    background: #d4af37;
    color: #050505;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.location-card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    transition: background 0.3s ease;
}

.location-card:hover .location-overlay {
    background: linear-gradient(to top, rgba(212, 175, 55, 0.4), transparent);
}

.location-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.location-type {
    font-size: 0.8rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

.location-card:hover .location-type {
    color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
}

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