/* Ink Wash Painting Style Homepage CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'STKaiti', 'KaiTi', 'FangSong', serif, 'Microsoft YaHei', sans-serif;
    background: linear-gradient(to bottom, #f5f5f0 0%, #e8e8e0 100%);
    min-height: 100vh;
    padding: 20px;
    color: #2c2c2c;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ink-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Ink Panel Base Style */
.ink-panel {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

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

.ink-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(44, 44, 44, 0.2), transparent);
}

.panel-title {
    font-size: 2em;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 8px;
    position: relative;
}

.panel-title::before,
.panel-title::after {
    content: "◆";
    color: #8b7355;
    margin: 0 20px;
    font-size: 0.6em;
}

/* Header Panel */
.header-panel {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(248, 248, 245, 0.95));
    text-align: center;
    padding: 60px 40px;
    border-radius: 12px;
}

.ink-notice {
    max-width: 600px;
    margin: 0 auto;
}

.ink-title {
    font-size: 2.8em;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 12px;
}

.ink-subtitle {
    font-size: 1.4em;
    color: #666;
    font-weight: normal;
    letter-spacing: 8px;
}

.ink-decoration {
    margin-top: 40px;
}

.bamboo {
    font-size: 4em;
    display: inline-block;
    opacity: 0.6;
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

/* Links Panel */
.links-panel {
    background: rgba(255, 255, 255, 0.9);
}

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

.ink-link {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ink-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(139, 115, 85, 0.5);
}

.link-icon {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.8;
}

.link-name {
    font-size: 1.1em;
    color: #2c2c2c;
    letter-spacing: 2px;
}

/* Footer Panel */
.footer-panel {
    background: rgba(248, 248, 245, 0.8);
    text-align: center;
    padding: 30px;
}

.footer-text {
    font-size: 0.9em;
    color: #888;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .ink-panel {
        padding: 25px;
        margin-bottom: 20px;
    }

    .ink-title {
        font-size: 2em;
        letter-spacing: 6px;
    }

    .ink-subtitle {
        font-size: 1.1em;
        letter-spacing: 4px;
    }

    .panel-title {
        font-size: 1.6em;
        letter-spacing: 4px;
    }

    .bamboo {
        font-size: 3em;
    }

    .link-icon {
        font-size: 2.5em;
    }

    .link-name {
        font-size: 1em;
    }
}

/* Print friendly */
@media print {
    body {
        background: white;
    }

    .ink-panel {
        box-shadow: none;
        page-break-inside: avoid;
    }
}
