/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://api.dujin.org/bing/1920.php');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: -1;
}

.container {
    width: 85%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    z-index: 1;
}

/* Header Styles */
header {
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Pacifico', cursive;
}

.top-domain {
    font-size: 1.8rem;
    opacity: 0.8;
}

/* Main Content Styles */
main {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.left-section, .right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-section {
    flex: 1;
}

.right-section {
    flex: 1.5;
}

/* Cards Styling */
.quote-card, .netease-card, .time-card, .nav-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quote-card {
    position: relative;
    padding: 30px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-marks {
    font-size: 3rem;
    font-family: serif;
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.5;
}

.end-quote {
    top: auto;
    left: auto;
    bottom: 20px;
    right: 20px;
}

.quote-content {
    margin: 10px 30px;
}

.quote-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.quote-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Netease Card */
.netease-card {
    padding: 25px;
}

.netease-quote {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.netease-source {
    font-size: 0.9rem;
    text-align: right;
    opacity: 0.7;
}

/* Time Card */
.time-card {
    text-align: center;
    padding: 20px;
}

.date {
    font-size: 1rem;
    margin-bottom: 5px;
}

.time {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Digital-7', monospace;
    margin: 10px 0;
}

.weather-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Navigation Grid */
.nav-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-row {
    display: flex;
    gap: 15px;
}

.nav-item {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.nav-item span {
    font-size: 0.9rem;
}

/* Footer Styles */
footer {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    main {
        flex-direction: column;
    }
    
    .left-section, .right-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .top-domain {
        font-size: 1.5rem;
    }
    
    .quote-content h2 {
        font-size: 1.5rem;
    }
    
    .time {
        font-size: 2.5rem;
    }
    
    .nav-row {
        flex-direction: column;
    }
} 