body * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input, textarea, .player-name, .server-name-cell, .server-ip-cell, .servers-table {
    user-select: text;
    -webkit-user-select: text;
}

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

:root {
    --primary-red: #ff0000;
    --dark-red: #900000;
    --darker-red: #600000;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(17, 17, 17, 0.95);
    --bg-secondary: rgba(27, 27, 27, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-muted: #888888;
    --border-color: rgba(192, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 0, 0, 0.15);
}

body {
    font-family: 'Inter', 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(255, 0, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(192, 0, 0, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 60%);
    animation: bgPulse 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(2deg); }
}

header {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.99) 100%);
    padding: 50px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0.5; }
}

.visitor-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.visitor-counter:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.visitor-counter svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-red);
}

.visitor-count {
    color: var(--primary-red);
    font-weight: 700;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 16px;
    color: var(--primary-red);
    text-shadow: 
        0 0 30px rgba(255, 0, 0, 0.6),
        0 0 60px rgba(255, 0, 0, 0.4),
        0 0 90px rgba(255, 0, 0, 0.2),
        0 5px 20px rgba(0, 0, 0, 0.8);
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
    margin-bottom: 5px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.logo-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 15, 15, 0.9);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

nav a:hover::before {
    opacity: 0.2;
}

nav a.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    min-height: calc(100vh - 400px);
}

.hidden { 
    display: none;
}

.card {
    background: var(--bg-card);
    padding: 45px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 35px;
    backdrop-filter: blur(20px);
    box-shadow: 
        var(--shadow-glow),
        0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 
        0 0 80px rgba(255, 0, 0, 0.25),
        0 12px 48px rgba(0, 0, 0, 0.6);
    transform: translateY(-6px);
}

.card:hover::before {
    opacity: 1;
}

.card h2 {
    font-size: 36px;
    margin-bottom: 35px;
    color: var(--primary-red);
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: 1px;
}

.card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    border-radius: 4px;
}

.server-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.info-box:hover {
    border-color: rgba(255, 0, 0, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.2);
}

.info-box:hover::before {
    opacity: 1;
}

.info-box:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.status-online { 
    color: #00ff88;
    animation: statusPulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-offline { 
    color: #ff4444;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    color: white;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 20px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 35px rgba(255, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.join-btn::after {
    content: '▶';
    font-size: 12px;
}

.copy-btn {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.copy-btn:hover {
    background: rgba(27, 27, 27, 1);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
}

.copy-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.copy-btn:hover svg {
    transform: scale(1.1);
}

.copy-message {
    display: none;
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.vip-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.price-box {
    background: var(--bg-secondary);
    padding: 30px 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-red), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.price-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(192, 0, 0, 0.3);
}

.price-box:hover::before {
    transform: scaleX(1);
}

.price-duration {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.price-subtext {
    font-size: 16px;
    color: var(--text-muted);
}

.discord-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.discord-fixed a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #5865F2;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-fixed a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.discord-fixed img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

footer {
    text-align: center;
    margin-top: 100px;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.shop-tab {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.shop-tab:hover {
    color: var(--text-primary);
    background: rgba(27, 27, 27, 0.3);
}

.shop-tab.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
    background: rgba(27, 27, 27, 0.5);
}

.shop-content {
    display: none;
}

.shop-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.vip-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-red);
    font-weight: 700;
}

.vip-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-left: 3px solid var(--primary-red);
    border-radius: 12px;
    margin-bottom: 25px;
    line-height: 2;
}

.payment-box {
    background: var(--bg-secondary);
    padding: 20px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.payment-box:hover {
    border-color: var(--primary-red);
    background: rgba(27, 27, 27, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(192, 0, 0, 0.2);
}

.vip-button {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4);
}

.vip-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(88, 101, 242, 0.6);
}

.terms-button {
    display: inline-block;
    margin-top: 30px;
    margin-left: 15px;
    padding: 18px 45px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.terms-button:hover {
    background: rgba(27, 27, 27, 1);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a0000 0%, #000 100%);
    margin: auto;
    padding: 40px;
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(192, 0, 0, 0.5);
}

.modal-content h2 {
    color: var(--primary-red);
    margin-bottom: 25px;
    font-size: 28px;
    text-align: center;
}

.modal-content p {
    line-height: 2;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .logo {
        font-size: 42px;
        letter-spacing: 6px;
    }

    nav {
        flex-wrap: wrap;
        padding: 15px;
    }

    nav a {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        font-size: 14px;
        padding: 10px 16px;
    }

    .server-info {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 25px;
    }

    .card h2 {
        font-size: 24px;
    }

    .visitor-counter {
        position: static;
        margin: 0 auto 20px;
        width: fit-content;
    }
/* Pridaj toto na koniec svojho CSS */
.hidden {
    display: none !important;
}

/* Oprava pre kontajner, aby admin panel nebol nalepený vľavo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
}