/* ==========================================================================
   EXTRACTION DUNGEON LANDING PAGE - CUSTOM GOTHIC THEME
   ========================================================================== */

/* Design System / Variables */
:root {
    --bg-darker: #0d0c0e;
    --bg-dark: #161419;
    --bg-light: #242129;
    --border-iron: #3f3a46;
    --text-color: #e2d9c8;
    --text-muted: #8d8575;
    --gold-neon: #c39c43;
    --gold-glow: rgba(195, 156, 67, 0.4);
    --purple-neon: #00ffd8;
    --purple-glow: rgba(0, 255, 216, 0.4);
    --soul-blue: #36889f;
    --soul-glow: rgba(54, 136, 159, 0.4);
    --blood-red: #8f1d24;
    --blood-glow: rgba(143, 29, 36, 0.4);
    --font-medieval: 'MedievalSharp', serif;
    --font-inter: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-color);
    font-family: var(--font-inter);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-light);
    border: 2px solid var(--bg-darker);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-neon);
}

/* Background Canvas */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism utility */
.glass {
    background: rgba(20, 15, 30, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Navigation Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 1000;
    background: rgba(10, 5, 15, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 2, 8, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.navbar .logo {
    font-family: var(--font-medieval);
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-neon);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--purple-neon);
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #fff;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
    width: 100%;
}

/* Buttons */
.gothic-btn {
    font-family: var(--font-medieval);
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-nav {
    border-color: var(--purple-neon);
    color: var(--purple-neon);
    background: rgba(155, 89, 182, 0.08);
}

.btn-nav:hover {
    background: var(--purple-neon);
    color: #fff;
    box-shadow: 0 0 15px var(--purple-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-neon), #8e44ad);
    color: #fff;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--purple-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Pulsing download button animation */
.btn-pulse {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(155, 89, 182, 0.4);
    }
    100% {
        box-shadow: 0 0 25px rgba(155, 89, 182, 0.8);
        transform: scale(1.02);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 8%;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 8, 25, 0.4) 0%, rgba(5, 2, 8, 0.95) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-medieval);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-emblems {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.emblem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(22, 20, 25, 0.65);
    border: 2px solid rgba(195, 156, 67, 0.25);
    border-radius: 40px; /* Gotik kapsül yapısı */
    width: 150px;
    height: 160px;
    padding: 20px 10px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.emblem-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-neon);
    box-shadow: 0 8px 25px var(--gold-glow);
    background: rgba(36, 33, 41, 0.8);
}

.emblem-icon {
    font-size: 2.2rem;
    color: var(--gold-neon);
    text-shadow: 0 0 10px var(--gold-glow);
    margin-bottom: 15px;
    transition: var(--transition);
}

/* Emblem Custom Classes */
.emblem-card.emblem-werewolf {
    border-color: rgba(195, 156, 67, 0.25);
}
.emblem-card.emblem-werewolf:hover {
    border-color: var(--gold-neon);
    box-shadow: 0 8px 25px var(--gold-glow);
}
.emblem-card.emblem-werewolf .emblem-icon {
    color: var(--gold-neon);
    text-shadow: 0 0 10px var(--gold-glow);
}

.emblem-card.emblem-vampire {
    border-color: rgba(0, 255, 216, 0.25);
}
.emblem-card.emblem-vampire:hover {
    border-color: var(--purple-neon);
    box-shadow: 0 8px 25px var(--purple-glow);
}
.emblem-card.emblem-vampire .emblem-icon {
    color: var(--purple-neon);
    text-shadow: 0 0 10px var(--purple-glow);
}

.emblem-card.emblem-wands {
    border-color: rgba(54, 136, 159, 0.25);
}
.emblem-card.emblem-wands:hover {
    border-color: var(--soul-blue);
    box-shadow: 0 8px 25px var(--soul-glow);
}
.emblem-card.emblem-wands .emblem-icon {
    color: var(--soul-blue);
    text-shadow: 0 0 10px var(--soul-glow);
}

.emblem-card.emblem-shield {
    border-color: rgba(143, 29, 36, 0.25);
}
.emblem-card.emblem-shield:hover {
    border-color: var(--blood-red);
    box-shadow: 0 8px 25px var(--blood-glow);
}
.emblem-card.emblem-shield .emblem-icon {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-glow);
}

.emblem-card.emblem-casino {
    border-color: rgba(230, 126, 34, 0.25);
}
.emblem-card.emblem-casino:hover {
    border-color: #e67e22;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}
.emblem-card.emblem-casino .emblem-icon {
    color: #e67e22;
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.4);
}

.emblem-card.emblem-altar {
    border-color: rgba(155, 89, 182, 0.25);
}
.emblem-card.emblem-altar:hover {
    border-color: #9b59b6;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}
.emblem-card.emblem-altar .emblem-icon {
    color: #9b59b6;
    text-shadow: 0 0 10px rgba(155, 89, 182, 0.4);
}

.emblem-text {
    font-family: var(--font-medieval);
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: var(--text-muted);
    font-family: var(--font-medieval);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Sections */
.section {
    padding: 100px 8%;
    position: relative;
}

.alt-bg {
    background-color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-medieval);
    font-size: 2.4rem;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 0 12px 30px rgba(155, 89, 182, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold-neon);
    text-shadow: 0 0 12px var(--gold-glow);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-medieval);
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* How to Play Tabs Panel */
.how-to-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px;
}

.how-to-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    justify-content: center;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-medieval);
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    color: var(--purple-neon);
    text-shadow: 0 0 10px var(--purple-glow);
}

/* Tab contents */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

/* Controls tab content styles */
.controls-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.control-key-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.key-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

kbd {
    background-color: var(--bg-light);
    color: var(--gold-neon);
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-medieval);
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    min-width: 32px;
    text-align: center;
}

.controls-tips {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--purple-neon);
}

.controls-tips h4 {
    font-family: var(--font-medieval);
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--purple-neon);
}

.controls-tips ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.controls-tips ul li {
    display: flex;
    gap: 10px;
}

.controls-tips ul li::before {
    content: '✦';
    color: var(--gold-neon);
}

/* Classes Tab content style */
.classes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.class-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
}

.class-box:hover {
    border-color: rgba(255,255,255,0.15);
    transform: scale(1.01);
}

.class-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.class-header i {
    font-size: 2.2rem;
}

.werewolf .class-header {
    color: var(--gold-neon);
}

.vampire .class-header {
    color: var(--purple-neon);
}

.class-box h3 {
    font-family: var(--font-medieval);
    font-size: 1.3rem;
}

.class-box p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.class-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
}

.class-box ul li i {
    color: var(--gold-neon);
    margin-right: 8px;
}

/* Resources tab content style */
.resources-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.resource-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.res-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.resource-item h4 {
    font-family: var(--font-medieval);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.resource-item p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Progression tab layout */
.progression-layout {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.prog-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--purple-neon);
    box-shadow: 0 0 12px var(--purple-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-medieval);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

.prog-step h4 {
    font-family: var(--font-medieval);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.prog-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Soul Upgrades Grid */
.soul-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.soul-card {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(155, 89, 182, 0.01));
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
}

.soul-card:hover {
    border-color: var(--purple-neon);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15);
}

.soul-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.soul-badge {
    background: rgba(155, 89, 182, 0.2);
    color: #e8d7ff;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: bold;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.soul-card-header i {
    font-size: 1.8rem;
    color: var(--purple-neon);
    text-shadow: 0 0 10px var(--purple-glow);
}

.soul-card h3 {
    font-family: var(--font-medieval);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.soul-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Leaderboard styling */
.leaderboard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaderboard-table th {
    font-family: var(--font-medieval);
    color: var(--gold-neon);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    font-size: 1.05rem;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.leaderboard-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.rank-1 {
    background: rgba(243, 156, 18, 0.05);
}

.rank-2 {
    background: rgba(255, 255, 255, 0.01);
}

.rank-3 {
    background: rgba(155, 89, 182, 0.02);
}

/* Secrets Puzzle Box */
.puzzle-section {
    display: flex;
    justify-content: center;
    padding: 60px 8%;
}

.puzzle-card {
    max-width: 550px;
    width: 100%;
    padding: 30px;
    text-align: center;
}

.puzzle-card h3 {
    font-family: var(--font-medieval);
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--purple-neon);
}

.puzzle-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.puzzle-input-wrapper {
    display: flex;
    gap: 10px;
    max-width: 350px;
    margin: 0 auto;
}

.puzzle-input-wrapper input {
    flex: 1;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(155,89,182,0.3);
    border-radius: 4px;
    color: #fff;
    padding: 8px 12px;
    font-family: var(--font-medieval);
    font-size: 0.95rem;
    text-align: center;
    outline: none;
}

.puzzle-input-wrapper input:focus {
    border-color: var(--purple-neon);
    box-shadow: 0 0 10px var(--purple-glow);
}

.puzzle-msg {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    min-height: 20px;
}

/* Download CTA Section */
.download-section {
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(155, 89, 182, 0.1) 0%, var(--bg-darker) 100%);
}

.download-container {
    max-width: 800px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-container h2 {
    font-family: var(--font-medieval);
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.download-container p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 550px;
}

.file-info {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 6%;
    text-align: center;
}

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

.footer-logo {
    font-family: var(--font-medieval);
    font-size: 1.15rem;
    letter-spacing: 1px;
}

footer p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

/* Glow utility classes */
.neon-purple {
    color: var(--purple-neon);
    text-shadow: 0 0 10px var(--purple-glow);
}

.neon-gold {
    color: var(--gold-neon);
    text-shadow: 0 0 10px var(--gold-glow);
}

.purple-glow {
    color: #d5f7f6;
    text-shadow: 0 0 8px var(--purple-glow);
}

.gold-glow {
    color: #ffecd2;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* Scroll Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
.animate-bounce {
    animation: bounce 1.8s infinite;
}

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

/* Armory Section Styles */
.armory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.weapon-card {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.weapon-card:hover {
    transform: translateY(-5px);
    border-color: rgba(195, 156, 67, 0.4);
    box-shadow: 0 8px 25px rgba(195, 156, 67, 0.15);
}

.weapon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.weapon-tier {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.weapon-tier.legendary { background: #d35400; color: #fff; }
.weapon-tier.epic { background: #8e44ad; color: #fff; }
.weapon-tier.rare { background: #2980b9; color: #fff; }

.weapon-element {
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--text-muted);
}

.weapon-card h3 {
    font-family: var(--font-medieval);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.weapon-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Weapon stats progress bars */
.weapon-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.stat-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.stat-name {
    color: var(--text-muted);
    min-width: 50px;
}

.bar-outer {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-left: 10px;
    overflow: hidden;
}

.bar-inner {
    height: 100%;
    background: var(--gold-neon);
    box-shadow: 0 0 8px var(--gold-glow);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.btn-wiki-detail {
    background: transparent;
    border-color: rgba(255,255,255,0.15);
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.72rem;
    width: 100%;
    justify-content: center;
}

.btn-wiki-detail:hover {
    border-color: var(--gold-neon);
    color: var(--gold-neon);
    background: rgba(195, 156, 67, 0.08);
}

.weapon-detail-box {
    margin-top: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 6px;
    animation: fadeIn 0.3s ease;
}

.detail-text {
    font-size: 0.78rem !important;
    color: var(--text-color) !important;
    margin-bottom: 0 !important;
}

/* Companions Section Styles */
.companions-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.companion-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.companion-card:hover {
    border-color: rgba(155, 89, 182, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.1);
}

.comp-icon {
    font-size: 2.8rem;
    color: var(--purple-neon);
    text-shadow: 0 0 10px var(--purple-glow);
    margin-bottom: 20px;
}

.companion-card h3 {
    font-family: var(--font-medieval);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.companion-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.comp-stat {
    font-size: 0.75rem;
    color: var(--gold-neon);
    background: rgba(195,156,67,0.08);
    border: 1px solid rgba(195,156,67,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-medieval);
}

/* Simulator Section Styles */
.simulator-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(13, 12, 14, 0.75);
}

.sim-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sim-header {
    font-family: var(--font-medieval);
    font-size: 0.95rem;
    color: var(--gold-neon);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}

.sim-switch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sim-switch-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Toggle Switch CSS */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .3s;
    border: 1px solid rgba(255,255,255,0.15);
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .3s;
}

input:checked + .slider {
    background-color: rgba(155, 89, 182, 0.2);
    border-color: var(--purple-neon);
}

input:checked + .slider:before {
    background-color: var(--purple-neon);
    box-shadow: 0 0 8px var(--purple-neon);
    transform: translateX(22px);
}

.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Terminal Simulator Styles */
.sim-terminal {
    background: #050406;
    border: 1px solid rgba(155,89,182,0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 250px;
    overflow: hidden;
}

.terminal-header {
    background: #0d0c0e;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-body {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.4;
}

.log-line {
    color: #2ecc71;
    animation: fadeIn 0.2s ease;
}

.log-line.active-log {
    color: var(--purple-neon);
    text-shadow: 0 0 4px var(--purple-glow);
}

.log-line.system-log {
    color: var(--text-muted);
}


.preview-iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 4px solid var(--border-iron);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--purple-glow);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9; /* keeps 16:9 widescreen layout aspect ratio */
}

.preview-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Responsive adjust */
@media (max-width: 768px) {
    .navbar nav {
        display: none; /* simple stack check: in a real production we could make a burger, but we focus on premium layout */
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .controls-layout, .classes-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .progression-layout {
        flex-direction: column;
        gap: 30px;
    }
}

/* === Auth-Required Download Gate === */
.download-auth-locked {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed !important;
}
.download-auth-locked::after {
    content: '\f023'; /* Font Awesome lock icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--blood-glow, #ff4444);
    opacity: 0.9;
    animation: lockPulse 2s ease-in-out infinite;
}
@keyframes lockPulse {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.15); }
}

/* Auth-required toast notification */
.auth-required-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.95), rgba(60, 10, 10, 0.95));
    border: 1px solid var(--blood-glow, #ff4444);
    border-radius: 12px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100000;
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    backdrop-filter: blur(15px);
    font-size: 0.95rem;
    color: var(--text-light, #e0e0e0);
}
.auth-required-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.auth-required-toast strong {
    color: var(--gold-neon, #ffd700);
}

/* Language Dropdown Selector Styles */
.lang-selector-container {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 140px;
    background: rgba(15, 10, 20, 0.95) !important;
    border: 1px solid var(--gold-neon) !important;
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8), 0 0 15px rgba(195,156,67,0.1);
    display: none;
    flex-direction: column;
}

.lang-option {
    padding: 8px 14px;
    font-size: 0.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-option:hover {
    background: rgba(195,156,67,0.15);
    color: var(--gold-neon);
}
