/* LovePlay.io Landing Page Styles - shadcn-inspired */

:root {
    --background: #09090b;
    --foreground: #fafafa;
    --card: #18181b;
    --card-foreground: #fafafa;
    --popover: #18181b;
    --popover-foreground: #fafafa;
    --primary: #f43f5e;
    --primary-foreground: #fafafa;
    --secondary: #27272a;
    --secondary-foreground: #fafafa;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --accent: #27272a;
    --accent-foreground: #fafafa;
    --destructive: #ef4444;
    --border: #27272a;
    --input: #27272a;
    --ring: #f43f5e;
    --radius: 0.75rem;

    /* Custom brand colors */
    --rose: #f43f5e;
    --teal: #14b8a6;
    --amber: #fbbf24;
    --orange: #f97316;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background decorations */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(244,63,94,0.15), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(20,184,166,0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
}

.logo {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rose), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.9;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header-nav { display: flex; }
}

.header-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--foreground);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.lang-switch a {
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 0.125rem 0.25rem;
    transition: color 0.2s;
}

.lang-switch a:hover {
    color: var(--foreground);
}

.lang-switch a.active {
    color: var(--foreground);
    font-weight: 600;
}

.lang-switch span {
    color: var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose), var(--orange));
    color: var(--primary-foreground);
    box-shadow: 0 4px 14px -3px rgba(244, 63, 94, 0.4);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -3px rgba(244, 63, 94, 0.5);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(63, 63, 70, 0.8);
}

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

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

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    z-index: 1;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero { padding: 10rem 0 6rem; }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--rose);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3.5rem; }
}

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; }
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--foreground) 0%, var(--rose) 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-subtitle { font-size: 1.25rem; }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .hero-cta { flex-direction: row; justify-content: center; }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-icon {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

/* ==================== SECTION COMMON ==================== */
section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    section { padding: 6rem 0; }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header { margin-bottom: 4rem; }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== GAMES SECTION ==================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (min-width: 1024px) {
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--rose);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
}

.game-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.game-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.game-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-card-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.games-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(20, 184, 166, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--rose);
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==================== HOW IT WORKS SECTION ==================== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--rose), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 24px;
        right: -1rem;
        width: calc(100% - 48px);
        height: 2px;
        background: linear-gradient(90deg, var(--rose), var(--teal));
        opacity: 0.3;
        transform: translateX(100%);
    }

    .step:last-child .step-connector { display: none; }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.testimonials-stats {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--secondary);
    border-radius: var(--radius);
}

.testimonials-stats-text {
    font-size: 1rem;
    color: var(--muted-foreground);
}

.testimonials-stats-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

/* ==================== PRICING SECTION ==================== */
.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--card);
    border: 2px solid var(--rose);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px -8px rgba(244, 63, 94, 0.3);
}

.pricing-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

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

.pricing-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
}

/* ==================== FAQ SECTION ==================== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--rose);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--muted-foreground);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.25rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==================== FINAL CTA SECTION ==================== */
.final-cta {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 3rem 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .final-cta { padding: 4rem 2rem; }
}

.final-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .final-cta-title { font-size: 2rem; }
}

.final-cta-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== RESOURCES SECTION ==================== */
#resources {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.resource-card:hover {
    border-color: var(--rose);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.15);
}

.resource-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(20, 184, 166, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
}

.resource-icon svg {
    width: 24px;
    height: 24px;
    color: var(--rose);
}

.resource-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.resource-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.resources-cta {
    text-align: center;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-age {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--rose);
}

/* ==================== AGE VERIFICATION ==================== */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-modal {
    background: var(--card);
    border: 2px solid var(--rose);
    border-radius: calc(var(--radius) + 8px);
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 80px rgba(244, 63, 94, 0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.age-text {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.age-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

/* ==================== UTILITIES ==================== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--rose), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
