* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #08090c;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 9, 12, var(--nav-alpha, 0));
    border-bottom: 1px solid rgba(255, 255, 255, calc(var(--nav-alpha, 0) * 0.07));
    padding: 16px 24px 0;
    transition: padding 0.35s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    backdrop-filter: blur(12px);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 14px 28px;
    background: rgba(37, 38, 44, 0.7);
    border: 2px solid rgba(2, 0, 0, 0);
    border-radius: 32px;
    transition: padding 0.35s ease, background-color 0.35s ease,
                border-color 0.35s ease, border-radius 0.35s ease;
}

header.scrolled .nav-container {
    padding: 20px 24px;
    background: transparent;
    border-color: transparent;
    border-radius: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover .logo-img {
    transform: scale(1.08);
}

.desktop-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.desktop-nav a {
    color: #b4b4bb;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 10px;
}

.desktop-nav a i {
    font-size: 1.05rem;
    color: #cb33df;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: #ffffff;
    background-color: rgba(99, 102, 241, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #9f35ad;
    color: #ffffff;
}

.mobile-nav {
    display: none;
    margin-top: 8px;
    border-radius: 24px;
    flex-direction: column;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 20px 25px 20px;
    gap: 10px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: #b4b4bb;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav a i {
    color: #818cf8;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: #ffffff;
    background-color: rgba(99, 102, 241, 0.2);
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.2) 0%, rgba(8, 9, 12, 0.5) 50%, rgba(8, 9, 12, 0.95) 85%, #08090c 100%);
    z-index: 2;
}

.hero-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo-wrapper {
    animation: floatLogo 4s ease-in-out infinite;
    max-width: 100%;
}

.hero-logo {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    width: auto;
    filter: drop-shadow(0 0 25px rgba(101, 3, 158, 0.5));
}

.server-info-box {
    display: flex;
    align-items: center;
    background: rgba(37, 38, 44, 0.7);
    border: 2px solid rgba(2, 0, 0, 0);
    backdrop-filter: blur(15px);
    padding: 14px 24px;
    border-radius: 16px;
    gap: 20px;
}

.server-status-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

.status-icon {
    color: #10b981;
    font-size: 1.1rem;
}

.status-count {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    color: #ffffff;
}

.status-count span#playerCount {
    color: #10b981;
}

.status-label {
    color: #9ca3af;
    font-weight: 400;
}

.info-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
}

.ip-action-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-address {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 0;
}

.copy-icon-btn {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-icon-btn:hover {
    background: #6366f1;
    color: #ffffff;
    transform: translateY(-2px);
}

.features-section {
    position: relative;
    padding: 90px 0;
    background-color: #08090c;
    margin-top: -2px; 
    z-index: 4;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ee81f8;
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.section-title span {
    color: #ec63f1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 20px;
}

.about-text p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 14px;
}

.about-text .about-lead {
    color: #d1d5db;
    font-size: 1.1rem;
}

.about-points {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-points i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #e481f8;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
}

.about-points strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.about-points span {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}


/* --- FAQ (ve vývoji) --- */

.dev-box {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 32px;
    text-align: center;
    background: rgba(15, 16, 22, 0.85);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 20px;
}

.dev-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 18px;
}

.dev-box h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.dev-box p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 26px;
}

.dev-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: #6366f1;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.dev-btn:hover {
    background: #4f46e5;
}

/* --- HLASOVÁNÍ --- */

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;                       /* mezera mezi kartami */
}

.vote-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;                   /* všechny karty stejně vysoké */
    padding: 30px;                   /* odsazení loga od okrajů */
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vote-card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;             /* logo se vždy vejde celé */
}

.vote-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

/* Každá karta má vlastní pozadí */
.vote-bg1 { background: linear-gradient(135deg, #050200); }
.vote-bg2 { background: linear-gradient(135deg, #2a77db); }   /* světlé, aby byl vidět černý nápis CraftList */
.vote-bg3 { background: linear-gradient(135deg, #1c1c1c); }


@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8,9,12,0.2) 0%, rgba(8,9,12,0.9) 80%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-card h3 {
    font-size: 1.30rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.card-hover-text {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-card:hover .card-hover-text {
    max-height: 100px;
    opacity: 1;
    color: #d1d5db;
}

.feature-card:hover h3 {
    transform: translateY(-4px);
    color: #818cf8;
}

.social-banner-section {
    width: 100%;
    background: #08090c;
        padding: 250px 20px 90px;      
}

.social-banner-content {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 36px;
    background: linear-gradient(120deg, #0f76a1 0%, #1572a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.3);
}

.social-banner-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    border-radius: 0 24px 24px 0;
    background: radial-gradient(circle at 70% 100%, rgba(255, 255, 255, 0.28), transparent 70%);
    pointer-events: none;
}

.banner-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-mascot {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    margin: -50px 0 -30px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.banner-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.banner-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.banner-right {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
}

.banner-social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 9, 12, 0.85);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.banner-social-btn:hover {
    background: #08090c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.discord-btn i { color: #5865F2; }

.tiktok-btn i { color: #ff0050; }

.instagram-btn i { color: #e1306c; }


.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}


.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}


.page-hero {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/pozadi.png'); 
    background-size: cover;
    background-position: center;
    padding-top: 80px; 
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.4) 0%, rgba(8, 9, 12, 0.7) 60%, rgba(8, 9, 12, 0.95) 85%, #08090c 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(224, 99, 241, 0.4);
}

.page-hero-desc {
    color: #9ca3af;
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.5;
}

.subpage-main {
    padding: 140px 0 90px 0;
    min-height: calc(100vh - 200px);
    background-color: #08090c;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pozadi.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

footer {
    background-color: #040507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-logo { height: 26px; width: auto; }

.copyright {
    color: #6b7280;
    font-size: 0.85rem;
    max-width: 450px;
    line-height: 1.4;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: translateY(-2px);
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.rule-big-card {
    background: rgba(12, 14, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.big-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.big-card-icon {
    font-size: 1.5rem;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.big-card-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.big-card-desc {
    color: #9ca3af;
    font-size: 0.85rem;
    margin: 0;
}

.rules-rows-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rule-row-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(25, 28, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.rule-row-box:hover {
    background: rgba(30, 34, 46, 0.85);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
}

.rule-num-box {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.rule-row-box p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.big-card-icon-img {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 180, 16, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(15, 184, 29, 0.25);
    flex-shrink: 0;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(111, 241, 99, 0.2);
}

.big-card-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(99, 241, 118, 0.5));
    animation: floatMimiIcon 3s ease-in-out infinite;
}

.team-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-category {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.team-category-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.team-category-divider h2 {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0; 
}

.team-category-divider .line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.red-theme h2 { color: #ef4444; }

.orange-theme h2 { color: #f97316; }

.blue-theme h2 { color: #3b82f6; }

.green-theme h2 { color: #4dda23; }

.yellow-theme h2 { color: #deee05; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    position: relative;
    background: rgba(12, 14, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
    margin-top: 15px;
}

.team-card:hover {
    transform: translateY(-6px);
}
.team-card.red-card:hover { border-color: rgba(239, 68, 68, 0.5); }

.team-card.orange-card:hover { border-color: rgba(249, 115, 22, 0.5); }

.team-card.blue-card:hover { border-color: rgba(59, 130, 246, 0.5); }

.team-card.green-card:hover { border-color: rgba(16, 185, 129, 0.5); }


.team-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Barvy štítků */

.red-badge { background-color: #ef4444; color: #ffffff; }

.orange-badge { background-color: #f97316; color: #ffffff; }

.blue-badge { background-color: #3b82f6; color: #ffffff; }

.green-badge { background-color: #4dd423; color: #ffffff; }

.yellow-badge { background-color: #deee05; color: #000000; }

.team-avatar-box {
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.team-skin {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

/* --- NÁBORY --- */

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.recruit-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.recruit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.recruit-banner {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.recruit-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 16px 16px;
}

.recruit-body h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.recruit-body p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 24px;
}

.recruit-btn {
    margin-top: auto;
    padding: 14px 20px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background: #048a4a;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.recruit-btn:hover {
    background: #05a057;
}




@keyframes floatMimiIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* --- ANIMACE --- */

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }

    .social-banner-section {
        padding: 140px 16px 70px;
    }
    .social-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 22px;
        padding: 32px 24px 28px;
    }
    .social-banner-content::before {
        width: 100%;
        border-radius: 24px;
    }
    .banner-left {
        flex-direction: column;
        gap: 12px;
    }
    .banner-mascot {
        width: 110px;
        margin: 0;
    }
    .banner-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    header.scrolled .mobile-nav {
        margin-top: 0;
        border-radius: 0;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 38px; 
    }

    .server-info-box {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        max-width: 280px;
    }
    .info-divider {
        width: 100%;
        height: 1px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .hero-logo {
        max-height: 120px;
    }

    .social-banner-section {
        padding: 110px 14px 56px;
    }
    .social-banner-content {
        padding: 28px 16px 22px;
        gap: 18px;
        border-radius: 20px;
    }
    .social-banner-content::before {
        border-radius: 20px;
    }
    .banner-mascot {
        width: 96px;
    }
    .banner-text h3 {
        font-size: 1.2rem;
    }
    .banner-text p {
        font-size: 0.88rem;
    }
    .banner-right {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .banner-social-btn {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 12px 4px;
        border-radius: 16px;
        font-size: 0.8rem;
    }
    .banner-social-btn i {
        font-size: 1.4rem;
    }
}

/* Ochrana obrázků proti snadnému tažení */
img {
    -webkit-user-drag: none;
    user-select: none;
}

/* Eventer tým */
.purple-theme h2 { color: #a855f7; }
.team-card.purple-card:hover { border-color: rgba(168, 85, 247, 0.5); }
.purple-badge { background-color: #a855f7; color: #ffffff; }

/* Vyskakovací okno v pravém dolním rohu */
.lx-toast {
    position: fixed; right: 24px; bottom: 24px; z-index: 9999;
    display: flex; align-items: center; gap: 14px;
    max-width: 360px; padding: 16px 40px 16px 16px;
    background: rgba(18, 20, 28, 0.96); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1); border-left: 4px solid #f97316;
    border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(30px) scale(0.96); opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.3s;
}
.lx-toast[hidden] { display: none; }
.lx-toast.show { transform: none; opacity: 1; }
.lx-toast-icon {
    width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
    background: rgba(249, 115, 22, 0.15); color: #f97316; border-radius: 10px; font-size: 1.1rem;
}
.lx-toast-text { display: flex; flex-direction: column; gap: 3px; }
.lx-toast-text strong { font-size: 0.98rem; }
.lx-toast-text span { font-size: 0.84rem; color: #b5b9c6; line-height: 1.35; }
.lx-toast-close {
    position: absolute; top: 6px; right: 10px; background: none; border: 0;
    color: #8b90a0; font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.lx-toast-close:hover { color: #fff; }
@media (max-width: 480px) { .lx-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .lx-toast { transition: opacity 0.2s; transform: none; } }
/* Moderátor tým */
.cyan-theme h2 { color: #22d3ee; }
.team-card.cyan-card:hover { border-color: rgba(34, 211, 238, 0.5); }
.cyan-badge { background-color: #22d3ee; color: #0b1016; }

/* Vlastní barva člena týmu */
.team-card.custom-color:hover { border-color: var(--tc); }
