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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #FFFF00;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFF00;
    text-shadow: 2px 2px 0px #000000;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFFF00;
    text-shadow: 1px 1px 0px #000000;
}

.nav-menu a:last-child {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Server Status */
.server-status {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #FFFF00;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.status-indicator.online {
    background: #00ff00;
}

.status-indicator.offline {
    background: #ff0000;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-text span {
    font-size: 0.9rem;
    font-weight: 500;
}

.players-info {
    font-size: 0.8rem !important;
    color: #888;
}

/* Global Zoom */
body {
    zoom: 0.75;
    /* transform: scale(0.75); */
    /* transform-origin: top left; */
    /* width: 133.33%;  Compensate for scaling */
    /* overflow-x: hidden; */
}

/* Hero Section */
.hero {
    background: url('../images/strona.png') center top no-repeat;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -90px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #FFFF00;
    color: #000000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid #000000;
}

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

.cta-button.secondary {
    background: #5865F2;
    color: #ffffff;
    border: 3px solid #000000;
    margin-left: 10px;
}

.cta-button.secondary:hover {
    background: #4752C4;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a0e 100%);
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFFF00;
    text-shadow: 2px 2px 0px #000000;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #0000ff;
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #FFFF00;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: 1px 1px 0px #000000;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Join Page */
.main-content {
    padding: 100px 20px 60px;
}

.join-section {
    max-width: 800px;
    margin: 0 auto;
}

.join-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #FFFF00;
    text-shadow: 2px 2px 0px #000000;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #FFFF00;
    margin-bottom: 2rem;
}

.info-note {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
}

.install-section,
.server-address-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #0000ff;
    margin-bottom: 2rem;
}

.install-section h2,
.server-address-section h2 {
    color: #FFFF00;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 2px 2px 0px #000000;
}

.install-steps {
    list-style: none;
    counter-reset: step-counter;
}

.install-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #FFFF00;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.warning-step {
    color: #ff6b6b;
    font-weight: bold;
}

.download-link {
    color: #00ff00;
    text-decoration: none;
    border-bottom: 1px solid #00ff00;
}

.download-link:hover {
    color: #00cc00;
}

.server-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.address-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #00ff00;
}

.copy-button {
    background: #FFFF00;
    color: #000000;
    border: 2px solid #000000;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.copy-button:hover {
    background: #FFD700;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 2rem 4rem 2rem;
    text-align: center;
    border-top: 2px solid #FFFF00;
}

.footer p {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .server-status {
        position: static;
        margin: 20px auto;
        width: fit-content;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .server-address {
        flex-direction: column;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .nav-menu a:last-child {
        font-size: 1rem;
    }
    
    .features {
        padding: 60px 15px;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }
    
    .nav-menu a:last-child {
        font-size: 0.9rem;
    }
    
    .features h2 {
        font-size: 1.5rem;
    }
    
    .install-steps li {
        font-size: 0.95rem;
    }
    
    .address-text {
        font-size: 1.2rem;
    }
    
    .copy-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}


/* Discord Panel */
.discord-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid #5865F2;
    z-index: 998;
    width: 350px;
    max-height: 500px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.discord-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.discord-header {
    background: rgba(88, 101, 242, 0.2);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #5865F2;
}

.discord-icon {
    font-size: 2rem;
}

.discord-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
}

.discord-online-count {
    color: #FFFF00;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: auto;
}

.discord-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #808080;
    margin-left: 10px;
    transition: background 0.3s;
}

.discord-status-dot.online {
    background: #00ff00;
    box-shadow: 0 0 5px #00ff00;
}

.discord-status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 5px #ff0000;
}

.discord-body {
    padding: 15px;
    max-height: 380px;
    overflow-y: auto;
}

.discord-loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

.discord-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    background: rgba(88, 101, 242, 0.1);
    transition: background 0.3s;
}

.discord-member:hover {
    background: rgba(88, 101, 242, 0.2);
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.member-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 3px #00ff00;
}

.member-status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 3px #ff0000;
}

.member-status-dot.dnd {
    background: #ff0000;
    box-shadow: 0 0 3px #ff0000;
}

.bot-member {
    opacity: 0.7;
}

.bot-member .member-name {
    color: #888;
}

.no-members {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 10px;
}

.discord-footer {
    background: rgba(88, 101, 242, 0.2);
    padding: 10px;
    text-align: center;
    border-top: 1px solid #5865F2;
}

.discord-join-text {
    color: #FFFF00;
    font-size: 0.9rem;
    font-weight: bold;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #5865F2;
}

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

.discord-status-indicator.online {
    background: #00ff00;
}

.discord-status-indicator.offline {
    background: #ff0000;
}

.discord-status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.discord-status-text span {
    font-size: 0.9rem;
    font-weight: 500;
}

.discord-players-info {
    font-size: 0.8rem !important;
    color: #888;
}

.discord-members {
    max-height: 300px;
    overflow-y: auto;
}

.discord-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    background: rgba(88, 101, 242, 0.1);
    transition: background 0.3s;
}

.discord-member:hover {
    background: rgba(88, 101, 242, 0.2);
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.member-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.member-status {
    font-size: 0.8rem;
}

.member-status.online {
    color: #00ff00;
}

.no-members {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 10px;
}

.loading-members {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 10px;
}


/* Easy Install Section */
.easy-install {
    background: rgba(88, 101, 242, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #5865F2;
    margin-bottom: 2rem;
    text-align: center;
}

.easy-install-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.easy-install-icon {
    font-size: 2rem;
}

.easy-install-header h3 {
    color: #FFFF00;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 0px #000000;
}

.easy-install-text {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.download-button {
    display: inline-block;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.manual-install {
    margin-top: 2rem;
}

.manual-install h3 {
    color: #FFFF00;
    text-shadow: 2px 2px 0px #000000;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
