/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary-color: #ec4899;
    --accent-color: #a78bfa;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(15, 23, 42, 0.8);
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.7);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --menu-width: 75px;
}

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

.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-primary);
    z-index: 1200;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.menu-toggle:hover {
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-simple {
    overflow-y: auto;
    height: auto;
}

.simple-page {
    margin-left: var(--menu-width);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.simple-panel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--border-radius);
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow);
}

/* Krásne pozadie s obrázkom a blur efektom */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: url('img/new background.png') center/cover no-repeat;
    filter: blur(8px);
}

.gradient-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    animation: gradient-move 20s ease infinite;
}

@keyframes gradient-move {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-20px, 20px) scale(1.05);
        opacity: 0.8;
    }
}

/* Svietiace gule */
.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float-orb 25s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, transparent 70%);
    bottom: 15%;
    right: 15%;
    animation-delay: 8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 15s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -30px);
    }

    50% {
        transform: translate(-20px, 20px);
    }

    75% {
        transform: translate(20px, 30px);
    }
}

/* Krajšie particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.8),
        0 0 40px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(167, 139, 250, 0.4);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.9),
        0 0 40px rgba(236, 72, 153, 0.7),
        0 0 60px rgba(236, 72, 153, 0.5);
    width: 8px;
    height: 8px;
}

.particle:nth-child(3n) {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(167, 139, 250, 1),
        0 0 30px rgba(167, 139, 250, 0.8);
    width: 4px;
    height: 4px;
}

.particle:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(2) {
    left: 15%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.particle:nth-child(3) {
    left: 25%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    left: 35%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 45%;
    animation-delay: 8s;
    animation-duration: 19s;
}

.particle:nth-child(6) {
    left: 55%;
    animation-delay: 4s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 65%;
    animation-delay: 10s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    left: 75%;
    animation-delay: 1s;
    animation-duration: 18s;
}

.particle:nth-child(9) {
    left: 85%;
    animation-delay: 7s;
    animation-duration: 23s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-delay: 5s;
    animation-duration: 19s;
}

.particle:nth-child(11) {
    left: 20%;
    animation-delay: 9s;
    animation-duration: 20s;
}

.particle:nth-child(12) {
    left: 40%;
    animation-delay: 11s;
    animation-duration: 17s;
}

.particle:nth-child(13) {
    left: 60%;
    animation-delay: 3.5s;
    animation-duration: 22s;
}

.particle:nth-child(14) {
    left: 80%;
    animation-delay: 6.5s;
    animation-duration: 18s;
}

.particle:nth-child(15) {
    left: 30%;
    animation-delay: 12s;
    animation-duration: 21s;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        transform: translateY(75vh) translateX(20px) rotate(90deg) scale(1);
    }

    50% {
        transform: translateY(50vh) translateX(-20px) rotate(180deg) scale(1.2);
        opacity: 1;
    }

    75% {
        transform: translateY(25vh) translateX(15px) rotate(270deg) scale(0.8);
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50px) translateX(0) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Krajšie animované tvary */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 0 40px rgba(167, 139, 250, 0.1);
}

.shape-circle {
    border-radius: 50%;
    animation: float-shape 30s infinite ease-in-out;
}

.shape-grass-block {
    width: 120px;
    height: 120px;
    background: linear-gradient(180deg, #7cb342 0%, #689f38 50%, #5d4037 50%, #4e342e 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.5),
        inset 0 -60px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: rotate-block 25s infinite linear;
}

.shape-grass-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 10px,
            rgba(104, 159, 56, 0.3) 10px,
            rgba(104, 159, 56, 0.3) 11px);
}

.shape-grass-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 15px,
            rgba(78, 52, 46, 0.4) 15px,
            rgba(78, 52, 46, 0.4) 16px);
}

@keyframes rotate-block {
    0% {
        transform: rotateY(0deg) rotateX(5deg);
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.5),
            inset 0 -60px 20px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: rotateY(180deg) rotateX(-5deg);
        box-shadow: 0 0 60px rgba(76, 175, 80, 0.8),
            inset 0 -60px 20px rgba(0, 0, 0, 0.3);
    }

    100% {
        transform: rotateY(360deg) rotateX(5deg);
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.5),
            inset 0 -60px 20px rgba(0, 0, 0, 0.2);
    }
}

.shape-hexagon {
    width: 150px;
    height: 130px;
    background: rgba(167, 139, 250, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: none;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.4);
    animation: pulse-shape 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 250px;
    height: 250px;
    top: 15%;
    left: 10%;
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.4);
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 50%;
    right: 15%;
    background: rgba(236, 72, 153, 0.05);
    border-color: rgba(236, 72, 153, 0.4);
    animation-delay: 7s;
}

.shape:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 35%;
    background: rgba(167, 139, 250, 0.05);
    border-color: rgba(167, 139, 250, 0.5);
    animation-delay: 14s;
}

.shape:nth-child(4) {
    top: 20%;
    right: 20%;
    animation: rotate-block 25s infinite linear;
    animation-delay: 5s;
    background: linear-gradient(180deg, #7cb342 0%, #689f38 50%, #5d4037 50%, #4e342e 100%);
}

.shape:nth-child(5) {
    bottom: 25%;
    left: 12%;
    animation: rotate-block 30s infinite linear reverse;
    animation-delay: 12s;
    background: linear-gradient(180deg, #7cb342 0%, #689f38 50%, #5d4037 50%, #4e342e 100%);
}

.shape:nth-child(6) {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 18s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.5;
    }

    25% {
        transform: translateY(-40px) translateX(30px) scale(1.15) rotate(5deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-70px) translateX(-30px) scale(0.9) rotate(-5deg);
        opacity: 0.6;
    }

    75% {
        transform: translateY(-30px) translateX(40px) scale(1.1) rotate(3deg);
        opacity: 0.8;
    }
}

@keyframes rotate-shape {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes pulse-shape {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
        box-shadow: 0 0 60px rgba(139, 92, 246, 0.4);
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.8;
        box-shadow: 0 0 100px rgba(139, 92, 246, 0.8);
    }
}

/* Vertikálne menu */
.vertical-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--menu-width);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    border-right: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 4px 0 30px rgba(139, 92, 246, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
}

.vertical-menu:hover {
    width: 240px;
    box-shadow: 4px 0 35px rgba(139, 92, 246, 0.3);
    border-right: 2px solid rgba(139, 92, 246, 0.6);
}

.menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: visible;
    padding: 0.75rem 0.5rem;
    width: 100%;
    min-height: 60px;
    opacity: 1 !important;
    visibility: visible !important;
}

.menu-logo .logo-img {
    width: auto;
    height: 55px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.9));
    transition: var(--transition);
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

.vertical-menu:hover .menu-logo .logo-img {
    filter: drop-shadow(0 0 25px rgba(167, 139, 250, 1));
    transform: scale(1.05);
}

/* Text v menu odstránený */

.menu-items {
    list-style: none;
    width: 100%;
    flex: 1;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    border-radius: 10px;
    margin: 0.25rem 0.5rem;
    overflow: hidden;
    width: calc(100% - 1rem);
}

.menu-link i {
    font-size: 1.5rem;
    min-width: 28px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.menu-link:hover i,
.menu-link.active i {
    color: var(--white);
}

.menu-link.active {
    justify-content: flex-start;
    padding-left: 1rem;
}

.menu-link span {
    opacity: 0;
    transition: var(--transition);
    font-weight: 500;
}

.vertical-menu:hover .menu-link span {
    opacity: 1;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.menu-link:hover,
.menu-link.active {
    color: var(--white);
    background: rgba(139, 92, 246, 0.3);
    transform: translateX(2px);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.menu-link:hover::before,
.menu-link.active::before {
    height: 100%;
}

.menu-footer {
    margin-top: auto;
    width: 100%;
    padding: 0.5rem;
}

.server-status-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    padding: 0.85rem 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.7);
    border: 1.5px solid rgba(139, 92, 246, 0.5);
    width: calc(100% - 1.4rem);
    margin: 0.5rem auto 0.75rem auto;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vertical-menu:hover .server-status-mini {
    justify-content: flex-start;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
}

.server-status-mini i {
    min-width: 12px;
    width: 12px;
    height: 12px;
    font-size: 0.7rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
}

.server-status-mini.online {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(15, 23, 42, 0.8);
}

.server-status-mini.online i {
    color: #10b981;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.server-status-mini.offline {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(15, 23, 42, 0.8);
}

.server-status-mini.offline i {
    color: #ef4444;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: none;
}

.server-status-mini span {
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

.server-status-mini.online span {
    color: rgba(255, 255, 255, 0.95);
}

.server-status-mini.offline span {
    color: rgba(255, 255, 255, 0.95);
}

.vertical-menu:hover .server-status-mini span {
    opacity: 1;
    font-size: 0.8rem;
    width: auto;
    overflow: visible;
    margin-left: 0;
}

.vertical-menu:hover .server-status-mini {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.4);
}

.vertical-menu:hover .server-status-mini.online {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.vertical-menu:hover .server-status-mini.offline {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.4);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Horizontálne panely */
.h-scroll {
    display: flex;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: var(--menu-width);
    position: relative;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

.h-scroll::-webkit-scrollbar {
    height: 0;
}

.panel {
    min-width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 5rem;
    position: relative;
    overflow-y: auto;
}

.panel-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.panel-home {
    background: transparent;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 35px;
}

.panel-home .panel-inner {
    padding-top: 0;
    margin-top: -50px;
}

.panel-connect {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.panel-stats {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.panel-shop {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 80px;
    opacity: 1 !important;
    visibility: visible !important;
}

.brand-logo {
    width: auto;
    height: 200px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
    animation: float-logo 3s ease-in-out infinite;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 0 -10px 0;
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
        opacity: 1;
    }

    50% {
        transform: translateY(-15px);
        filter: drop-shadow(0 0 60px rgba(167, 139, 250, 1));
        opacity: 1;
    }
}

.ip {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
    text-align: left;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
}

@keyframes glow {
    from {
        text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.6);
    }

    to {
        text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(167, 139, 250, 1), 0 0 60px rgba(139, 92, 246, 0.5);
    }
}

/* Server Status Info */
.server-status-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0 2rem 0;
    flex-wrap: wrap;
    width: 100%;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
}

.status-indicator i {
    font-size: 0.8rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.online {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.status-indicator.online i {
    color: #10b981;
}

.status-indicator.offline {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.status-indicator.offline i {
    color: #ef4444;
    animation: none;
}

.status-indicator span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.players-count {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.players-count i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.players-count span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    min-width: 60px;
    text-align: center;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}


.ip-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Server IP Section Styles */
.server-ip-section {
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.server-ip-section:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.server-type-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-type-title i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.server-ip-section .ip {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.server-ip-section .server-status-info {
    margin: 0.8rem 0;
}

.server-ip-section .copy-btn {
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}


.cta-button {
    text-decoration: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.minecraft-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.bg-light {
    background: var(--bg-light);
}

/* Connect Section */
.connect-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.connect-instructions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.instruction-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    align-self: start;
}

.instruction-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: var(--shadow-hover);
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.instruction-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.instruction-title i {
    font-size: 2.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.instruction-header h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.instruction-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
    width: 100%;
}

.instruction-item.active .instruction-content {
    max-height: 400px;
    margin-top: 0.75rem;
}

.instruction-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.instruction-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.instruction-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.instruction-content a:hover {
    color: var(--accent-color);
}

.ip-section {
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.ip-section h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.ip-section h4 i {
    margin-right: 0.5rem;
}

.ip-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.ip-buttons .copy-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.connect-footer {
    text-align: center;
    margin-top: 2rem;
}

.connect-footer p {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.connect-footer i {
    animation: pulse 2s ease-in-out infinite;
}

.hytale-connect {
    margin-top: 1.5rem;
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow);
    text-align: center;
}

.hytale-connect-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hytale-connect-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.hytale-connect p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.hytale-actions {
    display: flex;
    justify-content: center;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.connect-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.connect-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.connect-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ip-box {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ip-box code {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.version-badge,
.port-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 1rem 0;
}

.connect-steps {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.connect-steps h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.connect-steps ol {
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.connect-steps ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 4rem;
}

.connect-steps ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.connect-steps li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.connect-steps li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.rule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.rule-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.rule-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.rule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.rule-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info Cards Section */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 1200px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
    align-self: start;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: var(--shadow-hover);
}

.info-card.disabled {
    opacity: 0.6;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    position: relative;
    min-width: 0;
}

.info-card-header i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-card-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-width: 0;
    white-space: normal;
    max-width: 100%;
}

.toggle-icon {
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.info-card.active .toggle-icon,
.instruction-item.active .toggle-icon {
    transform: rotate(180deg);
}

.info-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.info-card.active .info-card-content {
    max-height: 1000px;
    margin-top: 1.5rem;
}

.modded-tag {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.coming-soon-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.server-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.info-card-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mechanics-list {
    list-style: none;
    margin-bottom: 1rem;
    flex: 1;
}

.mechanics-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.mechanics-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.info-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.3);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.info-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    color: var(--white);
}

.info-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Premium Section */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.store-link-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.store-link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.store-link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.store-link-card .store-link-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.premium-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid rgba(16, 185, 129, 0.2);
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
    border-color: var(--primary-color);
}

.premium-card:hover::after {
    opacity: 0.3;
}

.premium-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
}

.premium-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.5);
}

.premium-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.premium-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.premium-features {
    list-style: none;
    margin-bottom: 2rem;
}

.premium-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.premium-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.premium-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

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

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.premium-btn.featured {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.premium-btn.featured:hover {
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Maps Section */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.map-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.map-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image i {
    font-size: 4rem;
    color: var(--white);
}

.map-content {
    padding: 1.5rem;
}

.map-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.map-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-stats i {
    margin-right: 0.25rem;
    color: var(--primary-color);
}

/* Servers Section */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.server-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.server-link-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.server-link-card .server-status {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-cta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.link-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid rgba(139, 92, 246, 0.3);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.link-card .link-cta {
    margin-top: auto;
}

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

.server-card:hover::before {
    left: 100%;
}

.server-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.server-status.online {
    color: #10b981;
}

.server-status i {
    font-size: 0.8rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.server-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.server-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.server-info {
    margin-bottom: 1.5rem;
}

.server-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.server-stat:last-child {
    border-bottom: none;
}

.server-stat .label {
    color: var(--text-secondary);
}

.server-stat .value {
    font-weight: 600;
    color: var(--text-primary);
}

.server-ip {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.server-ip code {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Jednoduchší footer */
.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--white);
    padding: 0.5rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-left: var(--menu-width);
    z-index: 100;
    backdrop-filter: blur(20px);
}

.page-simple .footer {
    position: static;
    margin-left: 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Navigačné indikátory */
.scroll-indicators {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    border: 2px solid rgba(16, 185, 129, 0.5);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.scroll-indicator:hover {
    transform: scale(1.3);
    background: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.scroll-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
    width: 16px;
    height: 16px;
}

.scroll-indicator::after {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.scroll-indicator:hover::after {
    opacity: 1;
    right: 30px;
}

/* Progress bar */
.scroll-progress {
    position: fixed;
    bottom: 0;
    left: var(--menu-width);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
    z-index: 1001;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {

    html,
    body {
        height: auto;
        overflow-y: auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .vertical-menu {
        width: 220px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1200;
    }

    body.menu-open .vertical-menu {
        transform: translateX(0);
    }

    .menu-overlay {
        display: block;
    }

    body.menu-open .menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body:not(.menu-open) .menu-overlay {
        pointer-events: none;
    }

    /* Mobile: Vertical scrolling instead of horizontal */
    .h-scroll {
        display: block;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        margin-left: 0;
    }

    .panel {
        min-width: 100%;
        height: auto;
        min-height: 100vh;
        scroll-snap-align: start;
        padding: 2rem 1rem;
        padding-bottom: 3rem;
        overflow: visible;
    }

    .scroll-progress {
        left: 0;
        width: 100%;
        height: 3px;
        top: 0;
        bottom: auto;
    }

    .simple-page {
        margin-left: 0;
        padding: 1.5rem 1rem 3rem;
    }

    .simple-panel {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .connect-content {
        padding: 1rem;
    }

    .connect-instructions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .instruction-item {
        padding: 1.5rem;
    }

    .instruction-title i {
        font-size: 2.5rem;
    }

    .ip-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ip-buttons .copy-btn {
        width: 100%;
        min-width: auto;
    }

    .connect-grid,
    .rules-grid,
    .premium-grid,
    .maps-grid,
    .servers-grid {
        grid-template-columns: 1fr;
    }

    .premium-card.featured {
        transform: none;
    }

    .scroll-indicators {
        right: 1rem;
        gap: 0.75rem;
    }

    .scroll-indicator {
        width: 10px;
        height: 10px;
    }

    .scroll-indicator.active {
        width: 12px;
        height: 12px;
    }

    .scroll-indicator::after {
        display: none;
    }

    .brand-logo {
        height: 180px;
        width: auto;
        margin: 0 0 -10px 0;
    }

    .panel-home .panel-inner {
        margin-top: -40px;
    }

    .ip {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .server-status-info {
        gap: 1.5rem;
        justify-content: center;
        margin: 1rem 0 2rem 0;
    }

    .status-indicator,
    .players-count {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .status-indicator span,
    .players-count span {
        font-size: 0.9rem;
    }

    .vertical-menu {
        width: 60px;
        padding: 1rem 0;
    }

    .menu-logo {
        margin-bottom: 1.5rem;
    }

    .menu-link {
        padding: 0.8rem 1rem;
        margin: 0.1rem 0.3rem;
    }

    .menu-link i {
        font-size: 1.1rem;
        min-width: 28px;
    }

    :root {
        --menu-width: 60px;
    }

    .menu-logo .logo-img {
        height: 45px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .container {
        padding: 0 10px;
    }

    .section {
        padding: 2rem 0;
    }

    .connect-content {
        padding: 0.5rem;
    }

    .instruction-item {
        padding: 1rem;
        gap: 1rem;
    }

    .instruction-title i {
        font-size: 1.8rem;
    }

    .instruction-text h4 {
        font-size: 1.2rem;
    }

    .instruction-text p {
        font-size: 1rem;
    }

    .ip-section {
        padding: 1.5rem;
    }

    .ip-section h4 {
        font-size: 1.2rem;
    }

    .connect-footer p {
        font-size: 1rem;
    }

    .hytale-connect {
        padding: 1.5rem;
    }

    .ip {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .ip-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .copy-btn,
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .brand-logo {
        height: 120px;
        width: auto;
        margin: 0 0 -5px 0;
    }

    .panel-home .panel-inner {
        margin-top: -20px;
        padding: 0 1rem;
    }

    .h-scroll {
        padding-left: 50px;
    }

    .simple-page {
        margin-left: 0;
        padding: 1rem 0.75rem 2.5rem;
    }

    .simple-panel {
        padding: 1rem;
    }

    .panel {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .panel-inner {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    /* Server type cards na mobile */
    .servers-types {
        flex-direction: column;
        gap: 1rem;
    }

    .server-type-card {
        width: 100%;
        padding: 1rem;
    }

    .server-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    /* Info cards na mobile */
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
    }

    .mechanics-list {
        font-size: 0.9rem;
    }

    /* Server IP sections na mobile */
    .server-ip-section {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .server-type-title {
        font-size: 1rem;
        gap: 0.4rem;
    }

    .server-type-title i {
        font-size: 0.9rem;
    }

    .server-ip-section .ip {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        text-align: center;
    }

    .server-ip-section .server-status-info {
        margin: 0.5rem 0;
        gap: 0.5rem;
    }

    .server-ip-section .copy-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .info-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    /* Commands na mobile */
    .commands-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .command-category h3 {
        font-size: 1.2rem;
    }

    .command-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .command-item code {
        font-size: 0.8rem;
    }

    /* Tutorials na mobile */
    .tutorials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tutorial-card {
        padding: 1rem;
    }

    .tutorial-card h3 {
        font-size: 1.1rem;
    }

    .tutorial-card p {
        font-size: 0.9rem;
    }

    .tutorial-btn {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    /* Rules na mobile */
    .rules-content {
        padding: 1rem;
    }

    .rule-section h3 {
        font-size: 1.2rem;
    }

    .rule-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .rule-number {
        font-size: 1rem;
        margin-right: 0.8rem;
    }

    .rules-warning {
        padding: 1rem;
        margin-top: 1rem;
    }

    .rules-warning h4 {
        font-size: 1.1rem;
    }

    .rules-warning p {
        font-size: 0.9rem;
    }

    /* Server status na mobile */
    .server-status-info {
        gap: 0.8rem;
        flex-direction: row;
        justify-content: flex-start;
        margin: 0.5rem 0 1.5rem 0;
        flex-wrap: wrap;
    }

    .status-indicator,
    .players-count {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: auto;
    }

    .status-indicator span {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }

    .players-count span {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
        min-width: 40px;
    }

    .status-indicator i,
    .players-count i {
        font-size: 0.6rem;
    }

    /* IP na mobile */
    .ip {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
        text-align: center;
        line-height: 1.2;
    }

    /* Brand logo na mobile */
    .brand-logo {
        height: 100px;
        width: auto;
        margin: 0 0 -5px 0;
    }

    /* Panel home na mobile */
    .panel-home .panel-inner {
        margin-top: -10px;
        padding: 0 0.5rem;
    }

    /* IP actions na mobile */
    .ip-actions {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .copy-btn,
    .cta-button {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .vertical-menu {
        width: 50px;
        padding: 0.8rem 0;
    }

    .menu-logo {
        margin-bottom: 1rem;
    }

    .menu-link {
        padding: 0.6rem 0.8rem;
        margin: 0.1rem 0.2rem;
    }

    .menu-link i {
        font-size: 1rem;
        min-width: 24px;
    }

    .server-status-mini {
        padding: 0.4rem;
        font-size: 0.7rem;
    }
}

/* Extra malé obrazovky (320px a menej) */
@media (max-width: 320px) {
    .ip {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .brand-logo {
        height: 80px;
    }

    .server-status-info {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .status-indicator,
    .players-count {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .status-indicator span,
    .players-count span {
        font-size: 0.7rem;
    }

    .copy-btn,
    .cta-button {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }

    :root {
        --menu-width: 50px;
    }

    .menu-logo .logo-img {
        height: 60px;
        width: auto;
        max-width: 120px;
    }

    .menu-logo {
        padding: 0 0.5rem;
    }
}

/* Command Features Styles */
.command-description {
    margin-top: 0.75rem;
}

.command-description>span {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.command-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.command-features li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.command-features li:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.command-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    min-width: 16px;
}

.command-features li code {
    background: rgba(139, 92, 246, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.command-category {
    margin-bottom: 2rem;
}

.command-category:last-child {
    margin-bottom: 0;
}

.command-category h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.command-item {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.command-item:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.command-item code {
    background: rgba(139, 92, 246, 0.3);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.command-item>span {
    display: block;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Rules Page Styles - Enhanced Visual Design */
.rules-intro {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.rules-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.rules-intro p {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rules-content {
    padding: 1rem 0;
}

.section-separator {
    margin: 3rem 0 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.15) 100%);
    border-radius: 16px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.section-separator h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-separator h2 i {
    color: var(--primary-color);
    font-size: 1.8rem;
    background: rgba(139, 92, 246, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}


.rule-section {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-radius: 16px;
    padding: 0;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.rule-section:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
    transform: translateY(-3px);
}

.rule-section h3 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rule-section h3 i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.2);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.rule-section>p {
    color: var(--text-secondary);
    margin: 0;
    padding: 1.25rem 2rem 0.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.rule-item {
    margin: 0;
    padding: 1.25rem 2rem 1.75rem;
}

.rule-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.rule-text strong {
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15);
    border-left: 4px solid var(--secondary-color);
    border-radius: 6px;
    font-weight: 600;
}

.rule-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.75rem;
}

.rule-text ul li {
    padding: 0.75rem 1rem 0.75rem 3rem;
    position: relative;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.rule-text ul li:hover {
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.6);
    border-left-color: var(--secondary-color);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.rule-text ul li::before {
    content: "◆";
    position: absolute;
    left: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.rule-note {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
    position: relative;
}

.rule-note::before {
    content: '💡';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.6;
}

.rules-warning {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
}

.rules-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

.rules-warning i {
    font-size: 2.5rem;
    color: #ef4444;
    min-width: 50px;
    flex-shrink: 0;
    background: rgba(239, 68, 68, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.rules-warning h4 {
    color: #ef4444;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rules-warning p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.survival-addon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.4);
    margin-top: 2rem;
}

.survival-addon::before {
    background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
}

.survival-addon i {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.survival-addon h4 {
    color: #22c55e;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.survival-addon p {
    color: var(--text-primary);
}

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

/* Responsive rules styling */
@media (max-width: 768px) {
    .rules-intro {
        padding: 1.5rem;
    }

    .rule-section h3 {
        padding: 1.25rem 1.5rem;
        font-size: 1.2rem;
    }

    .rule-section h3 i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .rule-section>p {
        padding: 1rem 1.5rem 0.5rem;
        font-size: 1rem;
    }

    .rule-item {
        padding: 1rem 1.5rem 1.5rem;
    }

    .rule-text ul li {
        padding: 0.6rem 0.8rem 0.6rem 2.5rem;
    }

    .rules-warning {
        padding: 1.5rem;
    }

    .rules-warning i {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.2);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
}

.cookie-decline {
    background: rgba(71, 85, 105, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.cookie-decline:hover {
    background: rgba(71, 85, 105, 0.7);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-icon i {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .cookie-text h4 {
        font-size: 1.15rem;
    }

    .cookie-text p {
        font-size: 0.95rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-icon i {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .cookie-text h4 {
        font-size: 1.05rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
}