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

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-color: #1D1D1F;
    --text-light: #86868B;
    --bg-color: #F5F1E8;
    --bg-light: #EDE8DD;
    --border-color: #D2D2D7;
    --papyrus-color: #F5F1E8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--papyrus-color);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        radial-gradient(
            circle at 20% 50%,
            rgba(139, 120, 93, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(139, 120, 93, 0.1) 0%,
            transparent 50%
        );
    background-attachment: fixed;
}

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

/* Header */
header {
    background-color: rgba(245, 241, 232, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(139, 120, 93, 0.2);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.header-title-section {
    flex: 1;
}

.header-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.header-japanese {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-weight: 500;
}

.header-subtitle {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-weight: 600;
}

.header-description {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: var(--text-light);
    font-weight: 400;
}

.header-availability {
    font-size: 14px;
    margin: 0;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    padding-top: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 2px,
                    rgba(0, 0, 0, 0.05) 2px,
                    rgba(0, 0, 0, 0.05) 4px
                );
    color: white;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.hero-japanese {
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 600;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 400;
}

.hero-availability {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.85;
    font-weight: 400;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Screenshots Carousel */
.screenshots-carousel {
    padding: 80px 20px;
    background-color: var(--papyrus-color);
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(100%);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* Download Section */
.download {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--bg-color);
}

.download h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.download p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Support Section */
.support {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.support-header {
    text-align: center;
    margin-bottom: 60px;
}

.support-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.support h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.support-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.donation-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 120, 93, 0.1);
    cursor: pointer;
}

.donation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.donation-card.bitcoin-card {
    cursor: pointer;
}

.donation-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.donation-content {
    flex: 1;
}

.donation-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-color);
}

.donation-content p {
    font-size: 14px;
    margin: 0;
    color: var(--text-light);
}

.donation-card svg {
    flex-shrink: 0;
    color: var(--text-light);
    transition: color 0.3s;
}

.donation-card:hover svg {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--bg-light);
}

.contact h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 30px 20px;
}

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

footer p {
    opacity: 0.8;
    margin: 0;
}

.footer-social {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-social:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-title {
        font-size: 28px;
    }

    .header-japanese {
        font-size: 20px;
    }

    .header-subtitle {
        font-size: 18px;
    }

    .header-description {
        font-size: 14px;
    }

    .header-availability {
        font-size: 12px;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
        width: 100%;
        justify-content: flex-start;
    }

    .features h2,
    .download h2,
    .support h2,
    .contact h2 {
        font-size: 36px;
    }

    .support {
        padding: 60px 20px;
    }

    .support-icon {
        font-size: 48px;
    }

    .donation-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .donation-card {
        padding: 20px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .screenshots-carousel {
        padding: 40px 20px;
    }

    .carousel-container {
        height: 400px;
        border-radius: 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 100px 20px;
    background-color: var(--papyrus-color);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    min-height: calc(100vh - 200px);
}

.privacy-policy h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.last-updated {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

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

.policy-section {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 10px;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-section a:hover {
    color: #0051D5;
    text-decoration: underline;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 60px 20px;
    }

    .privacy-policy h1 {
        font-size: 36px;
    }

    .policy-section {
        padding: 20px;
    }

    .policy-section h2 {
        font-size: 20px;
    }
}

