/* Lovyra - Pink/Coral Card-Based Theme */

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

:root {
    --primary-pink: #FF6B9D;
    --coral: #FF8C69;
    --rose: #FFA5C1;
    --light-pink: #FFE5EC;
    --dark-bg: #1a0a0f;
    --card-bg: #2a1520;
    --text-light: #FFF5F8;
    --text-muted: #D4A5B5;
    --accent: #FFD700;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #1a0a0f 0%, #2a1520 100%);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation */
.top-nav {
    background: rgba(42, 21, 32, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.2);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-heart {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-pink);
    color: #fff;
}

/* Main Header */
.main-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--coral) 50%, var(--rose) 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '💖';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-content {
    position: relative;
    z-index: 1;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #fff;
}

.header-cta {
    display: inline-block;
    background: #fff;
    color: var(--primary-pink);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Content Area */
.content-area {
    padding: 3rem 0;
}

.page-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Styles */
.intro-card,
.card,
.legal-card,
.philosophy-card,
.cta-card,
.play-info-card,
.play-notice-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.intro-card h2,
.philosophy-card h2,
.cta-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
}

.intro-card p,
.philosophy-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.card-pink {
    border-color: var(--primary-pink);
}

.card-coral {
    border-color: var(--coral);
}

.card-rose {
    border-color: var(--rose);
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

/* Game Section */
.game-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid var(--primary-pink);
}

.game-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.game-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.game-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-reminder {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--coral);
    font-weight: 600;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 3rem;
}

.benefits-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-pink);
}

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

.benefit {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--coral);
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-pink);
}

.benefit h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-pink);
}

/* CTA Card */
.cta-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--coral) 100%);
    border: none;
}

.cta-card h2,
.cta-card p {
    color: #fff;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: var(--primary-pink);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Play Page */
.play-content {
    min-height: calc(100vh - 300px);
}

.play-info-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
}

.guide-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.guide-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.guide-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-pink);
}

.play-notice-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, var(--card-bg) 100%);
    border-color: var(--coral);
    text-align: center;
}

.play-notice-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.date-text {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.legal-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--coral);
}

.legal-card ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-card li {
    margin: 0.8rem 0;
}

.legal-card a {
    color: var(--primary-pink);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-card a:hover {
    border-bottom-color: var(--primary-pink);
}

.highlight-card {
    border: 3px solid var(--primary-pink);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, var(--card-bg) 100%);
}

.summary-bullets {
    list-style: none;
    padding-left: 0;
}

.summary-bullets li {
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(255, 107, 157, 0.1);
    border-left: 5px solid var(--primary-pink);
    border-radius: 10px;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--coral) 100%);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
    position: relative;
    z-index: 10000;
    pointer-events: auto;
}

.age-heart {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.age-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.age-box p {
    color: #fff;
    margin-bottom: 1rem;
}

.age-note {
    font-style: italic;
    font-size: 0.9rem;
}

.age-btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.btn-primary {
    background: #fff;
    color: var(--primary-pink);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: #444;
    color: #fff;
}

.btn-secondary:hover {
    background: #666;
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-pink);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.8rem 0;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-note {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 157, 0.2);
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .game-frame {
        height: 400px;
    }

    .feature-cards,
    .benefits-grid,
    .guide-items {
        grid-template-columns: 1fr;
    }

    .age-box {
        margin: 1rem;
        padding: 2rem;
    }

    .age-btn-group {
        flex-direction: column;
    }
}