:root { 
    --gold: #d4af37; 
    --dark-bg: #0a0a0a; 
    --card-bg: rgba(20,20,20,0.95); 
}

.hero-slider { position: relative; height: 600px; overflow: hidden; border-bottom: 3px solid var(--gold); background: #000; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: none; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { display: block; opacity: 1; animation: zoomIn 10s infinite alternate; }

@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.05); } }

.slide-overlay { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%); }
.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 5; width: 100%; }
.hero-title { font-family: 'Cinzel', serif; font-size: 3.8rem; color: #fff; text-shadow: 0 0 30px #000; margin-bottom: 10px; text-transform: uppercase; }
.hero-subtitle { font-size: 1.2rem; color: var(--gold); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 30px; font-weight: bold; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: -50px; position: relative; z-index: 10; margin-bottom: 60px; }
.info-item { background: #151515; border: 1px solid #333; padding: 20px; display: flex; align-items: center; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.info-icon { font-size: 1.8rem; color: var(--gold); margin-right: 15px; }
.info-label { display: block; font-size: 10px; color: #666; font-weight: bold; }
.info-val { display: block; font-size: 16px; color: #fff; font-weight: bold; }

.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 60px; }
.top-pedestal { background: var(--card-bg); border: 1px solid #222; border-top: 4px solid var(--gold); border-radius: 10px; padding: 40px; text-align: center; }
.player-avatar img { width: 150px; border-radius: 50%; border: 3px solid var(--gold); margin-bottom: 15px; }
.player-name { font-family: 'Cinzel', serif; color: #fff; font-size: 2rem; }

.server-status-box { background: var(--card-bg); border: 1px solid #222; border-radius: 10px; padding: 30px; }
.box-title { font-family: 'Cinzel', serif; color: var(--gold); margin-bottom: 20px; font-size: 1.2rem; }
.rank-table { width: 100%; color: #ccc; border-collapse: collapse; }
.rank-table td { padding: 12px 0; border-bottom: 1px solid #222; }
.rank-position { color: var(--gold); font-weight: bold; width: 40px; }
.mini-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.m-stat { background: #000; padding: 15px; border-radius: 5px; text-align: center; border: 1px solid #222; }
.m-stat i { display: block; color: var(--gold); margin-bottom: 5px; }
.m-stat.online i { color: #00ff88; }
.m-stat strong { display: block; font-size: 1.5rem; color: #fff; }
.m-stat small { color: #555; font-size: 10px; font-weight: bold; }

.castle-siege-card { background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); border: 1px solid #333; border-left: 5px solid var(--gold); border-radius: 10px; padding: 30px; margin-bottom: 40px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.cs-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cs-title h3 { font-family: 'Cinzel', serif; color: #fff; font-size: 1.8rem; margin: 0; }
.cs-title p { color: #888; margin: 5px 0 0; }
.cs-owner { text-align: right; background: rgba(0,0,0,0.4); padding: 15px 25px; border-radius: 8px; border: 1px dashed #444; }
.cs-label { font-size: 0.8rem; color: var(--gold); font-weight: bold; }
.guild-name { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; margin-top: 5px; }
.cs-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #222; padding-top: 20px; margin-top: 10px; color: #666; font-size: 0.9rem; }
.cs-button { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 10px 25px; border-radius: 4px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.cs-button:hover { background: var(--gold); color: #000; }

.features-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.f-card { background: #111; padding: 40px; border-radius: 10px; border: 1px solid #222; transition: 0.3s; }
.f-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.f-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; display: block; }
.f-card h4 { font-family: 'Cinzel', serif; color: #fff; font-size: 1.4rem; margin-bottom: 15px; }
.f-card p { color: #777; line-height: 1.6; }

.main-button { background: var(--gold); color: #000; padding: 15px 40px; border-radius: 4px; font-weight: bold; text-decoration: none; display: inline-block; transition: 0.3s; }
.secondary-button { background: transparent; border: 1px solid #fff; color: #fff; padding: 15px 40px; border-radius: 4px; font-weight: bold; text-decoration: none; display: inline-block; margin-left: 10px; transition: 0.3s; }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 20px; cursor: pointer; z-index: 10; transition: 0.3s; }
.slider-btn:hover { background: var(--gold); color: #000; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

@media (max-width: 768px) {
    .main-grid, .cs-info, .cs-footer { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
    .cs-owner { text-align: center; width: 100%; }
    .hero-title { font-size: 2.5rem; }
    .hero-slider { height: 450px; }
}