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

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #f0f9ff 0%, #ffffff 50%);
    min-height: 100vh;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #e6f4ff 0%, #f0f9ff 50%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(135, 206, 250, 0.05) 20px,
        rgba(135, 206, 250, 0.05) 40px
    );
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-robot {
    margin-bottom: 2rem;
}

.robot-container {
    position: relative;
    display: inline-block;
}

.robot-main {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: bounce 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.3));
    position: relative;
    transition: transform 0.3s ease;
}

.robot-main:hover {
    transform: scale(1.05);
}

.robot-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.robot-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #333;
}

.robot-container:hover .robot-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.speech-bubble {
    position: absolute;
    top: -50px;
    right: -80px;
    background: white;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    animation: pop 4s ease-in-out infinite;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

@keyframes pop {
    0%, 70%, 100% { opacity: 0; transform: scale(0.8); }
    80%, 90% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-title img {
    max-width: 90%;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #764ba2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}
.movie {
    text-align: center;
    color: #667eea;
    margin-bottom: 3rem;
}

.movie h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 3rem;
}

.how-to-use {
    padding: 80px 0;
    background: #f8f9fa;
}

.how-to-use h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 3rem;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.step-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.step-card p {
    color: #666;
    margin-bottom: 1rem;
}

.step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.bean-purchase-guide {
    background: linear-gradient(135deg, #fa709a15 0%, #fee14015 100%);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
}

.bean-purchase-guide h3 {
    color: #fa709a;
    margin-bottom: 1rem;
}

.guide-content {
    color: #666;
}

.guide-content ul {
    list-style: none;
    margin-top: 1rem;
}

.guide-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.guide-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fa709a;
}

.guide-content code {
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #667eea;
}

.other-commands {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.other-commands h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
}

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

.command-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.command-item code {
    display: block;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.command-item p {
    color: #666;
    font-size: 0.9rem;
}

.sound-demo {
    padding: 80px 0;
    background: white;
}

.sound-demo h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.sound-demo-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.sound-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.sound-btn {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sound-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sound-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(240, 147, 251, 0.3);
}

.sound-btn:active::before {
    width: 300px;
    height: 300px;
}

.sound-btn.playing {
    animation: pulse 0.6s ease-in-out;
}

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

.random-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    grid-column: span 2;
}

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 3rem;
}

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

.scene-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    transition: transform 0.3s ease;
}

.scene-card:hover {
    transform: scale(1.05);
}

.scene-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scene-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.scene-card p {
    color: #666;
}

.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 3rem;
}

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

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.purchase-btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 2rem;
}

.about-description {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.other-bots {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 2rem;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.other-bots h3 {
    color: #667eea;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.chisei-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chisei-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.chisei-icon {
    width: 150px;
    height: auto;}

.chisei-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.chisei-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.chisei-text .btn {
    display: inline-block;
}

.chisei-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.chisei-screenshots .screenshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.chisei-screenshots .screenshot:hover {
    transform: scale(1.05);
}

.event-announcement {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.event-announcement h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.event-card {
    background: white;
    color: #333;
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.event-card h3 {
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.event-details {
    margin-bottom: 2rem;
}

.event-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        max-width: 90%;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .sound-buttons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .random-btn {
        grid-column: span 3;
    }
    
    .chisei-info {
        flex-direction: column;
    }
    
    .chisei-screenshots {
        grid-template-columns: 1fr;
    }
}

/* Policy pages styles */
.policy-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
}

.back-link {
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 1;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
}

.policy-content {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 80vh;
}

.policy-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.policy-section h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.policy-table th,
.policy-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.policy-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #667eea;
    width: 200px;
    min-width: 150px;
}

.policy-table td {
    color: #666;
    line-height: 1.6;
}

.policy-table a {
    color: #667eea;
    text-decoration: none;
}

.policy-table a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-table {
        font-size: 0.9rem;
    }
    
    .policy-table th {
        width: 120px;
        min-width: 100px;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 0.8rem;
    }
}