:root {
    --primary-color: #0084ff;
    --primary-color-rgb: 0,132,255;
    --secondary-color: #006cdc;
    --secondary-color-rgb: 0, 108, 220;
    --accent-color: #f0b90b;
    --background-color: #121828;
    --background-color-rgb: 18, 24, 40;
    --surface-color: #1a2238;
    --surface-color-rgb: 26, 34, 56;
    --surface-color-darker: #151c2f;
    --surface-color-darker-rgb: 21, 28, 47;
    --text-color: #cdd6f4;
    --heading-color: #eff1f5;    
    --text-color-muted: #a6adc8;
    --border-color: #0084ff;
    --font-family: 'Poppins', sans-serif;
    --container-width: 1140px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

/* Egyedi Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--background-color); 
}
::-webkit-scrollbar-thumb {
    background: var(--surface-color); 
    border-radius: 5px;
    border: 2px solid var(--background-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);    
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

#tsparticles-bg {
    position: fixed;
    width: 100%;    
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;    
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }

/* Animált Gradiens Szöveg */
h1 .highlight, h2 .highlight, .server-name-header {
    background: linear-gradient(90deg, #0084ff 0%, #00d4ff 50%, #f0b90b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

h2.section-title {    
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--heading-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}    
h2.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
h2.section-title.no-after::after {
    display: none;
}
h2.section-title .highlight {
    font-weight: 800;
}

.section-subtitle {
    text-align: center;    
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-color-muted);
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--heading-color); }

p {
    margin-bottom: 1.2rem;    
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-color-muted);
}
.about-text p {
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;    
    transition: color var(--transition-speed) ease;
}
a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;    
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    position: relative;    
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-icon i { margin-right: 10px; }
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }

.btn-primary {
    background-image: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--heading-color);
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.35);
}
.btn-primary:hover {    
    background-image: linear-gradient(to right, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--surface-color-darker);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.btn-tertiary:hover {
    background-color: var(--primary-color);
    color: var(--heading-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

header {
    background-color: rgba(var(--surface-color-darker-rgb), 0.8);    
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

header nav {
    display: flex;    
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--heading-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform var(--transition-speed) ease;
    display: flex;
    align-items: center;
}
header .logo img {
    height: 45px;
    margin-right: 10px;
    border-radius: 0;
}
header .logo .server-name-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    line-height: 1;
}
header .logo:hover { transform: scale(1.05); }

header ul {
    display: flex;    
    list-style: none;
    align-items: center;
}
header ul li { margin-left: 30px; }
header ul li a {    
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 4px;
    position: relative;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}

header ul li a.btn-discord-nav {
    background-color: var(--primary-color);
    color: var(--heading-color);
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.3);
}
header ul li a.btn-discord-nav i { margin-right: 8px; font-size: 1.1em; }
header ul li a.btn-discord-nav:hover {
    background-color: var(--secondary-color);
    color: var(--heading-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.4);
}
header ul li a.btn-discord-nav::after { display: none; }

header ul li a:not(.btn-discord-nav)::after {
    content: '';    
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width var(--transition-speed) ease;
}
header ul li a:not(.btn-discord-nav):hover::after,
header ul li a:not(.btn-discord-nav).active::after { width: 100%; }
header ul li a:not(.btn-discord-nav):hover,
header ul li a:not(.btn-discord-nav).active { color: var(--primary-color); }

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background: var(--heading-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease-in-out;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--heading-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease-in-out;
}
.hamburger::before { top: -9px; }
.hamburger::after { bottom: -9px; }    

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--heading-color);
    padding-top: 80px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease-in-out;
    transform: scale(1.1);
    z-index: 1;
}
.slide.active { opacity: 1; transform: scale(1); z-index: 2; }

/* Vignette effekt a Hero-n */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18, 24, 40, 0.4) 0%, rgba(18, 24, 40, 0.95) 90%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 20px;
}
.hero-content h1 {
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
    letter-spacing: 1.5px;
    margin-bottom: 1.8rem;
}
.hero-content p {
    font-size: clamp(1.1rem, 2.8vw, 1.45rem);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 400;
}
.hero-buttons .btn { margin: 10px 15px; }

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}
section:nth-child(even) { background-color: var(--surface-color-darker); }

.about-section .container { padding-top: 20px; }
.about-content {
    display: flex;
    flex-wrap: wrap;    
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}
.about-text { flex: 1; min-width: 320px; }
.about-image { flex: 1; min-width: 320px; text-align: center; }
.about-image img {
    width: 100%;
    max-width: 450px; 
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
    border: 5px solid var(--surface-color);
}

/* Glassmorphism bevezetése a kártyákra */
.value-item, .feature-item, .staff-member, .rules-card {
    background: rgba(26, 34, 56, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 132, 255, 0.2); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.about-values {    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}
.value-item {
    padding: 35px;    
    text-align: center;
    border-left: 4px solid var(--primary-color);
}
.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
    border-color: var(--primary-color);
}
.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}
.value-item h3 { color: var(--heading-color); margin-bottom: 12px; font-weight: 600; }

.feature-grid {
    display: grid;    
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.feature-item {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.feature-item:hover {
    transform: translateY(-12px);
    background: rgba(26, 34, 56, 0.8);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
    border-color: var(--primary-color);
}
.feature-icon {
    background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    color: var(--heading-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.4);
    transition: transform var(--transition-speed) ease;
}
.feature-item:hover .feature-icon { transform: scale(1.1) rotate(10deg); }
.feature-item h3 { margin-bottom: 12px; font-size: 1.5rem; color: var(--heading-color); font-weight: 600; }

.gallery-slideshow-section { background-color: var(--surface-color); }
.gallery-slideshow-container {
    max-width: 900px;
    position: relative;
    margin: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    height: 500px; 
}
.gallery-slide { display: none; animation: galleryFadeEffect 1.5s; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gallery-slide-caption {
    text-align: center;
    padding: 15px 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(var(--background-color-rgb), 0.75);
    backdrop-filter: blur(5px);
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: 500;
}
.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 18px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 5px 5px 0;
    user-select: none;
    background-color: rgba(var(--surface-color-darker-rgb), 0.6);
}
.next-slide { right: 0; border-radius: 5px 0 0 5px; }
.prev-slide:hover, .next-slide:hover { background-color: rgba(var(--primary-color-rgb), 0.8); }
.slide-dots-container { text-align: center; padding-top: 25px; }
.dot-indicator {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.dot-indicator.active, .dot-indicator:hover { background-color: var(--accent-color); }
@keyframes galleryFadeEffect { from {opacity: .4} to {opacity: 1} }

.rules-section { background-color: var(--surface-color-darker); padding: 100px 0; }
.rules-container { max-width: 900px; margin: 0 auto; }
.rules-card { padding: 40px 50px; text-align: center; }
.rules-icon-container { margin-bottom: 25px; }
.rules-main-icon {
    font-size: 4.5rem;
    color: var(--primary-color);
    background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
}
.rules-card .section-title { margin-bottom: 15px; }
.rules-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.rules-points {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.rule-point { display: flex; align-items: center; font-size: 1rem; color: var(--text-color-muted); }
.rule-check { color: var(--accent-color); margin-right: 12px; font-size: 1.2em; }
.rules-full-link { font-size: 0.95rem; color: var(--text-color-muted); margin-bottom: 25px; font-style: italic; }
.rules-card .btn-primary { margin-top: 10px; }

.staff-grid {
    display: grid;    
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.staff-member {
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.staff-member:hover {
    transform: translateY(-10px);
    background: rgba(26, 34, 56, 0.8);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
    border-color: var(--primary-color);
}
.staff-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.3);
    position: relative;
    z-index: 1;
}
.staff-member h3 { font-size: 1.4rem; margin-bottom: 8px; font-weight: 600; position: relative; z-index: 1;}

/* Staff Badge Design */
.staff-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}
.staff-badge.owner {
    background-color: rgba(240, 185, 11, 0.15);
    color: #f0b90b;
    border: 1px solid rgba(240, 185, 11, 0.3);
}
.staff-badge.dev {
    background-color: rgba(0, 132, 255, 0.15);
    color: #0084ff;
    border: 1px solid rgba(0, 132, 255, 0.3);
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--surface-color-darker) 25%, var(--surface-color) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 40%);
    animation: rotateBackground 60s linear infinite;
    z-index: 0;
}
.cta-container { position: relative; z-index: 1; max-width: 800px; }
.cta-content {
    background-color: rgba(var(--surface-color-rgb), 0.7);
    backdrop-filter: blur(10px);
    padding: 50px 60px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid var(--border-color);
}
.cta-icon-container { margin-bottom: 25px; }
.cta-icon-container i {
    font-size: 4rem;
    color: var(--primary-color);
    background-image: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}
.cta-content h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 15px; color: var(--heading-color); font-weight: 700; }
.cta-content p { font-size: clamp(1rem, 2.2vw, 1.2rem); margin-bottom: 35px; color: var(--text-color); line-height: 1.7; }
.cta-content .btn-primary { padding: 16px 38px; font-size: 1.1rem; }

@keyframes rotateBackground { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

footer {
    background-color: var(--surface-color-darker);
    color: var(--text-color-muted);
    padding: 70px 0 40px 0;
}
.footer-content {
    display: grid;    
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}
.footer-about h4, .footer-links h4, .footer-social h4 {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}
.footer-about h4::after, .footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.footer-about p { font-size: 1rem; line-height: 1.7; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-color-muted); transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease; }
.footer-links ul li a:hover { color: var(--primary-color); padding-left: 8px; }
.social-links a {
    color: var(--text-color-muted);
    font-size: 2rem;
    margin-right: 20px;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.social-links a:last-child { margin-right: 0; }
.social-links a:hover { color: var(--primary-color); transform: translateY(-3px) scale(1.1); }
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.hero-page-status {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: rgba(var(--surface-color-rgb), 0.85);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 15px 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
}

.status-line { display: flex; align-items: center; font-size: clamp(0.9rem, 2vw, 1.05rem); color: var(--text-color-muted); }
.status-icon { color: var(--primary-color); margin-right: 8px; font-size: 1.1em; }
.status-label { margin-right: 5px; }
.status-value { color: var(--heading-color); font-weight: 600; }
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    transition: background-color var(--transition-speed) ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.status-dot.status-online {
    background-color: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
    animation: pulse-green 2s infinite;
}
.status-dot.status-offline {
    background-color: #f87171;
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.7);
}
.status-value.status-text-online { color: #4ade80; }
.status-value.status-text-offline { color: #f87171; }
.status-refresh-btn { padding: 8px 18px; font-size: 0.9rem; }

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.animate-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1.visible { transition-delay: 0.1s; }
.animate-on-scroll.delay-2.visible { transition-delay: 0.2s; }
.animate-on-scroll.delay-3.visible { transition-delay: 0.3s; }
.animate-on-scroll.delay-4.visible { transition-delay: 0.4s; }
.animate-on-scroll.delay-5.visible { transition-delay: 0.5s; }
.animate-on-scroll.delay-6.visible { transition-delay: 0.6s; }

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface-color-darker);
    color: var(--text-color);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { margin: 0; flex-grow: 1; font-size: 0.95rem; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons .btn { padding: 10px 20px; font-size: 0.9rem; }

/* Lebegő Discord Gomb */
.floating-discord {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #5865F2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.5);
    z-index: 998;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}
.floating-discord:hover { transform: scale(1.1); color: white; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(88, 101, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--box-shadow-light);
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.3s ease;
    display: none;
    opacity: 0;
    width: 50px;
    height: 50px;
    line-height: 18px;
    text-align: center;
}
#scrollToTopBtn:hover { background-color: var(--secondary-color); transform: scale(1.1); }

@media (max-width: 992px) {
    .about-content { flex-direction: column; text-align: center; }
    .about-image { margin-top: 30px; }
    .rules-card { padding: 30px 25px; }
    .gallery-slideshow-container { max-width: 95%; }
    header .logo .server-name-header { display: none; }
}

@media (max-width: 850px) {
    .hero-page-status { justify-content: center; }
}

@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed; /* Fixed pozíció mobilon */
        top: 0;
        left: 0;
        height: 100vh; /* Teljes képernyő */
        background-color: var(--surface-color-darker);
        padding-top: 80px; /* Hely a logónak */
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }
    header nav ul.nav-active { display: flex; }
    header nav ul li { margin: 25px 0; text-align: center; font-size: 1.2rem; }
    header nav ul li a::after { left: 50%; transform: translateX(-50%); }
    header ul li a.btn-discord-nav { padding: 12px 30px; margin: 10px auto; display: inline-block; font-size: 1.1rem; }

    .nav-toggle { display: block; }
    .nav-toggle.active .hamburger { background: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(6px, 7px); }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg) translate(6px, -7px); }

    section { padding: 80px 0; }
    .hero-section { padding-top: 100px; min-height: 90vh; }
    .rules-card { padding: 25px; }
    .rules-main-icon { font-size: 3.5rem; }
    .rules-intro { font-size: 1rem; }
    .rules-points { gap: 10px; }
    .cta-content { padding: 40px 30px; }
    .footer-content { text-align: center; }
    .footer-about h4::after, .footer-links h4::after, .footer-social h4::after { left: 50%; transform: translateX(-50%); }
    #cookie-banner { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
    .floating-discord { bottom: 85px; right: 20px; width: 45px; height: 45px; font-size: 20px; }
    #scrollToTopBtn { right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    .btn { padding: 12px 28px; font-size: 0.95rem;}
    .feature-grid, .staff-grid, .about-values { grid-template-columns: 1fr; }
    .hero-buttons .btn { margin: 8px 5px; display: block; width: calc(100% - 10px); }
    .hero-buttons .btn:not(:last-child) { margin-bottom: 15px; }
    .cta-content p { margin-bottom: 30px; }
    .hero-page-status { flex-direction: column; align-items: flex-start; gap: 10px; }
    .rules-card { padding: 20px 15px; }
    .rules-main-icon { font-size: 3rem; }
    .rules-intro { font-size: 0.95rem; }
    .cta-content { padding: 30px 20px; }
    .gallery-slide-caption { font-size: 0.9rem; padding: 10px 15px;}
    .prev-slide, .next-slide { font-size: 18px; padding: 12px;}
    .dot-indicator { height: 12px; width: 12px; margin: 0 4px;}
    header .logo .server-name-header { font-size: 1.2rem; }
}