* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #1b1b1b;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(27, 27, 27, 0.95);
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo-image {
    height: 95px;
    width: auto;
    object-fit: contain;
    max-height: 95px;
    max-width: none;
    margin-right: 20px;
}

.logo span {
    color: #831FFF;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links a i {
    font-size: 1.2em;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #9036ff, #831FFF);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #831FFF;
    transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover i,
.nav-links a.active i {
    transform: scale(1.2);
}

.nav-links a span {
    font-family: 'Poppins', sans-serif;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #831FFF;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    background: rgba(17, 17, 17, 0.8);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(3px);
    transform: scale(1.1);
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 2;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.wave-top {
    bottom: 40px;
}

.wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* Pro obsah pod hero sekcí */
.content {
    background: #333333;
    position: relative;
    z-index: 1;
}

.wave-bottom {
    bottom: 0;
    height: 150px;
}

/* Nová sekce pro obsah */
.main-content {
    background: #1b1b1b;
    position: relative;
    padding: 0 2rem 4rem 2rem;
    /* Odstraněn horní padding (bylo 4rem) */
    color: white;
    min-height: 500px;
}

/* Patička */
footer {
    background: linear-gradient(to bottom, #1b1b1b, #141414);
    padding: 3rem 2rem;
    color: #888;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    color: #831FFF;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: #888;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #831FFF;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.copyright-box,
.creator-box,
.load-time {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 0.8rem;
    color: #666;
}

.copyright-box:hover,
.creator-box:hover,
.load-time:hover {
    background: rgba(255, 255, 255, 0.1);
}

.heart {
    color: #ff4646;
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.heart:hover {
    transform: scale(1.2);
}

.copyright-box span {
    color: #831FFF;
}

.page-stats {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.8rem;
}

.load-time {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.load-time:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-bottom img:hover {
    opacity: 1;
}


.footer-bottom a {
    color: #831FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom .heart {
    color: #ff4646;
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.footer-bottom .heart:hover {
    transform: scale(1.2);
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.contact-info {
    flex: 1;
}

img.footer-logo {
    height: 250px;
    margin-right: -200px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

img.footer-logo:hover {
    opacity: 1;
}

.timer-icon,
.copyright-icon {
    width: 0.4em;
    height: 0.4em;
    vertical-align: middle;
    margin-right: 3px;
    filter: brightness(0) invert(0.4);
}

.server-status-container {
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

.server-status-text {
    font-size: 1.2rem;
    color: white;
}

.server-status-container span {
    color: white;
}

.main-server-status {
    color: #ff4646;
    font-weight: 500;
    background: rgba(43, 43, 43, 0.8);
    padding: 10px 20px;
    border-radius: 8px;
}

.main-server-status.online {
    color: #4CAF50;
}

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding-top: 15px;
}

.server-ip {
    margin-bottom: 2rem;
}

.ip-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    gap: 1rem;
}

.ip {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.copy-btn {
    background: #831FFF;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #831FFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 255, 0, 0.3);
}

.join-button {
    display: inline-block;
    background: #831FFF;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.join-button:hover {
    background: #831FFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 255, 0, 0.3);
}

/* Úprava výšky hero sekce pro všechny stránky */
.hero-small {
    height: 40vh;
    min-height: 450px;
}

.hero-small .hero-content {
    background: none;
    box-shadow: none;
    top: 50%;
}

.hero-small .page-title {
    color: white;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 2rem 0;
}

/* Styly pro sekci týmu */
.team-section {
    background: #1b1b1b;
    padding: 1rem 2rem 4rem 2rem;
    /* Zmenšen horní padding (bylo 4rem) */
    position: relative;
    z-index: 2;
    margin-top: -2px;
}

.team-group {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.team-group h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-description {
    color: #888;
    font-style: italic;
    margin-bottom: 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-skin {
    width: 128px;
    height: auto;
    margin-bottom: 1rem;
}

.member-name {
    color: #831FFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #888;
    display: block;
    margin-bottom: 1rem;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #831FFF;
}

.social-icon.instagram:hover {
    color: #E1306C;
}

.social-icon.discord:hover {
    color: #7289DA;
}


.subtitle {
    color: #666;
    margin-bottom: 40px;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    background: rgba(17, 17, 17, 0.8);
    border-radius: 15px;
    padding: 20px;
    width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    position: relative;
}

.team-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 10px;
    position: relative;
}

.team-card img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.role-description {
    color: #888;
    font-size: 0.9rem;
    margin: 10px 0;
    flex-grow: 1;
}

.social-icons {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border-bottom: none !important;
}

.social-icons a:hover {
    transform: translateY(-2px);
    text-decoration: none;
    border-bottom: none;
}

.social-icons .instagram-icon:hover {
    color: #E1306C;
}

.social-icons .discord-icon:hover {
    color: #7289DA;
}

/* Styly pro role */
.text1 {
    background: linear-gradient(45deg, #ff0000, #ff5555);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text2 {
    background: linear-gradient(45deg, #cc00cc, #ff66ff);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text3 {
    background: linear-gradient(45deg, #9729FE, #b366ff);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text4 {
    background: linear-gradient(45deg, #ff9900, #ffcc00);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text5 {
    background: linear-gradient(45deg, #00ff00, #66ff66);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text6 {
    background: linear-gradient(45deg, #ffff00, #ffff66);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.text7 {
    background: linear-gradient(45deg, #ff8800, #ffb347);
    color: #181818;
    padding: 6px 18px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.5px;
    border: none;
}

.social-icons .discord-icon {
    cursor: pointer;
    position: relative;
}

.social-icons .discord-icon:hover::after {
    content: 'Klikni pro zkopírování';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
}

@keyframes copySuccess {
    0% {
        color: #7289DA;
    }

    50% {
        color: #00ff00;
    }

    100% {
        color: #7289DA;
    }
}

.copy-success {
    animation: copySuccess 1s ease;
}

/* Vote Page Styles */
.vote-container {
    padding-top: 2rem;
    min-height: 60vh;
}

.vote-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.vote-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease;
}

.vote-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.nickname-input-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.nickname-input-wrapper:focus-within {
    border-color: #831FFF;
    box-shadow: 0 0 20px rgba(131, 31, 255, 0.2);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.nickname-input-wrapper i {
    color: #888;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.nickname-input-wrapper:focus-within i {
    color: #831FFF;
}

.vote-input-large {
    width: 100%;
    padding: 1.2rem 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    outline: none;
    font-weight: 500;
}

.voting-sites-section {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.voting-sites-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
}

.voting-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.site-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(131, 31, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.site-card:hover::before {
    transform: translateX(100%);
}

.site-card:hover {
    transform: translateY(-10px);
    border-color: #831FFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(131, 31, 255, 0.2);
    background: rgba(40, 40, 40, 0.8);
}

.site-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.site-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.site-card:hover .site-logo {
    transform: scale(1.1);
}

.site-info h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.vote-action {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #831FFF;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.site-card:hover .vote-action {
    background: #9d4dff;
    box-shadow: 0 0 15px #831FFF;
    padding-right: 2.5rem;
    position: relative;
}

.vote-action i {
    opacity: 0;
    margin-left: -10px;
    transition: all 0.3s ease;
}

.site-card:hover .vote-action i {
    opacity: 1;
    margin-left: 5px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2f3136;
    color: white;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification i {
    color: #43b581;
    font-size: 20px;
}

.notification span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Styly pro admin team karty zůstávají stejné */
.team-card .status-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff4646;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 10px rgba(255, 70, 70, 0.3);
    transition: background-color 0.3s ease;
}

.team-card .status-indicator.status-online {
    background-color: #4CAF50;
    box-shadow: 0 0 10px rgba(74, 175, 80, 0.3);
}

.social-icon {
    text-decoration: none !important;
    border-bottom: none !important;
}

.instagram-icon,
.discord-icon {
    text-decoration: none !important;
    border-bottom: none !important;
}

.project-description {
    text-align: center;
    color: white;
    background: rgba(17, 17, 17, 0.8);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-description h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #831FFF;
    text-shadow: 0 0 10px rgba(232, 255, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.server-status-container {
    margin-top: 2rem;
}

.project-description {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Základní kontejner pro pravidla */
.rules-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.rules-content {
    flex-grow: 1;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
}

.rules-section {
    display: none;
}

.rules-section.active {
    display: block;
}

.rules-section h2 {
    color: #831FFF;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.rules-description {
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Menu pravidel */
.rules-menu {
    width: 300px;
    background: rgba(17, 17, 17, 0.8);
    padding: 1rem;
    border-radius: 12px;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.menu-item i {
    width: 24px;
    text-align: center;
}

.menu-item.active {
    background: rgba(131, 31, 255, 0.1);
    color: #831FFF;
}

.menu-item:hover {
    background: rgba(131, 31, 255, 0.1);
}

/* Upravené styly s gradienty a glow efekty */

/* Logo - přidání záře */
.logo span {
    color: #831FFF;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.5);
}

/* Navigace - aktivní link s glow */
.nav-links a:hover,
.nav-links a.active {
    color: #a85fff;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #831FFF, #b366ff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(131, 31, 255, 0.5);
}

/* Tlačítko Zkopírovat - gradient a glow */
.copy-btn {
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(131, 31, 255, 0.3);
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    box-shadow: 0 6px 20px rgba(131, 31, 255, 0.5);
    transform: translateY(-2px);
}

/* Hlavní tlačítko "JAK SE PŘIPOJIT" - gradient a silnější glow */
.join-button {
    display: inline-block;
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(131, 31, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.join-button:hover {
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(131, 31, 255, 0.6);
}

/* Nadpisy v popisu - glow */
.project-description h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #831FFF, #be85ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(131, 31, 255, 0.3);
}

/* Footer nadpisy */
.footer-section h3 {
    color: #831FFF;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.3);
}

/* Odkazy ve footeru */
.footer-section a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

.login-footer a {
    color: #831FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

/* Login button */
.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 31, 255, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    box-shadow: 0 6px 20px rgba(131, 31, 255, 0.5);
}

/* Login header */
.login-header h2 {
    color: #831FFF;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(131, 31, 255, 0.4);
}

/* Input focus glow */
.form-group input:focus {
    border-color: #831FFF;
    outline: none;
    box-shadow: 0 0 15px rgba(131, 31, 255, 0.2);
}

/* Checkbox accent */
.remember-me input[type="checkbox"] {
    accent-color: #831FFF;
}

/* Auth button (pokud se používá) */
.auth-button {
    background: rgba(131, 31, 255, 0.1);
    border: 2px solid #831FFF;
    color: #831FFF;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    box-shadow: 0 0 10px rgba(131, 31, 255, 0.1);
}

.auth-button:hover {
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(131, 31, 255, 0.4);
}

/* Scrollbar thumb gradient */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #831FFF, #5a14b3);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #9d4dff, #831FFF);
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Category buttons (Store/Rules) */
.category-btn.active,
.new-menu-item.active {
    background: linear-gradient(90deg, rgba(131, 31, 255, 0.2), rgba(131, 31, 255, 0.05));
    color: #b366ff;
    border-left: 3px solid #831FFF;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.3);
}

.category-btn:hover,
.new-menu-item:hover {
    background: linear-gradient(90deg, rgba(131, 31, 255, 0.15), rgba(131, 31, 255, 0.02));
    color: #b366ff;
}

/* Highlight text */
.highlight {
    color: #b366ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.4);
}

/* Icons color update with glow */
.social-links a:hover {
    color: #b366ff;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.6);
}

.footer-bottom a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

/* Kategorie pravidel */
.rule-category {
    margin-bottom: 2rem;
}

.rule-category h3 {
    color: #831FFF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-category h3 i {
    width: 24px;
    text-align: center;
}

.rule-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 1px solid #fff;
    width: 100%;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    height: auto;
}

.rule-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rule-item p {
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.5;
    padding: 0;
    display: block;
}

/* Warning boxy */
.rule-box.warning {
    background: rgba(139, 0, 0, 0.3);
    border-left: 4px solid #ff4646;
}

.rule-box.ticket-info {
    background: rgba(88, 101, 242, 0.3);
    border-left: 4px solid #5865F2;
}

.warning-flex {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-text {
    flex: 1;
}

.warning-text p {
    color: #fff;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.5;
}

.warning-text p:last-child {
    margin-bottom: 0;
}

.rule-box i {
    font-size: 20px;
    flex-shrink: 0;
    color: #fff;
}

.rule-box.warning i {
    color: #ff4646;
    font-size: 24px;
}

.rule-box.ticket-info i {
    color: #5865F2;
    font-size: 20px;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .rules-container {
        flex-direction: column;
    }

    .rules-menu {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .rules-content {
        width: 100%;
    }
}

/* Specifické opravy pro jednotlivé sekce */
#minecraft .rule-item p,
#discord .rule-item p,
#teamspeak .rule-item p,
#at-prava .rule-item p,
#platby .rule-item p {
    padding: 0;
    margin-bottom: 5px;
}

/* Highlight */
.highlight {
    color: #5865F2;
    font-weight: 700;
}

/* Oprava pro warning text */
.warning-text ul li::marker {
    color: #5865F2;
}

.gdpr-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.section-content {
    background: rgba(30, 30, 30, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.gdpr-category {
    margin: 40px 0;
}

.gdpr-box {
    background: rgba(30, 30, 30, 0.6);
    border-left: 4px solid #fff;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
}

.gdpr-intro {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #fff;
}

.gdpr-box:hover {
    background: rgba(40, 40, 40, 0.6);
    transition: background 0.3s ease;
}

.gdpr-box ul {
    margin: 15px 0;
    padding-left: 25px;
}

.gdpr-box li {
    margin: 10px 0;
    line-height: 1.5;
}

.gdpr-category h3 i {
    margin-right: 10px;
    color: #831FFF;
}

/* Store Container */
.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Kategorie */
.store-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.category-btn {
    background: rgba(30, 30, 30, 0.8);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-btn:hover {
    background: rgba(40, 40, 40, 0.8);
    transform: translateY(-2px);
}

.category-btn.active {
    background: #831FFF;
    color: #000;
}

/* Produkty */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-header {
    margin-bottom: 20px;
}

.product-header i {
    font-size: 2.5rem;
    color: #831FFF;
    margin-bottom: 10px;
}

.product-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.product-price {
    font-size: 2rem;
    color: #fff;
    margin: 20px 0;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: #fff;
}

.product-features li {
    margin: 10px 0;
}

.product-features i {
    color: #831FFF;
    margin-right: 10px;
}

.buy-btn {
    background: #831FFF;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.buy-btn:hover {
    background: #831FFF;
    transform: scale(1.05);
}

/* Ikona košíku */
.cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #831FFF;
    color: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modální okno košíku */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    background: #1b1b1b;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cart-modal.active {
    display: block;
}

.cart-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    color: #fff;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.cart-item-info {
    flex-grow: 1;
    margin: 0 15px;
    color: #fff;
}

.cart-item-price {
    color: #831FFF;
}

.remove-item {
    color: #ff4444;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #831FFF;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #831FFF;
}

/* Přidat k existujícím stylům košíku */
.cart-form {
    padding: 20px;
    border-top: 1px solid #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #831FFF;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Disabled stav pro tlačítko */
.checkout-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Modal pro připojení */
.connect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.connect-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.connect-modal .modal-content {
    background: #1b1b1b;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #ffff00;
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    padding: 15px;
}

.connect-steps .step {
    margin-bottom: 15px;
    color: #fff;
    font-size: 0.95rem;
}

.step-number {
    color: #ffff00;
    font-weight: bold;
    margin-right: 10px;
}

.server-ip-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-ip-box .ip {
    font-family: monospace;
    font-size: 1.2rem;
    color: #831FFF;
}

.copy-btn {
    background: #831FFF;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: #831FFF;
}

.highlight {
    color: #831FFF;
    font-weight: bold;
}

.server-preview {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.server-preview img {
    width: 100%;
    display: block;
}

.connect-note {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.connect-note i {
    color: #831FFF;
    font-size: 1.2rem;
}

.step-image {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

/* Error Page Styles */
.error-container {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    background: #1b1b1b;
    min-height: calc(100vh - 100px);
    /* Výška viewportu mínus výška navigace */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    /* Odsazení od horní navigace */
}

.error-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 40px;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-icon {
    font-size: 60px;
    color: #ffd93d;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.error-content h1 {
    font-size: 80px;
    margin: 0;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.error-content h2 {
    font-size: 30px;
    margin: 10px 0;
    color: #ffd93d;
}

.error-content p {
    font-size: 18px;
    margin: 20px 0;
    color: #fff;
}

.error-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.error-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 217, 61, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-content h1 {
        font-size: 80px;
    }

    .error-content h2 {
        font-size: 24px;
    }

    .error-icon {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .error-content h1 {
        font-size: 60px;
    }

    .error-content h2 {
        font-size: 20px;
    }

    .error-content p {
        font-size: 16px;
    }

    .error-icon {
        font-size: 40px;
    }
}

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

.status-title {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    font-size: 2.5em;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    -webkit-text-fill-color: transparent;
}

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

.section-title {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: #ffd93d;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.status-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 217, 61, 0.3);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.status-header i {
    font-size: 24px;
    color: #ffd93d;
}

.status-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online .dot {
    background-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-indicator.offline .dot {
    background-color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

.status-indicator.warning .dot {
    background-color: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.status-indicator.problem .dot {
    background-color: #ff9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.status-text {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.server-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.server-stats p {
    color: #ccc;
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}

.server-stats span {
    color: white;
    font-weight: 500;
}

.status-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.update-info {
    color: #ccc;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.update-info i {
    color: #ffd93d;
}

.dot-separator {
    color: #ffd93d;
}

#last-update {
    color: white;
}

/* Uptime progress bar */
.uptime-bar {
    height: 30px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 15px;
    transition: width 0.3s ease;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
}

.uptime-bar.medium {
    background: linear-gradient(90deg, #FFC107, #FFB300);
}

.uptime-bar.low {
    background: linear-gradient(90deg, #f44336, #FF5722);
}

/* Webkit prohlížeče (Chrome, Safari, novější verze Edge) */
::-webkit-scrollbar {
    width: 8px;
    /* Šířka scrollbaru */
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0);
    /* Tmavé pozadí dráhy */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(83, 31, 255);
    /* Žlutá barva s průhledností */
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid rgba(83, 31, 255);
    /* Jemný žlutý okraj */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(83, 31, 255);
    /* Světlejší žlutá při hoveru */
    box-shadow: 0 0 10px rgba(83, 31, 255);
    /* Žlutý glow efekt */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(83, 31, 255) rgba(0, 0, 0, 0.1);
}

/* Pro elementy s vlastním scrollbarem */
.scrollable-element {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(83, 31, 255) rgba(0, 0, 0, 0.1);
}

/* Přidání stylů pro přihlašovací tlačítko */
.auth-button {
    background: rgba(83, 31, 255, 0.1);
    border: 2px solid #831FFF;
    color: #831FFF;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.auth-button:hover {
    background: #831FFF;
    color: #1b1b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(83, 31, 255, 0.3);
}

.auth-button i {
    font-size: 1.1em;
}

/* Úprava navigace pro správné zarovnání */
.right-section {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: url('images/background3.png') center/cover no-repeat;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.login-box {
    background: rgba(27, 27, 27, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(232, 255, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #831FFF;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #888;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #831FFF;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 40px;
    /* Prostor pro tlačítko */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #831FFF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(83, 31, 255, 0.1);
}

/* Styly pro input s heslem */
.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 40px;
    /* Prostor pro ikonu */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

/* Styly pro tlačítko s okem */
.input-group-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.input-group-text:hover {
    color: #831FFF;
}

.input-group-text i {
    font-size: 1.2rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    accent-color: #831FFF;
}

.forgot-password {
    color: #831FFF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #fff;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: #831FFF;
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(83, 31, 255, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: #888;
    margin-bottom: 1rem;
}

.login-footer a {
    color: #831FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #fff;
}

.login-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.login-help i {
    color: #831FFF;
}

/* Responzivní design */
@media (max-width: 480px) {
    .login-box {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.input-group-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    padding: 8px;
    z-index: 2;
}

.input-group-text:hover {
    color: #831FFF;
}

.rules-section {
    display: none;
}

.rules-section.active {
    display: block;
}

.rules-menu .menu-item {
    cursor: pointer;
}

.rules-menu .menu-item.active {
    /* Přidejte styly pro aktivní položku menu */
    font-weight: bold;
    /* nebo jiné vizuální zvýraznění */
}

/* Přidejte tyto styly do vašeho existujícího CSS */
.user-nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.user-nav-menu img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.user-nav-menu .username {
    color: #fff;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.user-nav-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

/* Upravené styly s gradienty a glow efekty */

/* Logo - přidání záře */
.logo span {
    color: #831FFF;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.5);
}

/* Navigace - aktivní link s glow */
.nav-links a:hover,
.nav-links a.active {
    color: #a85fff;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #831FFF, #b366ff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(131, 31, 255, 0.5);
}

/* Tlačítko Zkopírovat - gradient a glow */
.copy-btn {
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(131, 31, 255, 0.3);
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    box-shadow: 0 6px 20px rgba(131, 31, 255, 0.5);
    transform: translateY(-2px);
}

/* Hlavní tlačítko "JAK SE PŘIPOJIT" - gradient a silnější glow */
.join-button {
    display: inline-block;
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(131, 31, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.join-button:hover {
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(131, 31, 255, 0.6);
}

/* Nadpisy v popisu - glow */
.project-description h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #831FFF, #be85ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(131, 31, 255, 0.3);
}

/* Footer nadpisy */
.footer-section h3 {
    color: #831FFF;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.3);
}

/* Odkazy ve footeru */
.footer-section a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

.login-footer a {
    color: #831FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

/* Login button */
.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 31, 255, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #9d4dff, #b366ff);
    box-shadow: 0 6px 20px rgba(131, 31, 255, 0.5);
}

/* Login header */
.login-header h2 {
    color: #831FFF;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(131, 31, 255, 0.4);
}

/* Input focus glow */
.form-group input:focus {
    border-color: #831FFF;
    outline: none;
    box-shadow: 0 0 15px rgba(131, 31, 255, 0.2);
}

/* Checkbox accent */
.remember-me input[type="checkbox"] {
    accent-color: #831FFF;
}

/* Auth button (pokud se používá) */
.auth-button {
    background: rgba(131, 31, 255, 0.1);
    border: 2px solid #831FFF;
    color: #831FFF;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    box-shadow: 0 0 10px rgba(131, 31, 255, 0.1);
}

.auth-button:hover {
    background: linear-gradient(135deg, #831FFF, #9d4dff);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(131, 31, 255, 0.4);
}

/* Scrollbar thumb gradient */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #831FFF, #5a14b3);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #9d4dff, #831FFF);
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Category buttons (Store/Rules) */
.category-btn.active,
.new-menu-item.active {
    background: linear-gradient(90deg, rgba(131, 31, 255, 0.2), rgba(131, 31, 255, 0.05));
    color: #b366ff;
    border-left: 3px solid #831FFF;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.3);
}

.category-btn:hover,
.new-menu-item:hover {
    background: linear-gradient(90deg, rgba(131, 31, 255, 0.15), rgba(131, 31, 255, 0.02));
    color: #b366ff;
}

/* Highlight text */
.highlight {
    color: #b366ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.4);
}

/* Icons color update with glow */
.social-links a:hover {
    color: #b366ff;
    text-shadow: 0 0 10px rgba(131, 31, 255, 0.6);
}

.footer-bottom a:hover {
    color: #b366ff;
    text-shadow: 0 0 8px rgba(131, 31, 255, 0.4);
}

.new-rule-note {
    color: #ccc;
    font-style: italic;
    margin-top: 10px;
}

.new-warning-box {
    background: rgba(139, 0, 0, 0.3);
    border-left: 4px solid #ff4646;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.new-warning-box i {
    color: #ff4646;
    font-size: 1.5rem;
    margin-top: 3px;
}

.new-warning-text {
    flex: 1;
}

.new-warning-text p {
    color: #fff;
    margin: 0 0 10px 0;
}

.new-warning-text p:last-child {
    margin-bottom: 0;
}

.new-info-box {
    background: rgba(88, 101, 242, 0.3);
    border-left: 4px solid #5865F2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.new-info-box i {
    color: #5865F2;
    font-size: 1.5rem;
    margin-top: 3px;
}

.new-section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .new-rules-container {
        flex-direction: column;
    }

    .new-rules-menu {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}