* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0c10;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding-top: 90px;
}

.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, #1db9540f, transparent 40%),
        radial-gradient(circle at 80% 70%, #00ff880f, transparent 40%);
    z-index: -1;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #1db95433;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 70px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(110deg, #1db954 35%, #aaffce 50%, #1db954 65%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    color: #ccc;
    text-decoration: none;
    transition: .3s;
    font-size: 15px;
    font-weight: 500;
}

.nav a:hover, .nav a.active-link {
    color: white;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1db954;
    transition: .3s;
}

.nav a:hover::after, .nav a.active-link::after {
    width: 80%;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero h1 {
    font-size: 70px;
    background: linear-gradient(90deg, #1db954, #00ff88);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.play-btn {
    margin-top: 30px;
    padding: 15px 45px;
    background: #1db954;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s;
}

.play-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3);
}

/* CARDS */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 20px 50px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 35px;
    color: #1db954;
    margin-bottom: 20px;
}

/* SKLEP */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

.section-header h2 { font-size: 38px; color: white; margin-bottom: 10px; }
.section-header p { color: #888; }

.shop-category-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shop-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-card {
    background: #121212;
    padding: 25px;
    border-radius: 10px;
    width: 260px;
    border: 1px solid #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s;
}

/* KONFIGURACJA KOLORÓW DLA RANG */
/* SVIP - Żółty */
.shop-card.svip-card {
    border: 1px solid #f1c40f;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
}
.shop-card.svip-card:hover {
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.5);
    transform: scale(1.05);
}

/* SPONSOR - Zielony */
.shop-card.sponsor-card {
    border: 1px solid #1db954;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.2);
}
.shop-card.sponsor-card:hover {
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.5);
    transform: scale(1.05);
}

/* ELITA - Fioletowy */
.shop-card.elita-card {
    border: 1px solid #9b59b6;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.2);
}
.shop-card.elita-card:hover {
    box-shadow: 0 0 25px rgba(155, 89, 182, 0.5);
    transform: scale(1.05);
}

/* MASTER - Czerwony */
.shop-card.master-card {
    border: 1px solid #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
    background: radial-gradient(circle at top, #2b0b0b, #121212);
}
.shop-card.master-card:hover {
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.6);
    transform: scale(1.05);
}

.rank-badge {
    position: absolute;
    top: -12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.rank-badge.svip { background: #f1c40f; color: black; }
.rank-badge.sponsor { background: #1db954; color: black; }
.rank-badge.elita { background: #9b59b6; color: white; }
.rank-badge.master { background: #e74c3c; color: white; }

.perks-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin: 20px 0;
    flex-grow: 1;
}

.perks-list li {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perks-list li i { color: #1db954; }

.price { font-size: 24px; font-weight: bold; margin-bottom: 15px; }

.buy-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #1db954;
    color: #1db954;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}
.buy-btn:hover { background: #1db954; color: black; }

/* MAŁE KARTY (Klucze/Waluta) */
.shop-grid.small-grid .shop-card { width: 220px; padding: 20px; }
.item-icon { font-size: 40px; color: #ffd700; margin-bottom: 15px; }
.price-small { font-size: 20px; font-weight: bold; margin: 10px 0; }
.small-btn { padding: 8px; font-size: 14px; }
.desc-small { font-size: 12px; color: #888; margin-bottom: 5px; }


/* TOP DONATORS */
.top-donators-section {
    margin-top: 80px;
    text-align: center;
    padding: 40px 20px;
    background: rgba(0,0,0,0.2);
}

.donators-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: 40px;
}

.donator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.donator img {
    width: 60px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 3px solid #333;
}

.donator.first img {
    width: 90px;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.donator.second img { border-color: #c0c0c0; }
.donator.third img { border-color: #cd7f32; }

.crown-icon {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 10px;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nick { font-weight: bold; font-size: 16px; margin-top: 5px; }
.amount { color: #1db954; font-size: 14px; }

/* ADMINISTRACJA */
.admin-grid-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.admin-column { flex: 1; display: flex; justify-content: center; }
.center-column { flex: 1.2; transform: translateY(-10px); }

.admin-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border: 1px solid transparent;
}

.owner-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #e74c3c;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.1);
}

.owner-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
    margin-bottom: 15px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0 15px;
}

.owner-role { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.admin-role { background: rgba(230, 126, 34, 0.2); color: #e67e22; }
.helper-role { background: rgba(52, 152, 219, 0.2); color: #3498db; }

/* SEKCJE PROSTE (DISCORD/MAPA) */
.simple-section {
    text-align: center;
    padding: 100px 20px;
}

.simple-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: white;
}


/* REGULAMIN */
.rules-wrapper {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.rule-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 3px solid #1db954;
}

.rule-block h4 { font-size: 20px; margin-bottom: 15px; color: #fff; }
.rule-block p { color: #bbb; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }

/* STOPKA */
footer {
    text-align: center;
    padding: 40px;
    background: rgba(0,0,0,0.5);
    margin-top: auto;
    font-size: 14px;
    color: #666;
}

section { display: none; animation: fadeIn 0.4s ease-in-out; }
section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
    .header { height: auto; padding: 15px; flex-direction: column; }
    .nav { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .admin-grid-layout { flex-direction: column; }
    .center-column { transform: none; order: -1; }
    .donators-container { flex-direction: column; align-items: center; }
}

/* MAP */
.map-placeholder {
    text-align: center;
    padding: 50px;
    background: rgba(0,0,0,0.3);
    margin: 20px auto;
    max-width: 800px;
    border-radius: 20px;
    border: 2px dashed #333;
}

.map-placeholder i {
    font-size: 50px;
    color: #555;
    margin-bottom: 20px;
}

/* DISCORD */
.discord-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.discord-icon-big {
    font-size: 60px;
    color: #5865F2;
    margin-bottom: 20px;
}

.discord-btn {
    background: #5865F2;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    display: inline-block;
    cursor: pointer;
    margin-top: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}