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

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 100%);
    font-family: 'Orbitron', sans-serif;
    color: #00f5ff;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

#container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

#header {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.15), rgba(0, 245, 255, 0.15));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0096, #00f5ff, #ff0096, #00f5ff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.logo-image {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

.main-title {
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(45deg, #ff0096, #00f5ff, #ff0096);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#menubar {
    margin-bottom: 30px;
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 25px;
    color: #00f5ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 150, 0.3), transparent);
    transition: left 0.5s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link:hover {
    border-color: #ff0096;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 150, 0.4);
}

#content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.futuresub-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
}

.futuresub-title {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(45deg, #ff0096, #00f5ff, #ff0096);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes titleShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.futuresub-subtitle {
    color: #00f5ff;
    font-size: 1.1em;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.futuresub-title-underline {
    font-size: 1.8em;
    font-weight: 900;
    color: #00f5ff;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.futuresub-title-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff0096, #00f5ff);
    border-radius: 2px;
}

.stats-section {
    margin-bottom: 40px;
}

.table-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.future-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.future-table thead tr {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.3), rgba(0, 245, 255, 0.3));
    border-radius: 10px 10px 0 0;
}

.future-table th {
    padding: 18px 15px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
    border-bottom: 2px solid rgba(0, 245, 255, 0.4);
}

.future-table th:first-child {
    border-radius: 10px 0 0 0;
    text-align: center;
    width: 60px;
}

.future-table th:last-child {
    border-radius: 0 10px 0 0;
    text-align: center;
}

.table-row {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.table-row:nth-child(even) {
    background: rgba(0, 245, 255, 0.03);
}

.table-row:hover {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.2), rgba(0, 245, 255, 0.2));
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.3);
}

.first-place {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 165, 0, 0.15)) !important;
    border-left: 4px solid #ffd700;
}

.second-place {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.25), rgba(169, 169, 169, 0.15)) !important;
    border-left: 4px solid #c0c0c0;
}

.third-place {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.25), rgba(184, 115, 51, 0.15)) !important;
    border-left: 4px solid #cd7f32;
}

/* Uniwersalne klasy dla różnych typów komórek */
.player-cell, .class-cell, .level-cell, .exp-cell,
.position-cell, .clan-cell, .members-cell, .kills-cell, .wins-cell, .honor-cell,
.lost-cell {
    padding: 16px 15px;
    vertical-align: middle;
    text-align: center;
}

.player-info, .clan-info, .position-info {
    text-align: center;
}

.position-number {
    background: linear-gradient(135deg, #ff0096, #00f5ff);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9em;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
    margin: 0 auto;
}

.first-place .position-number {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    animation: goldGlow 2s ease-in-out infinite alternate;
}

.second-place .position-number {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #000;
	box-shadow: 0 0 15px rgb(216 216 216);
}

.third-place .position-number {
    background: linear-gradient(135deg, #cd7f32, #d2691e);
    color: #fff;
	box-shadow: 0 0 15px rgb(208 113 38);
}

@keyframes goldGlow {
    from {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    to {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
        transform: scale(1.05);
    }
}

/* Style dla nazw graczy/klanów */
.player-name, .clan-name {
    color: #00f5ff;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

.first-place .player-name, .first-place .clan-name {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Style dla różnych statystyk */
.class-name, .members-count {
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
}

.level-count {
    color: #00ccff;
    font-weight: 700;
    font-size: 1.1em;
}

.exp-count, .kills-count {
    color: #ff0096;
    font-weight: 900;
    font-size: 1.2em;
    text-shadow: 0 0 8px rgba(255, 0, 150, 0.5);
}

.wins-count {
    color: #ffcc00;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.lost-count {
    color: #ff4444;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

.honor-count {
    color: #ff6600;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
}

.day-tabs {
    display: flex;
    background: #1a1a1a;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.day-tab {
    flex: 1;
    padding: 12px 20px;
    background: #2a2a2a;
    color: #ccc;
    text-decoration: none;
    text-align: center;
    border-right: 1px solid #333;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-weight: 400;
}
.day-tab:last-child {
    border-right: none;
}
.day-tab:hover {
    background: #3a3a3a;
    color: #fff;
}
.day-tab.active {
    background: #0066cc;
    color: #fff;
    font-weight: 700;
}
.demo-count {
    display: block;
    font-size: 0.8em;
    opacity: 0.7;
    margin-top: 2px;
}

/* Media queries - responsywność */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-title {
        font-size: 2em;
        text-align: center;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .menu-list {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-link {
        width: 200px;
        text-align: center;
    }

    .table-container {
        padding: 15px;
    }
    
    .future-table {
        min-width: 600px;
    }
    
    .future-table th,
    .player-cell, .class-cell, .level-cell, .exp-cell,
    .position-cell, .clan-cell, .members-cell, .kills-cell, .wins-cell, .honor-cell,
    .lost-cell {
        padding: 12px 10px;
    }
    
    .position-number {
        width: 28px;
        height: 28px;
        font-size: 0.8em;
    }
    
    .futuresub-title {
        font-size: 1.8em;
    }
}