@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Ubuntu+Mono&display=swap');

:root {
    --primary: #9d4edd;
    --primary-dark: #7b2cbf;
    --primary-light: #c77dff;
    --secondary: #5a189a;
    --accent: #ff00ff;
    --bg-body: #050308;
    --bg-card: rgba(20, 10, 35, 0.8);
    --bg-nav: rgba(5, 3, 8, 0.98);
    --text-main: #f3f0ff;
    --text-muted: #b39ddb;
    --glass: rgba(157, 78, 221, 0.1);
    --border: rgba(157, 78, 221, 0.3);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.9);
    --gradient-main: linear-gradient(135deg, #9d4edd 0%, #5a189a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(90, 24, 154, 0.15) 0%, transparent 40%),
        url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Modern Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn.primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

.btn.secondary {
    background: var(--glass);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    background: rgba(157, 78, 221, 0.2);
}

/* Cards */
.feature-card, .product-card, .profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover, .product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* Navbar */
header {
    background-color: var(--bg-nav);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

header {
    background-color: var(--bg-nav);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
}

.logo span {
    color: var(--primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

main {
    padding: 120px 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 154, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.5);
}

.btn.secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    background: rgba(157, 78, 221, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.user-info-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-rank-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.btn-delete-small {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-delete-small:hover {
    background: #ff4d4d;
    color: white;
}


.full-post {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.user-profile-sidebar {
    background: rgba(0,0,0,0.2);
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.status-card {
    display: inline-flex;
    flex-direction: column;
    background: rgba(20, 10, 35, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    margin-top: 30px;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.status-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.2);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3333; /* Default offline */
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.status-dot.pulse {
    animation: statusPulse 2s infinite;
}

.status-body {
    text-align: center;
}

.server-ip {
    display: block;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 1.5rem;
    color: white;
    background: rgba(0,0,0,0.3);
    padding: 8px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 700;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-info span {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.player-info label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

.status-footer {
    margin-top: 15px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes statusPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .shop-categories {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul {
        display: none; /* Mobile Menü könnte man später mit Hamburger bauen */
    }
    
    .status-card {
        padding: 15px 20px;
    }
    
    .status-card code {
        font-size: 1.1rem;
    }
}

/* Global Stats */
.global-stats {
    padding: 60px 0;
    background: rgba(157, 78, 221, 0.05);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item span {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

.stat-item label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Leaderboard */
.top-players-section {
    padding: 80px 0;
}

.leaderboard-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.leaderboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
}

.leaderboard-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.leader-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.leader-item:last-child {
    border-bottom: none;
}

/* News Section */
.news-section {
    padding: 80px 0;
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.news-content h3 {
    margin: 10px 0;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer & Community */
.community-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.com-stat-item {
    text-align: center;
}

.com-stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.com-stat-item label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control input {
    width: 60px;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    text-align: center;
}

.upgrade-label {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: bold;
}

.avatar.large {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
    border: none !important;
}

.user-details .username {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.post-main-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.post-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.7;
    flex-grow: 1;
}

.comment-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.comment-user {
    background: rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.comment-content {
    padding: 20px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    opacity: 0.7;
}

.quote-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 10px;
}

.quote-btn:hover {
    border-color: var(--primary);
    color: white;
}

.action-btn.liked {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4d4d;
}

.locked-msg {
    color: #ff4d4d;
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
}

.user-rank-badge.champion { background: #1a5e63; color: white; }
.user-rank-badge.titan { background: #008b8b; color: white; }
.user-rank-badge.eternal { background: #ff00ff; color: white; }
.user-rank-badge.legend { background: #ff8c00; color: white; }
.user-rank-badge.viper { background: #00ff88; color: black; }
.user-rank-badge.insanity { background: #ff0033; color: white; }
.user-rank-badge.aurix { background: var(--gradient-main); color: white; }
.user-rank-badge.admin { background: #ff4d4d; color: white; }
.user-rank-badge.moderator { background: #3498db; color: white; }
.user-rank-badge.supporter { background: #f1c40f; color: black; }
.user-rank-badge.dev { background: #2ecc71; color: white; }
.user-rank-badge.builder { background: #1abc9c; color: white; }
.user-rank-badge.mitglied { background: #7f8c8d; color: white; }

.user-rank-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .full-post, .comment-row {
        grid-template-columns: 1fr;
    }
    .user-profile-sidebar, .comment-user {
        border-right: none;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        text-align: left;
    }
    .avatar.large { margin: 0; width: 50px; height: 50px; font-size: 1.5rem; }
}

.auth-form input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(157, 78, 221, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    background: var(--glass);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Shop Grid Improvements */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(to bottom, rgba(157, 78, 221, 0.1), transparent);
    border-bottom: 1px solid var(--border);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.admin-only {
    border: 2px solid #ff4d4d !important;
    position: relative;
}

.admin-only::after {
    content: 'ADMIN';
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ff4d4d;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}

.btn-delete-small {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.3;
    transition: 0.3s;
}

.btn-delete-small:hover {
    opacity: 1;
    transform: scale(1.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Gaming Elements */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.ip-box {
    background: rgba(0,0,0,0.3);
    border: 2px dashed var(--border);
    padding: 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 2rem;
}

.ip-box:hover {
    border-color: var(--primary);
    background: rgba(157, 78, 221, 0.05);
}

.ip-box code {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 1.4rem;
    color: var(--primary-light);
}

/* News System on Index */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.news-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-content h3 {
    margin: 0.5rem 0;
    color: var(--primary-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.btn-text {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-text:hover {
    color: var(--accent);
    padding-left: 5px;
}

.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.hidden { display: none !important; }


.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: none !important;
}

.post-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.action-btn:hover {
    color: var(--primary-light);
}

.action-btn.active {
    color: var(--accent);
}

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    border: none !important;
}

.team-role {
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.role-admin { background: #ff4d4d; color: white; }
.role-mod { background: #33cc33; color: white; }
.role-dev { background: #3399ff; color: white; }

/* Shop Product Badges */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(5deg);
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #33cc33;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 10px #33cc33;
}

.mt-10 { margin-top: 10px; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
}

/* Shop Styles */
.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 0.6rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s;
}

.cat-btn.active, .cat-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.product-img {
    height: 180px;
    background: linear-gradient(45deg, #1a1c2c, #2a2d3e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid var(--border);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.product-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 700;
}


.stat-item span {
    display: block;
    font-weight: 700;
}

.stat-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hero {
    padding: 160px 20px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

/* Server IP Box */
.purchase-feed {
    margin: 20px 0;
    min-height: 40px;
    text-align: center;
}
.purchase-notification {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    animation: slideIn 0.5s ease-out;
    margin-bottom: 10px;
}
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.status-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 20px;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

/* Gaming Style Improvements */
.feature-card, .product-card, .profile-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-radius: 12px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(187, 134, 252, 0.3);
}

.btn.primary {
    background: linear-gradient(135deg, #bb86fc 0%, #6200ee 100%);
    color: white;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 2px;
}

.product-card:hover {
    transform: scale(1.02);
    border-color: #bb86fc;
    box-shadow: 0 0 40px rgba(187, 134, 252, 0.2);
}

.success-box {
    background: #111;
    border: 1px solid #2ecc71;
    box-shadow: 0 0 50px rgba(46, 204, 113, 0.1);
}
.text-center { text-align: center; }

.topic-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.topic-item:hover {
    transform: scale(1.01);
    border-color: var(--primary);
}

.topic-main {
    cursor: pointer;
    flex-grow: 1;
}

.topic-main h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-delete, .btn-delete-small {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.btn-delete:hover, .btn-delete-small:hover {
    opacity: 1;
    background: rgba(231, 76, 60, 0.1);
}

/* Full Post View */
.full-post {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.post-meta {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    background: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Comments */
.comments-section {
    margin-top: 2rem;
}

.comment {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.new-comment textarea, .modal-content textarea, .modal-content input, .modal-content select {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    padding: 1rem;
    margin: 10px 0;
    font-family: inherit;
}

.new-comment textarea {
    height: 100px;
}

.auth-buttons-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-nav-auth.primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.2);
}

.btn-nav-auth.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.3);
}

.btn-nav-auth.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border);
}

.btn-nav-auth.secondary:hover {
    background: rgba(157, 78, 221, 0.1);
    border-color: var(--primary);
}

@media (max-width: 600px) {
    .btn-nav-auth span {
        display: none;
    }
    .btn-nav-auth {
        padding: 0.6rem;
    }
}

/* Modal & Alerts */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--primary);
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.2);
    color: white;
    max-height: 90vh;
    overflow-y: auto;
}

#cartItemsList {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    margin: 15px 0;
}

#cartItemsList::-webkit-scrollbar {
    width: 4px;
}

#cartItemsList::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.alert-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.alert-content p {
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Status Card */
.status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 300px;
    cursor: pointer;
    transition: 0.3s;
}

.status-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.status-dot.active {
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.status-dot.pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.player-count {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-card code {
    font-family: 'Ubuntu Mono', monospace;
    font-weight: bold;
    color: var(--primary);
}

.status-hint {
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
}

/* Avatar Border Fix */
img, .avatar, .user-avatar-small, .xlarge {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

/* Shop Basket (Simulation) */
.shop-basket {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.w-100 { width: 100%; }
.mt-10 { margin-top: 10px; }

footer {
    padding: 4rem 2rem;
    background: var(--bg-nav);
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; }
}

.btn-logout {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-logout:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}