:root {
    --bg: #191819;
    --bg-elevated: #1f1e1f;
    --bg-card: #242324;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #ff2d7a;
    --primary-hover: #ff4d8f;
    --secondary: #9d4edd;
    --accent-gradient: linear-gradient(135deg, #ff2d7a 0%, #9d4edd 100%);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 48px rgba(255, 45, 122, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(25, 24, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(255, 45, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 45, 122, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: radial-gradient(ellipse at top right, rgba(157, 78, 221, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(255, 45, 122, 0.1) 0%, transparent 50%),
                var(--bg);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 45, 122, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #ff2d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 640px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-elevated);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 45, 122, 0.12);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

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

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 45, 122, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 122, 0.12);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.character-section {
    margin-bottom: 64px;
}

.character-category {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}

.character-grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.character-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.character-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 45, 122, 0.25);
}

.character-media {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--bg-elevated);
}

.character-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.character-card:hover .character-media img {
    transform: scale(1.03);
}

.character-info {
    padding: 20px;
}

.character-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 45, 122, 0.15);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.character-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

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

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

.gallery-row-reverse {
    direction: rtl;
}

.gallery-row-reverse > * {
    direction: ltr;
}

.gallery-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

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

.gallery-image-portrait {
    max-width: 360px;
    margin: 0 auto;
}

.gallery-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.gallery-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-roleplay {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.section-your-rules {
    background: radial-gradient(ellipse at center, rgba(157, 78, 221, 0.08) 0%, transparent 70%), var(--bg);
}

.your-rules-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.your-rules-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.your-rules-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.your-rules-content .btn {
    margin-top: 16px;
}

.roleplay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.roleplay-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.roleplay-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.roleplay-card p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: var(--transition);
}

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

.pricing-popular {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(255, 45, 122, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--text);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

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

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 44px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    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(--primary);
    transition: var(--transition);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer {
    background: var(--bg-elevated);
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-languages {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.footer-languages a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-languages a:hover {
    color: var(--primary);
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-social a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.legal-page {
    padding: 140px 0 80px;
    min-height: 80vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 64px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    color: var(--text-muted);
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.fade-in {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .roleplay-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding: 120px 0 80px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-lg {
        width: 100%;
    }
    .grid-4, .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .gallery-row-reverse {
        direction: ltr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .grid-4, .grid-2 {
        grid-template-columns: 1fr;
    }
    .character-category {
        font-size: 1.25rem;
    }
    .roleplay-card {
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
