* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4A054;
    --gold-hover: #E5B165;
    --gold-glow: rgba(212, 160, 84, 0.3);
    --blue: #4169E1;
    --blue-hover: #5179F1;
    --dark-bg: #0A0A0A;
    --card-bg: rgba(26, 26, 26, 0.85);
    --card-bg-solid: #1A1A1A;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --border-color: rgba(212, 160, 84, 0.2);
    --glass-bg: rgba(26, 26, 26, 0.7);
}

/* Page Transitions */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
        url('../images/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: pageLoad 0.5s ease-out forwards;
}

body.page-exit {
    animation: pageExit 0.3s ease-in forwards;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageExit {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(26, 26, 26, 0.98) 100%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition-overlay.active {
    opacity: 1;
}

.page-transition-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}

.page-transition-overlay.active::before {
    opacity: 1;
}

@keyframes spinLoader {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Header & Navigation */
header {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-white);
    text-decoration: none;
    text-shadow: 0 0 20px var(--gold-glow);
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-glow);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

/* Desktop Navigation - Auth/User direkt in Navbar sichtbar */
@media (min-width: 769px) {
    /* Auth Buttons in Navbar - standardmäßig sichtbar */
    header .auth-buttons {
        position: static;
        flex-direction: row;
        background: transparent;
        border: none;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    /* User Section in Navbar - standardmäßig versteckt */
    header .user-section {
        display: none;
        position: static;
        flex-direction: row;
        background: transparent;
        border: none;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    /* Burger-Menü zeigt NUR Nav-Links */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        gap: 0.5rem;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        border-radius: 8px;
        justify-content: flex-start;
    }

    .nav-links a:hover {
        background-color: rgba(212, 160, 84, 0.15);
        padding-left: 1.5rem;
    }
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a:hover {
    background-color: rgba(212, 160, 84, 0.1);
    color: var(--gold);
}

.nav-links a.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.nav-links a.active::before {
    display: none;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(212, 160, 84, 0.15) 0%, rgba(212, 160, 84, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: linear-gradient(135deg, rgba(212, 160, 84, 0.25) 0%, rgba(212, 160, 84, 0.1) 100%);
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.user-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    border-radius: 8px;
    display: block;
    font-weight: 700;
    color: var(--dark-bg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px var(--gold-glow);
}

.user-avatar img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
}

.user-avatar .avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-bg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
}

/* Benachrichtigungs-Badge auf dem Avatar */
.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;

    padding: 0 4px;
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.6);
    border: 2px solid var(--dark-bg);
    animation: notifPulse 2s ease-in-out infinite; }


@keyframes notifPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.user-role {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Buttons für nicht eingeloggte User */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-login {
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login:hover {
    background-color: rgba(212, 160, 84, 0.1);
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-register {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--gold-glow);
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.logout-btn:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* Admin Panel Button */
.btn-admin {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid #ff6464;
    color: #ff6464;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #ff6464 0%, #ff8484 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 100, 100, 0.4);
}

/* Mobile Menu Toggle - JETZT AUCH AUF DESKTOP SICHTBAR */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
    margin-left: 1rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================================================
   FOOTER STYLES
   ============================================================================ */
.site-footer {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover));
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copy {
    color: var(--text-gray);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* -------------------------- */
/* Admin panel specific styles */
/* -------------------------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    gap: 16px;
    background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(26,26,26,0.95) 100%);
    border-bottom: 1px solid var(--border-color);
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-center {
    flex: 1;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold);
}

.btn-logout, .btn-admin-action, .btn-icon, .btn-admin, .logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-white);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-icon { font-size: 16px; display:flex;align-items:center;justify-content:center; width:36px; height:36px }
.btn-logout { border-color: var(--border-color); }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 900; }
.overlay.show { display: block; }

.sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    bottom: 0;
    width: 220px;
    background: linear-gradient(180deg, rgba(15,15,15,0.9), rgba(18,18,18,0.95));
    border-right: 1px solid var(--border-color);
    padding: 18px 12px;
    overflow-y: auto;
    transform: translateX(0);
    transition: transform 0.25s ease;
    z-index: 850;
}
.sidebar.open { transform: translateX(0); }

.main {
    margin-left: 240px;
    padding: 28px;
    max-width: 1200px;
}

.admin-section { display: none; margin-bottom: 24px; animation: fadeIn 0.3s ease; }
.admin-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Prerequisite Tabs */
/* Prerequisites Admin Styles */
.prereq-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.prereq-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prereq-tab:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
}

.prereq-tab.active {
    background: linear-gradient(135deg, rgba(212,160,84,0.2), rgba(212,160,84,0.1));
    color: var(--gold);
    border: 1px solid rgba(212,160,84,0.3);
}

/* Prerequisites Grid */
.prerequisites-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prerequisite-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prerequisite-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-hover));
    opacity: 0.7;
}

.prerequisite-item:hover {
    background: linear-gradient(135deg, rgba(212,160,84,0.08), rgba(212,160,84,0.03));
    border-color: rgba(212,160,84,0.2);
    transform: translateX(5px);
}

.prerequisite-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.prerequisite-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.prerequisite-text {
    color: var(--text-white);
    font-size: 15px;
    line-height: 1.5;
}

.prerequisite-actions {
    display: flex;
    gap: 8px;
}

/* Empty & Error States */
.empty-state, .error-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.empty-state i, .error-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.error-state {
    color: var(--admin-danger);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-header h1 { font-size: 1.4rem; color: var(--gold); margin-bottom: 12px }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; }
.stat-card { background: var(--card-bg); padding: 14px; border-radius: 10px; border: 1px solid var(--border-color); display:flex;flex-direction:column;gap:8px;align-items:flex-start }
.stat-icon { font-size:20px; color:var(--gold); }
.stat-value { font-size:22px; font-weight:700 }
.stat-label { font-size:12px; color:var(--text-gray) }

.glass-pane { background: var(--glass-bg); padding: 14px; border-radius: 10px; border: 1px solid var(--border-color); }

.admin-form { margin: 14px 0 18px; display:flex;flex-direction:column;gap:8px }
.admin-form input, .admin-form textarea, .admin-form select { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); padding:10px;border-radius:8px;color:var(--text-white); }
.admin-form textarea { min-height:90px; resize:vertical }

.admin-table { width:100%; border-collapse:collapse; min-width:700px }
.admin-table th, .admin-table td { padding:10px 12px; text-align:left; border-bottom:1px solid rgba(255,255,255,0.03); font-size:13px }
.table-wrapper { overflow:auto; }

.nav-item { list-style:none; padding:10px 8px; margin:6px 0; border-radius:8px; cursor:pointer; color:var(--text-gray); display:flex; gap:10px; align-items:center }
.nav-item.active { background: linear-gradient(90deg,var(--gold),var(--gold-hover)); color: var(--dark-bg); font-weight:600 }

.btn-admin-action { 
    background: linear-gradient(135deg, rgba(212,160,84,0.12), rgba(212,160,84,0.06)); 
    border:1px solid var(--border-color); 
    color:var(--text-white); 
    padding:8px 14px; 
    border-radius:8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-admin-action:hover {
    background: linear-gradient(135deg, rgba(212,160,84,0.2), rgba(212,160,84,0.1));
    border-color: rgba(212,160,84,0.4);
    transform: translateY(-1px);
}
.btn-admin-action.small { padding:6px 10px; font-size:12px }
.btn-admin-action.danger { 
    background: linear-gradient(90deg,rgba(255,107,107,0.15),rgba(255,107,107,0.1)); 
    border-color: rgba(255,107,107,0.3);
    color: #ff6b6b; 
}
.btn-admin-action.danger:hover {
    background: linear-gradient(90deg,rgba(255,107,107,0.25),rgba(255,107,107,0.15));
    border-color: rgba(255,107,107,0.5);
}
.btn-admin-action.success { 
    background: linear-gradient(90deg,rgba(58,210,159,0.15),rgba(58,210,159,0.1)); 
    border-color: rgba(58,210,159,0.3);
    color: #3ad29f; 
}
.btn-admin-action.success:hover {
    background: linear-gradient(90deg,rgba(58,210,159,0.25),rgba(58,210,159,0.15));
    border-color: rgba(58,210,159,0.5);
}

.rank-buttons { display:flex; gap:8px; align-items:center }
.rank-btn { padding:6px 8px; border-radius:6px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); color:var(--text-white); cursor:pointer }
.rank-btn.active { box-shadow: 0 4px 18px rgba(212,160,84,0.12); border-color: var(--gold); color: var(--gold); }

.team-card { display:flex; gap:12px; align-items:center; padding:10px; border-radius:8px; margin:8px 0 }
.team-card img { width:40px;height:40px;border-radius:6px }
.team-card .info { flex:1 }
.team-card .delete-btn { cursor:pointer }

/* Responsive adjustments */
@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); position:fixed; z-index:950 }
    .sidebar.open { transform: translateX(0) }
    .main { margin-left: 0; padding: 16px }
    .header-center { display:none }
}


.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
/* Layout: Hauptbereich links, Sidebar rechts */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* Hauptbereich */
.main-content {
    width: 100%;
    min-width: 0; /* Verhindert Overflow */
}

/* Reihe mit News und Aktien nebeneinander */
.content-row {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.5rem;
}

/* Gemeinsame Card-Styling */
.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: rgba(212, 160, 84, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* News Card */
.news-card-large h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-card-large h1 span {
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
}

/* Aktien Card */
.stock-card-large h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.75rem;
}

.stock-card-large h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* News Section */
.news-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-section h1 span {
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
}

.news-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
    transform: translateY(-5px);
}

/* Aktien Markt unter den News - nutzt jetzt .content-card */
.stock-section {
    margin-top: 0;
}

.news-meta {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--gold-glow);
}

.news-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: rgba(212, 160, 84, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sidebar-card h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.status-value {
    font-weight: 600;
    color: var(--text-white);
}

.status-online {
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.server-address {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(212, 160, 84, 0.15) 0%, rgba(212, 160, 84, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--gold);
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-address:hover {
    background: linear-gradient(135deg, rgba(212, 160, 84, 0.25) 0%, rgba(212, 160, 84, 0.1) 100%);
    box-shadow: 0 0 20px var(--gold-glow);
}

.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: var(--text-white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
}

/* Content Section */
.content-section {
    flex: 1;
}

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.content-section h1 span {
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
}

.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: rgba(212, 160, 84, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-card h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-card ul li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Shop specific */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.shop-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-item:hover::before {
    opacity: 1;
}

.shop-item:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
    transform: translateY(-8px);
}

.shop-item h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.shop-item .price {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.shop-item ul {
    text-align: left;
    margin: 1rem 0;
}

.shop-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 1rem;
}

.shop-btn:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 5px 20px rgba(212, 160, 84, 0.4);
}

/* Team specific */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    color: var(--dark-bg);
    margin: 0 auto 1rem;
}

.team-member h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-row {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        order: 1;
    }
    
    .sidebar {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: 0;
    }
    
    .site-footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-copy {
        font-size: 0.8rem;
        padding: 0 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .user-section {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        background-color: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .user-section.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .auth-buttons {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        background-color: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .auth-buttons.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .container {
        padding: 2rem 1rem;
    }

    .news-section h1,
    .content-section h1 {
        font-size: 2rem;
    }

    .news-card,
    .content-card {
        padding: 1.5rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .news-section h1,
    .content-section h1 {
        font-size: 1.75rem;
    }

    .news-card h2,
    .content-card h2 {
        font-size: 1.25rem;
    }
}

/* Loading & Error States */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================================================
   AUTH PAGES (Login, Register, Forgot Password)
   ============================================================================ */

.auth-container {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(212, 160, 84, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 30px var(--gold-glow);
}

.auth-header h1 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form label i {
    color: var(--gold);
}

.auth-form input {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 160, 84, 0.05);
    box-shadow: 0 0 0 4px rgba(212, 160, 84, 0.1), 0 0 20px rgba(212, 160, 84, 0.1);
}

.auth-form input::placeholder {
    color: var(--text-gray);
}

.auth-form small {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.auth-form .btn-primary {
    margin-top: 0.5rem;
}

.btn-primary {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    background-color: rgba(212, 160, 84, 0.1);
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
}

.message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.message.info {
    background-color: rgba(65, 105, 225, 0.1);
    border: 1px solid var(--blue);
    color: var(--blue);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-header i {
        font-size: 2.5rem;
    }
}

/* ============================================================================
   ACCOUNT PAGE STYLES
   ============================================================================ */

/* Account Header Bar */
.account-section {
    max-width: 1200px;
}

.account-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.account-header-bar h1 {
    margin-bottom: 0;
}

.btn-logout-large {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-logout-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(212, 160, 84, 0.1);
}

/* Account Tabs */
.account-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    padding-bottom: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--text-white);
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Profile Section */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.profile-rank {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.profile-uuid {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Punishments */
.profile-punishments {
    margin-top: 2rem;
}

.profile-punishments h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.punishment-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-bottom: 1rem;
}

.punishment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.punishment-type {
    color: #dc3545;
    font-weight: bold;
}

.punishment-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.punishment-reason {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.punishment-expires,
.punishment-permanent {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.no-punishments {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.no-punishments i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Orders */
.order-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-id {
    font-weight: bold;
    color: var(--text-white);
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-failed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.order-items {
    margin: 1rem 0;
}

.order-item {
    color: var(--text-gray);
    padding: 0.5rem 0;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.order-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.order-price {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tickets */
.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ticket-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ticket-id {
    font-weight: bold;
    color: var(--text-white);
}

.ticket-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-open {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.status-in_progress {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-closed {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.ticket-card h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.ticket-preview {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.ticket-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Notifications */
.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.notification-card {
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.notification-card.unread {
    border-left: 4px solid var(--gold);
    background: rgba(212, 160, 84, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.notification-icon.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.notification-icon.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.notification-icon.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.notification-content h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.notification-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.notification-date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Settings */
.settings-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.settings-section h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-form {
    max-width: 500px;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form label {
    display: block;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.settings-form input {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
}

.settings-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.danger-zone {
    border-color: #dc3545;
}

.danger-zone h3 {
    color: #dc3545;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

/* ============================================================================
   SHOP PAGE STYLES
   ============================================================================ */

/* Shop Filters */
.shop-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.shop-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-item:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212, 160, 84, 0.15);
    transform: translateY(-5px);
}

.shop-item h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.shop-item-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.shop-item .price {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0;
}

.shop-item ul {
    text-align: left;
    margin: 1rem 0;
    list-style: none;
}

.shop-item ul li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.shop-item ul li::before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.shop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1rem;
}

.shop-btn:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 5px 20px rgba(212, 160, 84, 0.4);
    transform: translateY(-2px);
}

/* Coupon Section */
.coupon-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.coupon-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-input-group {
    display: flex;
    gap: 1rem;
}

.coupon-input {
    flex: 1;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--gold);
}

.coupon-input::placeholder {
    color: var(--text-gray);
}

#couponError {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-cart {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-cart:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.cart-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cart-item-name {
    color: var(--text-white);
    font-weight: 600;
}

.cart-item-price {
    color: var(--gold);
    font-weight: 700;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.qty-btn {
    background: var(--border-color);
    border: none;
    color: var(--text-white);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.qty {
    color: var(--text-white);
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.remove-btn:hover {
    background: #dc3545;
    color: var(--text-white);
}

.empty-cart-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-gray);
}

.empty-cart-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--dark-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cart-total-label {
    color: var(--text-white);
    font-weight: 600;
}

.cart-total-value {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--gold-hover);
    box-shadow: 0 5px 20px rgba(212, 160, 84, 0.4);
    transform: translateY(-2px);
}

/* Cart Float Button */
.cart-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(212, 160, 84, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-float-btn:hover {
    background: var(--gold-hover);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 160, 84, 0.6);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Responsive Design für Shop */
@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.active {
        right: 0;
    }

    .shop-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .coupon-input-group {
        flex-direction: column;
    }

    .cart-float-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Additional admin helpers */
:root {
    --admin-danger: #ff5555;
    --admin-border: rgba(255,255,255,0.04);
    --admin-success: #2ec69b;
}

.center-screen {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-gray);
}

.status-badge { padding: 4px 8px; border-radius: 8px; font-size: 12px; display:inline-block; font-weight:600 }
.status-open { background: rgba(255, 170, 0, 0.12); color: #ffb020; }
.status-working { background: rgba(66, 153, 225, 0.08); color: #5b9bd5; }
.status-closed { background: rgba(148, 163, 184, 0.06); color: #94a3b8; }
.status-approved { background: rgba(46, 198, 155, 0.12); color: var(--admin-success); }
.status-rejected { background: rgba(255, 85, 85, 0.12); color: var(--admin-danger); }

.badge { padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); }

.ticket-chat { display:flex; flex-direction:column; gap:12px }
.chat-message { padding:10px; border-radius:8px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.02); }
.chat-message.admin-msg { background: rgba(212,160,84,0.06); border-left: 4px solid var(--gold); }
.chat-message .author { font-weight:700; color:var(--text-gray); margin-right:8px }
.chat-message .time { float:right; color:var(--text-gray); font-size:12px }

.admin-loading { text-align:center; padding:20px; color:var(--text-gray) }
.punishment-badge { display:inline-block; padding:6px 8px; border-radius:6px; color:#fff; font-weight:700; font-size:12px }

.user-card { background: var(--card-bg); padding:12px; border-radius:10px; border:1px solid var(--border-color); margin-bottom:10px }
.user-card-header { display:flex; justify-content:space-between; align-items:center }
.user-card-name { font-weight:700 }

/* ============================================================================
   MODERN ADMIN STYLES
   ============================================================================ */

/* Enhanced Glass Pane */
.glass-pane {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.glass-pane:hover {
    border-color: rgba(212,175,55,0.25);
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* Admin Header */
.admin-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), #f4c430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.admin-header p {
    margin: 0;
    font-size: 0.95rem;
}

/* Improved Buttons */
.btn-admin-action {
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1));
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-admin-action:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.3), rgba(212,175,55,0.15));
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.btn-admin-action:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(100,116,139,0.1);
    border: 1px solid rgba(100,116,139,0.3);
    color: #94a3b8;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(100,116,139,0.2);
    border-color: #94a3b8;
}

.btn-back {
    background: rgba(100,116,139,0.1);
    border: 1px solid rgba(100,116,139,0.3);
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: rgba(100,116,139,0.2);
    border-color: #94a3b8;
    transform: translateX(-3px);
}

/* Enhanced Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(212,175,55,0.2);
    border-color: var(--gold);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--gold);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Cards */
.team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.5;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.team-card .info {
    flex: 1;
}

.team-card .name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.team-card .rank {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card .delete-btn {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.team-card .delete-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Rank Buttons */
.rank-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.rank-btn:hover {
    border-color: var(--gold);
    background: rgba(212,175,55,0.1);
    color: var(--gold);
}

.rank-btn.active {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1));
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* Enhanced User Cards */
.user-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.user-card:hover {
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}

.user-card.punished {
    border-color: rgba(255,60,60,0.4);
    background: linear-gradient(135deg, rgba(255,60,60,0.08), rgba(255,60,60,0.02));
}

.user-card-rank {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.user-card-uuid {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.punishment-info {
    margin: 15px 0;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border-left: 4px solid;
}

.punish-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* Wiki & Rules Editors */
.wiki-editor-header,
.rules-editor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212,175,55,0.2);
}

.wiki-editor-icon,
.rules-editor-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1));
    border-radius: 16px;
    border: 2px solid rgba(212,175,55,0.3);
}

.toolbar-btn {
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.toolbar-btn:hover {
    background: rgba(212,175,55,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Courier New', monospace;
}

.checkbox-label {
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Enhanced Tables */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead th {
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
    color: var(--gold);
    padding: 14px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(212,175,55,0.3);
}

.admin-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.admin-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.admin-table tbody tr {
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background: rgba(212,175,55,0.08);
}

.admin-table tbody td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-open { background: rgba(59,130,246,0.2); color: #3b82f6; border: 1px solid #3b82f6; }
.status-working { background: rgba(251,191,36,0.2); color: #fbbf24; border: 1px solid #fbbf24; }
.status-closed { background: rgba(100,116,139,0.2); color: #94a3b8; border: 1px solid #94a3b8; }
.status-approved { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid #22c55e; }
.status-rejected { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid #ef4444; }

.badge.success { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid #22c55e; }
.badge.warning { background: rgba(251,191,36,0.2); color: #fbbf24; border: 1px solid #fbbf24; }

/* Rule Cards */
.rule-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 15px;
    align-items: center;
    transition: all 0.3s ease;
    cursor: move;
}

.rule-card:hover {
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.rule-card.dragging {
    opacity: 0.5;
}

.rule-card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.1);
    border-radius: 10px;
}

.rule-card-content {
    flex: 1;
}

.rule-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.rule-card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.rule-card-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rule-card-status.active {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}

.rule-card-status.inactive {
    background: rgba(100,116,139,0.15);
    color: #94a3b8;
}

.rule-card-actions {
    display: flex;
    gap: 8px;
}

.btn-edit,
.btn-delete {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit:hover {
    background: rgba(59,130,246,0.2);
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-delete:hover {
    background: rgba(239,68,68,0.2);
    border-color: #ef4444;
    color: #ef4444;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.modal-header h3 {
    margin: 0;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(100,116,139,0.2);
    border: none;
    color: var(--text-gray);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-close:hover {
    background: rgba(239,68,68,0.3);
    color: #ef4444;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-header h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-form[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .wiki-form-row,
    .rules-form-row {
        grid-template-columns: 1fr !important;
    }

    .rule-card {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }

    .rule-card-status,
    .rule-card-actions {
        grid-column: 1 / -1;
    }
}


/* ============================================================================
   BAUWERKE WIDGET STYLES
   ============================================================================ */

.builds-card-large {
    flex: 1;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.builds-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.builds-header h3 {
    margin: 0;
    color: var(--gold);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.builds-header h3 i {
    color: var(--gold);
}

.builds-header .btn-outline {
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.builds-header .btn-outline:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.builds-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.build-preview-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.build-preview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.build-preview-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 84, 0.2);
}

.build-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.build-preview-image:hover img {
    transform: scale(1.05);
}

.build-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 30px 15px 15px;
    transition: padding 0.3s ease;
}

.build-preview-image:hover .build-preview-overlay {
    padding-bottom: 20px;
}

.build-preview-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.build-preview-author {
    font-size: 0.8rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

.builds-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    grid-column: 1 / -1;
}

.builds-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.builds-empty p {
    margin: 0 0 15px 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .builds-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .builds-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .build-preview-title {
        font-size: 0.85rem;
    }
}


/* ============================================================================
   BAUWERKE SEITE - FORMULAR & LIGHTBOX
   ============================================================================ */

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-white);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--dark-bg);
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 84, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Input Styling */
.file-input-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.file-input-wrapper:hover {
    border-color: var(--gold);
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-input-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

/* Lightbox Improvements */
.lightbox {
    backdrop-filter: blur(10px);
}

.lightbox img {
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Empty State */
.builds-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.builds-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.builds-empty h3 {
    color: var(--text-white);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.builds-empty p {
    margin-bottom: 20px;
    font-size: 1rem;
}


/* ============================================================================
   "ALLE BAUWERKE" BUTTON - SCHICKES DESIGN
   ============================================================================ */

.btn-all-builds {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 160, 84, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-all-builds::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;
}

.btn-all-builds:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 160, 84, 0.5);
}

.btn-all-builds:hover::before {
    left: 100%;
}

.btn-all-builds i {
    transition: transform 0.3s ease;
}

.btn-all-builds:hover i {
    transform: translateX(4px);
}

.btn-all-builds:active {
    transform: translateY(-1px) scale(0.98);
}


/* ============================================================================
   HEADER - AUTH BUTTONS & USER SECTION (Index-Style)
   ============================================================================ */

/* Auth Buttons - Index Style */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-buttons.hidden {
    display: none;
}

.btn-login {
    padding: 10px 20px;
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-register {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 160, 84, 0.3);
}

/* User Section - Index Style */
.user-section {
    display: none;
    align-items: center;
    gap: 12px;
}

.user-section.active {
    display: flex;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    image-rendering: pixelated;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.logout-btn:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Admin Button im User Menu */
.btn-admin {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark-bg);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 84, 0.4);
}

/* Notif Badge */
.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}


/* ============================================================================
   BAUWERKE WIDGET - VOLLE BREITE MIT SCROLL
   ============================================================================ */

.builds-card-fullwidth {
    flex: 1;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
}

.builds-preview-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.builds-preview-scroll::-webkit-scrollbar {
    height: 8px;
}

.builds-preview-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.builds-preview-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.builds-preview-scroll .build-preview-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.builds-preview-scroll .build-preview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 180px;
}

.builds-preview-scroll .build-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.builds-preview-scroll .build-preview-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 84, 0.2);
}

.builds-preview-scroll .build-preview-image:hover img {
    transform: scale(1.05);
}

.builds-preview-scroll .build-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 30px 15px 15px;
    transition: padding 0.3s ease;
}

.builds-preview-scroll .build-preview-title {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.builds-preview-scroll .build-preview-author {
    font-size: 0.85rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pending Badge für Admins im Widget */
.pending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--warning);
    color: var(--dark-bg);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}


/* ============================================================================
   PENDING BADGES FÜR ADMINS
   ============================================================================ */

.pending-badge-widget {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--warning);
    color: var(--dark-bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pending-text {
    color: var(--warning);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Bauwerke Seite - Einheitliche Bildgrößen */
.build-card-wrapper {
    position: relative;
    cursor: pointer;
}

.build-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.build-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.build-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.build-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.build-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.build-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.build-card-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    image-rendering: pixelated;
}

.build-card-author span {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}


/* ============================================================================
   SIDEBAR WIDGETS - SCHICKERES DESIGN
   ============================================================================ */

/* Sidebar Card Improvements */
.sidebar-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover));
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.sidebar-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
}

/* Server Status Card */
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item:last-of-type {
    border-bottom: none;
}

.status-label {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.status-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.status-online {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-address {
    margin-top: 15px;
    padding: 12px;
    background: rgba(212, 160, 84, 0.1);
    border: 1px solid rgba(212, 160, 84, 0.3);
    border-radius: 10px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Community Card - Discord Button */
.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn .icon {
    width: 24px;
    height: 24px;
}

/* AKTIEN MARKT WIDGET - KOMPAKT */
.stock-card-large {
    flex: 0 0 280px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-height: 200px; /* Eingekürzt */
    overflow: hidden;
}

.stock-card-large h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.stock-card-large h3::before {
    content: '📈';
    font-size: 1.2rem;
}

/* Chart ausblenden für kompakte Ansicht */
.stock-card-large canvas {
    display: none;
}

/* ============================================================================
   AKTIEN WIDGET - NEUES DESIGN
   ============================================================================ */

#stockPrices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stock-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.stock-price-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 160, 84, 0.2);
    transform: translateX(3px);
}

.stock-info-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stock-price-symbol {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.stock-price-full {
    font-size: 11px;
    color: var(--text-gray);
}

.stock-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.stock-price-amount {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-white);
}

.stock-change-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.stock-change-badge.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.stock-change-badge.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.stock-change-badge::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.stock-change-badge.up::before {
    border-width: 0 4px 5px 4px;
    border-color: transparent transparent #10b981 transparent;
}

.stock-change-badge.down::before {
    border-width: 5px 4px 0 4px;
    border-color: #ef4444 transparent transparent transparent;
}

#stockLastUpdate {
    display: none;
}

/* ============================================================================
   SIDEBAR WIDGETS - STOCK & BUILDS
   ============================================================================ */

/* Stock Widget in Sidebar */
.stock-widget-sidebar {
    padding: 20px;
}

.stock-widget-sidebar h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Builds Widget in Sidebar */
.builds-widget-sidebar {
    padding: 20px;
}

.builds-widget-sidebar h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.builds-sidebar-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.build-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.build-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    transform: translateX(3px);
}

.build-sidebar-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.build-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.build-sidebar-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.build-sidebar-author {
    font-size: 11px;
    color: var(--text-gray);
}

.btn-all-builds-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-all-builds-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 160, 84, 0.3);
}

.btn-all-builds-sidebar i {
    font-size: 11px;
}

/* ============================================================================
   BAUWERKE WIDGET - MAIN CONTENT (neben News)
   ============================================================================ */

.builds-widget-main {
    width: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.builds-widget-main .builds-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.builds-widget-main .builds-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.builds-widget-main .builds-header h3 i {
    color: var(--gold);
}

.builds-widget-main .btn-all-builds {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(212, 160, 84, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.builds-widget-main .btn-all-builds:hover {
    background: var(--gold);
    color: #000;
}

.builds-main-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.build-main-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.build-main-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.build-main-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.build-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.build-main-item:hover .build-main-image img {
    transform: scale(1.05);
}

.build-main-info {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.build-main-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.build-main-author {
    font-size: 12px;
    color: var(--text-gray);
}

/* Responsive - Breakpoint bei 1200px wegen breiterer Widgets */
@media (max-width: 1200px) {
    .content-row {
        grid-template-columns: 1fr;
    }
    
    .builds-widget-main {
        width: 100%;
        min-width: auto;
    }
    
    .builds-main-preview {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .builds-main-preview {
        grid-template-columns: 1fr;
    }
}
