/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');
/* Try to use a system font that looks round if Nunito fails, or fallback to sans-serif */
/* In China, Microsoft YaHei Rounded (YY) is not standard, so we use standard stack but style it round */

:root {
    /* Party Animals Inspired Palette */
    --primary-yellow: #FFD04B;
    --primary-orange: #FF9E42;
    --accent-blue: #54C1FF;
    --accent-green: #7ED321;
    --text-dark: #4A3B2A;
    /* Warm dark brown */
    --text-light: #8D7B68;
    --bg-cream: #FFFDF5;
    --card-bg: #FFFFFF;

    /* Spacing & Radius */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;

    /* Shadows */
    --shadow-soft: 0 8px 24px rgba(255, 158, 66, 0.15);
    --shadow-card: 0 4px 12px rgba(74, 59, 42, 0.08);
}

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

body {
    font-family: 'Nunito', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    /* Widened from 1000px for better visibility */
    margin: 0 auto;
    padding: 0 24px;
}

/* ... existing code ... */

.feature-img-col img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid #EEE;
    display: block;
    cursor: zoom-in;
    /* Indicate clickable */
    transition: transform 0.2s;
}

.feature-img-col img:hover {
    transform: scale(1.01);
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    /* Changed via JS */
    opacity: 1;
}

#lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#lightbox.active img {
    transform: scale(1);
}

section {
    padding: 60px 0;
}

/* 3D Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
    background-color: var(--primary-orange);
    border-radius: 50px;
    border: none;
    border-bottom: 6px solid #E07C18;
    /* Darker orange */
    transition: all 0.1s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:active {
    transform: translateY(4px);
    border-bottom-width: 2px;
    margin-bottom: 2px;
}

.btn:hover {
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border-bottom-color: #DDD;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #FFF8E1 0%, #FFFDF5 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 .version {
    background: var(--primary-yellow);
    color: var(--text-dark);
    font-size: 0.5em;
    padding: 4px 12px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 10px;
}

.hero p {
    margin-bottom: 40px;
}

.download-area {
    background: #FFF;
    border: 4px solid var(--primary-yellow);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow-soft);
}

.download-link {
    font-family: monospace;
    background: #F5F5F5;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    word-break: break-all;
    color: #666;
}

/* Tutorial Steps */
.step-container {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.step-num {
    background: var(--primary-orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(255, 158, 66, 0.3);
}

.step-img {
    margin-top: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    max-width: 100%;
    border: 4px solid #F5F5F5;
}

/* Gallery - Simple Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.screenshot-item img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.02);
}

/* Footer & Disclaimer */
footer {
    padding: 60px 0 40px;
    text-align: center;
    border-top: 2px solid #EEE;
}

.disclaimer {
    font-size: 0.85rem;
    color: #999;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

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

/* Full Guide: Side-by-Side Layout */
.feature-row {
    display: flex;
    align-items: center;
    /* Center text vertically */
    gap: 40px;
    margin-bottom: 80px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.feature-img-col {
    flex: 1.8;
    /* Image takes ~65% */
    width: 100%;
    /* Ensure it fills container */
}

.feature-img-col img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid #EEE;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s;
}

.feature-img-col img:hover {
    transform: scale(1.02);
}

.feature-text-col {
    flex: 1;
    /* Text takes ~35% */
    padding: 10px;
}

.feature-text-col h3 {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 16px;
    border-left: 5px solid var(--primary-yellow);
    padding-left: 12px;
}

.feature-text-col p {
    font-size: 1.1rem;
    font-weight: 400;
    /* Regular weight for long reading */
    color: #555;
    margin-bottom: 16px;
}

/* Mobile: Stack them */
@media (max-width: 900px) {
    .feature-row {
        flex-direction: column;
    }

    .feature-img-col,
    .feature-text-col {
        flex: 1;
        width: 100%;
    }
}