/* ========================================
   HIGH FREQUENCY ROHAN - CLASSIC FANTASY RPG THEME
   All backend/functions preserved - Design only
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=MedievalSharp&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Classic Fantasy RPG Color Palette */
    --primary: #c9a227;
    --primary-dark: #8b6914;
    --primary-light: #e8c547;
    --primary-glow: rgba(201, 162, 39, 0.5);
    --accent: #8b0000;
    --accent-dark: #5c0000;
    --accent-light: #b22222;
    --bg-dark: #1a1410;
    --bg-surface: #2a1f18;
    --bg-card: rgba(26, 20, 16, 0.95);
    --text-main: #f4e4bc;
    --text-body: #c9b896;
    --text-muted: #8a7a6a;
    --success: #2e8b57;
    --danger: #cc3300;
    --border-color: rgba(201, 162, 39, 0.3);
    --border-radius-lg: 8px;
    --border-radius-sm: 4px;
    --glass-bg: rgba(26, 20, 16, 0.9);
    --glass-blur: blur(20px);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(201, 162, 39, 0.15);
    --container-width: 100%;
    --container-max-width: 100%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fantasy-brown: #3d2817;
    --fantasy-parchment: #d4c4a8;
    --fantasy-dark: #0f0a08;
}

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

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid rgba(201, 162, 39, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.6);
}

body {
    background: var(--bg-dark);
    color: var(--text-body);
    font-family: 'Montserrat', -apple-system, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(ellipse 100% 60% at 50% -20%, rgba(201, 162, 39, 0.06), transparent),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.04), transparent),
        radial-gradient(circle at 20% 20%, rgba(61, 40, 23, 0.15), transparent);
    position: relative;
    text-align: left;
}

/* Global text alignment reset */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Ensure all text containers inherit left alignment */
div, span, p, h1, h2, h3, h4, h5, h6, li, td, th, label, input, select, textarea, button, a {
    text-align: inherit;
}

/* Force left alignment on body and main containers */
body, main, section, article, aside, .glass-card, .content-area, .sidebar {
    text-align: left !important;
}

/* Center alignment utilities */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Table alignment fixes */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    text-align: left;
    padding: 12px;
    vertical-align: middle;
}

/* List alignment fixes */
ul, ol {
    text-align: left;
    padding-left: 20px;
}

li {
    text-align: left;
}

/* Flex container alignment fixes */
.flex-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flex-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(201, 162, 39, 0.18), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(201, 162, 39, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(201, 162, 39, 0.3), transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 300px 90px, rgba(201, 162, 39, 0.18), transparent),
        radial-gradient(1px 1px at 350px 200px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 400px 130px, rgba(201, 162, 39, 0.2), transparent);
    background-size: 500px 500px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: twinkle 10s ease-in-out infinite alternate;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.5; }
    100% { opacity: 0.3; }
}

/* Fantasy decorative elements */
.fantasy-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.fantasy-rune {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary), 0 0 16px var(--primary-glow);
    animation: runePulse 4s ease-in-out infinite;
}

.fantasy-rune::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 50%;
}

@keyframes runePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Hero fantasy effect */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(61, 40, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    background-color: var(--bg-dark);
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/highfrequencybg.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(26, 20, 16, 0.4) 0%, 
        rgba(26, 20, 16, 0.2) 50%, 
        rgba(26, 20, 16, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 80px;
}

.hero-logo-container {
    margin-bottom: 20px;
}

.hero-logo-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(201, 162, 39, 0.4));
    animation: logoFloat 4s ease-in-out infinite;
}

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

.hero-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.6), 0 0 60px rgba(201, 162, 39, 0.4);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'MedievalSharp', cursive;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0 0 0;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(201, 162, 39, 0.4), 0 0 50px rgba(201, 162, 39, 0.2);
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-box {
    text-align: center;
    padding: 20px 30px;
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
}

.stat-number {
    font-family: 'MedievalSharp', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
}

.stat-text {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== DASHBOARD STYLES ========== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    margin-top: 0;
}

.logged-in .dashboard-container {
    margin-top: 0;
}

.logged-in .hero-section {
    display: none !important;
}

.logged-in #welcome {
    display: none !important;
}

.logged-in main.main-content {
    padding-top: 0 !important;
}

.logged-in .welcome-banner {
    margin-top: 0 !important;
}

.dashboard-sidebar {
    width: 320px;
    background: linear-gradient(180deg, rgba(23, 18, 15, 0.98), rgba(15, 11, 8, 0.96));
    border-right: 1px solid rgba(201, 162, 39, 0.2);
    padding: 0;
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
    position: relative;
}

.sidebar-logo {
    flex-shrink: 0;
}

.sidebar-logo img {
    width: 120px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.4));
}

.sidebar-title {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.sidebar-nav {
    flex: 1;
    padding: 0 15px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 25px;
}

.nav-section-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-left: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-body);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.nav-item i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.6), rgba(139, 0, 0, 0.4));
    color: #f4e4bc;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.nav-item.active i {
    color: var(--primary);
}

.nav-item.play-btn {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.nav-item.play-btn:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.2));
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.nav-item.play-btn i {
    color: #22c55e;
}

.nav-item.nav-btn-red {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(139, 0, 0, 0.2));
    border: 1px solid rgba(139, 0, 0, 0.4);
    color: #ff4444;
}

.nav-item.nav-btn-red:hover {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.4), rgba(139, 0, 0, 0.3));
    border-color: rgba(139, 0, 0, 0.6);
    color: #ff4444;
}

.nav-item.nav-btn-red i {
    color: #ff4444;
}

.nav-item.nav-btn-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.nav-item.nav-btn-green:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(34, 197, 94, 0.3));
    border-color: rgba(34, 197, 94, 0.6);
    color: #22c55e;
}

.nav-item.nav-btn-green i {
    color: #22c55e;
}

.nav-item.nav-btn-red.active {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.5), rgba(139, 0, 0, 0.4));
    border-color: rgba(139, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.nav-item.nav-btn-green.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(34, 197, 94, 0.4));
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* Account Submenu */
.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-left: 10px;
}

.nav-submenu.expanded {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.nav-submenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px 10px 25px;
    color: var(--text-body);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.nav-submenu-item i {
    font-size: 14px;
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.nav-submenu-item:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary);
}

.nav-submenu-item.active {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.6), rgba(139, 0, 0, 0.4));
    color: #f4e4bc;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.nav-submenu-item.active i {
    color: var(--primary);
}

.nav-dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.nav-dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link.discord {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.social-link i {
    font-size: 18px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: var(--text-body);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.footer-link i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer-link:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary);
}

.footer-link.logout {
    color: #ff4444;
}

.footer-link.logout i {
    color: #ff4444;
}

.footer-link.logout:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff6666;
}

.footer-link.logout:hover i {
    color: #ff6666;
}

.dashboard-main {
    flex: 1;
    margin-left: 320px;
    padding: 30px 40px;
    background: linear-gradient(180deg, rgba(23, 18, 15, 0.5), rgba(15, 11, 8, 0.3));
    margin-top: 0;
    max-width: calc(100% - 320px);
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-content i {
    font-size: 32px;
    color: #22c55e;
}

.banner-text h2 {
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
    margin: 0 0 5px 0;
}

.banner-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.dashboard-section {
    margin-bottom: 35px;
}

.section-header {
    margin-bottom: 20px;
    text-align: left;
}

.section-header h2 {
    font-family: 'MedievalSharp', cursive;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.shop-section {
    margin-bottom: 40px;
    max-width: 100%;
}

.characters-content {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.character-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.character-card:hover {
    transform: translateX(5px);
    border-color: rgba(201, 162, 39, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.character-icon {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    flex-shrink: 0;
}

.character-icon img {
    width: 56px;
    height: 56px;
}

.character-info h3 {
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px 0;
}

.character-class {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.character-level {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.character-level span {
    color: #22c55e;
    font-weight: 800;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-state h3 {
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0;
}

.empty-state p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Shop Styles */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(139, 0, 0, 0.1));
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
}

.shop-title h1 {
    font-family: 'MedievalSharp', cursive;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 5px 0;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.shop-title p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.shop-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
}

.shop-balance i {
    font-size: 24px;
    color: #22c55e;
}

.shop-balance span {
    font-family: 'MedievalSharp', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #22c55e;
}

.shop-balance small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.shop-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-wrapper {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: #1a1410;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.3);
}

.shop-messages {
    margin-bottom: 20px;
}

.shop-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.shop-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.shop-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.shop-item-card {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.shop-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.15);
}

.item-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.item-stack-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(201, 162, 39, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* Account Submenu */
.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
    margin-top: 5px;
}

.nav-submenu.expanded {
    max-height: 500px;
}

.nav-submenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 13px;
    margin-bottom: 4px;
}

.nav-submenu-item:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary);
}

.nav-submenu-item.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.nav-item:hover:not(.active) {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary);
}

.nav-item.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.nav-dropdown-arrow {
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown-arrow.rotated {
    transform: rotate(180deg);
}

/* Transaction History Styles */
.filter-tab {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-tab:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.4);
    color: var(--primary);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), #d97706);
    border-color: var(--primary);
    color: white;
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-2px);
}

.transaction-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transaction-icon.icon-topup {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.transaction-icon.icon-purchase {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    color: #a855f7;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.transaction-icon i {
    font-size: 20px;
}

.transaction-details {
    flex: 1;
    min-width: 0;
}

.transaction-description {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaction-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.meta-amount {
    color: var(--text-muted);
}

.meta-bonus {
    color: #22c55e;
    font-weight: 600;
}

.transaction-right {
    text-align: right;
    flex-shrink: 0;
}

.transaction-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.transaction-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: linear-gradient(135deg, var(--primary), #d97706);
    border-color: var(--primary);
    color: white;
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary), #d97706);
    border-color: var(--primary);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 16px;
}

.empty-state h4 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
}

.empty-state p {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.item-details {
    flex: 1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
    line-height: 1.3;
}

.item-category {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.shop-item-card .item-stats-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.shop-item-card .stats-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.shop-item-card .stats-content span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b0b0b0;
    padding: 4px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    margin-bottom: 0;
}

.shop-item-card .stats-content span:last-child {
    border-bottom: none;
}

.shop-item-card .stats-content strong {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.shop-item-card .item-info-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.shop-item-card .item-description {
    font-size: 13px;
    color: #c0c0c0;
    margin: 0;
    line-height: 1.5;
}

.shop-item-card .item-description font {
    color: var(--primary);
    font-weight: 600;
}

/* Top Up Page Styles */
.topup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.package-card {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.15);
}

.package-card.selected {
    border-color: var(--primary);
    background: rgba(201, 162, 39, 0.1);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.package-amount {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

.package-rps {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.package-bonus {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.payment-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 30px;
}

.qr-section {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.qr-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-details {
    flex: 1;
}

.qr-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--primary);
    margin: 0 0 15px 0;
}

.qr-details p {
    font-size: 16px;
    color: var(--text-body);
    margin: 0 0 10px 0;
}

.qr-details strong {
    color: #ffd700;
    font-size: 20px;
}

.qr-details .note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
}

.topup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input,
.form-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}

.form-input[readonly] {
    background: rgba(201, 162, 39, 0.1);
    cursor: default;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.history-table-wrapper {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.modern-table thead {
    background: rgba(201, 162, 39, 0.1);
}

.modern-table th {
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table td {
    padding: 15px;
    color: var(--text-body);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.modern-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.05);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-secondary {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.badge-live {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

.badge-offline {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Special Menu Items */
.nav-item.streamer-menu {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.1));
    border-color: rgba(155, 89, 182, 0.4);
}

.nav-item.streamer-menu:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.25), rgba(155, 89, 182, 0.18));
    border-color: rgba(155, 89, 182, 0.6);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

.nav-item.streamer-menu i {
    color: #9b59b6;
}

.nav-item.admin-menu {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
}

.nav-item.admin-menu:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.18));
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.nav-item.admin-menu i {
    color: #ef4444;
}

/* Admin Page Styles */
.admin-form-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.admin-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.action-btn-small {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn-small.live {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
}

.action-btn-small.live:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.action-btn-small.offline {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: white;
}

.action-btn-small.offline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.action-btn-small.delete {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: white;
}

.action-btn-small.delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.action-btn-small.approve {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
}

.action-btn-small.approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.action-btn-small.reject {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: white;
}

.action-btn-small.reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-inactive {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-live {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

.status-offline {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.no-action {
    color: var(--text-muted);
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-col label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input-new,
.form-select-new {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input-new:focus,
.form-select-new:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
    background: rgba(0, 0, 0, 0.7);
}

.submit-btn {
    padding: 14px 25px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(139, 0, 0, 0.6));
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 8px;
    color: #f4e4bc;
    font-family: 'MedievalSharp', cursive;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(139, 0, 0, 0.7));
    border-color: rgba(201, 162, 39, 0.6);
}

.shop-messages {
    margin-bottom: 30px;
}

.shop-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.shop-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.shop-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.shop-message i {
    font-size: 18px;
}

.rps-value {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

/* Dashboard Server Information Styles */
.server-header-card {
    background: linear-gradient(145deg, rgba(23, 18, 15, 0.95), rgba(15, 11, 8, 0.92));
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.server-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.05), transparent 50%);
    pointer-events: none;
}

.server-header-title {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.server-header-title h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
    letter-spacing: 3px;
}

.server-header-title p {
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 2px;
}

.server-header-subtitle {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.server-header-subtitle p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
    font-style: italic;
    line-height: 1.6;
}

.server-header-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.server-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'MedievalSharp', cursive;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.server-stat i {
    color: var(--primary);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.15);
}

.feature-item i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.feature-list {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px;
}

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

.feature-list li {
    padding: 10px 0;
    color: var(--text-body);
    font-size: 15px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.feature-list li:last-child {
    border-bottom: none;
}

.progression-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .progression-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .progression-tiers {
        grid-template-columns: 1fr;
    }
}

.progression-tier {
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
}

.progression-tier.tier-easy {
    border-color: rgba(34, 197, 94, 0.4);
}

.progression-tier.tier-medium {
    border-color: rgba(201, 162, 39, 0.4);
}

.progression-tier.tier-hard {
    border-color: rgba(239, 68, 68, 0.4);
}

.tier-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.tier-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 5px 0;
}

.tier-type {
    font-family: 'MedievalSharp', cursive;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.tier-content li {
    padding: 8px 0;
    color: var(--text-body);
    font-size: 14px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.tier-content li:last-child {
    border-bottom: none;
}

.chloe-recipe {
    margin: 20px 0;
    padding: 20px;
    background: rgba(201, 162, 39, 0.08);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    text-align: center;
}

.recipe-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 15px 0;
    text-align: center;
}

.recipe-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.5;
}

.recipe-item {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 6px;
    white-space: nowrap;
}

.recipe-plus, .recipe-arrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.recipe-result {
    padding: 8px 12px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.recipe-formula-large {
    font-size: 16px;
    line-height: 1.5;
}

.recipe-item-large {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    white-space: nowrap;
}

.recipe-plus-large, .recipe-arrow-large {
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
    flex-shrink: 0;
}

.recipe-result-large {
    padding: 10px 15px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.farming-info {
    margin-bottom: 0;
}

.farming-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 20px;
}

.farming-note i {
    color: var(--primary);
    font-size: 18px;
}

.farming-tier {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.farming-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.farming-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 5px 0;
}

.farming-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.farming-header.tier-medium h3 {
    color: #fbbf24;
}

.farming-header.tier-hard h3 {
    color: #ef4444;
}

.farming-maps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.farming-map {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 6px;
    color: var(--text-body);
    font-family: 'MedievalSharp', cursive;
    font-size: 14px;
}

.forge-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.forge-table-container {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.forge-table-container h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
    text-align: center;
}

.forge-table {
    width: 100%;
    border-collapse: collapse;
}

.forge-table th,
.forge-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.forge-table th {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.forge-table td {
    color: var(--text-body);
}

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

.rarity-green {
    color: #22c55e;
    font-weight: 600;
}

.rarity-blue {
    color: #3b82f6;
    font-weight: 600;
}

.rarity-purple {
    color: #a855f7;
    font-weight: 600;
}

.rate-value {
    font-weight: 700;
    color: var(--text-main);
}

.forge-table.full-width {
    max-width: 100%;
}

.chloe-guide {
    margin-bottom: 30px;
}

.chloe-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 15px;
    margin-bottom: 20px;
}

.chloe-intro i {
    color: var(--primary);
    font-size: 20px;
}

.chloe-recipe-box {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.boss-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.boss-card.boss-minor {
    border-color: rgba(34, 197, 94, 0.3);
}

.boss-card.boss-medium {
    border-color: rgba(251, 191, 36, 0.3);
}

.boss-card.boss-major {
    border-color: rgba(239, 68, 68, 0.3);
}

.boss-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.boss-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.boss-respawn {
    font-family: 'MedievalSharp', cursive;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

.boss-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 15px;
    color: var(--text-body);
    font-size: 14px;
}

.boss-location i {
    color: var(--primary);
}

.boss-drops h4 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 10px 0;
}

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

.boss-drops li {
    padding: 6px 0;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.5;
}

.cta-card {
    background: linear-gradient(145deg, rgba(139, 0, 0, 0.3), rgba(139, 0, 0, 0.2));
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.cta-content p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.cta-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cta-brand i {
    font-size: 24px;
}

.cta-tagline {
    font-family: 'MedievalSharp', cursive;
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
}

/* Currency Selector Styles */
.currency-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.currency-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-body);
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-btn:hover {
    border-color: rgba(201, 162, 39, 0.4);
    background: rgba(201, 162, 39, 0.1);
}

.currency-btn.active {
    border-color: var(--primary);
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.currency-flag {
    font-size: 24px;
}

.currency-name {
    font-size: 16px;
}

/* Ranking Page Styles */
.ranking-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.ranking-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: var(--text-body);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ranking-tab:hover {
    border-color: rgba(201, 162, 39, 0.4);
    background: rgba(201, 162, 39, 0.1);
}

.ranking-tab.active {
    border-color: var(--primary);
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.ranking-tab i {
    font-size: 18px;
}

.ranking-content {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.ranking-table-container {
    overflow-x: auto;
}

.ranking-table-modern {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table-modern thead {
    background: rgba(201, 162, 39, 0.1);
}

.ranking-table-modern th {
    padding: 15px;
    text-align: left;
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}

.ranking-table-modern td {
    padding: 15px;
    color: var(--text-body);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.ranking-table-modern tbody tr:last-child td {
    border-bottom: none;
}

.ranking-row-modern:hover {
    background: rgba(201, 162, 39, 0.05);
}

.ranking-table-modern .col-rank {
    font-weight: 700;
    color: var(--primary);
    width: 60px;
}

.ranking-table-modern .col-name {
    font-weight: 600;
    color: var(--text-main);
}

.ranking-table-modern .col-class {
    color: var(--text-muted);
}

.ranking-table-modern .col-guild {
    color: var(--text-body);
}

.ranking-table-modern .col-level {
    font-weight: 700;
    color: var(--primary);
}

.ranking-table-modern .col-kills {
    font-weight: 600;
    color: var(--text-main);
}

.ranking-table-modern .col-status {
    width: 100px;
}

.status-badge-modern {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guild-icon-modern {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
}

.info-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.info-card-header i {
    color: var(--primary);
    font-size: 20px;
}

.info-card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.info-card-content p {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* New Top Up Page Styles */
.topup-section {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.topup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c9a227);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.step-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.package-card-new {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 15px 35px rgba(201, 162, 39, 0.2);
}

.package-card-new.selected {
    border-color: var(--primary);
    background: rgba(201, 162, 39, 0.15);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.4);
}

.package-card-new.featured {
    border-color: rgba(251, 191, 36, 0.4);
}

.package-card-new.premium {
    border-color: rgba(168, 85, 247, 0.4);
}

.popular-badge,
.best-value-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-bottom-left-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.best-value-badge {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

.package-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.package-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.package-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.package-reward {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    margin-bottom: 8px;
}

.package-bonus {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.payment-details {
    display: flex;
    justify-content: center;
}

.payment-method-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.payment-method-header i {
    font-size: 28px;
    color: var(--primary);
}

.payment-method-header span {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.payment-method-body {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.qr-container {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(201, 162, 39, 0.4);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.payment-info-text {
    flex: 1;
    min-width: 200px;
}

.payment-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.payment-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.payment-instructions {
    font-size: 14px;
    color: var(--text-body);
    background: rgba(201, 162, 39, 0.1);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.payment-instructions i {
    color: var(--primary);
    margin-right: 8px;
}

.topup-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.selected-package-display {
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.display-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.display-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
}

.total-rps-display {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.total-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.total-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    margin-bottom: 10px;
}

.bonus-breakdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.breakdown-item {
    font-size: 14px;
    color: var(--text-body);
}

.breakdown-item.bonus {
    color: var(--success);
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-col label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input-new,
.form-select-new {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input-new:focus,
.form-select-new:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-new label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.required {
    color: var(--danger);
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary);
    background: rgba(201, 162, 39, 0.1);
}

.file-upload-label i {
    font-size: 40px;
    color: var(--primary);
}

.file-upload-label span:nth-child(2) {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 500;
}

.file-note {
    font-size: 12px;
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), #c9a227);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.history-container {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.history-table thead {
    background: rgba(201, 162, 39, 0.15);
}

.history-table th {
    padding: 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-table td {
    padding: 16px;
    color: var(--text-body);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.history-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.05);
}

.rps-value {
    color: #ffd700;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.action-btn.approve {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.action-btn.approve:hover {
    background: #22c55e;
    color: #fff;
}

.action-btn.reject {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btn.reject:hover {
    background: #ef4444;
    color: #fff;
}

.no-action {
    color: var(--text-muted);
    font-size: 14px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.no-data span {
    font-size: 16px;
}

/* Streamer Dashboard Styles */
.streamer-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 162, 39, 0.1);
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-icon i {
    font-size: 24px;
    color: var(--primary);
}

.overview-content {
    flex: 1;
}

.overview-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.overview-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
}

.overview-value.status-live {
    color: #ef4444;
    animation: pulse 2s infinite;
}

.overview-value.status-offline {
    color: #6b7280;
}

.reward-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.reward-type-badge.rps {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.reward-type-badge.item {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.info-box {
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box-icon i {
    font-size: 24px;
    color: var(--primary);
}

.info-box-content {
    flex: 1;
}

.info-box-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--primary);
    margin: 0 0 15px 0;
}

.info-box-content ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.8;
}

.info-box-content li {
    margin-bottom: 8px;
}

.info-box-content strong {
    color: #ffd700;
}

@media (max-width: 768px) {
    .streamer-overview {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
    }
    
    .info-box-icon {
        margin: 0 auto;
    }
    
    .packages-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .payment-method-body {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .step-title {
        font-size: 20px;
    }
}

.shop-item-card .item-detail {
    font-size: 13px;
    color: #b0b0b0;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-item-card .item-detail:last-child {
    margin-bottom: 0;
}

.shop-item-card .item-detail i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.item-stats-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 6px;
    padding: 12px 15px;
    margin: 10px 0;
}

.stats-content {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
}

.stats-content span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #c0c0c0;
    font-weight: 400;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    padding-bottom: 4px;
}

.stats-content span:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.stats-content strong {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.item-price {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

.item-actions {
    margin-top: auto;
}

.buy-form {
    width: 100%;
}

.btn-buy {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: #1a1410;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.3);
}

.btn-cancel {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group form {
    flex: 1;
}

.item-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Shop Modal */
.shop-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(180deg, rgba(23, 18, 15, 0.98), rgba(15, 11, 8, 0.96));
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.modal-header h3 {
    font-family: 'MedievalSharp', cursive;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-item-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 15px 0;
}

.item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
}

.item-name-display {
    font-family: 'MedievalSharp', cursive;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.item-price-display {
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.btn-cancel {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.5);
}

.btn-confirm {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: #1a1410;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.3);
}

.transactions-content {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    transform: translateX(5px);
    border-color: rgba(201, 162, 39, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.transaction-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(139, 0, 0, 0.1));
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transaction-icon i {
    font-size: 18px;
    color: var(--primary);
}

.transaction-info {
    flex: 1;
}

.transaction-info h3 {
    font-family: 'MedievalSharp', cursive;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px 0;
}

.transaction-date {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.transaction-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.transaction-amount .amount {
    font-family: 'MedievalSharp', cursive;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.transaction-amount .status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}

.transaction-amount .status.completed,
.transaction-amount .status.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.transaction-amount .status.pending {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.transaction-amount .status.rejected,
.transaction-amount .status.failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(139, 0, 0, 0.1));
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.25), rgba(139, 0, 0, 0.15));
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateY(-2px);
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 280px;
    }
    
    .dashboard-main {
        margin-left: 280px;
        padding: 25px 30px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .shop-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .shop-filters {
        flex-direction: column;
    }
    
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .shop-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .shop-filters {
        flex-direction: column;
    }
    
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-item-card {
        padding: 20px;
    }
    
    .item-image {
        height: 100px;
    }
    
    .item-image img {
        width: 64px;
        height: 64px;
    }
    
    .item-details h3 {
        font-size: 16px;
    }
    
    .item-stats-box {
        padding: 12px;
    }
    
    .stats-content {
        font-size: 13px;
    }
    
    .item-price {
        font-size: 16px;
    }
}

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

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1a1410;
    border: none;
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(201, 162, 39, 0.6);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--primary);
}

.hero-btn.secondary:hover {
    background: rgba(201, 162, 39, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.3);
    color: var(--primary);
}

.hero-btn.tertiary {
    background: rgba(139, 0, 0, 0.2);
    color: var(--text-main);
    border: 2px solid rgba(139, 0, 0, 0.5);
}

.hero-btn.tertiary:hover {
    background: rgba(139, 0, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.4);
    color: var(--text-main);
}



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

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #ffffff;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 300;
}

.hero-cta {
    margin-top: 40px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 50px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    border: 3px solid var(--primary);
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 
        0 0 20px rgba(201, 162, 39, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.6),
        inset 0 0 15px rgba(201, 162, 39, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.25), transparent);
    transition: left 0.5s;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 30px rgba(201, 162, 39, 0.5),
        0 12px 40px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(201, 162, 39, 0.15);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-dark) 100%);
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button i {
    font-size: 24px;
    animation: dragonPulse 2s ease-in-out infinite;
}

@keyframes dragonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

h1, h2, h3, h4, .font-fantasy {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1, h2 {
    font-family: 'MedievalSharp', cursive;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    text-align: left;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

ul { list-style: none; }

/* ========== NAVIGATION - Classic Fantasy ========== */
.top-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.logo-small {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.logo-small a {
    transition: var(--transition);
}

.logo-small a:hover {
    transform: scale(1.05);
}

.menu {
    display: flex;
    gap: 4px;
    flex: 1;
}

.menu li a {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.15), transparent);
    transition: left 0.4s;
}

.menu li a:hover::before {
    left: 100%;
}

.menu li a:hover {
    color: var(--primary);
    background: rgba(201, 162, 39, 0.08);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.15);
}

.menu li.active a {
    color: var(--primary);
    background: rgba(201, 162, 39, 0.12);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.25), inset 0 0 15px rgba(201, 162, 39, 0.08);
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.topPanel__buttons {
    display: flex;
    gap: 12px;
}

/* ========== HEADER / LOGO ========== */
.header {
    height: 450px;
    background: 
        linear-gradient(180deg, rgba(155, 89, 182, 0.15) 0%, rgba(10, 10, 26, 0.8) 70%),
        url('../images/fon-bg-top.jpg') no-repeat center top/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 26, 0.9) 100%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 30px var(--primary-glow);
}

body:not(.home-page) .header {
    height: 320px;
}

.logo {
    position: relative;
    z-index: 2;
}

.logo img {
    max-width: 450px;
    filter: drop-shadow(0 0 80px rgba(255, 215, 0, 0.4)) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.8));
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

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

/* ========== LAYOUT ========== */
.wrapper {
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

.home-page .wrapper {
    max-width: 100%;
    padding: 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.home-page .main-grid {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 48px;
}

.main-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    margin-top: -60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.home-page .main-grid {
    margin-top: -100px;
}

/* ========== HERO SLIDER ========== */
.home-page .hero-slider {
    border-radius: 0;
    overflow: hidden;
    height: 100vh;
    min-height: 700px;
    max-height: 900px;
    border: none;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.sub-page .hero-slider {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 550px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-card), 0 0 80px rgba(220, 38, 38, 0.15);
    margin-top: -140px;
    margin-bottom: 50px;
    position: relative;
    z-index: 15;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--accent), transparent, var(--primary));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Swiper pagination styling */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(5, 5, 10, 0.9);
    opacity: 1;
    border: 2px solid rgba(197, 160, 89, 0.8);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
}

/* ========== HERO CONTENT ========== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 30px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.3);
    backdrop-filter: blur(10px);
}

.hero-slide h2 {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.5), 0 10px 40px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: 5px;
}

.hero-slide p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== BUTTONS ========== */
.button, .buttonDark, button {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    text-align: center;
}

.button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1a1410;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.5);
    filter: brightness(1.1);
}

.buttonDark {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(201, 162, 39, 0.4);
}

.buttonDark:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.25);
    color: var(--primary-light);
}

/* ========== GLASS CARDS ========== */
.glass-card {
    background: linear-gradient(135deg, rgba(26, 20, 16, 0.96) 0%, rgba(15, 11, 8, 0.94) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 162, 39, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(201, 162, 39, 0.06), transparent 50%);
    pointer-events: none;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 162, 39, 0.12);
    transform: translateY(-2px);
}

.glass-card:hover::after {
    opacity: 0.8;
}

.card-title {
    font-size: 17px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
}

.card-title::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.card-title i {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(201, 162, 39, 0.4);
}

/* ========== SIDEBAR ========== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ========== COSMIC SIDEBAR ========== */
.cosmic-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cosmic-menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-card);
}

.cosmic-menu-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cosmic-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cosmic-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    color: var(--text-body);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cosmic-menu-item:hover {
    background: rgba(201, 162, 39, 0.08);
    border-color: var(--border-color);
    color: var(--primary);
    transform: translateX(4px);
}

.cosmic-menu-item.active {
    background: rgba(201, 162, 39, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.15);
}

.cosmic-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.cosmic-balance-card {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(42, 31, 24, 0.25));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-card);
}

.cosmic-balance-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cosmic-balance-amount {
    text-align: center;
    padding: 14px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.balance-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    line-height: 1;
    margin-bottom: 4px;
}

.balance-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== COSMIC SHOP SECTION ========== */
.cosmic-shop-section {
    padding: 120px 20px 60px;
    min-height: 100vh;
}

.cosmic-shop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cosmic-shop-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cosmic-shop-header {
    margin-bottom: 10px;
}

.cosmic-shop-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.cosmic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-card);
}

.cosmic-card-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cosmic-alert {
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    border: 1px solid transparent;
    backdrop-filter: var(--glass-blur);
}

.cosmic-alert-success {
    background: rgba(78, 205, 196, 0.15);
    border-color: rgba(78, 205, 196, 0.3);
    color: var(--success);
}

.cosmic-alert-danger {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    color: var(--danger);
}

.cosmic-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.cosmic-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cosmic-info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cosmic-info-value {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
}

/* ========== CONTENT AREA ========== */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ========== NEWS GRID ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.08);
}

.news-date {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ========== DOWNLOADS ========== */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.download-icon {
    width: 45px;
    height: 45px;
    background: rgba(155, 89, 182, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.download-info h4 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 4px;
    text-align: left;
}

.download-info p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
    margin: 0;
}

/* ========== RANKING ITEMS ========== */
.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.rank-item:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
}

.rank-num {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 14px;
    color: var(--primary);
    width: 30px;
}

.rank-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
    text-align: left;
}

.rank-val {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--accent);
}

/* ========== STATUS ========== */
.status-item {
    margin-bottom: 18px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.status-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--primary-light);
}

.status-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    text-align: left;
    width: 100%;
}

.status-label span:first-child {
    color: var(--text-body);
}

.status-val {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.progress-container {
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1s ease;
}

/* ========== FORMS ========== */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    text-align: left;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.15);
}

input::placeholder {
    color: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border-top: 3px solid rgba(201, 162, 39, 0.25);
    padding: 0 0 30px;
    margin-top: 80px;
    position: relative;
}

/* Info Bar */
.info-bar {
    background: linear-gradient(90deg, var(--fantasy-brown), var(--bg-surface));
    border-bottom: 2px solid rgba(201, 162, 39, 0.25);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.info-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: scrollInfo 30s linear infinite;
    white-space: nowrap;
}

.info-item {
    color: var(--text-main);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.info-item i {
    color: var(--primary);
    font-size: 15px;
}

.info-item strong {
    color: var(--primary);
    font-weight: 700;
}

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

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 25px var(--primary-glow);
}

.f-menu {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.f-menu a {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    transition: var(--transition);
    position: relative;
}

.f-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.f-menu a:hover {
    color: var(--primary);
    text-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
}

.f-menu a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    background: rgba(26, 20, 16, 0.8);
    color: var(--text-muted);
    border: 2px solid rgba(201, 162, 39, 0.2);
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--primary);
    color: #1a1410;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

/* ========== MODALS - Login & Register ========== */
/* Old modal styles commented out - using new cosmic modal system */
/*
.modal_div {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 460px;
    max-width: 95%;
}
*/

/* .modal_div#register { width: 520px; } */

/* .modal-content {
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.8), 
        0 0 0 1px rgba(197, 160, 89, 0.15),
        0 0 60px rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--accent), transparent, var(--primary));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 4s linear infinite;
}

.modal-content .card-title {
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.modal-content form p {
    margin-bottom: 16px;
}

.modal-content input[type="text"],
.modal-content input[type="password"],
.modal-content input[type="email"] {
    padding-left: 48px;
}

.modal-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.modal-content form p { 
    position: relative; 
}

.modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-full { grid-column: 1 / -1; }

.modal-captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    background: rgba(0,0,0,0.5);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
}

.modal-captcha-row img {
    border-radius: 8px;
    height: 46px;
    width: 110px;
    object-fit: cover;
    border: 2px solid rgba(197, 160, 89, 0.3);
}

.modal-captcha-row input { 
    flex: 1; 
    margin: 0;
}

.modal-terms {
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-terms input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.modal-terms a { 
    color: var(--primary); 
    font-weight: 700;
    text-decoration: underline;
}

.modal-submit-btn {
    width: 100%;
    margin-top: 24px;
    height: 52px;
    font-size: 12px;
}

.modal-switch {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.modal-switch a { 
    color: var(--primary); 
    font-weight: 700;
    text-decoration: underline;
} */

/* Old overlay styles commented out - using new cosmic overlay */
/*
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    backdrop-filter: blur(8px);
}
*/

/* ========== MODAL TAB TOGGLE - Enhanced Dark Theme ========== */
.modal-tab-container {
    display: none; /* Hidden - using toggle buttons inside modal instead */
}

.modal-tab-btn {
    flex: 1;
    max-width: 200px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 20, 28, 0.95) 100%);
    border: 2px solid rgba(100, 100, 120, 0.3);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-tab-btn:first-child {
    border-radius: 16px 8px 0 0;
}

.modal-tab-btn:last-child {
    border-radius: 8px 16px 0 0;
}

.modal-tab-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.modal-tab-btn:hover {
    background: linear-gradient(135deg, rgba(45, 45, 60, 0.95) 0%, rgba(30, 30, 40, 0.95) 100%);
    color: var(--text-color);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

.modal-tab-btn:hover i {
    transform: scale(1.1);
}

.modal-tab-btn.active {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.98) 0%, rgba(10, 10, 15, 0.95) 100%);
    color: var(--primary);
    border-color: rgba(197, 160, 89, 0.6);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2), inset 0 0 30px rgba(197, 160, 89, 0.05);
}

.modal-tab-btn.active i {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header .card-title {
    font-size: 32px !important;
    margin-bottom: 8px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

/* Enhanced Modal Content */
.modal-content {
    border: 2px solid rgba(80, 80, 100, 0.4);
    background: linear-gradient(145deg, 
        rgba(18, 18, 26, 0.98) 0%, 
        rgba(12, 12, 18, 0.98) 50%,
        rgba(8, 8, 12, 0.98) 100%);
}

.modal-content::before {
    background: linear-gradient(45deg, 
        var(--primary), 
        transparent 30%, 
        var(--accent), 
        transparent 70%, 
        var(--primary));
    opacity: 0.4;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Input Fields */
.modal-content input[type="text"]:focus,
.modal-content input[type="password"]:focus,
.modal-content input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.25), inset 0 0 10px rgba(197, 160, 89, 0.1);
    background: rgba(30, 30, 45, 0.8);
}

.modal-input-icon {
    color: rgba(197, 160, 89, 0.7);
    transition: all 0.3s ease;
}

.modal-content input:focus + .modal-input-icon,
.modal-content input:focus ~ .modal-input-icon,
.modal-content:focus-within .modal-input-icon {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Modal Remember & Forgot */
.modal-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 20px;
    padding: 0 4px;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background: rgba(30, 30, 45, 0.8);
    border: 2px solid rgba(100, 100, 120, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 4px;
    height: 10px;
    border: solid var(--bg-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.forgot-link {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

/* Enhanced Submit Button */
.modal-submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #b8942a 100%);
    border: none;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4), 0 0 40px rgba(197, 160, 89, 0.2);
}

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

.modal-submit-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.modal-submit-btn:hover i {
    transform: translateX(4px);
}

/* Toggle Button (Switch between login/register) */
.modal-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(80, 80, 100, 0.3);
}

.modal-switch span {
    color: var(--text-muted);
    font-size: 14px;
}

.toggle-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.toggle-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    transform: translateY(-2px);
}

.toggle-btn:hover i {
    transform: scale(1.2);
}

/* Form Animations */
.modal-content form p {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.modal-content form p:nth-child(1) { animation-delay: 0.1s; }
.modal-content form p:nth-child(2) { animation-delay: 0.2s; }
.modal-content form p:nth-child(3) { animation-delay: 0.3s; }
.modal-content form p:nth-child(4) { animation-delay: 0.4s; }

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

/* Modal Loading State */
.modal-content.loading .modal-submit-btn {
    pointer-events: none;
    opacity: 0.7;
}

.modal-content.loading .modal-submit-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== ERRORS / ALERTS ========== */
.errors-container {
    padding: 0 32px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.errors-container .glass-card.alert {
    padding: 18px 24px;
    border-left: 4px solid var(--primary);
}

/* ========== ITEM MALL ========== */
.item-mall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.item-mall-card {
    background: var(--bg-surface);
    border: 2px solid rgba(197, 160, 89, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.item-mall-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.08), transparent 60%);
    pointer-events: none;
}

.item-mall-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.3);
}

body.modal-open .item-mall-card:hover,
.item-mall-card:focus-within {
    border-color: rgba(197, 160, 89, 0.15);
    transform: none;
}

.item-img-container {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    border: 2px solid rgba(197, 160, 89, 0.1);
    overflow: hidden;
}

.item-img-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.item-img-container img {
    width: 70%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s;
}

.item-mall-card:hover .item-img-container img {
    transform: scale(1.1);
}

.item-socket-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-socket-badge.Premium {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a2e;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.item-socket-badge.Rare {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.item-mall-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--text-main);
    text-align: center;
    margin-top: 8px;
}

.item-mall-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.item-mall-actions .btn-details,
.item-mall-actions .btn-price {
    padding: 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.item-mall-actions .btn-details {
    background: rgba(197, 160, 89, 0.15);
    color: var(--primary);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.item-mall-actions .btn-details:hover {
    background: rgba(197, 160, 89, 0.25);
    border-color: var(--primary);
}

.item-mall-actions .btn-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.item-mall-actions .btn-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.5);
}

/* ========================================
   ONE-PAGE SCROLLING DESIGN STYLES
   Added for modern scrollable homepage
   ======================================== */

/* ========== SIMPLE CENTERED HOMEPAGE ========== */
.simple-home {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    position: relative;
}

.simple-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(197, 160, 89, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.home-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.home-logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.6), 0 0 80px rgba(197, 160, 89, 0.4);
    letter-spacing: 4px;
    margin-bottom: 10px;
    animation: glowPulse 3s ease-in-out infinite;
}

.home-logo .server-tagline {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 40px rgba(197, 160, 89, 0.6), 0 0 80px rgba(197, 160, 89, 0.4); }
    50% { text-shadow: 0 0 60px rgba(197, 160, 89, 0.8), 0 0 100px rgba(197, 160, 89, 0.6); }
}



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

.status-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.status-value.online {
    color: var(--success);
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

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

.btn-home {
    padding: 18px 50px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    color: #0a0a0f;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.5);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #0a0a0f;
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.6);
}

.home-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 14px;
}

.home-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.home-links a:hover {
    color: var(--primary);
}

.home-links span {
    color: var(--text-muted);
}

.home-downloads {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-link:hover {
    color: var(--primary);
}

.download-link i {
    font-size: 20px;
}

/* Server Features */
.server-features {
    margin: 30px 0;
    padding: 25px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.server-features h2 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-item {
    font-size: 13px;
    color: var(--text-body);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    text-align: left;
}

/* Game Modes */
.game-modes {
    margin: 25px 0;
    text-align: center;
}

.game-modes h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.modes-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mode-badge {
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(78, 205, 196, 0.1));
    border: 1px solid var(--primary);
    border-radius: 25px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

/* Forge Rates */
.forge-rates {
    margin: 25px 0;
    padding: 20px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.forge-rates h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.rates-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

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

.rate-name {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.rate-value {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Discord Button */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #5865F2;
    color: white !important;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .home-logo h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .status-value {
        font-size: 20px;
    }
    
    .home-buttons {
        flex-direction: column;
    }
    
    .btn-home {
        width: 100%;
        justify-content: center;
    }
    
    .hero-background {
        background-position: center center;
        background-size: cover;
    }
    
    .hero-bg-image {
        background-position: center center;
        background-size: cover;
    }
    
    .hero-logo-img {
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 20px;
    }

    .stat-box {
        min-width: 80px;
        padding: 12px 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-icon {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
    }
    
    .hero-main {
        padding-top: 100px;
    }
    
    .header-content {
        padding: 12px 20px;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .logo-image {
        height: 38px;
        width: 38px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .hero-stats {
        gap: 12px;
    }

    .stat-box {
        min-width: 50px;
        padding: 8px 10px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-icon {
        font-size: 14px;
    }
    
    .hero-btn {
        font-size: 11px;
        padding: 10px 20px;
    }
    
    .hero-main {
        padding-top: 100px;
    }
    
    .header-content {
        padding: 10px 15px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .logo-image {
        height: 30px;
        width: 30px;
    }
    
    .hero-buttons {
        gap: 10px;
    }
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1410 0%, #2a1f18 50%, #1a1410 100%);
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/highfrequencybg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
    image-rendering: auto;
    -webkit-image-rendering: auto;
}

/* Fallback background if highfrequencybg.png doesn't exist */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 20, 16, 0.25) 0%, rgba(26, 20, 16, 0.85) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 0, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 20, 16, 0.85) 0%, transparent 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(201, 162, 39, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(139, 0, 0, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(201, 162, 39, 0.25), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(201, 162, 39, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(201, 162, 39, 0.15), transparent);
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.5;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    padding: 80px 60px;
    gap: 60px;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-logo-text {
    margin-bottom: 20px;
    text-align: center;
}

.hero-title-text {
    font-family: 'MedievalSharp', cursive;
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.5), 0 0 60px rgba(201, 162, 39, 0.3), 0 5px 20px rgba(0, 0, 0, 0.9);
    letter-spacing: 4px;
    line-height: 1.2;
    animation: glowText 4s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% { text-shadow: 0 0 30px rgba(201, 162, 39, 0.5), 0 0 60px rgba(201, 162, 39, 0.3), 0 5px 20px rgba(0, 0, 0, 0.9); }
    50% { text-shadow: 0 0 40px rgba(201, 162, 39, 0.7), 0 0 70px rgba(201, 162, 39, 0.4), 0 5px 20px rgba(0, 0, 0, 0.9); }
}

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

.hero-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 35px rgba(201, 162, 39, 0.4), 0 0 70px rgba(201, 162, 39, 0.25);
    margin-bottom: 10px;
    letter-spacing: 6px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-body);
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
}

.btn-hero i {
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    border: none;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 20px 30px;
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

.stat-number.status-online {
    color: var(--success);
    font-size: 18px;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.hero-character {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-char-img {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.25));
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 20px;
    }
    
    .cosmic-nav {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        border-bottom: 2px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 15px;
    }

    .stat-box {
        min-width: 80px;
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 24px;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cosmic-sidebar {
        width: 100%;
    }
    
    .item-mall-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .info-content {
        gap: 25px;
    }
    
    .f-menu {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .stat-box {
        min-width: 60px;
        padding: 12px 15px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .item-mall-grid {
        grid-template-columns: 1fr;
    }
    
    .item-mall-actions {
        grid-template-columns: 1fr;
    }
    
    .user-welcome {
        display: none;
    }
    
    .action-btn {
        padding: 8px 12px;
    }
    
    .page-banner {
        padding: 25px 15px;
    }
    
    .banner-title {
        font-size: 24px;
        gap: 10px;
    }
}
    animation: charFloat 8s ease-in-out infinite;
}

@keyframes charFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.scroll-indicator i {
    font-size: 24px;
    color: var(--primary);
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 100px 0;
    position: relative;
}

.content-section.dark-section {
    background: var(--bg-surface);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
    margin-bottom: 15px;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary);
}

.section-title i {
    margin-right: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 20px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary);
    color: #0a0a0f;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.5);
}

/* ========== NEWS GRID ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(197, 160, 89, 0.15);
}

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

.news-date {
    font-size: 13px;
    color: var(--text-muted);
}

.news-date i {
    margin-right: 6px;
    color: var(--primary);
}

.news-type {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    background: rgba(197, 160, 89, 0.15);
    border-radius: 20px;
    font-weight: 700;
}

.news-card-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    gap: 15px;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

/* ========== RANKING TABLE ========== */
.ranking-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(197, 160, 89, 0.05));
}

.modern-table th {
    padding: 20px;
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--border-color);
}

.modern-table th i {
    margin-right: 10px;
}

.modern-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    color: var(--text-body);
}

.modern-table tbody tr {
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: rgba(197, 160, 89, 0.08);
}

.rank-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 13px;
    background: rgba(197, 160, 89, 0.15);
    color: var(--primary);
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a2e;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #1a1a2e;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b06a28);
    color: #1a1a2e;
}

.player-name, .guild-name {
    font-weight: 700;
    color: var(--text-main);
}

.player-class, .guild-level {
    color: var(--accent);
}

.player-guild {
    color: var(--text-muted);
}

.player-level, .guild-members {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary);
}

/* ========== MEDIA GRID ========== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

.media-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.media-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(78, 205, 196, 0.05));
}

.media-placeholder i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.7;
}

.media-item.large .media-placeholder i {
    font-size: 72px;
}

.media-placeholder span {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== DISCUSSIONS GRID ========== */
.discussions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.discussion-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.discussion-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.discussion-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(78, 205, 196, 0.1));
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.discussion-icon i {
    font-size: 32px;
    color: var(--primary);
}

.discussion-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.discussion-card p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #5865F2;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a0a0f;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.btn-events {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-events:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
}

/* ========== SERVER STATUS GRID ========== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.status-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.status-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.status-card.main-server {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(18, 18, 26, 0.95));
}

.status-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.15);
    border-radius: 50%;
}

.status-icon i {
    font-size: 24px;
    color: var(--primary);
}

.status-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.status-value {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.status-indicator.online {
    background: rgba(78, 205, 196, 0.2);
    color: var(--success);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--success); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--success); }
}

.status-bar {
    height: 8px;
    background: rgba(197, 160, 89, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1s ease;
}

.status-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== DOWNLOADS GRID ========== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.download-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(18, 18, 26, 0.95));
    transform: scale(1.05);
}

.download-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-radius: 20px;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(78, 205, 196, 0.1));
    border-radius: 50%;
}

.download-icon i {
    font-size: 32px;
    color: var(--primary);
}

.download-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.download-card p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 15px;
}

.download-size {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0a0f;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.5);
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(197, 160, 89, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(78, 205, 196, 0.1));
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 100px 30px 60px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-character {
        order: -1;
    }
    
    .hero-char-img {
        max-width: 350px;
    }
    
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 180px);
    }
    
    .media-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .status-card.main-server {
        grid-column: span 1;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    
    .top-panel {
        padding: 12px 30px;
    }
    
    .menu li a {
        padding: 10px 16px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 100px 20px 50px;
    }
    
    .hero-title-text {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-box {
        min-width: 100px;
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-char-img {
        max-width: 280px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .media-item, 
    .media-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
    
    .discussions-grid,
    .status-grid,
    .downloads-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card.featured {
        transform: scale(1);
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .top-panel {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* ========== SHOP TABLE STYLES ========== */
.shop-table-wrap {
    overflow-x: auto;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.shop-table thead {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(220, 38, 38, 0.05));
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
}

.shop-table th {
    padding: 14px 12px;
    text-align: left;
    color: var(--text-main);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.shop-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.shop-table tbody tr {
    transition: var(--transition);
}

.shop-table tbody tr:hover {
    background: rgba(220, 38, 38, 0.05);
}

.shop-item-thumb {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.shop-item-thumb img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.shop-col-name {
    font-weight: 600;
    color: var(--text-main);
}

.shop-col-desc {
    color: var(--text-muted);
    font-size: 12px;
    max-width: 250px;
}

.shop-col-qty {
    text-align: center;
    color: var(--text-body);
}

.shop-col-price {
    text-align: right;
    white-space: nowrap;
}

.shop-price-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.shop-price-currency {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 4px;
}

.shop-col-action {
    text-align: right;
    white-space: nowrap;
}

.shop-buy-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    filter: brightness(1.1);
}
