/* ==========================================================================
   F.I.B | FEDERAL INVESTIGATION BUREAU - HIVATALOS WEBOLDAL STÍLUS
   MER (Magyar Elite Roleplay) Prémium Stílus & Glassmorphism Alapján
   ========================================================================== */

:root {
    --primary-color: #d4af37;        /* Szövetségi Arany */
    --primary-hover: #f3cf58;        /* Élénkebb Arany */
    --secondary-color: #1b5299;      /* Szövetségi Kék */
    --secondary-hover: #2980b9;      /* Kék kiemelés */
    --bg-dark: #0a0b10;              /* Mély szövetségi fekete-kék */
    --bg-light: #12141e;             /* Kártya háttér */
    --bg-card: rgba(18, 20, 30, 0.85);
    --text-main: #e6e8ec;            /* Főszöveg */
    --text-muted: #9ba1b0;           /* Másodlagos szöveg */
    --white: #ffffff;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --blue-glow: rgba(27, 82, 153, 0.4);
    --discord: #5865F2;
    --success: #4cd137;
    --danger: #eb3b5a;
    --warning: #f7b731;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-glow: rgba(212, 175, 55, 0.25);
}

/* Téma váltás: Sötét Arany / Taktikai Kék */
[data-theme="tactical"] {
    --primary-color: #38bdf8;
    --primary-hover: #0284c7;
    --border-glow: rgba(56, 189, 248, 0.35);
    --gold-glow: rgba(56, 189, 248, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Háttér fénygömbök */
.glow-orb-1 {
    position: absolute;
    top: 50px;
    left: -150px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(10, 11, 16, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-2 {
    position: absolute;
    top: 1200px;
    right: -180px;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(27, 82, 153, 0.15) 0%, rgba(10, 11, 16, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-3 {
    position: absolute;
    bottom: 200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, rgba(10, 11, 16, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Navigáció (Navbar & Blur)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 11, 16, 0.92);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    margin: 0;
}

.logo span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--gold-glow);
}

.logo .subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin-left: 0;
}

.nav-links a:not(.discord-btn):not(.dropdown-item) {
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #cfd4dc;
}

.nav-links a:not(.discord-btn):not(.dropdown-item)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.discord-btn):not(.dropdown-item):hover,
.nav-links li:hover > a:not(.discord-btn),
.nav-links a.active {
    color: var(--white);
}

.nav-links a:not(.discord-btn):not(.dropdown-item):hover::after,
.nav-links li:hover > a:not(.discord-btn)::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown Menük */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown > a i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.nav-dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(14, 16, 24, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--primary-color);
    border-radius: 10px;
    min-width: 230px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.dropdown-menu li {
    margin: 0 !important;
    width: 100%;
}

.dropdown-menu a.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 18px !important;
    color: #ddd !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: none !important;
    letter-spacing: 0.3px;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a.dropdown-item::after {
    display: none !important;
}

.dropdown-menu a.dropdown-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: center;
    transition: 0.2s;
}

.dropdown-menu a.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff !important;
    padding-left: 22px !important;
}

.dropdown-menu a.dropdown-item:hover i {
    color: var(--primary-hover);
    transform: scale(1.15);
}

.discord-btn {
    background-color: var(--discord);
    padding: 10px 20px;
    border-radius: 6px;
    color: white !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.discord-btn:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.theme-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--white);
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* ==========================================================================
   Page Header (Különálló aloldalak fejlécéhez)
   ========================================================================== */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    background: linear-gradient(to bottom, rgba(10, 11, 16, 0.92), var(--bg-dark)), url('images/hero.jpg') center/cover;
    text-align: center;
    position: relative;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.page-header h1 {
    font-size: 3.8rem;
    color: var(--white);
    letter-spacing: 2.5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    margin-bottom: 12px;
}

.page-header h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 25px var(--gold-glow);
}

.page-header p {
    color: #ccc;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

/* ==========================================================================
   Hero Section (Főoldal)
   ========================================================================== */
.hero {
    min-height: 100vh;
    background: url('images/hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-glow {
    position: absolute;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(10, 11, 16, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 11, 16, 0.75) 0%, rgba(10, 11, 16, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    padding: 0 20px;
}

/* VISSZASZÁMLÁLÓ (COUNTDOWN) */
.countdown-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 18px;
    text-align: center;
    min-width: 85px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.countdown-box span {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    color: white;
    line-height: 1;
    font-weight: 700;
}

.countdown-box small {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 18px;
    text-shadow: 0px 5px 25px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--gold-glow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #0b0c10;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 207, 88, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--bg-dark);
    transform: translateY(-3px);
    border-color: var(--white);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.pulse-effect {
    animation: pulse 2.2s infinite;
}

.ip-copied-msg {
    margin-top: 18px;
    font-size: 1rem;
    color: #4cd137;
    opacity: 0;
    font-weight: bold;
    transition: opacity 0.3s;
}

.ip-copied-msg.show {
    opacity: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
}

.scroll-down a:hover {
    opacity: 1;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-16px); }
    60% { transform: translateY(-8px); }
}

/* ==========================================================================
   Szekció Címek & Közös Elemek
   ========================================================================== */
section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    letter-spacing: 2px;
    color: var(--white);
}

.section-title span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 12px auto 0;
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   About Section & Split Layout
   ========================================================================== */
.about {
    background-color: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.about-card {
    background-color: var(--bg-light);
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.about-card:hover::after {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    background-color: #171926;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-card:hover .card-icon-wrapper {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px var(--gold-glow);
}

.card-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.about-card:hover .card-icon-wrapper i {
    color: #0b0c10;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--white);
}

.about-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Split Layout (Képes-szöveges blokkok) */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.split-text h3 span {
    color: var(--primary-color);
}

.split-text p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.8;
}

.split-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(212, 175, 55, 0.25);
}

.split-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Features / Divisions (KÉPES KÁRTYÁK AZ EREDETI MER STÍLUSBAN)
   ========================================================================== */
.features {
    background-color: var(--bg-light);
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.feature-with-bg {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    min-height: 170px;
}

.feature-with-bg:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
    border-left-color: var(--primary-hover);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 11, 16, 0.95) 0%, rgba(10, 11, 16, 0.85) 50%, rgba(10, 11, 16, 0.45) 100%);
    z-index: 1;
}

.feature-with-bg .feature-icon {
    position: relative;
    z-index: 2;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    text-shadow: 0 0 15px var(--gold-glow);
}

.feature-with-bg .feature-text {
    position: relative;
    z-index: 2;
    padding: 30px 30px 30px 0;
}

.feature-text .division-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.feature-text h4 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-text p {
    color: #cfd4dc;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   Ranglétra Szekció
   ========================================================================== */
.ranks-section {
    background-color: var(--bg-dark);
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.rank-card {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.rank-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 15px rgba(212, 175, 55, 0.15);
}

.rank-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.rank-card h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 6px;
}

.rank-level {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}

.rank-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Szabályzat & Kódex (Rules)
   ========================================================================== */
.rules-section {
    background-color: var(--bg-dark);
}

.search-container {
    max-width: 650px;
    margin: -25px auto 40px;
    position: relative;
    z-index: 10;
}

.search-container input {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    background: rgba(18, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    outline: none;
    transition: 0.3s;
}

.search-container input:focus {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    background: #141724;
}

.search-container i {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.3rem;
    pointer-events: none;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ccc;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: white;
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #0b0c10;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.rule-card {
    background: linear-gradient(145deg, rgba(22, 25, 36, 0.85), rgba(14, 16, 24, 0.95));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 35px 25px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: 0.35s;
    transform-origin: left;
}

.rule-card:hover::before {
    transform: scaleX(1);
}

.rule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.rule-card .rule-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.rule-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--white);
    padding-right: 60px;
}

.rule-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Jelentkezési Lap (Application Form)
   ========================================================================== */
.apply-section {
    background-color: var(--bg-light);
    padding: 60px 0 100px;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(20, 22, 32, 0.95), rgba(12, 14, 20, 0.98));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 15px;
    padding: 55px 65px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.12);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 2.2rem;
    color: var(--white);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.form-header h3 span {
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.15rem;
    transition: 0.3s;
    pointer-events: none;
}

.input-wrapper textarea ~ i {
    top: 24px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: rgba(8, 9, 14, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    transition: 0.3s;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(14, 16, 24, 0.95);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(8, 9, 14, 0.7);
    padding: 16px 22px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
}

.checkbox-group input {
    width: 24px;
    height: 24px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1.5;
}

.submit-btn {
    background: linear-gradient(45deg, #b8972e, #e5be3c);
    color: #0b0c10;
    border: none;
    padding: 18px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: 0.4s;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.65);
    filter: brightness(1.15);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert-box {
    display: none;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: center;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

.alert-success {
    background: rgba(76, 209, 55, 0.12);
    border: 2px solid #4cd137;
    color: #4cd137;
    box-shadow: 0 0 25px rgba(76, 209, 55, 0.25);
}

.alert-error {
    background: rgba(235, 59, 90, 0.12);
    border: 2px solid #eb3b5a;
    color: #eb3b5a;
    box-shadow: 0 0 25px rgba(235, 59, 90, 0.25);
}

/* ==========================================================================
   Adminisztrációs & Vezetőségi Panel (Admin Dashboard)
   ========================================================================== */
.admin-section {
    padding: 130px 0 80px;
    min-height: 90vh;
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
    padding-bottom: 20px;
}

.admin-header-bar h1 {
    font-size: 2.4rem;
    color: white;
}

.admin-header-bar h1 span {
    color: var(--primary-color);
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.admin-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.admin-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.admin-btn.gold {
    background: var(--primary-color);
    color: #0b0c10;
    font-weight: 700;
    border-color: var(--primary-color);
}

.admin-btn.gold:hover {
    background: var(--primary-hover);
    color: #000;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-info h2 {
    font-size: 2.2rem;
    color: white;
    line-height: 1;
    margin-top: 5px;
}

/* Admin Táblázat */
.table-container {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    background: rgba(8, 9, 14, 0.95);
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.badge-pending {
    background: rgba(247, 183, 49, 0.15);
    color: var(--warning);
    border: 1px solid rgba(247, 183, 49, 0.3);
}

.badge-accepted {
    background: rgba(76, 209, 55, 0.15);
    color: var(--success);
    border: 1px solid rgba(76, 209, 55, 0.3);
}

.badge-rejected {
    background: rgba(235, 59, 90, 0.15);
    color: var(--danger);
    border: 1px solid rgba(235, 59, 90, 0.3);
}

/* Admin Login képernyő */
.login-container {
    max-width: 450px;
    margin: 80px auto;
    background: var(--bg-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.login-container h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.login-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Modal Részletekhez */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-light);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    max-width: 750px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 35px 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Discord Promo Doboz
   ========================================================================== */
.discord-promo {
    background: linear-gradient(135deg, #121422 0%, #0a0b12 100%);
    max-width: 950px;
    margin: 80px auto 0;
    padding: 55px 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(88, 101, 242, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(88, 101, 242, 0.15);
}

.discord-promo h3 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.discord-promo p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-discord {
    background-color: var(--discord);
    color: white;
    font-size: 1.2rem;
    padding: 16px 42px;
    display: inline-flex;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-discord:hover {
    background-color: #4752C4;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5);
}

@keyframes pulse-discord {
    0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(88, 101, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

.pulse-discord {
    animation: pulse-discord 2.2s infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #06070a;
    padding: 70px 0 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2.2rem;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.hover-glow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.hover-glow:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #64748b;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}
