:root {
    /* 正绿色主题 - 更鲜艳、更正 */
    --primary-color: #10B981;
    --primary-gradient: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
    --primary-light: #6EE7B7;
    --primary-dark: #047857;
    --text-color: #1F2937;
    --light-text: #6B7280;
    --bg-color: #F9FAFB;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(16, 185, 129, 0.15);
    --shadow-hover: 0 8px 20px rgba(16, 185, 129, 0.25);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-color);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-slogan {
    font-size: 0.75rem;
    color: var(--primary-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
        bottom: 0;
        left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Carousel Banner - PC Optimized */
.banner-carousel {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 50px;
    padding: 30px 0;
    background: transparent;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    will-change: transform;
    /* 性能优化 - 启用硬件加速 */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: left;
}

.slide-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-content-center {
    text-align: center;
    color: white;
    padding: 40px 20px;
    z-index: 2;
    width: 100%;
}

.slide-content-center h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content-center p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Gradient Slides */
.slide-gradient-1 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FF6B6B 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.slide-gradient-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Carousel Controls */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-container:hover .carousel-prev,
.carousel-container:hover .carousel-next {
    opacity: 1;
}

.carousel-prev {
    left: 20px;
    }

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
    border-color: var(--white);
}

/* Platform Section - PC Optimized - Reduced Height */
.platform-section {
    padding: 35px 40px;
    background: var(--white);
}

.platform-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 18px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
    position: relative;
    /* 性能优化 */
    will-change: transform;
    /* 移动端触摸优化 */
    -webkit-tap-highlight-color: transparent;
}

.platform-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

/* PC端hover效果 */
@media (hover: hover) and (pointer: fine) {
    .platform-item:hover {
        transform: translateY(-8px);
        background: var(--bg-color);
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
    }

    .platform-item:hover::before {
        opacity: 0.05;
    }
}

.platform-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 18px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.platform-item:hover .platform-icon::before {
    opacity: 1;
}

.platform-item:hover .platform-icon {
    transform: scale(1.1) translateY(-5px);
    }

.platform-icon svg,
.platform-icon img {
    width: 40px;
    height: 40px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.platform-item:hover .platform-icon svg,
.platform-item:hover .platform-icon img {
    transform: scale(1.15);
}

/* Platform Icon Specific Styles */
.android-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05));
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.android-icon svg,
.android-icon img {
    filter: drop-shadow(0 1px 3px rgba(16, 185, 129, 0.3));
}

/* PC端hover效果 */
@media (hover: hover) and (pointer: fine) {
    .platform-item:hover .android-icon {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.1));
        border-color: rgba(16, 185, 129, 0.4);
    }

    .platform-item:hover .ios-icon {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.08));
        border-color: rgba(0, 0, 0, 0.2);
    }

    .platform-item:hover .windows-icon {
        box-shadow: 0 6px 20px rgba(0, 120, 215, 0.35);
        background: linear-gradient(135deg, rgba(0, 120, 215, 0.25), rgba(0, 120, 215, 0.1));
        border-color: rgba(0, 120, 215, 0.4);
    }

    .platform-item:hover .mac-icon {
        box-shadow: 0 6px 20px rgba(51, 51, 51, 0.25);
        background: linear-gradient(135deg, rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0.1));
        border-color: rgba(51, 51, 51, 0.3);
    }

    .platform-item:hover .platform-name {
        color: var(--primary-color);
        transform: scale(1.05);
    }
}

.ios-icon {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.03));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.ios-icon svg {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.windows-icon {
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.15), rgba(0, 120, 215, 0.05));
    box-shadow: 0 4px 12px rgba(0, 120, 215, 0.2);
    border: 1px solid rgba(0, 120, 215, 0.2);
}

.windows-icon svg {
    filter: drop-shadow(0 1px 3px rgba(0, 120, 215, 0.3));
}

.mac-icon {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.12), rgba(51, 51, 51, 0.05));
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.15);
    border: 1px solid rgba(51, 51, 51, 0.15);
}

.mac-icon svg {
    filter: drop-shadow(0 1px 3px rgba(51, 51, 51, 0.25));
}

.platform-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

/* List Section - PC Optimized */
.list-section {
    padding: 60px 40px;
    background: var(--bg-color);
}

.list-header {
    max-width: 1200px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.list-title {
    font-size: 1.5rem;
    font-weight: 700;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    color: var(--text-color);
}

.list-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.list-item-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    /* 性能优化 */
    will-change: transform;
    /* 移动端触摸优化 */
    -webkit-tap-highlight-color: transparent;
}

/* PC端hover效果 - 只在有鼠标的设备上显示 */
@media (hover: hover) and (pointer: fine) {
    .list-item-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.3);
        background: linear-gradient(to right, var(--white) 0%, rgba(16, 185, 129, 0.02) 100%);
    }
}

.list-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--transition);
    overflow: hidden;
    background: transparent;
}

.list-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* PC端hover效果 */
@media (hover: hover) and (pointer: fine) {
    .list-item-card:hover .list-item-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.list-item-info {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.list-item-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--light-text);
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.4;
}

.meta-item:first-child {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
}

/* Buttons - PC Optimized */
.btn {
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* PC端hover效果 */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }

    .btn-secondary:hover {
        transform: translateY(-2px);
        border-color: var(--primary-color);
        color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

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

/* Footer - Enhanced Colors */
footer {
    background: #1F2937;
    color: #E5E7EB;
    padding: 50px 20px 30px;
    margin-top: 60px;
}

/* Footer - PC Optimized */
.friendly-links {
    background: #111827;
    padding: 50px 40px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 30px;
}

.links-container {
    max-width: 1400px;
    margin: 0 auto;
}

.links-container h4 {
    color: #F3F4F6;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.link-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.link-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
}

.link-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: var(--transition);
}

.link-list a:hover {
    color: var(--white);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.link-list a:hover::before {
    left: 100%;
}

.footer-info {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    }

.footer-info p {
    margin: 10px 0;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-info a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-slide {
        height: 350px;
    }

    .slide-overlay h1 {
        font-size: 2rem;
}

    .slide-content-center h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .logo {
        gap: 10px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .logo-icon svg {
        width: 26px;
        height: 26px;
}

    .logo-title {
        font-size: 1.15rem;
    }

    .logo-slogan {
        font-size: 0.7rem;
}

    .banner-carousel {
        margin-top: 60px;
        padding: 10px 0;
        margin-bottom: 20px;
    }

.carousel-container {
        width: 95%;
        border-radius: 15px;
}

    .carousel-slide {
        height: 220px;
}

.slide-overlay {
    padding: 20px;
    }

    .slide-overlay h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .slide-overlay p {
        font-size: 0.95rem;
}

.slide-content-center {
    padding: 20px;
}

.slide-content-center h1 {
        font-size: 1.8rem;
    margin-bottom: 10px;
    }

    .slide-content-center p {
        font-size: 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        opacity: 0.8;
}

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
}

.carousel-indicators {
    bottom: 15px;
    gap: 8px;
}

.indicator {
        width: 8px;
        height: 8px;
}

.indicator.active {
        width: 24px;
}

    .nav-links {
        display: none;
    }

    /* Mobile Platform Section - Touch Optimized - Reduced Height */
    .platform-section {
        padding: 20px 20px;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }

    .platform-item {
        padding: 16px 12px;
        min-height: 110px;
        touch-action: manipulation;
    }

    .platform-item:active {
        transform: translateY(-2px) scale(0.98);
        background: var(--bg-color);
    }

    .platform-icon {
        width: 60px;
        height: 60px;
        padding: 12px;
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .platform-icon svg,
    .platform-icon img {
        width: 40px;
        height: 40px;
    }

    .platform-name {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Mobile List Section - Compact Layout */
    .list-section {
        padding: 20px 15px;
    }

    .list-header {
        margin-bottom: 15px;
    }

    .list-title {
        font-size: 1.2rem;
        padding-left: 10px;
    }

    .list-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .list-item-card {
        padding: 12px;
        min-height: 70px;
        touch-action: manipulation;
        border-radius: 10px;
    }

    .list-item-card:active {
        transform: translateY(-1px) scale(0.99);
        background: rgba(16, 185, 129, 0.03);
    }

    .list-item-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
        margin-right: 10px;
        border-radius: 10px;
    }

    .list-item-title {
        font-size: 0.95rem;
        margin-bottom: 3px;
        line-height: 1.3;
    }

    .list-item-desc {
        font-size: 0.8rem;
        margin-bottom: 4px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .list-item-meta {
        gap: 6px;
        margin-top: 3px;
    }

    .meta-item {
        font-size: 0.7rem;
        padding: 1px 5px;
        line-height: 1.3;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-height: 36px;
        touch-action: manipulation;
        white-space: nowrap;
    }

    .btn:active {
        transform: scale(0.96);
    }

    /* Bottom Navigation for Mobile - Reduced Height */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        padding: 8px 0;
        z-index: 1000;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #f0f0f0;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--light-text);
        font-size: 0.7rem;
        transition: var(--transition);
        padding: 6px 10px;
        border-radius: 10px;
        min-width: 65px;
        min-height: 50px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-item:active {
        transform: scale(0.95);
        background: rgba(16, 185, 129, 0.1);
    }

    .nav-item.active {
        color: var(--primary-color);
        background: rgba(16, 185, 129, 0.1);
}

    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        transition: var(--transition);
    }

    .nav-icon svg,
    .nav-icon img {
        width: 100%;
        height: 100%;
        transition: var(--transition);
        object-fit: contain;
        display: block;
    }

    .nav-icon img {
        filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
    }

    .nav-item.active .nav-icon img {
        filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(87deg) brightness(95%) contrast(85%);
    }

    .nav-item.active .nav-icon svg,
    .nav-item.active .nav-icon img {
        transform: scale(1.1);
    }

    .nav-item:active .nav-icon {
        transform: scale(0.95);
    }

    body {
        padding-bottom: 70px;
    }

    footer {
        padding-bottom: 85px;
    }

    /* Mobile specific touch improvements */
    @media (max-width: 768px) {
        * {
            -webkit-tap-highlight-color: rgba(16, 185, 129, 0.1);
        }

        a, button {
            -webkit-tap-highlight-color: rgba(16, 185, 129, 0.15);
        }
    }

    /* Mobile Friendly Links - Optimized */
    .friendly-links {
        padding: 30px 20px;
    }

    .links-container h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .link-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    .link-list a {
        font-size: 0.85rem;
        padding: 10px 12px;
        touch-action: manipulation;
    }

    .link-list a:active {
        transform: translateY(0) scale(0.98);
        background: rgba(16, 185, 129, 0.15);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 15px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .logo-icon svg {
        width: 24px;
        height: 24px;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .logo-slogan {
        font-size: 0.7rem;
        margin-top: 1px;
    }

    .carousel-slide {
        height: 200px;
    }

    .slide-overlay h1 {
        font-size: 1.4rem;
    }

    .slide-overlay p {
        font-size: 0.9rem;
    }

    .slide-content-center h1 {
        font-size: 1.6rem;
    }

    .slide-content-center p {
        font-size: 0.95rem;
    }

    .platform-grid {
        gap: 12px;
    }

    .platform-item {
        padding: 14px 10px;
        min-height: 100px;
    }

    .platform-icon {
        width: 56px;
        height: 56px;
        padding: 12px;
        margin-bottom: 8px;
    }

    .platform-icon svg,
    .platform-icon img {
        width: 36px;
        height: 36px;
    }

    .platform-name {
        font-size: 0.85rem;
    }

    .list-section {
        padding: 18px 12px;
    }

    .list-header {
        margin-bottom: 12px;
    }

    .list-title {
        font-size: 1.1rem;
        padding-left: 8px;
    }

    .list-container {
        gap: 8px;
    }

    .list-item-card {
        padding: 10px;
        min-height: 65px;
    }

    .list-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-right: 8px;
        border-radius: 8px;
    }

    .list-item-title {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .list-item-desc {
        font-size: 0.75rem;
        margin-bottom: 3px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
    }

    .list-item-meta {
        gap: 5px;
        margin-top: 2px;
    }

    .meta-item {
        font-size: 0.65rem;
        padding: 1px 4px;
    }

    .btn-sm {
        padding: 7px 14px;
        font-size: 0.8rem;
        min-height: 34px;
    }

    .nav-item {
        min-width: 60px;
        min-height: 48px;
        padding: 5px 8px;
        font-size: 0.65rem;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }

    /* Small Screen Friendly Links */
    .friendly-links {
        padding: 25px 15px;
    }

    .links-container h4 {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .link-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .link-list a {
        font-size: 0.8rem;
        padding: 10px 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .banner-carousel,
    .bottom-nav,
    .carousel-prev,
    .carousel-next,
    .carousel-indicators {
        display: none;
    }
}

}