/* ================================================= */
/* ==== ZÁKLADNÍ NASTAVENÍ A GLOBÁLNÍ STYLY (ROOT ==== */
/* ================================================= */

:root {
    --mc-blue: #55FFFF;
    --mc-blue-dark: #3b9898;
    --mc-dark: #1a1a1a;
    --mc-dark-alt: #2c2c2c;
    --mc-light: #f0f0f0;
    --mc-gold: #ffc82f;
    --mc-red: #FF5555;
    --mc-gray: #9b9b9b;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--mc-dark);
    color: var(--mc-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.full-width-section {
    width: 100%;
}

.section-padding {
    padding: 80px 20px;
}


/* ================================================= */
/* ==== NOTIFIKACE (Výsuvná lišta) ==== */
/* ================================================= */

.notification {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--mc-blue-dark);
    color: var(--mc-light);
    padding: 15px 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: top 0.5s ease-out;
    z-index: 1001;
}

.notification.show {
    top: 0;
}


/* ================================================= */
/* ==== NAVIGAČNÍ LIŠTA (Navbar) ==== */
/* ================================================= */

.navbar {
    background-color: var(--mc-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--mc-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.navbar-logo-link {
    height: 50px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 100%;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-links {
    list-style: none;
    display: flex;
    margin: 0 auto;
    padding: 0;
}

.nav-button {
    text-decoration: none;
    color: var(--mc-light);
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--mc-blue);
    transition: width var(--transition-speed) ease, left var(--transition-speed) ease;
}

.nav-button:hover {
    color: var(--mc-blue);
}

.nav-button:hover::after {
    width: 100%;
    left: 0;
}

.active-page {
    color: var(--mc-blue);
}

.active-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--mc-blue);
}

.navbar-social a {
    color: var(--mc-light);
    font-size: 24px;
    margin-left: 15px;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.navbar-social a:hover {
    color: var(--mc-gray);
    transform: scale(1.2);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--mc-light);
    font-size: 24px;
    cursor: pointer;
}


/* ================================================= */
/* ==== SPOLEČNÉ STYLY (Nadpisy a Pozadí) ==== */
/* ================================================= */

.background-dark-alt {
    background-color: var(--mc-dark-alt);
}

.background-dark {
    background-color: var(--mc-dark);
}

h2 {
    font-size: 2.5em;
    color: var(--mc-light);
    margin-bottom: 40px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: 4px solid var(--mc-blue);
}


/* ================================================= */
/* ==== STYLY PRO TLAČÍTKA ==== */
/* ================================================= */

.main-button {
    border: none;
    padding: 15px 35px;
    font-size: 1.25em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.main-button i {
    font-size: 1.1em;
}

.primary-button {
    background-color: var(--mc-dark-alt);
    color: var(--mc-light);
    border: 3px solid var(--mc-blue);
}

.primary-button:hover {
    background-color: var(--mc-blue);
    color: var(--mc-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.secondary-button {
    background-color: var(--mc-dark-alt);
    color: var(--mc-light);
    border: 3px solid var(--mc-blue);
}

.secondary-button:hover {
    background-color: var(--mc-blue);
    color: var(--mc-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.small-button {
    padding: 8px 15px;
    font-size: 1em;
    border-radius: 20px;
}


/* ================================================= */
/* ==== SEKCE hero (Index) ==== */
/* ================================================= */

.hero-section {
    background: url('images/lobby.webp') no-repeat center center/cover;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.server-title {
    font-size: 5em;
    color: rgb(255, 255, 255);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}


/* ================================================= */
/* ==== SEKCE O NÁS (Index) ==== */
/* ================================================= */

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.about-text {
    flex: 1;
    font-size: 1.1em;
}

.about-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}


/* ================================================= */
/* ==== SEKCE MINIHRY (Index) ==== */
/* ================================================= */

.minigames-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.minigame-card {
    background-color: var(--mc-dark-alt);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.minigame-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    border-color: var(--mc-blue);
}

.minigame-image {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
}

.minigame-card h3 {
    color: var(--mc-blue);
    padding: 15px 10px 5px;
    font-size: 1.5em;
}

.minigame-card p {
    padding: 0 15px 20px;
    font-size: 0.95em;
    color: #cccccc;
}


/* ================================================= */
/* ==== STRÁNKY JAK SE PŘIPOJIT A PRAVIDLA ==== */
/* ================================================= */

.join-page-content {
    min-height: calc(100vh - 100px);
    padding: 0;
    background-color: #252525;
    background-image: url('images/background_join.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    z-index: 0;
}

.join-page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.join-header-wrapper {
    position: relative;
    z-index: 2;
    background-image: url('images/lobby.webp');
    background-size: cover;
    background-position: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.join-header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    z-index: -1;
}

.join-header-text-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.join-header-wrapper h2 {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.join-intro {
    font-size: 1.1em;
    margin-bottom: 0;
    color: #ccc;
}

.join-steps {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px 40px;
}

.rules-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px 40px;
}

.staff-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    background-color: var(--mc-dark-alt);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    border-left: 5px solid var(--mc-blue);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.step-card h3 {
    color: var(--mc-blue);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.ip-copy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    background-color: #111;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px dashed var(--mc-blue-dark);
}

.ip-address-display {
    font-family: 'Courier New', monospace;
    color: var(--mc-blue);
    font-size: 1.2em;
    font-weight: bold;
    user-select: all;
}

pre {
    background-color: #111;
    color: var(--mc-blue);
    padding: 12px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    margin-top: 15px;
    font-size: 1.05em;
}

.mc-link {
    color: var(--mc-gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.mc-link:hover {
    color: var(--mc-blue);
}

.premium-card {
    border-left: 5px solid var(--mc-gold);
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    margin-top: 30px;
}

.premium-card h3 {
    color: var(--mc-gold);
}


/* ================================================= */
/* ==== STYLY PRO PRAVIDLA ==== */
/* ================================================= */

.rules-group {
    background-color: var(--mc-dark-alt);
    border-radius: 10px;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid #444;
}

.rules-group-header {
    background-color: var(--mc-blue-dark);
    color: var(--mc-light);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rules-group-header h3 {
    margin: 0;
    font-size: 1.8em;
    color: var(--mc-light);
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 20px 30px;
    border-bottom: 1px solid #333;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.rules-list li.rule-important {
    background-color: #38311a;
    border-left: 5px solid var(--mc-gold);
}

.rule-icon {
    font-size: 1.5em;
    color: var(--mc-blue);
    flex-shrink: 0;
    padding-top: 3px;
}

.rule-important .rule-icon {
    color: var(--mc-gold);
}

.rule-text strong {
    color: var(--mc-blue);
}

.rule-important .rule-text strong {
    color: var(--mc-gold);
}


/* ================================================= */
/* ==== STYLY PRO SPOLUPRÁCE ==== */
/* ================================================= */

.cooperation-group .rules-group-header {
    background-color: #007bff;
    border-bottom: 5px solid var(--mc-gold);
}

.cooperation-group .rules-group-header h3 {
    color: var(--mc-light);
}

.cooperation-group .rules-group-header i {
    color: var(--mc-gold);
    font-size: 2em;
}

.cooperation-details-list {
    display: flex;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1 1 50%;
    padding: 20px 30px;
    border-right: 1px solid #333;
}

.detail-item:last-child {
    border-right: none;
}

.detail-item h4 {
    color: var(--mc-blue);
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list h4 {
    color: var(--mc-gold);
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item ul li {
    background-color: transparent;
    padding: 8px 0;
    font-size: 0.95em;
    border-bottom: none;
    display: list-item;
}

.detail-item ul li strong {
    color: var(--mc-light);
}

@media (max-width: 768px) {
    .cooperation-details-list {
        flex-direction: column;
    }

    .detail-item {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .detail-item:last-child {
        border-bottom: none;
    }
}


/* ================================================= */
/* ==== STYLY PRO CHYBOVOU STRÁNKU 404 ==== */
/* ================================================= */

.error-page-body {
    background-image: url('images/background.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

.error-page-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.error-container {
    background-color: var(--mc-dark-alt);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
    border: 3px solid var(--mc-blue);
    position: relative;
    z-index: 10;
}

.error-code {
    font-size: 6em;
    color: var(--mc-red);
    margin-bottom: 5px;
    line-height: 1;
}

.error-title {
    font-size: 2em;
    color: var(--mc-light);
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
}

.error-message {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 40px;
}


/* ================================================= */
/* ==== STYLY PRO OBCHOD ==== */
/* ================================================= */

.store-container {
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.category-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto 60px;
    max-width: 900px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.category-button {
    background-color: var(--mc-dark-alt);
    color: var(--mc-light);
    border: 2px solid var(--mc-blue-dark);
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    flex-grow: 0;
}

.category-button i {
    margin-right: 8px;
    color: var(--mc-blue);
}

.category-button:hover {
    background-color: #333;
    border-color: var(--mc-blue);
    color: var(--mc-blue);
}

.category-button.active {
    background-color: var(--mc-blue);
    color: var(--mc-dark);
    border-color: var(--mc-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.category-button.active i {
    color: var(--mc-dark);
}

.product-content-wrapper {
    position: relative;
    min-height: 800px;
    padding-top: 20px;
}

.product-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    pointer-events: none;
}

.product-grid.active {
    opacity: 1;
    display: grid;
    pointer-events: auto;
}

.product-card {
    background-color: var(--mc-dark-alt);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--mc-blue);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product-name {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--mc-light);
    margin: 5px 0;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--mc-gold);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.buy-button {
    flex-grow: 1;
    text-decoration: none;
    background-color: var(--mc-blue);
    color: var(--mc-dark);
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.buy-button:hover {
    background-color: var(--mc-gold);
    color: var(--mc-dark);
}

.info-button {
    background: none;
    border: 2px solid var(--mc-blue);
    color: var(--mc-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.info-button:hover {
    background-color: var(--mc-blue);
    color: var(--mc-dark);
    transform: scale(1.1);
}

.empty-message {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #999;
    font-size: 1.3em;
    padding: 50px 0;
    display: none;
    z-index: 5;
}


/* ================================================= */
/* ==== MODÁLNÍ OKNO (Vyskakovací tabulka) ==== */
/* ================================================= */

.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--mc-dark-alt);
    margin: auto;
    padding: 30px;
    border: 3px solid var(--mc-blue);
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

#modal-name {
    color: var(--mc-gold);
    font-size: 2em;
    border-bottom: 2px solid var(--mc-blue-dark);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modal-body-content {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.modal-product-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 2px solid var(--mc-blue);
    border-radius: 5px;
    flex-shrink: 0;
}

.modal-text-details h4 {
    color: var(--mc-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-price-display {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--mc-light);
}

.modal-price-display strong {
    color: var(--mc-gold);
}

#modal-description {
    font-size: 1em;
    color: #ccc;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px dashed #333;
}

.modal-buy-link {
    font-size: 1em;
    padding: 8px 15px;
    border-radius: 20px;
}

.modal-close-button {
    font-size: 1em;
    padding: 8px 15px;
    border-radius: 20px;
}


/* ================================================= */
/* ==== STYLY PRO STAFF ==== */
/* ================================================= */

.staff-category .category-title {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 30px;
    background-color: var(--mc-dark, #2c2f33);
    color: white;
    border-radius: 8px;
    border: 2px solid var(--mc-primary-color, #007bff);
    font-size: 1.5em;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.staff-category .category-title i {
    margin-right: 10px;
    color: var(--mc-primary-color, #007bff);
}

.staff-category {
    margin-top: 40px;
    text-align: center;
}

.staff-category:nth-child(1) .category-title {
    border-color: var(--rank-owner-color, #ff0000);
}

.staff-category:nth-child(1) .category-title i {
    color: var(--rank-owner-color, #ff0000);
}


.staff-category:nth-child(2) .category-title {
    border-color: var(--rank-owner-color, #a6016c);
}

.staff-category:nth-child(2) .category-title i {
    color: var(--rank-owner-color, #a6016c);
}


.staff-category:nth-child(3) .category-title {
    border-color: var(--rank-technik-color, #aa00ff);
}

.staff-category:nth-child(3) .category-title i {
    color: var(--rank-technik-color, #aa00ff);
}


.staff-category:nth-child(4) .category-title {
    border-color: var(--rank-support-color, #03ba0f);
}

.staff-category:nth-child(4) .category-title i {
    color: var(--rank-support-color, #03ba0f);
}


.staff-category:nth-child(5) .category-title {
    border-color: var(--rank-builder-color, #ffa200);
}

.staff-category:nth-child(5) .category-title i {
    color: var(--rank-builder-color, #ffa200);
}


.staff-category:nth-child(6) .category-title {
    border-color: var(--rank-eventer-color, #ff00ee);
}

.staff-category:nth-child(6) .category-title i {
    color: var(--rank-eventer-color, #ff00ee);
}

.category-title {
    font-size: 2em;
    color: var(--mc-blue);
    border-bottom: 3px solid var(--mc-blue-dark);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 40px;
}

.category-title i {
    margin-right: 10px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: start;
}

.staff-member-card {
    background-color: var(--mc-dark-alt);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
}

.staff-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--mc-blue);
    object-fit: cover;
}

.staff-rank {
    font-weight: bold;
    font-size: 1.1em;
    padding: 2px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.staff-name {
    color: var(--mc-light);
    font-size: 1.15em;
    margin: 0;
}

.staff-divider-owner {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #ff0000;
}

.staff-divider-leader {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #ffbf00;
}

.staff-divider-quality {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #a6016c;
}

.staff-divider-technik {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #aa00ff;
}

.staff-divider-support {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #03ba0f;
}

.staff-divider-builder {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #ffa200;
}

.staff-divider-eventer {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #ff00ee;
}

.rank-owner {
    background-color: #ff0000;
    color: var(--mc-light) !important;
}

.rank-leader {
    background-color: #ffbf00;
    color: var(--mc-light) !important;
}

.rank-quality {
    background-color: #a6016c;
    color: var(--mc-light) !important;
}

.rank-technik {
    background-color: #aa00ff;
    color: var(--mc-light) !important;
}

.rank-support {
    background-color: #03ba0f;
    color: var(--mc-light) !important;
}

.rank-builder {
    background-color: #ffa200;
    color: var(--mc-light) !important;
}

.rank-eventer {
    background-color: #ff00ee;
    color: var(--mc-light) !important;
}

.staff-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.social-icon-disabled {
    color: var(--mc-gray);
    font-size: 1.5em;
    cursor: default;
    opacity: 0.5;
    display: inline-flex;
    align-items: center;
}

.social-icon-active {
    color: var(--mc-light);
    font-size: 1.5em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.staff-social-links a,
.staff-social-links .discord-copy {
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.staff-social-links a:hover .social-icon-active {
    color: var(--mc-blue);
    transform: scale(1.1);
}

.staff-social-links .discord-copy:hover {
    color: var(--mc-blue);
    transform: scale(1.1);
}


/* ================================================= */
/* ==== STYLY PRO FOOTER ==== */
/* ================================================= */

footer {
    background-color: var(--mc-dark);
    color: #aaaaaa;
    padding: 20px 0;
    font-size: 0.9em;
    text-align: center;
    border-top: 3px solid var(--mc-blue-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mojang-disclaimer {
    color: #777777;
    font-style: italic;
}


/* ================================================= */
/* ==== STYLY PRO GDPR ==== */
/* ================================================= */

.gdpr-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.gdpr-section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--mc-blue-dark);
}

.gdpr-section:last-child {
    border-bottom: none;
}

.gdpr-section h3 {
    color: var(--mc-blue);
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gdpr-section h3 i {
    color: var(--mc-gold);
}

.gdpr-section p {
    font-size: 1.05em;
    color: #cccccc;
    margin-bottom: 15px;
}

.data-processing-card {
    background-color: #333333;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 5px solid var(--mc-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* ================================================= */
/* ==== STYLY PRO FAQ STRÁNKU ==== */
/* ================================================= */

.faq-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 50px auto 80px;
  padding: 0 20px;
}

.faq-item {
  background-color: var(--mc-dark-alt);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid #444;
}

.faq-question {
  width: 100%;
  background-color: var(--mc-dark-alt);
  color: var(--mc-light);
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
  padding: 20px 25px;
  border: none;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.faq-question:hover {
  background-color: #383838;
}

.faq-item.active .faq-question {
  background-color: #383838;
  border-bottom: 1px solid var(--mc-blue-dark);
}

.faq-question i {
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--mc-blue);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #333333;
  color: #cccccc;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px 30px 25px;
}


/* ================================================= */
/* ==== STYLY PRO TVŮRCE STRÁNKU ==== */
/* ================================================= */

.cooperation-group .rules-group-header {
    background-color: #007bff;
    border-bottom: 5px solid var(--mc-gold);
}

.cooperation-group .rules-group-header h3 {
    color: var(--mc-light);
}

.cooperation-group .rules-group-header i {
    color: var(--mc-gold);
    font-size: 2em;
}

.cooperation-details-list {
    display: flex;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1 1 50%;
    padding: 20px 30px;
    border-right: 1px solid #333;
}

.detail-item:last-child {
    border-right: none;
}

.detail-item h4 {
    color: var(--mc-blue);
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list h4 {
    color: var(--mc-gold);
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item ul li {
    background-color: transparent;
    padding: 8px 0;
    font-size: 0.95em;
    border-bottom: none;
    display: list-item;
}

.detail-item ul li strong {
    color: var(--mc-light);
}

/* YOUTUBE */
.partner-card-youtube {
    border: 3px solid;
    border-color: #ff0000
}

.partner-avatar-youtube {
    width: 120px;
    height: 120px;
    border-color: #ff0000;
}

.rank-creator-youtube {
    font-size: 1.1em;
    padding: 3px 10px;
    margin-bottom: 5px;
    background-color: #ff0054;
    color: var(--mc-light) !important;
}

.partner-youtube-link {
    background-color: #c4302b;
    color: var(--mc-light);
}

/* TWITCH */
.partner-card-twitch {
    border: 3px solid;
    border-color: #6441a5;
}

.partner-avatar-twitch {
    width: 120px;
    height: 120px;
    border-color: #6441a5;
}

.rank-creator-twitch {
    font-size: 1.1em;
    padding: 3px 10px;
    margin-bottom: 5px;
    background-color: #ff0054;
    color: var(--mc-light) !important;
}

.partner-twitch-link {
    background-color: #6441a5;
    color: var(--mc-light);
}

/* KICK */
.partner-card-kick {
    border: 3px solid;
    border-color: #00c32d;
}

.partner-avatar-kick {
    width: 120px;
    height: 120px;
    border-color: #00c32d;
}

.rank-creator-kick {
    font-size: 1.1em;
    padding: 3px 10px;
    margin-bottom: 5px;
    background-color: #ff0054;
    color: var(--mc-light) !important;
}

.partner-kick-link {
    background-color: #00c32d;
    color: var(--mc-light);
}

/* TIKTOK */
.partner-card-tiktok {
    border: 3px solid;
    border-color: #FFFFFF;
}

.partner-avatar-tiktok {
    width: 120px;
    height: 120px;
    border-color: #FFFFFF;
}

.rank-creator-tiktok {
    font-size: 1.1em;
    padding: 3px 10px;
    margin-bottom: 5px;
    background-color: #ff0054;
    color: var(--mc-light) !important;
}

.partner-tiktok-link {
    background-color: #000000;
    color: var(--mc-light);
}


.staff-category .category-title-creator {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 30px;
    background-color: var(--mc-dark, #2c2f33);
    color: white;
    border-radius: 8px;
    border: 2px solid var(--mc-primary-color, #ff0054);
    font-size: 1.5em;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}


.partner-social-link {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.partner-social-link i {
    margin-right: 5px;
}

.partner-title-youtube {
    color: #c4302b;
    border-bottom-color: #c4302b;
}

.partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* ================================================= */
/* ==== STYLY PRO STRÁNKU NÁBORY ==== */
/* ================================================= */

.recruitment-page-content {
    background-color: #252525;
    background-image: url('images/background_join.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding-bottom: 80px;
    position: relative;
    z-index: 0;
}

.recruitment-page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.recruitment-header-wrapper {
    position: relative;
    z-index: 2;
    background-image: url('images/lobby.webp');
    background-size: cover;
    background-position: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.recruitment-header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    z-index: -1;
}

.recruitment-header-text-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.recruitment-header-wrapper h2 {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.recruitment-intro {
    font-size: 1.1em;
    margin-bottom: 0;
    color: #ccc;
}

.recruitment-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recruitment-card {
    background-color: var(--mc-dark-alt);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.recruitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.card-header {
    background-size: cover;
    background-position: center;
    height: 150px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.bg-technik {
    background-image: url('images/background.webp');
}
.bg-support {
    background-image: url('images/background.webp');
}
.bg-builder {
    background-image: url('images/background.webp');
}

.card-title-text {
    position: relative;
    z-index: 2;
    font-size: 2.5em;
    font-weight: 900;
    color: var(--mc-light);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    line-height: 1;
}

.card-subtitle-text {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--mc-light);
    margin-top: 5px;
    padding: 2px 10px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.6);
}

.title-technik {
    color: #aa00ff;
}
.title-support {
    color: #03ba0f;
}
.title-builder {
    color: #ffa200;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.card-description p {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
}

.card-footer {
    padding-top: 15px;
    text-align: center;
}

.recruitment-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 5px;
    text-transform: uppercase;
    border: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); 
    display: inline-block;
}

.recruitment-button:hover {
    transform: translateY(1px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

.btn-technik {
    background-color: #aa00ff;
    color: var(--mc-light);
}
.btn-technik:hover {
    background-color: #9000d6;
    transform: scale(1.02);
}

.btn-support {
    background-color: #03ba0f;
    color: var(--mc-light);
}
.btn-support:hover {
    background-color: #029a0c;
    transform: scale(1.02);
}

.btn-builder {
    background-color: #ffa200;
    color: var(--mc-light);
}
.btn-builder:hover {
    background-color: #e69200;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .recruitment-grid {
        grid-template-columns: 1fr;
        margin: 30px auto 60px;
    }
}


/* ================================================= */
/* ==== STYLY PRO STRÁNKU WORLDEDIT PŘÍKAZY ==== */
/* ================================================= */

.command-item {
    padding: 20px 30px; 
    border-bottom: 1px solid #333;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.command-item:last-child {
    border-bottom: none;
}

.command-syntax {
    background-color: var(--mc-dark);
    color: var(--mc-blue);
    font-family: monospace;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    min-width: 150px;
}

.command-description {
    flex-grow: 1;
    text-align: left;
    color: #cccccc;
}

.command-description strong {
    color: var(--mc-light);
}

.command-description code {
    background-color: #333;
    color: var(--mc-gold);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.rules-group-header {
    background-color: #00b5b5;
    color: var(--mc-light);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 600px) {
    .command-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .command-syntax {
        margin-bottom: 10px;
        min-width: 80%;
    }

    .command-description {
        text-align: center;
    }
}


/* ================================================= */
/* ==== RESPONZIVNÍ DESIGN ==== */
/* ================================================= */

/* Mobilní zobrazení (<= 768px) */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--mc-dark);
        order: 3;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links li {
        margin: 0;
        border-top: 1px solid #333;
    }

    .navbar-social {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .server-title {
        font-size: 3em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        order: -1;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .minigames-grid {
        grid-template-columns: 1fr;
    }

    .minigame-image {
        height: 200px;
    }

    .join-header-wrapper {
        min-height: 200px;
    }

    .join-header-text-container {
        padding: 0 10px;
    }

    .join-steps {
        padding: 0 15px 30px;
        margin-top: 30px;
    }

    .rules-content-wrapper {
        padding: 0 15px 30px;
        margin-top: 30px;
    }

    .steps-grid {
        gap: 30px;
    }

    .ip-copy-container {
        flex-direction: column;
        align-items: stretch;
    }

    .step-card h3 {
        font-size: 1.4em;
    }

    .rules-group-header {
        padding: 15px 20px;
    }

    .rules-group-header h3 {
        font-size: 1.4em;
    }

    .rules-list li {
        padding: 15px 20px;
    }

    .rule-icon {
        font-size: 1.3em;
    }

    .category-buttons-wrapper {
        gap: 10px;
        margin: 30px auto 40px;
    }

    .category-button {
        flex-basis: 45%;
        font-size: 0.95em;
        padding: 8px 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-body-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-product-image {
        margin-bottom: 15px;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobilní zobrazení (<= 600px) */
@media (max-width: 600px) {
    .staff-member-card {
        text-align: center;
    }

    .staff-rank {
        display: inline-block;
        margin: 5px auto;
    }
}

/* FAQ STRÁNKA RESPONZIVNÍ DESIGN */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-links {
        gap: 10px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .minigames-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .minigame-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* SPOLUPRÁCE STRÁNKA RESPONZIVNÍ DESIGN */
@media (max-width: 768px) {
    .cooperation-details-list {
        flex-direction: column;
    }
    
    .detail-item {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }
    
    .detail-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* RESPONZIVNÍ DESIGN TABLET */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-links {
        gap: 10px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .minigames-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .minigame-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Developed by Kijler | https://kijler.eu */