/* Bendri stiliai */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Juodas fonas */
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Fono tinklelis su kvadratais */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px; /* Kvadratų dydis */
    z-index: -1;
}

/* Header stiliai */
header {
    background-color: rgba(0, 0, 0, 0.8); /* Juodas pusiau permatomas fonas */
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 40px; /* Logo ikonos aukštis */
    width: 40px; /* Logo ikonos plotis */
    animation: fadeIn 2s ease-in-out;
}

nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff8c42; /* Oranžinė spalva hover metu */
}

/* Portalas sekcija */
.portal {
    padding: 100px 0;
    text-align: center;
}

.portal h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.portal-layout {
    display: flex;
    gap: 20px;
}

/* Kairė pusė: Navigacija */
.sidebar {
    width: 200px;
    background: rgba(255, 255, 255, 0.1); /* Šviesus permatomas fonas */
    padding: 20px;
    border-radius: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.sidebar ul li a.active {
    color: #ff8c42; /* Oranžinė spalva aktyviam elementui */
}

.sidebar ul li a:hover {
    color: #ff8c42; /* Oranžinė spalva hover metu */
}

/* Dešinė pusė: Turinys */
.content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1); /* Šviesus permatomas fonas */
    padding: 20px;
    border-radius: 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-info {
    display: flex;
    gap: 20px;
}

.info-block {
    flex: 1;
}

.vip-button, .shop-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #ff8c42; /* Oranžinė spalva */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.vip-button:hover, .shop-button:hover {
    background-color: #e67e3a; /* Tamsesnė oranžinė spalva */
}

/* Loading animacija */
.loading-spinner {
    display: none; /* Paslėpta pagal nutylėjimą */
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff8c42; /* Oranžinė spalva */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pranešimo stiliai */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff8c42; /* Oranžinė spalva */
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification p {
    margin: 0;
    font-size: 1rem;
}

/* Footer stiliai */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Juodas pusiau permatomas fonas */
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    color: #fff;
}

footer p {
    margin: 0;
}

/* Anketos stiliai */
.anketos-menu {
    margin-bottom: 20px;
}

.anketos-list {
    display: none; /* Paslėpta pagal nutylėjimą */
    margin-top: 10px;
}

.anketos-list ul {
    list-style: none;
    padding: 0;
}

.anketos-list ul li {
    margin-bottom: 10px;
}

.anketos-list ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.anketos-list ul li a:hover {
    color: #ff8c42; /* Oranžinė spalva hover metu */
}

/* Frakcijų lentelė */
.frakcijos-lentele {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.frakcija {
    background: rgba(255, 255, 255, 0.1); /* Šviesus permatomas fonas */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.frakcija img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.frakcija button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #ff8c42; /* Oranžinė spalva */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.frakcija button:hover {
    background-color: #e67e3a; /* Tamsesnė oranžinė spalva */
}

/* Anketos forma su uždarymo mygtuku */
.anketa-form {
    display: none; /* Paslėpta pagal nutylėjimą */
    background: rgba(0, 0, 0, 0.9); /* Tamsus fonas */
    padding: 20px;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.anketa-form h3 {
    margin-top: 0;
    color: #ff8c42; /* Oranžinė spalva */
}

.anketa-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.anketa-form input,
.anketa-form select,
.anketa-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.anketa-form textarea {
    resize: vertical; /* Leidžia keisti aukštį */
    min-height: 100px;
}

.anketa-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #ff8c42; /* Oranžinė spalva */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.anketa-form button:hover {
    background-color: #e67e3a; /* Tamsesnė oranžinė spalva */
}

.anketa-form button[type="button"] {
    background-color: #ff4242; /* Raudona spalva uždarymo mygtukui */
}

.anketa-form button[type="button"]:hover {
    background-color: #e63a3a; /* Tamsesnė raudona spalva */
}

/* Raudonas pranešimas (klaidos atveju) */
.notification.error {
    background-color: #ff4242; /* Raudona spalva */
}

.notification.error p {
    color: #fff;
}

/* Pranešimo title stilius */
.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

/* Animacijos */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}