/* 组件样式文件 - 视频播放器、弹幕、点赞、英灵殿等组件样式 */

/* --- HEADER --- */
header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.avatar-container {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    position: relative;
    border: 2px solid var(--primary-color);
    transform: rotate(-3deg);
    box-shadow: 5px 5px 0px var(--secondary-color);
    transition: transform 0.3s;
    background: #000;
}

.avatar-container:hover {
    transform: rotate(0deg) scale(1.1);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) grayscale(0.2);
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 3px 3px 0px var(--primary-color), -2px -2px 0px var(--accent-color);
    margin-bottom: 0.5rem;
    animation: glitch-skew 3s infinite steps(10);
    font-family: 'Impact', sans-serif;
    letter-spacing: 2px;
}

.subtitle {
    color: #000;
    font-size: 1.5rem;
    background: var(--primary-color);
    padding: 2px 10px;
    transform: skew(-10deg);
    display: inline-block;
    font-weight: bold;
}

/* --- SOUL QUOTE BAR --- */
.soul-bar-container {
    margin-top: 2rem;
    padding: 10px 20px;
    background: #000;
    border: 1px dashed var(--accent-color);
    color: var(--accent-color);
    font-family: 'SimSun', 'Courier New', monospace;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
    text-shadow: 0 0 5px var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}
.soul-bar-container:hover {
    background: #111;
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    transform: scale(1.02);
}

.soul-text {
    display: inline-block;
    white-space: nowrap;
}

.glitch-overlay {
    /* Empty overlay element for potential glitch effects */
}

.glitch-active {
    animation: glitch-bg 0.2s steps(2) 2;
}

/* --- MAIN CONTENT (Player + Playlist) --- */
.main-stage {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-bottom: 3rem;
}

/* Video Player */
.video-section {
    position: relative;
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border: 2px solid #fff;
    background: #000;
    box-shadow: 8px 8px 0px var(--secondary-color);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* DANMAKU */
.danmaku-feed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 20;
}

.danmaku-item {
    position: absolute;
    right: -100%;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    font-size: clamp(0.8rem, 2.5vw, 1.5rem);
    text-shadow: 2px 2px 0px #000, -1px -1px 0px var(--primary-color);
    animation: danmakuMove 10s linear forwards;
    padding: 2px 8px;
    font-family: 'SimHei', sans-serif;
}

.video-title-display {
    margin-top: 10px;
    background: #000;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
    border-bottom: 1px solid var(--accent-color);
    padding: 5px;
    font-weight: bold;
}
/* --- TEAMMATE MEMORIAL --- */
.teammate-panel {
    margin-top: 15px;
    border: 1px dotted #444;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.teammate-header {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 1px;
    border-left: 3px solid var(--primary-color);
    padding-left: 8px;
}

.teammate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.teammate-card {
    background: #111;
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    cursor: help;
}

.teammate-card:hover {
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(157, 0, 255, 0.3);
}

.role-icon {
    font-size: 0.7rem;
    color: var(--primary-color);
}

/* PLAYLIST */
.playlist-panel {
    background: #111;
    border: 2px solid var(--accent-color);
    height: 100%;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: -5px 5px 0px var(--primary-color);
    display: flex;
    flex-direction: column;
}

.playlist-header {
    padding: 15px;
    background: var(--accent-color);
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    flex-shrink: 0;
}

.playlist-content {
    flex: 1;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px dashed #333;
    cursor: pointer;
    transition: all 0.2s;
    color: #888;
}
.playlist-item:hover {
    background: #222;
    padding-left: 20px;
    color: var(--primary-color);
}

.playlist-item.active {
    background: #222;
    border-left: 5px solid var(--primary-color);
    color: #fff;
}

.item-thumb {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border: 1px solid #444;
}

.item-info {
    flex: 1;
    overflow: hidden;
}

.item-title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.item-meta {
    font-size: 0.7rem;
    color: #666;
}

/* --- FATE STATS PANEL --- */
.fate-panel {
    margin-top: 3rem;
    width: 100%;
    border: 2px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.fate-header {
    font-size: 1.5rem;
    color: #fff;
    border-bottom: 2px dashed var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: left;
    text-transform: uppercase;
}

/* --- SOUL LEADERBOARD STYLES --- */
.soul-leaderboard {
    margin-bottom: 25px;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(90deg, #111, #222);
    border-bottom: 1px solid #444;
}

.leaderboard-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.leaderboard-toggle {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Courier New', monospace;
}
.leaderboard-toggle:hover {
    color: var(--primary-color);
}

.leaderboard-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
}

.leaderboard-content.collapsed {
    display: none;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 5px;
    background: #111;
    border-left: 3px solid #333;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
}

.leaderboard-item:hover {
    background: #222;
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.leaderboard-item.rank-1 {
    border-left-color: #ffd700;
    background: linear-gradient(90deg, #111, #1a1600);
}

.leaderboard-item.rank-2 {
    border-left-color: #c0c0c0;
    background: linear-gradient(90deg, #111, #1a1a1a);
}

.leaderboard-item.rank-3 {
    border-left-color: #cd7f32;
    background: linear-gradient(90deg, #111, #1a1000);
}

.rank-number {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    width: 30px;
    text-align: center;
}

.rank-1 .rank-number {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700;
}

.rank-2 .rank-number {
    color: #c0c0c0;
    text-shadow: 0 0 5px #c0c0c0;
}

.rank-3 .rank-number {
    color: #cd7f32;
    text-shadow: 0 0 5px #cd7f32;
}

.teammate-name {
    flex: 1;
    font-size: 0.9rem;
    color: #ccc;
    margin-left: 10px;
}

.soul-count {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
}
.soul-level {
    font-size: 0.7rem;
    color: #666;
    background: #222;
    padding: 2px 6px;
    border-radius: 0;
    text-transform: uppercase;
}

.rank-1 .soul-level {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.rank-2 .soul-level {
    color: #c0c0c0;
    background: rgba(192, 192, 192, 0.1);
}

.rank-3 .soul-level {
    color: #cd7f32;
    background: rgba(205, 127, 50, 0.1);
}

.empty-leaderboard {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    font-family: 'Courier New', monospace;
}

.fate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.fate-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    border: 1px solid #222;
    border-left: 4px solid var(--secondary-color);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.fate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 0, 255, 0.08), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.fate-card:hover {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #111 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(157, 0, 255, 0.25),
        0 0 15px rgba(157, 0, 255, 0.15);
    border-color: var(--primary-color);
}

.fate-card:hover::before {
    left: 100%;
}

.fate-card:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s;
}

/* --- SOUL LAMP STYLES --- */
.fate-card.lit {
    border-left-color: #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3), inset 0 0 20px rgba(0, 242, 255, 0.1);
    background: linear-gradient(90deg, #111, #001a1a);
    position: relative;
}
.fate-card.lit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 242, 255, 0.05) 50%, transparent 70%);
    animation: soul-sweep 3s infinite;
    pointer-events: none;
    z-index: 1;
}

/* ===== 精致非主流英灵等级样式 ===== */
.fate-card.level-king {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #0d0805 0%, #1a0f0a 50%, #0d0805 100%);
    box-shadow:
        0 4px 20px rgba(255, 107, 53, 0.35),
        0 0 40px rgba(255, 107, 53, 0.15),
        inset 0 0 30px rgba(255, 107, 53, 0.08);
    animation: kingAura 3s ease-in-out infinite;
}

.fate-card.level-king::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 107, 53, 0.05) 50%, transparent 60%);
    animation: soul-sweep 4s infinite;
    pointer-events: none;
}

.fate-card.level-diamond {
    border-left-color: #00f2ff;
    background: linear-gradient(135deg, #050a0a 0%, #0a1515 50%, #050a0a 100%);
    box-shadow:
        0 4px 20px rgba(0, 242, 255, 0.3),
        0 0 35px rgba(0, 242, 255, 0.12),
        inset 0 0 25px rgba(0, 242, 255, 0.06);
    animation: diamondPulse 4s ease-in-out infinite;
}

.fate-card.level-gold {
    border-left-color: #ffd700;
    background: linear-gradient(135deg, #0a0905 0%, #151208 50%, #0a0905 100%);
    box-shadow:
        0 4px 18px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
    animation: goldBurn 4s ease-in-out infinite;
}

.fate-card.level-silver {
    border-left-color: #c0c0c0;
    background: linear-gradient(135deg, #080808 0%, #121212 50%, #080808 100%);
    box-shadow:
        0 4px 15px rgba(192, 192, 192, 0.2),
        inset 0 0 15px rgba(192, 192, 192, 0.04);
    animation: silverShine 5s ease-in-out infinite;
}

.fate-card.level-bronze {
    border-left-color: #cd7f32;
    background: linear-gradient(135deg, #080604 0%, #100c08 50%, #080604 100%);
    box-shadow:
        0 4px 12px rgba(205, 127, 50, 0.2),
        inset 0 0 12px rgba(205, 127, 50, 0.04);
}

/* 不同等级的蜡烛效果 */
.fate-card.level-king .candle-icon {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 15px #ff6b35);
    animation: king-flame 1.2s infinite alternate;
}

.fate-card.level-diamond .candle-icon {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 12px #b9f2ff);
    animation: diamond-flame 1.5s infinite alternate;
}

.fate-card.level-gold .candle-icon {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 10px #ffd700);
    animation: gold-flame 1.8s infinite alternate;
}
.fate-card.level-silver .candle-icon {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 8px #c0c0c0);
    animation: silver-flame 2.2s infinite alternate;
}

.fate-card.level-bronze .candle-icon {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 6px #cd7f32);
    animation: bronze-flame 2.8s infinite alternate;
}

.fate-card.highlighted {
    border-left-color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
    background: linear-gradient(90deg, #111, #1a1600) !important;
    transform: scale(1.05) !important;
    animation: highlight-pulse 1s ease-in-out 3;
}

/* ===== 精致非主流英灵名字 ===== */
.fate-name {
    font-weight: bold;
    font-size: 1rem;
    color: #eee;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.fate-card.level-king .fate-name {
    color: #ff6b35;
    text-shadow: 
        0 0 15px rgba(255, 107, 53, 0.6),
        0 0 30px rgba(255, 107, 53, 0.3);
}

.fate-card.level-diamond .fate-name {
    color: #00f2ff;
    text-shadow: 
        0 0 12px rgba(0, 242, 255, 0.5),
        0 0 25px rgba(0, 242, 255, 0.25);
}

.fate-card.level-gold .fate-name {
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.fate-card.level-silver .fate-name {
    color: #c0c0c0;
    text-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
}

.fate-card.level-bronze .fate-name {
    color: #cd7f32;
    text-shadow: 0 0 6px rgba(205, 127, 50, 0.4);
}

/* ===== 精致非主流怨气图标 ===== */
.rage-icon {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 15px;
    z-index: 5;
    position: relative;
    user-select: none;
}

.rage-icon:hover {
    transform: scale(1.25);
    filter: drop-shadow(0 0 12px currentColor);
}

.rage-icon:active {
    transform: scale(1.15);
    transition: all 0.1s;
}

.fate-card.level-king .rage-icon {
    animation: kingRage 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #ff6b35);
}

.fate-card.level-diamond .rage-icon {
    animation: diamondRage 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #00f2ff);
}

.fate-card.level-gold .rage-icon {
    animation: goldRage 3s ease-in-out infinite;
    filter: drop-shadow(0 0 6px #ffd700);
}

.fate-card.level-silver .rage-icon {
    animation: silverRage 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 5px #c0c0c0);
}

.fate-card.level-bronze .rage-icon {
    animation: bronzeRage 4s ease-in-out infinite;
    filter: drop-shadow(0 0 4px #cd7f32);
}

.fate-name {
    font-weight: bold;
    font-size: 1rem;
    color: #eee;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.fate-count {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 900;
}

.fate-label {
    font-size: 0.7rem;
    color: #666;
    display: block;
}

/* --- STATS & INTERACTION --- */
.live-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.stat-card {
    background: #000;
    border: 2px solid #fff;
    padding: 1.5rem;
    position: relative;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:nth-child(odd) {
    transform: rotate(-2deg);
    border-color: var(--primary-color);
    box-shadow: 4px 4px 0 var(--primary-color);
}

.stat-card:nth-child(even) {
    transform: rotate(2deg);
    border-color: var(--accent-color);
    box-shadow: 4px 4px 0 var(--accent-color);
}

.stat-card:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 10;
    background: #222;
}

.stat-title {
    background: #fff;
    color: #000;
    display: inline-block;
    padding: 2px 5px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.stat-number {
    font-size: 1.8rem;
}

.like-btn {
    background: #000;
    border: 2px solid #fff;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--danger-color);
    transition: all 0.1s;
}
.like-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--danger-color);
}

.like-btn.liked {
    background: var(--danger-color);
    color: #000;
    border-color: #000;
}

/* --- COMBO VISUALS --- */
.combo-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 100;
    text-align: center;
}

.combo-text {
    font-size: 3rem;
    color: #fff;
    font-weight: 900;
    text-shadow: 0 0 10px var(--primary-color), 4px 4px 0px #000;
    font-family: 'Impact', sans-serif;
    animation: combo-pulse 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.combo-label {
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 5px;
    margin-top: -10px;
    text-transform: uppercase;
}

.floating-plus {
    position: absolute;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    pointer-events: none;
    user-select: none;
    animation: floatUp 1s ease-out forwards;
    text-shadow: 1px 1px 0 #000;
}

/* --- LIKE CONTAINER STYLES --- */
.like-container {
    margin-top: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 5px;
    position: relative;
}

.like-text {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- NOTIFICATION STYLES --- */
.soul-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border: 2px solid #000;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 4px 4px 0px #000;
}

.soul-notification.success {
    background: #00ff00;
    color: #000;
}

.soul-notification.warning {
    background: #ff9500;
    color: #000;
}

.soul-notification.info {
    background: #00f2ff;
    color: #000;
}

/* --- CANVAS LAYER --- */
#cannonLayer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* --- RAGE LEVEL DISPLAY --- */
.rage-level-display {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
}

.rage-count {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- STAT NUMBER COLOR VARIANTS --- */
.stat-number.stat-accent {
    color: var(--accent-color);
}

.stat-number.stat-primary {
    color: var(--primary-color);
}

.stat-number.stat-white {
    color: #fff;
}

.stat-number.stat-danger {
    color: var(--danger-color);
}

/* --- PLAYLIST COUNT --- */
.playlist-count {
    font-size: 0.8rem;
    float: right;
}

/* --- DISSIPATION TIMER --- */
.dissipation-timer {
    font-size: 0.7rem;
    color: #666;
    margin-left: 10px;
    font-family: 'Courier New', monospace;
}


/* --- GUESTBOOK STYLES --- */
.guestbook-panel {
    margin-top: 3rem;
    border: 2px dashed var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.guestbook-header {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px dashed var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px var(--primary-color);
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.guestbook-form input,
.guestbook-form textarea {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

.guestbook-form textarea {
    min-height: 80px;
    resize: vertical;
}

.guestbook-submit {
    background: var(--primary-color);
    border: 2px solid #000;
    color: #000;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 3px 3px 0 #000;
}

.guestbook-submit:hover {
    background: var(--accent-color);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
}

.guestbook-submit:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000;
}

.guestbook-submit:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.guestbook-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guestbook-empty {
    text-align: center;
    color: #666;
    padding: 30px;
    font-family: 'Courier New', monospace;
    border: 1px dashed #333;
}

.guestbook-card {
    background: #111;
    border: 1px solid #333;
    border-left: 3px solid var(--secondary-color);
    padding: 15px;
    transition: all 0.2s;
}

.guestbook-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.guestbook-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.guestbook-nickname {
    color: var(--accent-color);
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.guestbook-time {
    color: #666;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.guestbook-content {
    color: #ccc;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    word-break: break-word;
}

.guestbook-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border: 2px solid #000;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 4px 4px 0px #000;
}

.guestbook-notification.error {
    background: var(--danger-color);
    color: #000;
}

.guestbook-notification.success {
    background: var(--accent-color);
    color: #000;
}
