:root {
    --bg: #030423;
    --bg-elevated: #0a0c33;
    --card-bg: rgba(255, 255, 255, 0.055);
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #fafafa;
    --text-muted: rgba(250, 250, 250, 0.7);
    --primary: #ff7eb3;
    --secondary: #7a5cff;
    --accent: #00d4ff;
    --gradient: linear-gradient(135deg, #ff7eb3 0%, #7a5cff 50%, #00d4ff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255,126,179,0.18) 0%, rgba(122,92,255,0.18) 50%, rgba(0,212,255,0.18) 100%);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 9999px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(122, 92, 255, 0.25);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 0;
    background: rgba(3, 4, 35, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 28px rgba(122, 92, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(122, 92, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background: var(--card-bg);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(122, 92, 255, 0.22) 0%, transparent 55%),
                radial-gradient(circle at 80% 70%, rgba(255, 126, 179, 0.14) 0%, transparent 45%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.2px;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-badges {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

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

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
}

.character-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(122, 92, 255, 0.4);
}

.character-card .media {
    aspect-ratio: 9 / 16;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.character-card .media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.character-card .info {
    padding: 16px;
}

.character-card .info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.character-card .info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.gallery-item:nth-child(even) {
    direction: rtl;
}

.gallery-item:nth-child(even) > * {
    direction: ltr;
}

.gallery-item .image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

.gallery-item .image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item .text h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.gallery-item .text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.popular {
    border-color: rgba(255, 126, 179, 0.5);
    box-shadow: var(--shadow-glow);
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pricing-card .price {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-card .original {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pricing-card .save {
    display: inline-block;
    background: rgba(255, 126, 179, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
}

.faq-item[open] > .faq-question::after {
    content: "−";
}

.faq-answer p {
    padding: 0 26px 22px;
    color: var(--text-muted);
}

.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--card-border);
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

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

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

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

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

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-links a {
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 1;
}

.social-links svg {
    width: 24px;
    height: 24px;
    display: block;
}

.legal-page {
    padding-top: 130px;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.legal-page .legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .gallery-item {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gallery-item:nth-child(even) {
        direction: ltr;
    }

    .section {
        padding: 70px 0;
    }

    .character-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 0 70px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }
}
