:root {
    --primary: #9d50bb;
    --primary-glow: #6e48aa;
    --accent: #ff00ff;
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.play-nav {
    background: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    box-shadow: 0 0 20px rgba(157, 80, 187, 0.4);
}

.play-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(157, 80, 187, 0.6);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 12, 0.7), rgba(10, 10, 12, 0.7)), url('images/update1image.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 40px 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(157, 80, 187, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(157, 80, 187, 0.3));
}

.hero-content p.hero-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s forwards 0.2s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    will-change: transform;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(157, 80, 187, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(157, 80, 187, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.page-section {
    padding: 120px 0 60px 0;
    display: none;
    scroll-margin-top: 100px;
}

.page-section.active {
    display: block;
    animation: pageReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes pageReveal {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

#home {
    padding-top: 0;
    padding-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary);
}

.updates-grid {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.update-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    z-index: -1;
    border-radius: 26px;
    opacity: 0;
    transition: var(--transition);
}

.update-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.update-card:hover::before {
    opacity: 1;
}

.update-banner {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.update-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.update-card:hover .update-banner img {
    transform: scale(1.1);
}

.update-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.update-info {
    padding: 2rem;
}

.update-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.update-info p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.btn-open {
    width: 100%;
    justify-content: center;
    background: white;
    color: black;
}

.btn-open:hover {
    background: #f0f0f0;
}

.update-card.opening {
    animation: openCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes openCard {
    0% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-dim);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--text-main);
    transform: translateX(-5px);
}

.update-detail-header {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.detail-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95), transparent);
}

.header-overlay h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.header-overlay h1 span {
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    margin-bottom: 2rem;
}

.detail-card h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.units-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.content-item.thumb {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.content-thumb {
    width: 150px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.visual-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.visual-item {
    text-align: center;
}

.visual-item img {
    width: 100%;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.visual-item img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.visual-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.unit-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid transparent;
    transition: var(--transition);
    will-change: transform;
}

.unit-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(157, 80, 187, 0.3);
    transform: scale(1.03) translateY(-2px);
}

.unit-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.unit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.unit-text span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list li::before {
    content: '→';
    color: var(--primary);
}

.features-list li:last-child {
    border-bottom: none;
}

.content-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .units-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }
}

.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-header h1 {
    font-size: 3.5rem;
}

.guide-header h1 span {
    color: var(--primary);
}

.guide-quote {
    font-style: italic;
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    opacity: 0.7;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.guide-steps {
    margin: 4rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.step-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.npc-chat,
.assassin-meeting {
    margin-top: 2rem;
    background: rgba(10, 10, 12, 0.5);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.npc-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.assassin-meeting img {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.chat-bubble .char-name {
    display: block;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.chat-bubble p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-bubble .locked {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.code-display {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
    border: 1px dashed var(--primary);
}

.code-value {
    font-family: monospace;
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 5px;
    font-weight: 800;
}

.location-img,
.assassin-meeting {
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.location-img img {
    width: 100%;
    display: block;
}

.quest-list {
    list-style: none;
    margin-top: 1.5rem;
}

.quest-list li {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    border: 1px solid var(--glass-border);
}

.quest-count {
    font-weight: 800;
    color: var(--primary);
}

.final-reward {
    text-align: center;
    background: linear-gradient(rgba(157, 80, 187, 0.1), transparent);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--primary);
    margin-top: 4rem;
}

.final-reward h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.guide-footer {
    text-align: center;
    margin-top: 4rem;
    opacity: 0.3;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .npc-chat,
    .assassin-meeting {
        flex-direction: column;
        text-align: center;
    }
}