/* SeelMTA Dark Theme Design System */

:root {
    /* Full Provided Color Palette */
    --hudwhite: rgb(255, 255, 255);
    --seelgrey1: rgb(26, 27, 31);
    --seelgrey2: rgb(35, 39, 42);
    --seelgrey2a: rgba(35, 39, 42, 0.49);
    /* 125/255 is approx 0.49 */
    --seelgrey3: rgb(51, 53, 61);
    --seelgrey4: rgb(30, 33, 36);
    --seelmidgrey: rgb(84, 86, 93);
    --seellightgrey: rgb(186, 190, 196);
    --seelgreen: rgb(60, 184, 130);
    --seelgreen-second: rgb(60, 184, 170);
    --seelred: rgb(243, 90, 90);
    --seelred-second: rgb(250, 120, 95);
    --seelblue: rgb(49, 154, 215);
    --seelblue-second: rgb(49, 180, 225);
    --seelyellow: rgb(243, 214, 90);
    --seelyellow-second: rgb(250, 240, 240);
    --seelorange: rgb(255, 149, 20);
    --seelorange-second: rgb(250, 179, 40);
    --seelpurple: rgb(148, 60, 184);
    --seelpurple-second: rgb(182, 76, 226);

    /* Seelgrey Palette - No #000000 allowed */
    --bg-primary: var(--seelgrey1);
    --bg-secondary: var(--seelgrey2);
    --bg-tertiary: var(--seelgrey3);

    --text-primary: var(--hudwhite);
    --text-secondary: var(--seellightgrey);
    --accent: var(--seelgreen);
    --accent-secondary: var(--seelgreen-second);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--seelgrey3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--seelgreen);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 100px 5%;
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--seelgreen);
    color: var(--seelgrey1);
    box-shadow: 0 4px 15px rgba(60, 184, 130, 0.3);
}

.btn-primary:hover {
    background: var(--seelgreen-second);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 184, 130, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--seelgreen);
    color: var(--seelgreen);
}

.btn-outline:hover {
    background: var(--seelgreen);
    color: var(--seelgrey1);
}

.highlight {
    color: var(--seelgreen);
}

/* Navbar Redesign */
/* Navbar Redesign */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s ease;
    background: transparent;
    border-top: 4px solid var(--seelgreen);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(26, 27, 31, 0.85);
    /* Seelgrey1 with transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.domain-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--hudwhite);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.domain-brand:hover {
    color: var(--seelgreen);
    text-shadow: 0 0 15px rgba(60, 184, 130, 0.4);
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #dfdfdf;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-links a i {
    font-size: 1rem;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--hudwhite);
}

/* UCP: bejelentkezett felhasználó a navbar-ban */
.nav-user,
.nav-user-item {
    position: relative;
    padding-right: 15px;
    margin-right: 5px;
}

.nav-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.nav-user-caret {
    font-size: 0.7rem;
    opacity: 0.7;
}

.nav-username,
#nav-user-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--seellightgrey);
}

.nav-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--seelgrey2);
    border-radius: 4px;
    padding: 6px 0;
    min-width: 190px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    z-index: 1500;
}

.nav-user-item.open .nav-user-dropdown {
    display: block;
}

.nav-user-link {
    display: block;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.nav-user-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-user-separator {
    height: 1px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.08);
}

.nav-user-logout {
    color: var(--seelred) !important;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem !important;
    transition: all 0.3s ease !important;
}

.btn-download {
    color: var(--seelyellow) !important;
}

.btn-download:hover {
    color: var(--seelyellow-second) !important;
    text-shadow: 0 0 10px rgba(243, 214, 90, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    margin-left: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(26, 27, 31, 0.8) 100%);
    z-index: 1;
}

.social-banner {
    background-image: url('../bg/bg.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
    border-top: 1px solid var(--seelgrey2);
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.social-pod {
    width: 100px;
    height: 100px;
    background: rgba(26, 27, 31, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 3px solid transparent;
    /* Slightly thicker border */
    position: relative;
}

.social-pod i {
    font-size: 2.2rem;
    /* Larger icon */
    transition: all 0.3s ease;
}

/* Default brand colors */
.social-pod.discord i {
    color: #5865F2;
}

.social-pod.tiktok i {
    color: #ffffff;
}

.social-pod:hover {
    transform: translateY(-10px) scale(1.08);
    /* More pronounced hover */
    background: rgba(26, 27, 31, 0.9);
}

/* Hover outline animation */
.social-pod.discord:hover {
    border-color: rgba(88, 101, 242, 0.8);
    /* More opaque */
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.4);
}

.social-pod.tiktok:hover {
    border-color: rgba(255, 255, 255, 0.8);
    /* More opaque */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 35px;
    height: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scrolled .nav-logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero Section Refined */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* Ensure vertical stacking */
    align-items: center;
    /* Center horizontally */
    justify-content: flex-start;
    /* Flow from the top */
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding-top: 10vh;
}

.hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    z-index: 2;
    padding-top: 20px;
}

.hero-logo-container {
    margin-bottom: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.scrolled .hero-logo-container {
    opacity: 0;
    transform: translateY(-100px) scale(0.3);
    pointer-events: none;
    animation: none !important;
    /* Prevents initial fade-in from overriding this */
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.6s;
}

.hero-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(60, 184, 130, 0.3));
    animation: floating 3s ease-in-out infinite;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.1;
    color: var(--hudwhite);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scrolled .hero h1 {
    opacity: 0;
    transform: translateY(-40px);
}

/* Server Card Styles */
.server-card-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    width: 100% !important;
}

.server-card {
    width: 600px;
    background: #1a1b1f;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    transition: all 0.5s ease;
}

/* News Scroll Wrapper */
.news-scroll-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 50px;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.server-card-header {
    padding: 20px;
    text-align: center;
}

.server-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hudwhite);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.server-card-body {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.server-card-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(60, 184, 130, 0.4));
    animation: floating-small 3s ease-in-out infinite;
}

.player-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80%;
}

.player-count .count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hudwhite);
}

.player-count .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    line-height: 1.4;
}

.server-diagram {
    width: 100%;
    height: 100px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.server-diagram svg {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
    /* Crucial: allow clicks to pass through to elements below */
}

.server-card-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    /* Ensure it's above the diagram and body */
}

.footer-item {
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 11;
    pointer-events: auto !important;
    /* Force clickability */
}

.footer-item:last-child {
    border-right: none;
}

.footer-item i {
    font-size: 1rem;
}

.footer-item:hover {
    color: var(--hudwhite);
    background: rgba(255, 255, 255, 0.03);
}

.scroll-indicator:hover {
    transform: translateY(5px);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.scroll-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.scroll-label i {
    font-size: 0.9rem;
    color: var(--seelgreen);
}

.scroll-indicator:hover .scroll-label {
    color: var(--hudwhite);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floating-small {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* System Requirements */
.requirements-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--seelgrey2);
    padding: 80px 5%;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.req-card {
    background: var(--seelgrey2);
    padding: 30px;
    border-radius: 4px;
    /* Matches the square-ish look in the image */
    transition: transform 0.3s ease;
}

.req-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--hudwhite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.req-list {
    list-style: none;
    padding: 0;
}

.req-list li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
}

.req-list li::before {
    content: "•";
    color: var(--hudwhite);
    font-weight: bold;
}

.req-list li strong {
    color: var(--hudwhite);
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.requirements-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--seelgrey2);
    padding: 80px 5% 60px;
    /* Reduced bottom padding since footer is back */
}

/* Minimalist Footer */
.footer-minimal {
    background: var(--seelgrey1);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-minimal p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-minimal .footer-contact {
    color: #666;
}

.footer-minimal a {
    color: var(--seelblue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-minimal a:hover {
    color: var(--seelblue-second);
}

.footer-minimal i {
    margin-right: 5px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {

    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .req-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0 5%;
    }

    .nav-left {
        display: none;
    }

    .nav-center {
        justify-content: flex-start;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    section {
        padding: 60px 5%;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* UCP Login Page Styles */
.login-page {
    background-color: var(--seelgrey1);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 1 0 auto;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    z-index: 5;
}

.login-card {
    background: var(--seelgrey2);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--seelgreen), var(--seelgreen-second));
}

.login-header {
    margin-bottom: 35px;
    text-align: center;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--seelgrey3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(60, 184, 130, 0.2);
}

.login-logo i {
    font-size: 2.5rem;
    color: var(--seelgreen);
}

.login-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(60, 184, 130, 0.3));
}

.login-header h2 {
    font-size: 1.8rem;
    color: var(--hudwhite);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hudwhite);
    opacity: 0.7;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    background: var(--seelgrey4);
    border: 2px solid rgba(255, 255, 255, 0.08);
    padding: 14px 48px 14px 16px;
    border-radius: 8px;
    color: var(--hudwhite);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    background: var(--seelgrey3);
    border-color: var(--seelgreen);
    box-shadow: 0 0 0 4px rgba(60, 184, 130, 0.1);
}

.input-wrapper input:focus + i {
    color: var(--seelgreen);
}

.form-options {
    margin: 5px 0;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--hudwhite);
    user-select: none;
    font-weight: 600;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--seelgrey4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input~.checkmark {
    background-color: var(--seelgrey3);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--seelblue);
    border-color: var(--seelblue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-submit-btn {
    background: linear-gradient(135deg, var(--seelgreen), var(--seelgreen-second));
    color: var(--hudwhite);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(60, 184, 130, 0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(60, 184, 130, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-submit-btn i {
    font-size: 1.1rem;
}

.login-message {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.login-message-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #f8b4b4;
}

.ucp-welcome {
    color: var(--hudwhite);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Login Redesign V2 (Based on provided image) */
.login-card-v2 {
    background: #111214;
    border-radius: 4px;
    padding: 24px;
    width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.login-header-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.login-header-v2 i {
    font-size: 1.2rem;
    color: #fff;
}

.login-header-v2 h2 {
    font-size: 1.1rem;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.login-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.form-group-v2 {
    margin-bottom: 20px;
}

.input-wrapper-v2 {
    position: relative;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 48px;
    transition: all 0.2s ease;
}

.input-wrapper-v2 i {
    color: #555;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.input-wrapper-v2 input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 12px;
    height: 100%;
    font-size: 1rem;
    color: #333;
    outline: none;
}

.input-wrapper-v2 input::placeholder {
    color: #aaa;
}

.input-caption {
    font-size: 0.75rem;
    color: var(--seelyellow);
    margin-top: 6px;
    padding-left: 2px;
    font-weight: 500;
}

.forgot-link-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--seelblue);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 15px 0;
}

.forgot-link-v2:hover {
    color: var(--seelblue-second);
}

.login-btn-v2 {
    width: 250px;
    margin: 0 auto;
    background: #3cb882;
    color: #fff;
    border: none;
    height: 48px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.login-btn-v2:hover {
    background: #34a373;
}

.login-btn-v2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* UCP Dashboard */
.ucp-dashboard {
    padding: 80px 5% 40px;
    background: var(--seelgrey1);
    flex: 1 0 auto;
}

.ucp-top-bg {
    height: 160px;
    background-image: url('../bg/bg.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--seelgrey2);
}

/* Profil oldal elrendezés */
.profile-page {
    padding: 50px 5% 60px;
    background: var(--seelgrey1);
    flex: 1 0 auto;
}

.profile-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
}

.profile-left {
    max-width: 360px;
    width: 100%;
}

.profile-left .ucp-card {
    margin-bottom: 16px;
    width: 100%;
}

.status-card-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--seelgrey3);
    overflow: hidden;
    margin-bottom: 6px;
}

.status-card-bar-fill {
    height: 100%;
    border-radius: inherit;
}

.status-bar-hp {
    background: var(--seelgreen);
}

.status-bar-armor {
    background: var(--seelpurple);
}

.status-bar-need {
    background: var(--seelblue);
}

.status-bar-hunger {
    background: var(--seelorange);
}

.status-bar-thirst {
    background: var(--seelblue-second);
}

/* Stat bars for tables (animals, skills, etc.) */
.stat-bar-container {
    position: relative;
    width: 100%;
    height: 8px;
    background: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-bar {
    height: 8px;
    background: var(--seelblue);
    border-radius: 4px;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.stat-bar.skill-bar {
    background: var(--seelgreen);
}

.stat-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-section {
    background: var(--seelgrey2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.profile-section-header {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-section-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
}

.profile-section-body {
    padding: 10px 14px 14px;
}

.profile-empty {
    font-size: 0.9rem;
    color: var(--seelred);
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.profile-empty i {
    font-size: 1.1rem;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.profile-table th,
.profile-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-table th {
    text-align: left;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.profile-table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.08);
}

/* Név váltások lenyitható sorai */
.namechange-section .profile-section-body {
    padding-bottom: 6px;
}

.namechange-table .namechange-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.namechange-table .namechange-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.namechange-extra {
    display: none;
    background: rgba(0, 0, 0, 0.2);
}

.namechange-row.open + .namechange-extra {
    display: table-row;
}

.namechange-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.namechange-status-badge.namechange-status-approved {
    background: rgba(60, 184, 130, 0.15);
    color: #c7ffe1;
}

.namechange-status-badge.namechange-status-rejected {
    background: rgba(231, 76, 60, 0.15);
    color: #ffb3b3;
}

.namechange-status-badge.namechange-status-pending {
    background: rgba(241, 196, 15, 0.15);
    color: #ffe8a3;
}

.namechange-meta-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-right: 6px;
    margin-top: 4px;
    background: rgba(49, 154, 215, 0.25);
}

.namechange-meta-badge.green {
    background: rgba(60, 184, 130, 0.25);
}

/* Háziállatok állapot lenyitható sorai */
.animal-stats-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(49, 154, 215, 0.15);
    color: var(--seelblue);
    border: 1px solid rgba(49, 154, 215, 0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.animal-stats-toggle:hover {
    background: rgba(49, 154, 215, 0.25);
    border-color: rgba(49, 154, 215, 0.5);
}

.animal-stats-toggle i {
    transition: transform 0.2s ease;
}

.animal-stats-row {
    display: none;
    background: rgba(0, 0, 0, 0.2);
}

.animal-stats-row.open {
    display: table-row;
}

.animal-stats-content {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.animal-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.animal-stat-label {
    min-width: 70px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.animal-stat-item .stat-bar-container {
    width: 300px;
    height: 6px;
}

.animal-stat-item .stat-bar {
    height: 6px;
}

.animal-stat-item:nth-child(1) .stat-bar {
    background: #3cb882;
}

.animal-stat-item:nth-child(2) .stat-bar {
    background: var(--seelorange);
}

.animal-stat-item:nth-child(3) .stat-bar {
    background: #e74c3c;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.ucp-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); /* Szélesebb hír oszlop */
    gap: 24px;
    align-items: flex-start;
}

.ucp-news-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-container-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--hudwhite);
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--seelgrey3);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-container-title i {
    color: var(--seelgreen);
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* PRÉMIUM HÍRKÁRTYA DESIGN */
.news-card-premium {
    background: #0d1117; /* Sötétebb háttér */
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.news-card-premium:hover {
    border-color: rgba(255,255,255,0.15);
}

.news-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 17, 23, 1) 0%, rgba(13, 17, 23, 0) 50%);
}

.news-card-icon-small {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    z-index: 2;
}

.news-card-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.news-card-main-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-top-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.news-card-title-group {
    flex-grow: 1;
}

.news-card-title-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--hudwhite);
    margin-bottom: 2px;
}

.news-card-date-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}

/* JELVÉNYEK */
.news-badge {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-news-update {
    background: #1a2a4a;
    color: #3498db;
}

.badge-news-hotfix {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.news-card-divider-line {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 12px 0;
}

.news-card-body-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 200px; /* Megnövelve, hogy több szöveg férjen el */
    overflow: hidden;
    text-align: left; /* Biztosítjuk a balra zárást */
}

.news-card-body-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.news-card-footer-center {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.news-card-more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.news-card-more-link:hover {
    opacity: 0.7;
}

.news-card-empty {
    padding: 40px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--seelgrey3);
    border-radius: 12px;
    color: var(--seellightgrey);
    font-style: italic;
    grid-column: span 2;
}

/* Admin panel animációk */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .news-list-grid {
        grid-template-columns: 1fr;
    }
}

/* NEWS MODAL STYLES */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.news-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-modal-content {
    background: #0d1117;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.news-modal-overlay.active .news-modal-content {
    transform: scale(1);
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.news-modal-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.news-modal-image-container {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.news-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0d1117 0%, transparent 60%);
}

.news-modal-body {
    padding: 35px;
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.news-modal-title-group h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hudwhite);
    margin: 0;
    margin-bottom: 5px;
}

.news-modal-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-top: 20px;
}

/* Custom scrollbar for modal */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 850px) {
    .news-modal-image-container {
        height: 250px;
    }
    .news-modal-title-group h2 {
        font-size: 1.5rem;
    }
}

.ucp-right-column {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    margin: 0 auto;
}

.ucp-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ucp-card {
    background: var(--seelgrey2);
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.ucp-card-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ucp-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--hudwhite);
}

.ucp-card-title i {
    color: var(--seelgreen);
}

.ucp-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ucp-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.ucp-label {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.ucp-row-merged {
    gap: 0;
}

.ucp-row-merged .ucp-label {
    background: var(--seelgrey3);
    padding: 4px 8px;
    border-radius: 4px 0 0 4px;
}

.ucp-row-merged .ucp-badge,
.ucp-row-merged .ucp-badge-blue,
.ucp-row-merged .ucp-badge-green {
    border-radius: 0 4px 4px 0;
}

.ucp-row-center {
    justify-content: center;
}

.ucp-badge {
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--seelgrey3);
    font-weight: 600;
    font-size: 0.8rem;
}

.ucp-badge-blue {
    background: rgba(49, 154, 215, 0.18);
    color: #c7e8ff;
}

.ucp-badge-green {
    background: rgba(60, 184, 130, 0.18);
    color: #c7ffe1;
}

.ucp-link-primary {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--seelblue);
    font-weight: 600;
    text-align: center;
}

.ucp-link-primary:hover {
    color: var(--seelblue-second);
}

.ucp-code {
    font-family: monospace;
    font-size: 0.8rem;
    background: var(--seelgrey3);
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
}

/* Premium Profile Redesign */
.ucp-profile-card {
    background: var(--seelgrey2);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    margin-bottom: 25px;
}

.ucp-card-header-slim {
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ucp-card-header-slim h3 {
    font-size: 1.1rem;
    color: var(--hudwhite);
    margin: 0;
}

.ucp-card-body-premium {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced gap */
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 2px 0; /* Reduced padding */
}

.info-label {
    color: var(--seellightgrey);
    font-weight: 700;
}

.info-badge-value {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--seelgrey3);
    color: var(--hudwhite);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-value-simple {
    font-weight: 800;
    color: var(--seelblue);
    font-size: 1rem;
}

.badge-username { background: rgba(49, 154, 215, 0.15); color: var(--seelblue); }
.badge-accountid { background: rgba(49, 154, 215, 0.1); color: var(--seelblue); font-weight: 800; }
.badge-email { background: rgba(49, 154, 215, 0.1); color: var(--seellightgrey); font-weight: 500; font-size: 0.8rem; }
.badge-rank { background: rgba(255, 255, 255, 0.05); color: var(--seellightgrey); border: 1px solid rgba(255, 255, 255, 0.1); }
.badge-priority { background: rgba(255, 255, 255, 0.05); color: var(--seellightgrey); }
.badge-date { background: rgba(49, 154, 215, 0.1); color: var(--seelblue); }

.status-indicator {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.status-online { background: rgba(60, 184, 130, 0.2); color: var(--seelgreen); }
.status-offline { background: rgba(243, 90, 90, 0.2); color: var(--seelred); }

/* Serial Section */
.serial-section-premium {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.serial-section-premium label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--hudwhite);
    text-align: center;
    font-size: 0.9rem;
}

.serial-box-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.serial-code-display {
    background: rgba(49, 154, 215, 0.1);
    border: 1px solid rgba(49, 154, 215, 0.2);
    padding: 12px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: var(--seelblue);
    word-break: break-all;
    text-align: center;
}

.btn-copy-serial {
    background: transparent;
    border: 1px solid var(--seelblue);
    color: var(--seelblue);
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

.btn-copy-serial:hover {
    background: var(--seelblue);
    color: var(--seelgrey1);
    transform: translateY(-2px);
}

/* Priority Card */
.center-content {
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.priority-none { color: var(--seelred); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; }
.priority-none i { font-size: 1.2rem; }

.priority-active { color: var(--seelgreen); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; }
.priority-active i { font-size: 1.2rem; }

/* Simple Character Banner used on Profile Right Column */
.character-simple-card {
    background: var(--seelgrey2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 5px; /* Még kisebb távolság */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.character-simple-avatar {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--seelgrey1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.character-simple-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.character-simple-content .char-name {
    font-size: 1.1rem;
    color: var(--hudwhite);
    margin: 0;
    font-weight: 800;
}

.character-simple-content .char-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--seellightgrey);
    display: flex;
    align-items: center;
    gap: 6px;
}

.character-simple-content .char-level i {
    color: var(--seellightgrey);
    font-size: 0.9rem;
}

/* Toggle icon on character card */
.char-toggle-icon {
    margin-left: auto;
    color: var(--seellightgrey);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.character-simple-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.character-simple-card:hover .char-toggle-icon {
    color: var(--seelgreen);
}

/* Expandable character details panel */
.character-details-panel {
    max-height: 0;
    overflow: hidden;
    background: var(--seelgrey2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 6px 6px;
    margin-top: -6px;
    margin-bottom: 5px;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.character-details-panel.open {
    max-height: 400px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.char-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85rem;
}

.char-detail-label {
    color: var(--seellightgrey);
    font-weight: 600;
}

.char-detail-value {
    font-weight: 700;
    color: var(--hudwhite);
    background: var(--seelgrey3);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.char-detail-blue {
    background: rgba(49, 154, 215, 0.18);
    color: #c7e8ff;
}

.char-detail-green {
    background: rgba(60, 184, 130, 0.18);
    color: #c7ffe1;
}

/* Character Page Layout */
.char-page-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.char-page-left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.char-page-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Left sidebar info cards */
.char-info-card {
    background: var(--seelgrey2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.char-info-card-header {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hudwhite);
}

.char-info-card-body {
    padding: 16px;
}

.char-avatar-wrapper {
    text-align: center;
    margin-bottom: 12px;
}

.char-page-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--seelgrey1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.char-name-center {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--hudwhite);
    margin-bottom: 14px;
}

/* 2-column mini stats grid */
.char-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.char-mini-stat {
    background: var(--seelgrey3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--seellightgrey);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.char-mini-stat i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Wealth badges */
.char-wealth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.wealth-badge {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.wealth-green {
    background: rgba(60, 184, 130, 0.15);
    color: var(--seelgreen);
}

.wealth-blue {
    background: rgba(49, 154, 215, 0.15);
    color: var(--seelblue);
}

.wealth-orange {
    background: rgba(255, 149, 20, 0.15);
    color: var(--seelorange);
}

/* Right side tables */
.char-table-section {
    background: var(--seelgrey2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 5px;
}

.char-table-title {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hudwhite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
}

.char-table-title i {
    color: var(--seelgreen);
    font-size: 0.85rem;
}

.char-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.char-data-table th {
    text-align: left;
    padding: 8px 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
}

.char-data-table td {
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--seellightgrey);
}

/* Pet status bars */
.pet-status-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 140px;
}

.pet-status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.pet-status-item i {
    width: 12px;
    text-align: center;
}

.pet-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.pet-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}


.char-data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.ucp-steps {
    margin: 0 0 12px 18px;
    padding: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ucp-note {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.ucp-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--seelgreen);
    color: var(--hudwhite);
    font-size: 0.85rem;
    font-weight: 700;
}

.ucp-btn-download:hover {
    background: var(--seelgreen-second);
}

@media (max-width: 900px) {
    .ucp-main-grid {
        grid-template-columns: 1fr;
    }
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--seelblue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.forgot-link:hover {
    color: var(--seelblue-second);
    gap: 8px;
}

.forgot-link i {
    font-size: 0.85rem;
}

/* Elfelejtett adatok modal */
.forgot-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.forgot-modal.active {
    opacity: 1;
    visibility: visible;
}

.forgot-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.forgot-modal-card {
    position: relative;
    background: var(--seelgrey2);
    border-radius: 8px;
    padding: 35px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.forgot-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--hudwhite);
    white-space: nowrap;
}

.forgot-form .form-group {
    margin-bottom: 20px;
}

.forgot-submit-btn {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
}

.forgot-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--seelblue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.forgot-back-link:hover {
    color: var(--seelblue-second);
    gap: 10px;
}

.forgot-back-link i {
    font-size: 0.85rem;
}

.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60, 184, 130, 0.05) 0%, rgba(26, 27, 31, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Session warning modal (10 perces munkamenet) */
.session-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
}

.session-modal.active {
    opacity: 1;
    visibility: visible;
}

.session-modal-card {
    background: var(--seelgrey2);
    border-radius: 6px;
    padding: 18px 24px;
    min-width: 320px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.session-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--hudwhite);
}

.session-modal-btn {
    background: var(--seelgreen);
    color: var(--hudwhite);
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.session-modal-btn:hover {
    background: var(--seelgreen-second);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Frakciók megjelenítés */
.faction-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faction-name-badge {
    background: var(--seelgrey3);
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--hudwhite);
    margin: 0 auto;
    max-width: fit-content;
}

.faction-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faction-detail-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

.faction-detail-label {
    background: var(--seelgrey3);
    padding: 6px 12px;
    border-radius: 4px 0 0 4px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    white-space: nowrap;
}

.faction-detail-value {
    background: var(--seelgrey3);
    padding: 6px 12px;
    border-radius: 0 4px 4px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.faction-detail-blue {
    background: rgba(49, 154, 215, 0.18);
    color: #c7e8ff;
}

.faction-detail-orange {
    background: rgba(255, 149, 20, 0.18);
    color: #ffd4a3;
}

/* Serial váltások */
.serial-change-table .serial-change-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.serial-change-table .serial-change-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.serial-change-extra {
    display: none;
    background: rgba(0, 0, 0, 0.2);
}

.serial-change-row.open + .serial-change-extra {
    display: table-row;
}

.serial-change-details {
    padding: 12px 0;
}

.serial-detail-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-right: 8px;
    margin-top: 4px;
    background: rgba(49, 154, 215, 0.25);
    color: #c7e8ff;
}

.serial-detail-badge.serial-detail-blue {
    background: rgba(49, 154, 215, 0.25);
    color: #c7e8ff;
}

.serial-detail-badge.serial-detail-green {
    background: rgba(60, 184, 130, 0.25);
    color: #c7ffe1;
}

.serial-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.serial-status-pending {
    background: rgba(241, 196, 15, 0.18);
    color: #ffe8a3;
}

.serial-status-ingame {
    background: rgba(49, 154, 215, 0.18);
    color: #c7e8ff;
}

.serial-status-approved {
    background: rgba(60, 184, 130, 0.18);
    color: #c7ffe1;
}

.serial-status-rejected {
    background: rgba(243, 90, 90, 0.18);
    color: #ffb3b3;
}

.serial-expand-icon {
    margin-left: 8px;
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.serial-change-row.open .serial-expand-icon {
    transform: rotate(180deg);
}

.serial-request-btn {
    margin-top: 16px;
    width: 100%;
    padding: 12px;
    background: var(--seelgreen);
    color: var(--hudwhite);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.serial-request-btn:hover {
    background: var(--seelgreen-second);
    transform: translateY(-2px);
}

.serial-request-btn-small {
    padding: 8px 16px;
    background: var(--seelgreen);
    color: var(--hudwhite);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.serial-request-btn-small:hover {
    background: var(--seelgreen-second);
    transform: translateY(-2px);
}

/* Serial modal */
.serial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.serial-modal.active {
    display: flex;
}

.serial-modal-content {
    background: var(--seelgrey2);
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.serial-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.serial-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.serial-modal-close {
    background: none;
    border: none;
    color: var(--hudwhite);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.serial-modal-close:hover {
    color: var(--seelred);
}

.serial-modal-body {
    padding: 20px;
}

.serial-form-group {
    margin-bottom: 16px;
}

.serial-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--hudwhite);
}

.serial-form-group input {
    width: 100%;
    padding: 12px;
    background: var(--seelgrey3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--hudwhite);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.serial-form-group input:focus {
    outline: none;
    border-color: var(--seelgreen);
    box-shadow: 0 0 0 4px rgba(60, 184, 130, 0.1);
}

.serial-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--seelgreen);
    color: var(--hudwhite);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.serial-submit-btn:hover {
    background: var(--seelgreen-second);
    transform: translateY(-2px);
}

/* Notification messages */
.notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

.notification-error {
    background: rgba(243, 90, 90, 0.95);
    color: var(--hudwhite);
    border: 1px solid rgba(243, 90, 90, 0.3);
}

.notification-success {
    background: rgba(60, 184, 130, 0.95);
    color: var(--hudwhite);
    border: 1px solid rgba(60, 184, 130, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Status badges for interiors, vehicles, etc. */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-locked {
    background: rgba(243, 90, 90, 0.18);
    color: #ffb3b3;
}

.status-unlocked {
    background: rgba(60, 184, 130, 0.18);
    color: #c7ffe1;
}

/* Weapon Skills */
.char-skill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.char-skill-row:last-child {
    border-bottom: none;
}

.char-skill-name {
    color: var(--seellightgrey);
    font-size: 0.85rem;
    font-weight: 500;
}

.char-skill-badge {
    background: rgba(30, 215, 96, 0.1);
    color: var(--seelgreen);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(30, 215, 96, 0.2);
}

/* Name Change Status Badges */
.nc-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 49px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nc-status-pending {
    background: rgba(49, 154, 215, 0.18);
    color: #c7e8ff;
    border: 1px solid rgba(49, 154, 215, 0.3);
}

.nc-status-approved {
    background: rgba(60, 184, 130, 0.18);
    color: #c7ffe1;
    border: 1px solid rgba(60, 184, 130, 0.3);
}

.nc-status-rejected {
    background: rgba(243, 90, 90, 0.18);
    color: #ffb3b3;
    border: 1px solid rgba(243, 90, 90, 0.3);
}
