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

body {
    font-family: 'Verdana', 'Tahoma', 'Lucida Grande', sans-serif;
    font-size: 11px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8ed 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Web 2.0 Pods */
.pod {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 1px 3px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid #ddd;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
    border: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 24px;
    text-transform: lowercase;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.beta-badge {
    background: #ff6600;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Navigation */
.nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s;
    text-transform: lowercase;
    font-weight: bold;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Welcome Section */
.welcome {
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.welcome h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.welcome p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Glossy Buttons */
.btn-primary {
    background: linear-gradient(180deg, #7ed321 0%, #5fa818 50%, #4a8c0f 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    text-transform: lowercase;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 8px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Blog Section */
.section-title {
    font-size: 16px;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 20px;
}

/* Blog Posts */
.post {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.post:hover {
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 14px;
    color: #357abd;
    font-weight: bold;
}

.post-date {
    font-size: 10px;
    color: #999;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 10px;
}

.post-content {
    font-size: 11px;
    line-height: 1.7;
    color: #555;
}

.post-tags {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 9px;
    text-transform: lowercase;
}

/* About Section */
.about h2 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about p {
    font-size: 11px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.badges {
    display: flex;
    gap: 10px;
}

.badge {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge.verified {
    background: linear-gradient(180deg, #7ed321 0%, #5fa818 100%);
    color: white;
}

.badge.rss {
    background: linear-gradient(180deg, #ff6600 0%, #e55a00 100%);
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    color: #666;
}

.footer p {
    font-size: 10px;
    margin-bottom: 5px;
}

.made-with {
    color: #999;
    font-style: italic;
}

/* Empty State */
.empty-posts {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    body {
        padding: 10px;
    }
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-like, .btn-comment {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-like:hover, .btn-comment:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 3px 6px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-like:active, .btn-comment:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.like-count {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Comments Section */
.comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.comments-list {
    margin-bottom: 15px;
}

.comment {
    background: linear-gradient(180deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: #357abd;
    font-size: 10px;
}

.comment-date {
    font-size: 9px;
    color: #999;
}

.comment-text {
    font-size: 10px;
    line-height: 1.6;
    color: #555;
}

.no-comments {
    font-size: 10px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 15px;
}

/* Comment Form */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-input {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 10px;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    background: #fafafa;
}

.comment-input:focus {
    outline: none;
    border-color: #4a90d9;
    background: #fff;
}

.comment-textarea {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 10px;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    background: #fafafa;
    resize: vertical;
    min-height: 60px;
}

.comment-textarea:focus {
    outline: none;
    border-color: #4a90d9;
    background: #fff;
}

.btn-submit-comment {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    text-transform: lowercase;
    box-shadow: 
        0 3px 5px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    align-self: flex-start;
}

.btn-submit-comment:hover {
    background: linear-gradient(180deg, #5a9fe9 0%, #458acd 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-submit-comment:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 3px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Sparkle Animation for Likes */
@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.btn-like:active {
    animation: sparkle 0.3s ease-in-out;
}

/* Comment Slide-in Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment {
    animation: slideIn 0.3s ease-out;
}

/* Loading Animation for Comments */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.comment.loading {
    animation: pulse 1s ease-in-out infinite;
}

/* Tag Cloud Section */
.tag-cloud-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 10px;
}

.tag-cloud-item {
    background: linear-gradient(180deg, #f0f8ff 0%, #e6f2ff 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    color: #357abd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #d0e8ff;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
    text-transform: lowercase;
}

.tag-cloud-item:hover {
    background: linear-gradient(180deg, #357abd 0%, #2a5a8d 100%);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.4);
    border-color: #357abd;
}

.tag-cloud-item:active {
    transform: translateY(-1px) scale(1.05);
}

.no-tags {
    font-size: 10px;
    color: #999;
    font-style: italic;
}

/* Lesbian Tips Section */
.lesbian-tips-section {
    background: linear-gradient(180deg, #fff0f5 0%, #ffe4ec 100%);
}

.tip-card {
    background: white;
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid #ffb6c1;
    transition: all 0.3s;
}

.tip-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.tip-title {
    font-size: 13px;
    color: #e91e63;
    font-weight: bold;
    margin-bottom: 10px;
}

.tip-content {
    font-size: 11px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.btn-small {
    background: linear-gradient(180deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    border: none;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    text-transform: lowercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-small:hover {
    background: linear-gradient(180deg, #f48fb1 0%, #e91e63 100%);
    transform: translateY(-1px);
}

.no-tips {
    font-size: 10px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}
    text-align: center;
    padding: 20px;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
}

body.dark-mode .pod {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.3),
        0 1px 3px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid #3a3a5a;
}

body.dark-mode .welcome h2,
body.dark-mode .about h2,
body.dark-mode .section-title {
    color: #e0e0e0;
}

body.dark-mode .welcome p,
body.dark-mode .about p,
body.dark-mode .post-content,
body.dark-mode .comment-text {
    color: #b0b0b0;
}

body.dark-mode .post-title {
    color: #64b5f6;
}

body.dark-mode .tag-cloud-item {
    background: linear-gradient(180deg, #2a2a4a 0%, #353565 100%);
    color: #64b5f6;
    border-color: #3a3a5a;
}

body.dark-mode .tag-cloud-item:hover {
    background: linear-gradient(180deg, #64b5f6 0%, #42a5f5 100%);
    color: #1a1a2e;
    border-color: #64b5f6;
}

body.dark-mode .comment {
    background: linear-gradient(180deg, #252550 0%, #2a2a5a 100%);
    border-color: #3a3a5a;
}

body.dark-mode .comment-input,
body.dark-mode .comment-textarea {
    background: #1e1e3f;
    border-color: #3a3a5a;
    color: #e0e0e0;
}

body.dark-mode .comment-input:focus,
body.dark-mode .comment-textarea:focus {
    background: #252550;
    border-color: #64b5f6;
}

body.dark-mode .btn-like,
body.dark-mode .btn-comment {
    background: linear-gradient(180deg, #2a2a4a 0%, #3a3a5a 100%);
    color: #b0b0b0;
}

body.dark-mode .btn-like:hover,
body.dark-mode .btn-comment:hover {
    background: linear-gradient(180deg, #3a3a5a 0%, #4a4a6a 100%);
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 3px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

body.dark-mode .btn-theme-toggle {
    background: linear-gradient(180deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    text-shadow: none;
}

/* Reading Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a90d9 0%, #357abd 50%, #2a5a8d 100%);
    width: 0%;
    transition: width 0.2s ease-out;
    box-shadow: 0 0 10px rgba(74, 144, 217, 0.5);
}

body.dark-mode .progress-bar {
    background: linear-gradient(90deg, #64b5f6 0%, #42a5f5 50%, #2196f3 100%);
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

/* Search Section */
.search-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 20px;
    border: 2px solid #ddd;
    font-size: 12px;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    background: #fafafa;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #4a90d9;
    background: #fff;
    box-shadow: 
        0 0 0 3px rgba(74, 144, 217, 0.1),
        inset 0 1px 3px rgba(0,0,0,0.1);
}

.search-btn {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 
        0 3px 5px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.search-btn:hover {
    background: linear-gradient(180deg, #5a9fe9 0%, #458acd 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

body.dark-mode .search-section {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
}

body.dark-mode .search-input {
    background: #1a1a2e;
    border-color: #3a3a5a;
    color: #e0e0e0;
}

body.dark-mode .search-input:focus {
    background: #252550;
    border-color: #64b5f6;
}

body.dark-mode .search-btn {
    background: linear-gradient(180deg, #64b5f6 0%, #42a5f5 100%);
}

/* Search Results */
.search-results {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.search-result-item {
    padding: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
}

.search-result-item:hover {
    background: #e3f2fd;
    border-color: #4a90d9;
    transform: translateX(5px);
}

.search-result-title {
    font-weight: bold;
    color: #357abd;
    margin-bottom: 5px;
}

.search-result-excerpt {
    font-size: 10px;
    color: #666;
}

.no-search-results {
    font-size: 10px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 15px;
}

body.dark-mode .search-results {
    border-top-color: #3a3a5a;
}

body.dark-mode .search-result-item {
    background: #252550;
    border-color: #3a3a5a;
}

body.dark-mode .search-result-item:hover {
    background: #1e3a5f;
    border-color: #64b5f6;
}

body.dark-mode .search-result-title {
    color: #64b5f6;
}

body.dark-mode .search-result-excerpt {
    color: #b0b0b0;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reading-time {
    font-size: 9px;
    color: #999;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 10px;
}

body.dark-mode .reading-time {
    background: #2a2a4a;
    color: #b0b0b0;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.btn-share {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    border: none;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.2s;
}

.btn-share:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 
        0 3px 6px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

body.dark-mode .btn-share {
    background: linear-gradient(180deg, #2a2a4a 0%, #3a3a5a 100%);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.2),
        0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    min-width: 250px;
    animation: slideIn 0.3s ease-out;
}

.toast-success {
    border-left: 4px solid #4CAF50;
}

.toast-error {
    border-left: 4px solid #f44336;
}

.toast-info {
    border-left: 4px solid #2196F3;
}

.toast-icon {
    font-size: 16px;
}

.toast-message {
    flex: 1;
    font-size: 11px;
    color: #333;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

body.dark-mode .toast {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
    border-color: #3a3a5a;
}

body.dark-mode .toast-message {
    color: #e0e0e0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

.modal {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    animation: scaleIn 0.2s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.modal-header h3 {
    font-size: 16px;
    color: #2c3e50;
}

.btn-close {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

kbd {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 11px;
    font-family: monospace;
    box-shadow: 0 2px 0 #ccc;
    min-width: 30px;
    text-align: center;
}

body.dark-mode .modal {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
    border: 1px solid #3a3a5a;
}

body.dark-mode .modal-header {
    border-bottom-color: #3a3a5a;
}

body.dark-mode .modal-header h3 {
    color: #e0e0e0;
}

body.dark-mode kbd {
    background: #2a2a4a;
    border-color: #3a3a5a;
    box-shadow: 0 2px 0 #3a3a5a;
    color: #e0e0e0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Keyboard Hint */
.keyboard-hint {
    font-size: 9px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

body.dark-mode .keyboard-hint {
    color: #b0b0b0;
}

/* Particles Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

/* Games Section */
.games-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.game-container {
    background: linear-gradient(180deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-header h3 {
    font-size: 14px;
    color: #2c3e50;
    margin: 0;
}

.game-score {
    font-size: 12px;
    font-weight: bold;
    color: #4a90d9;
    background: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#snake-canvas {
    background: #1a1a2e;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid #4a90d9;
}

.game-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.btn-game {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 
        0 3px 5px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-game:hover {
    background: linear-gradient(180deg, #5a9fe9 0%, #458acd 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.game-hint {
    text-align: center;
    font-size: 10px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

/* Tic Tac Toe */
.ttt-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}

.ttt-cell {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ttt-cell:hover {
    background: #f0f8ff;
    transform: scale(1.05);
}

.ttt-cell.x {
    color: #4a90d9;
}

.ttt-cell.o {
    color: #ff6b6b;
}

.ttt-cell.winner {
    background: #ffd700;
    animation: winner 0.5s ease-in-out infinite;
}

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

/* Tools Section */
.tools-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.tool-container {
    background: linear-gradient(180deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.tool-container h3 {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Pomodoro Timer */
.pomodoro-display {
    font-size: 48px;
    font-weight: bold;
    color: #4a90d9;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 3px solid #4a90d9;
}

.pomodoro-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.btn-tool {
    background: linear-gradient(180deg, #7ed321 0%, #5fa818 50%, #4a8c0f 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 
        0 3px 5px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-tool:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.pomodoro-modes {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-mode {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #555;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mode:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
}

.btn-mode.active {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
}

/* Drawing Canvas */
#drawing-canvas {
    background: #fff;
    border: 3px solid #ddd;
    border-radius: 10px;
    display: block;
    margin: 0 auto 15px;
    cursor: crosshair;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.drawing-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#draw-color {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

#draw-size {
    width: 100px;
}

/* Dark Mode */
body.dark-mode .games-section,
body.dark-mode .tools-section {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
}

body.dark-mode .game-container,
body.dark-mode .tool-container {
    background: linear-gradient(180deg, #252550 0%, #2a2a5a 100%);
    border-color: #3a3a5a;
}

body.dark-mode .game-header h3,
body.dark-mode .tool-container h3 {
    color: #e0e0e0;
}

body.dark-mode .game-score {
    background: #1e1e3f;
    color: #64b5f6;
}

body.dark-mode #snake-canvas {
    background: #0a0a15;
    border-color: #64b5f6;
}

body.dark-mode .ttt-cell {
    background: #1e1e3f;
    border-color: #3a3a5a;
    color: #e0e0e0;
}

body.dark-mode .ttt-cell:hover {
    background: #1e3a5f;
}

body.dark-mode .game-hint {
    color: #b0b0b0;
}

body.dark-mode .pomodoro-display {
    background: #1e1e3f;
    color: #64b5f6;
    border-color: #64b5f6;
}

body.dark-mode #drawing-canvas {
    background: #1e1e3f;
    border-color: #3a3a5a;
}

/* Emoji Reactions */
.emoji-reactions {
    display: flex;
    gap: 5px;
}

.btn-emoji {
    background: linear-gradient(180deg, #f0f8ff 0%, #e6f2ff 100%);
    border: 2px solid #ddd;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-emoji:hover {
    transform: translateY(-3px) scale(1.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
}

.btn-emoji:active {
    transform: translateY(-1px) scale(1.1);
}

/* Weather Widget */
.weather-display {
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    margin-bottom: 15px;
}

.weather-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.weather-temp {
    font-size: 36px;
    font-weight: bold;
    color: #4a90d9;
    margin-bottom: 5px;
}

.weather-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.weather-location {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

/* Stats Chart */
.stats-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.legend-item {
    font-size: 11px;
    color: #666;
}

.legend-item span {
    font-weight: bold;
    color: #4a90d9;
}

/* Dark Mode for new features */
body.dark-mode .btn-emoji {
    background: #1e3a5f;
    border-color: #3a3a5a;
}

body.dark-mode .weather-display {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
}

body.dark-mode .weather-temp {
    color: #64b5f6;
}

body.dark-mode .weather-desc,
body.dark-mode .weather-location {
    color: #b0b0b0;
}

body.dark-mode .legend-item {
    color: #b0b0b0;
}

body.dark-mode .legend-item span {
    color: #64b5f6;
}

/* Page System */
.page {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.page.hidden {
    display: none;
}

/* Active nav link */
.nav-link.active {
    background: rgba(255,255,255,0.2) !important;
}

body.dark-mode .nav-link.active {
    background: rgba(255,255,255,0.15) !important;
}

/* Snake Canvas Focus */
#snake-canvas:focus {
    outline: 2px solid #4a90d9;
    outline-offset: 4px;
    border-radius: 10px;
}

body.dark-mode #snake-canvas:focus {
    outline-color: #64b5f6;
}

/* ============ MONITOR DASHBOARD ============ */

.monitor-header {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    margin-bottom: 20px;
}

.monitor-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.monitor-title h2 {
    font-size: 16px;
    color: #2c3e50;
    margin: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: bold;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.status-dot.online {
    background: linear-gradient(180deg, #7ed321 0%, #5fa818 100%);
    box-shadow: 0 2px 4px rgba(126, 211, 33, 0.4);
}

.status-dot.medium {
    background: linear-gradient(180deg, #ffd700 0%, #ffb700 100%);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
}

.status-dot.warning {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.4);
    animation: pulse 1s ease-in-out infinite;
}

.status-text {
    color: #666;
}

.last-update {
    font-size: 10px;
    color: #999;
    text-align: right;
}

/* Quick Stats */
.monitor-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stat-icon {
    font-size: 20px;
}

.stat-name {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.stat-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    border-radius: 10px;
    transition: width 0.5s ease-out;
    box-shadow: 0 2px 4px rgba(74, 144, 217, 0.3);
}

.stat-card.ram .stat-bar-fill {
    background: linear-gradient(180deg, #7ed321 0%, #5fa818 100%);
    box-shadow: 0 2px 4px rgba(126, 211, 33, 0.3);
}

.stat-card.disk .stat-bar-fill {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.stat-card.network .stat-bar-fill {
    background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.3);
}

.stat-detail {
    font-size: 10px;
    color: #999;
}

/* Monitor Sections */
.monitor-section {
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 14px;
    color: #2c3e50;
    margin: 0;
}

.time-range {
    display: flex;
    gap: 5px;
}

.btn-time {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    border: none;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-time:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
}

.btn-time.active {
    background: linear-gradient(180deg, #4a90d9 0%, #357abd 100%);
    color: white;
}

.chart-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.upload {
    background: #ff6b6b;
}

.legend-color.download {
    background: #4a90d9;
}

/* Process List */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.process-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.process-item:hover {
    background: #f8f9fa;
    border-color: #4a90d9;
}

.process-name {
    font-size: 12px;
    font-weight: bold;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
}

.process-stats {
    display: flex;
    gap: 15px;
    font-size: 10px;
}

.proc-cpu {
    color: #4a90d9;
    font-weight: bold;
}

.proc-ram {
    color: #7ed321;
    font-weight: bold;
}

.monitor-note {
    font-size: 9px;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

/* Dark Mode */
body.dark-mode .monitor-header,
body.dark-mode .monitor-section,
body.dark-mode .stat-card {
    background: linear-gradient(180deg, #1e1e3f 0%, #252550 100%);
    border-color: #3a3a5a;
}

body.dark-mode .monitor-title h2,
body.dark-mode .section-header h3,
body.dark-mode .stat-name,
body.dark-mode .stat-value,
body.dark-mode .process-name {
    color: #e0e0e0;
}

body.dark-mode .status-text,
body.dark-mode .stat-detail,
body.dark-mode .last-update {
    color: #b0b0b0;
}

body.dark-mode .btn-time {
    background: #2a2a4a;
    color: #b0b0b0;
}

body.dark-mode .btn-time:hover {
    background: #35355a;
}

body.dark-mode .process-item {
    background: #1e1e3f;
    border-color: #3a3a5a;
}

body.dark-mode .process-item:hover {
    background: #252550;
    border-color: #64b5f6;
}

body.dark-mode .legend-item {
    color: #b0b0b0;
}

body.dark-mode .monitor-note {
    color: #b0b0b0;
}
