/* Google Fonts importálása - League Spartan */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700&display=swap');

/* Alap stílusok */
:root {
    --main-color: #ff8c00; /* Narancssárga főszín */
    --main-dark: #1a1a1a;
    --secondary-dark: #252525;
    --text-color: #f0f0f0;
    --accent-color: #ff6b00;
    --font-family: 'League Spartan', sans-serif; /* Spartan betűtípus hozzáadása */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family); /* Spartan betűtípus alkalmazása */
    background-color: var(--main-dark);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 100px; /* Padding a header magasságához igazítva */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--main-color);
}

/* Főoldal stílusok */
.welcome-section {
    text-align: left; /* Balra igazítás az egész szekcióban */
    background-image: url('../img/bg.png'); /* Relatív elérési út */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -100px;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.welcome-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.welcome-content {
    flex: 1;
    text-align: left;
    padding: 2rem;
    max-width: 600px;
}

.welcome-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
}

.welcome-logo img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.welcome-section h1, 
.welcome-section p {
    position: relative;
    z-index: 2;
    text-align: left;
}

.welcome-section h1 {
    font-size: 2.8rem; /* Kisebb betűméret, hogy egy sorba férjen */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-section p {
    font-size: 1.4rem;
    margin: 0 0 2rem 0; /* Alsó margó hozzáadása a gomb előtt */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.welcome-register-btn {
    display: inline-block;
    background-color: var(--main-color);
    color: var(--main-dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 2px solid var(--main-color);
    text-decoration: none;
}

.welcome-register-btn:hover {
    background-color: transparent;
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2);
}

/* Scroll down gomb */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-color);
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    text-align: center;
    margin: 0 auto;
}

.scroll-down i {
    font-size: 2rem;
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* A többi szekció eltolása */
.features {
    padding: 5rem 40px 3rem 40px;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--main-color);
}

.server-info {
    padding: 3rem 0;
}

.server-info h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.info-box {
    background-color: var(--secondary-dark);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box strong {
    color: var(--main-color);
}

/* Szerver statisztika stílusok - modernebb megjelenés */
.server-stats {
    padding: 4rem 0;
    text-align: center;
    margin: 0 40px;
    border-radius: 15px;
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.server-stats h2 {
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.stats-box {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.server-status {
    padding: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #777;
    display: inline-block;
}

.status-dot.online {
    background-color: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
}

.status-dot.offline {
    background-color: #F44336;
    box-shadow: 0 0 10px #F44336;
}

.status-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.stat-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-right: 1.5rem;
    width: 40px;
    text-align: center;
}

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.stat-label {
    font-weight: 600;
    color: var(--main-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.2rem;
}

.copy-ip {
    display: flex;
    align-items: center;
    position: relative;
}

#server-ip {
    font-size: 1.2rem;
    margin-right: 10px;
}

#copy-ip-btn {
    background-color: var(--main-color);
    color: var(--main-dark);
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#copy-ip-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

#copy-tooltip {
    position: absolute;
    right: -20px;
    top: -30px;
    background-color: var(--main-dark);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.join-btn {
    display: inline-block;
    background-color: var(--main-color);
    color: var(--main-dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--main-color);
    text-decoration: none;
    margin-top: 1rem;
}

.join-btn:hover {
    background-color: transparent;
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2);
}

/* Csatlakozási útmutató stílusok */
.how-to-join {
    padding: 5rem 40px;
    background-color: var(--main-dark);
}

.how-to-join h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.join-step {
    display: flex;
    gap: 1.5rem;
    background-color: var(--secondary-dark);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.join-step:hover {
    transform: translateY(-5px);
}

.step-number {
    background-color: var(--main-color);
    color: var(--main-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .copy-ip {
        width: 100%;
        justify-content: space-between;
    }
    
    .join-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}