/* Google Play inspired design with aq36v8s2 channel branding */
:root {
    --primary-color: #ff5999;
    --primary-dark: #e64888;
    --primary-light: #ff7aad;
    --gradient-start: #ff5999;
    --gradient-mid: #fd7f8a;
    --gradient-end: #fbb077;
    --accent-color: #ffa600;
    --background: #ffffff;
    --surface: #fafafa;
    --text-primary: #545454;
    --text-secondary: #999999;
    --border-color: #ebebeb;
    --shadow: 0 2px 8px 0 rgba(255, 89, 153, 0.15);
    --shadow-lg: 0 4px 16px 0 rgba(255, 89, 153, 0.25);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #fffef9 0%, #ffffff 32.69%, #fff9d9 80.77%, #ffe2c4 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--background);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

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

.logo-img {
    width: 110px;
    height: 45px;
}

.app-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.language-selector {
    position: relative;
}

.lang-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235f6368' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.2s;
}

.lang-select:hover {
    border-color: var(--primary-color);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.app-icon {
    width: 200px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.app-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 62.5%, var(--gradient-end) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.download-btn:hover::before {
    transform: translateX(100%);
}

.download-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.download-btn:active {
    transform: translateY(0);
}

.android-icon {
    width: 28px;
    height: 28px;
    color: #3DDC84;
    flex-shrink: 0;
}

.download-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    flex-shrink: 0;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 40px 0;
    margin: 40px 0;
}

.feature-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    color: white;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Requirements */
.requirements {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.req-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

/* Footer */
.footer {
    padding: 30px 0 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .header {
        padding: 16px 0;
    }

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

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .app-title {
        font-size: 24px;
    }
}

/* Loading and Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Success Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}
