/* 回忆星球页面 */
.planet-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.planet-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-planet {
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.planet-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, #00F5FF, #7B68EE);
    border-radius: 50%;
    filter: drop-shadow(0 0 60px #00F5FF) drop-shadow(0 0 30px #7B68EE);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    width: 280px;
    height: 80px;
    border: 3px solid var(--cosmic-purple);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 30px var(--cosmic-purple);
}

.planet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2), transparent 70%);
    border-radius: 50%;
    animation: pulse-large 3s ease-in-out infinite;
}

@keyframes pulse-large {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

.hero-text {
    padding: 2rem;
}

.planet-title {
    font-size: 3.5rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.planet-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.planet-stats {
    display: flex;
    gap: 2rem;
}

.planet-stats span {
    font-size: 1.1rem;
    color: var(--pink);
    background: rgba(255, 105, 180, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

/* 过滤标签 */
.memories-grid {
    padding: 4rem 2rem;
}

.filter-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(123, 104, 238, 0.2);
    border: 2px solid rgba(123, 104, 238, 0.5);
    border-radius: 30px;
    color: var(--cyan);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--pink));
    border-color: transparent;
    color: white;
}

/* 照片集合 */
.photos-collection {
    max-width: 1200px;
    margin: 0 auto;
}

.memory-group {
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.memory-group:nth-child(1) { animation-delay: 0.1s; }
.memory-group:nth-child(2) { animation-delay: 0.3s; }
.memory-group:nth-child(3) { animation-delay: 0.5s; }

.group-title {
    font-size: 2.2rem;
    color: var(--cosmic-purple);
    margin-bottom: 0.5rem;
}

.group-date {
    font-size: 1rem;
    color: var(--pink);
    display: block;
    margin-bottom: 2rem;
}

.photos-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.photo-card {
    background: rgba(30, 27, 60, 0.7);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(123, 104, 238, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.photo-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.4);
}

.photo-card.rotating {
    animation: rotate-card 6s linear infinite;
}

@keyframes rotate-card {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.photo-card.floating {
    animation: float 4s ease-in-out infinite;
}

.photo-card.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.photo-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.6s ease;
}

.photo-card:hover .photo-wrapper img {
    filter: brightness(1.1) saturate(1.3);
    transform: scale(1.1);
}

.photo-info {
    padding: 1.5rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.photo-card:hover .photo-info {
    transform: translateY(0);
    opacity: 1;
}

.photo-caption {
    font-size: 1.1rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.photo-credit {
    font-size: 0.9rem;
    color: var(--warm-gold);
}

/* 上传提示 */
.upload-hint {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 27, 60, 0.6);
    border-radius: 30px;
    border: 2px dashed rgba(123, 104, 238, 0.3);
    margin-top: 4rem;
}

.hint-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.upload-hint p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hint-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--pink));
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.hint-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.5);
}

/* 响应式 */
@media (max-width: 1024px) {
    .planet-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .planet-visual {
        width: 250px;
        height: 250px;
    }

    .planet-core {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .planet-hero {
        padding: 3rem 1.5rem;
    }

    .planet-title {
        font-size: 2.5rem;
    }

    .photos-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .photo-wrapper {
        height: 250px;
    }
}
