/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

/* Variables based on analysis */
:root {
    --bg-color: #111111;
    --text-color: #ffffff;
    --accent-color: #ffae4f;
    --btn-text-color: #30281f;
    --border-color: #393939;
    --bg-top: url('https://l2-agation.com/template/agation/images/bg/bg-top.jpg');
    --bg-mid: url('https://l2-agation.com/template/agation/images/bg/bg-mid.jpg');
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-top);
    background-repeat: no-repeat;
    background-position: top center;
    color: var(--text-color);
    font-family: 'PT Sans', Tahoma, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    transition: padding-left 0.3s ease;
}

body.sidebar-active {
    padding-left: 280px;
}

@media (max-width: 768px) {
    body.sidebar-active {
        padding-left: 0;
    }
}

/* Container */
.container {
    width: 95%;
    max-width: 1600px;
    margin: 50px auto;
    padding: 30px;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    /* Slight overlay for readability */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

h1 {
    color: var(--accent-color);
    margin: 0;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 174, 79, 0.3);
}

h2 {
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 30px;
}

.launch-date {
    text-align: center;
    font-size: 1.5em;
    color: #ff4444;
    /* Reddish for attention, or accent color */
    margin-top: -20px;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #888;
    padding: 5px 15px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
}

.lang-btn.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 174, 79, 0.2);
}

.lang-btn:hover {
    color: white;
    border-color: #666;
}

/* Content */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    padding: 5px 0;
    border-bottom: 1px solid #222;
}

li strong {
    color: #ddd;
}

.nested-list {
    padding-left: 20px;
    margin-top: 5px;
}

.nested-list li {
    border-bottom: none;
    font-size: 0.95em;
    color: #aaa;
}

/* Icons */
.icon-check {
    color: #4caf50;
}

.icon-cross {
    color: #f44336;
}

/* Rates Table Style */
.rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .rates-grid {
        grid-template-columns: 1fr;
    }
}

.rate-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    text-align: center;
    border: 1px solid #333;
}

.rate-value {
    display: block;
    font-size: 1.5em;
    color: var(--accent-color);
    font-weight: bold;
}

/* Feature Grid Style */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border: 1px solid #333;
}

.feature-card h4 {
    color: var(--accent-color);
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Back Button */
.footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.btn-back {
    display: inline-block;
    background: transparent;
    color: white;
    border: 0.8px solid var(--border-color);
    padding: 15px 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-back:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 174, 79, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .rates-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Table Style */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th, .info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-table th {
    background: rgba(255, 174, 79, 0.2); /* matched to accent color */
    color: var(--accent-color);
    font-weight: bold;
}

.info-table td {
    color: #d0d0d0;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: #111;
    border-right: 1px solid var(--border-color);
    box-shadow: 2px 0 15px rgba(0,0,0,0.8);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    margin: 0;
    color: var(--accent-color);
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #222;
    transition: background 0.2s, color 0.2s;
}

.sidebar a:hover {
    background: rgba(255, 174, 79, 0.1);
    color: var(--accent-color);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 1.5em;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.hamburger-btn:hover {
    background: rgba(255, 174, 79, 0.1);
}

/* Clickable Cards */
.clickable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 174, 79, 0.2);
    border-color: var(--accent-color);
}

/* NPC Modal Styles */
.npc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.npc-modal.show {
    display: block;
    opacity: 1;
}

.npc-modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 174, 79, 0.3);
    position: relative;
    color: var(--text-color);
}

.npc-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.npc-modal-close:hover,
.npc-modal-close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: border-color 0.3s;
}

.gallery img:hover {
    border-color: var(--accent-color);
}

.skill-tag {
    background: rgba(255, 174, 79, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
}
