:root {
        --candy-pink: #FF8FA3;
        --candy-mint: #7AE7C7;
        --candy-yellow: #FFE066;
        --candy-blue: #8ECEFF;
        --candy-purple: #C3A6FF;
        --text-dark: #333333;
        --text-light: #666666;
        --bg-base: #FFF9FA;
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: var(--bg-base);
        color: var(--text-dark);
        line-height: 1.6;
        overflow-x: hidden;
    }

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

    /* Header & Nav */
    header {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        z-index: 100;
        box-shadow: 0 2px 10px rgba(255, 143, 163, 0.1);
    }

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

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: bold;
        font-size: 1.2rem;
        color: var(--candy-pink);
    }

    .brand img {
        height: 32px;
        border-radius: 6px;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        font-size: 0.95rem;
    }

    .nav-links a {
        color: var(--text-dark);
        transition: color 0.3s;
    }

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

    /* Hero Section */
    .hero {
        position: relative;
        padding: 80px 20px;
        text-align: center;
        background: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 100%);
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%; left: -50%;
        width: 200%; height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
        animation: rotateBg 20s linear infinite;
    }

    @keyframes rotateBg {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.8rem;
        color: #222;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    }

    .hero p {
        font-size: 1.2rem;
        color: var(--text-light);
        margin-bottom: 40px;
    }

    .download-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        font-size: 1.1rem;
        color: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s;
    }

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

    .btn-android { background: linear-gradient(45deg, var(--candy-mint), #4CAF50); }
    .btn-ios { background: linear-gradient(45deg, var(--candy-blue), #2196F3); }
    .btn-other { background: linear-gradient(45deg, var(--candy-purple), #9C27B0); }

    /* Section Common */
    section {
        padding: 60px 20px;
    }

    .section-inner {
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 40px;
        position: relative;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--candy-pink);
        margin: 10px auto 0;
        border-radius: 2px;
    }

    /* Section 1: Hot Ranking (Gashapon) */
    .hot-ranking {
        background: #FFF4E6;
    }

    .ranking-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .gashapon-machine {
        background: #fff;
        border-radius: 20px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(255, 143, 163, 0.2);
        border: 4px dashed var(--candy-pink);
    }

    .capsule {
        width: 100px; height: 100px;
        background: linear-gradient(135deg, var(--candy-yellow), var(--candy-pink));
        border-radius: 50%;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: bold;
        font-size: 1.2rem;
        box-shadow: inset -10px -10px 20px rgba(0,0,0,0.1);
        transition: transform 0.5s;
    }

    .capsule.spin { transform: rotate(360deg) scale(1.1); }

    .sweet-shelf {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .sweet-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
    }

    .sweet-card:hover { transform: translateY(-5px); }
    .sweet-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
    .sweet-card p { padding: 10px; text-align: center; font-size: 0.9rem; color: var(--text-dark); }

    /* Section 2: Exclusive (Unwrap Gallery) */
    .exclusive {
        background: #E6FFFF;
    }

    .unwrap-gallery {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .unwrap-item {
        display: flex;
        align-items: center;
        gap: 30px;
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .unwrap-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .unwrap-img {
        width: 200px;
        height: 280px;
        border-radius: 12px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .unwrap-text {
        flex: 1;
    }

    .unwrap-text h3 { color: var(--candy-pink); margin-bottom: 10px; }
    .unwrap-text p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; }
    .tags { display: flex; gap: 10px; flex-wrap: wrap; }
    .tag { background: var(--candy-mint); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; }
    .date { display: block; margin-top: 10px; font-size: 0.85rem; color: #999; }

    /* Section 3: New Candy Train */
    .new-train {
        background: #FFF0F5;
    }

    .train-track {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .train-car {
        background: #fff;
        border-radius: 15px;
        min-width: 160px;
        padding: 15px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        position: relative;
    }

    .train-car.active {
        border: 2px solid var(--candy-pink);
    }

    .train-car.active::after {
        content: '💨';
        position: absolute;
        top: -20px; left: 50%;
        transform: translateX(-50%);
        font-size: 1.5rem;
        animation: steam 2s infinite;
    }

    @keyframes steam {
        0% { opacity: 0; transform: translate(-50%, 0) scale(0.8); }
        50% { opacity: 1; transform: translate(-50%, -10px) scale(1.2); }
        100% { opacity: 0; transform: translate(-50%, -20px) scale(0.8); }
    }

    .train-time { font-size: 1.2rem; font-weight: bold; color: var(--candy-blue); margin-bottom: 10px; }
    .train-car img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }

    /* Section 4: Candy Jar */
    .candy-jar-section {
        background: #F3E6FF;
    }

    .jar-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .jar-container {
        flex: 1;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border-radius: 30px;
        padding: 30px;
        border: 2px solid rgba(255,255,255,0.8);
        text-align: center;
        position: relative;
    }

    .jar-glass {
        width: 120px; height: 180px;
        background: rgba(255, 255, 255, 0.4);
        border: 4px solid rgba(0,0,0,0.1);
        border-top: none;
        border-radius: 0 0 40px 40px;
        margin: 0 auto 20px;
        position: relative;
        overflow: hidden;
    }

    .jar-fill {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        background: var(--candy-pink);
        height: 30%;
        transition: height 0.3s;
    }

    .jar-controls { margin-top: 20px; }
    .btn-vote { background: var(--candy-pink); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-size: 1rem; }

    /* Section 5: Soda Bubble Wall */
    .reviews {
        background: #E6FFFA;
        position: relative;
        overflow: hidden;
    }

    .bubble-wall {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .bubble-card {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        display: flex;
        gap: 15px;
    }

    .bubble-card:hover { transform: translateY(-5px); }
    .bubble-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
    .bubble-content p { font-size: 0.9rem; color: var(--text-light); }

    /* Section 6: FAQ Vending Machine */
    .faq { background: #FFFDE6; }
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    .faq-item {
        background: #fff;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .faq-item h3 { font-size: 1.1rem; color: var(--candy-pink); margin-bottom: 10px; }
    .faq-item p { font-size: 0.9rem; color: var(--text-light); }

    /* Section 7: Install Steps */
    .install-section {
        background: #FFF9FA;
        text-align: center;
    }
    .install-steps {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
    .step-card {
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        width: 250px;
        text-align: left;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border-top: 4px solid var(--candy-blue);
    }
    .step-card h3 { margin-bottom: 10px; color: var(--candy-blue); }
    .step-card p { font-size: 0.9rem; color: var(--text-light); }

    /* Footer */
    footer {
        background: #f0f0f0;
        padding: 30px 20px;
        text-align: center;
        font-size: 0.85rem;
        color: #888;
    }
    footer p { margin-bottom: 10px; }
    footer a { color: #888; text-decoration: underline; }
    footer a:hover { color: var(--candy-pink); }

    /* Responsive */
    @media (max-width: 1024px) {
        .ranking-layout { grid-template-columns: 1fr; }
        .unwrap-item, .unwrap-item:nth-child(even) { flex-direction: column; text-align: center; }
        .unwrap-img { width: 100%; height: auto; aspect-ratio: 3/4; }
        .jar-layout { flex-direction: column; }
    }

    @media (max-width: 768px) {
        .hero h1 { font-size: 2rem; }
        .nav-container { flex-direction: column; align-items: flex-start; gap: 10px; }
        .nav-links { font-size: 0.85rem; padding-bottom: 5px; }
        .train-track { flex-direction: column; }
        .train-car { width: 100%; }
        .bubble-wall { grid-template-columns: 1fr; }
        .faq-grid { grid-template-columns: 1fr; }
        .install-steps { flex-direction: column; align-items: center; }
    }