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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.8);
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ffa500;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #ffa500;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffa500;
}

.hero {
    height: calc(100vh - 80px);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1587573089734-09cb69c0f2b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.server-ip {
    background: #ffa500;
    color: #000;
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.status {
    font-size: 16px;
}

.online {
    color: #00ff00;
    font-weight: bold;
}

footer {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Ranking Page */
.content {
    padding: 60px 0;
    min-height: 80vh;
}

.section-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffa500;
}

.section-desc {
    color: #ccc;
    margin-bottom: 40px;
}

.ranking-table {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background: #222;
    color: #ffa500;
    text-transform: uppercase;
    font-size: 14px;
}

.player-cell {
    display: flex;
    align-items: center;
}

.player-cell img {
    margin-right: 15px;
    border-radius: 4px;
}

.balance {
    color: #00ff00;
    font-weight: 700;
    font-family: monospace;
    font-size: 18px;
}

.top-1 { background: rgba(255, 215, 0, 0.1); border-left: 4px solid #ffd700; }
.top-2 { background: rgba(192, 192, 192, 0.1); border-left: 4px solid #c0c0c0; }
.top-3 { background: rgba(205, 127, 50, 0.1); border-left: 4px solid #cd7f32; }

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.badge {
    background: #ffa500;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.shop-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: #ffa500;
}

.seller-head {
    border-radius: 4px;
    margin-bottom: 10px;
}

.seller-name {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

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

.item-price {
    color: #00ff00;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

/* Live Sections */
.live-section {
    padding: 60px 0;
    background: #111;
}

.live-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.chat-box {
    background: #000;
    height: 400px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.chat-msg {
    margin-bottom: 8px;
    border-bottom: 1px solid #111;
    padding-bottom: 4px;
}

.chat-time { color: #555; margin-right: 5px; }
.chat-tag { color: #ffa500; font-weight: bold; margin-right: 5px; }
.chat-player { color: #fff; font-weight: bold; margin-right: 8px; }
.chat-text { color: #ccc; }
.chat-msg.system { color: #ffa500; text-align: center; font-style: italic; }

.stat-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffa500;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #00ff00;
}
