/*
Theme Name: Dress Up Dream
Theme URI: //example.com/dress-up-dream
Author: Your Name
Author URI: //example.com
Description: A vibrant and playful WordPress theme for a dress-up game app targeted at teenage girls
Version: 1.0.0
License: GPL v2 or later
Text Domain: dress-up-dream
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 50%, #FFEAF2 100%);
    color: #4A4A4A;
    line-height: 1.6;
    min-height: 100vh;
}

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

header {
    background: transparent;
    padding: 20px 0;
    position: relative;
}

.site-title {
    color: #FF69B4;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8), -1px -1px 2px rgba(255, 255, 255, 0.5);
    font-weight: bold;
    letter-spacing: 2px;
}

nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    margin-top: 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #FF69B4;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

nav a:hover {
    background: #FF69B4;
    color: white;
}

.hero-section {
    padding: 60px 0;
    text-align: center;
}

.game-preview {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 10px 30px rgba(255, 105, 180, 0.2),
                0 0 80px rgba(255, 255, 255, 0.5) inset;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    align-items: center;
    gap: 20px;
    padding: 0 60px;
}

.screenshot-item {
    min-width: auto;
    max-width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFB6C1, #FFC0CB);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.screenshot-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.screenshot-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 竖屏图片样式 */
.screenshot-item.portrait {
    width: auto;
    max-width: 280px;
}

.screenshot-item.portrait img {
    width: auto;
    height: 100%;
}

/* 横屏图片样式 */
.screenshot-item.landscape {
    width: 100%;
    max-width: 600px;
}

.screenshot-item.landscape img {
    width: 100%;
    height: auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #FF69B4;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #FF69B4;
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FF69B4;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 105, 180, 0.8);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
    align-items: center;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.download-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.app-store-badge {
    width: 180px;
    height: 60px;
    background: #000000;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    border: 1px solid #A6A6A6;
}

.android-dropdown {
    position: relative;
    display: inline-block;
}

.android-badge {
    width: 180px;
    height: 60px;
    background: linear-gradient(135deg, #42C767, #3FBF62);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    border: 1px solid #39A956;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.android-badge:hover {
    background: linear-gradient(135deg, #3FBF62, #39A956);
}

.android-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
}

.android-dropdown.active .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.android-markets-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.android-dropdown.active .android-markets-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.market-item {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.market-item:last-child {
    border-bottom: none;
}

.market-item:hover {
    background: linear-gradient(135deg, #42C767, #3FBF62);
    color: white;
    padding-left: 20px;
}

.store-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-icon svg {
    width: 100%;
    height: 100%;
}

.store-text {
    display: flex;
    flex-direction: column;
    color: white;
    line-height: 1.2;
}

.store-text-small {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 400;
}

.store-text-large {
    font-size: 18px;
    font-weight: 500;
    margin-top: 2px;
}

.features-section {
    padding: 60px 0;
    background: white;
    border-radius: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:nth-child(1) {
    background: #FFE5F1;
}

.feature-card:nth-child(2) {
    background: #E5F1FF;
}

.feature-card:nth-child(3) {
    background: #F1E5FF;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.icon-dress {
    background: #FF69B4;
}

.icon-accessories {
    background: #87CEEB;
}

.icon-share {
    background: #DDA0DD;
}

.latest-posts {
    padding: 60px 0;
}

.latest-posts h2 {
    text-align: center;
    font-size: 2.5em;
    color: #FF69B4;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
}

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

.post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FFB6C1, #FFD1DC);
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.3em;
    color: #FF69B4;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #FF69B4;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
    color: #FF1493;
}

footer {
    background: linear-gradient(90deg, #FF69B4 0%, #FFB6C1 50%, #FFC0CB 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    line-height: 2;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    padding-left: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-preview {
        height: 350px;
    }
    
    .slide {
        gap: 15px;
    }
    
    .screenshot-item {
        width: 180px;
        height: 320px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

/* Article Styles */
.article-container {
    max-width: 900px;
    margin: 60px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-article {
    padding: 0;
}

.article-header {
    padding: 40px;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 100%);
    border-bottom: 1px solid #FFD1DC;
}

.article-title {
    font-size: 2.5em;
    color: #FF69B4;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.95em;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta svg {
    opacity: 0.6;
}

.article-thumbnail {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

.article-content h2 {
    color: #FF69B4;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFE5F1;
}

.article-content h3 {
    color: #FFB6C1;
    margin: 25px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid #FF69B4;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
    background: #FFF0F5;
    padding: 20px;
    border-radius: 10px;
}

.article-content ul,
.article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #FF69B4;
    text-decoration: none;
    border-bottom: 1px dotted #FF69B4;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #FF1493;
    border-bottom-style: solid;
}

.article-footer {
    padding: 30px 40px;
    background: #FFF0F5;
    border-top: 1px solid #FFE5F1;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags a {
    display: inline-block;
    padding: 5px 15px;
    background: white;
    color: #FF69B4;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    border: 1px solid #FFB6C1;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: #FF69B4;
    color: white;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 100%);
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.nav-arrow {
    font-size: 1.5em;
    color: #FF69B4;
}

.nav-text {
    font-size: 0.9em;
    line-height: 1.4;
}

/* Archive Page Styles */
.archive-header {
    text-align: center;
    margin: 60px 0 40px;
}

.archive-title {
    font-size: 2.5em;
    color: #FF69B4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.1);
}

.archive-description {
    color: #666;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.article-card-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 100%);
}

.article-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-thumbnail img {
    transform: scale(1.1);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB6C1;
}

.article-card-content {
    padding: 25px;
}

.article-card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.article-card-title a {
    color: #FF69B4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: #FF1493;
}

.article-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #999;
}

.article-card-meta a {
    color: #999;
    text-decoration: none;
}

.article-card-meta a:hover {
    color: #FF69B4;
}

.article-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    color: #FF69B4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-read-more:hover {
    gap: 5px;
    color: #FF1493;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 60px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    color: #FF69B4;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #FFE5F1;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #FF69B4;
    color: white;
    border-color: #FF69B4;
    transform: translateY(-2px);
}

.pagination .dots {
    border: none;
    background: none;
    color: #999;
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 100px 20px;
    color: #999;
}

.no-articles p {
    margin-top: 20px;
    font-size: 1.2em;
}


@media (max-width: 768px) {
    .article-title {
        font-size: 1.8em;
    }
    
    .article-container {
        margin: 30px 10px;
    }
    
    .article-header,
    .article-content {
        padding: 25px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}