:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #818cf8;
    --secondary-dark: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --grey-50: #f9fafb;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-300: #d1d5db;
    --grey-400: #9ca3af;
    --grey-500: #6b7280;
    --grey-600: #4b5563;
    --grey-700: #374151;
    --grey-800: #1f2937;
    --grey-900: #111827;
    
    --pink: #ec4899;
    --pink-light: #f472b6;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: var(--grey-800);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.navbar-logo {
    height: 32px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.navbar-start {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.75rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu.is-active {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    animation: slideDown 0.3s ease;
    transform-origin: top;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.navbar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.navbar-menu.is-active .navbar-start,
.navbar-menu.is-active .navbar-end {
    flex-direction: column;
    width: 100%;
}

.navbar-menu.is-active .navbar-item {
    width: 100%;
    justify-content: flex-start;
}

.navbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    color: var(--grey-600);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: currentColor;
}

.navbar-item:hover {
    background: var(--grey-100);
    color: var(--primary);
}

.navbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.navbar-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
}

.navbar-item.has-dropdown.is-hoverable:hover .navbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.navbar-link::after {
    content: '';
    border: 2px solid var(--grey-400);
    border-right: 0;
    border-top: 0;
    width: 6px;
    height: 6px;
    transform: rotate(-45deg);
    margin-left: 0.25rem;
    transition: var(--transition);
}

.navbar-item.has-dropdown:hover .navbar-link::after {
    transform: rotate(135deg);
    border-color: var(--primary);
}

.navbar-divider {
    height: 1px;
    background: var(--grey-200);
    margin: 0.5rem 0;
}

.navbar-dropdown .navbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    width: 100%;
}

.navbar-dropdown .navbar-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.navbar-dropdown.is-right {
    left: auto;
    right: 0;
}

.navbar-burger {
    display: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--grey-100);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.navbar-burger:hover {
    background: var(--grey-200);
}

.navbar-burger svg {
    width: 22px;
    height: 22px;
    color: var(--grey-700);
    transition: all 0.2s ease;
}

.navbar-burger .burger-icon-close {
    display: none;
}

.navbar-burger.is-active .burger-icon-open {
    display: none;
}

.navbar-burger.is-active .burger-icon-close {
    display: block;
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-body {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--grey-500);
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--grey-50);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--grey-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--grey-700);
}

.card-content {
    padding: 1.5rem;
}

/* Post Cards */
.posts-section {
    padding: 1rem 0;
}

.create-post-btn {
    margin-bottom: 1rem;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    background: white;
    color: var(--primary);
    font-weight: 500;
}

.sort-toggle:hover {
    background: var(--primary);
    color: white;
}

.sort-arrow {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.posts-main {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.posts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media screen and (min-width: 600px) {
    .posts-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 900px) {
    .posts-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.post-card {
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-type-badge .tag {
    font-size: 0.75rem;
    font-weight: 600;
}

.post-time {
    font-size: 0.875rem;
    color: var(--grey-400);
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: var(--grey-800);
}

.post-title a:hover {
    color: var(--primary);
}

.post-preview {
    color: var(--grey-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-thumbnail {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--grey-100);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.author-name {
    font-weight: 500;
    color: var(--grey-700);
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--grey-500);
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Post Detail */
.post-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    margin-bottom: 1.5rem;
}

.post-detail-card {
    margin-bottom: 2rem;
}

.post-detail-card .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.post-detail-card .post-title {
    font-size: 1.75rem;
}

.post-detail-card .post-body {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--grey-700);
    margin: 1.5rem 0;
}

.post-image {
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-image img {
    width: 100%;
}

.post-detail-card .post-footer {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

/* Create Post */
.create-post-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.create-form .post-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.post-type-option {
    cursor: pointer;
}

.post-type-option input {
    display: none;
}

.post-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.post-type-option input:checked + .post-type-label {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.post-type-icon {
    font-size: 1.5rem;
}

.notice-card {
    height: fit-content;
}

.notice-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.notice-list li {
    padding: 0.5rem 0;
    color: var(--grey-600);
}

/* Comments */
.comments-section {
    margin-top: 2rem;
}

.comments-list {
    margin-top: 1.5rem;
}

.comment {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-100);
}

.comment-reply {
    margin-left: 3rem;
    padding-left: 1rem;
    border-left: 2px solid var(--grey-200);
}

.comment-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--grey-700);
}

.comment-time {
    font-size: 0.875rem;
    color: var(--grey-400);
}

.comment-body {
    color: var(--grey-600);
    line-height: 1.6;
}

.comment-actions {
    margin-top: 0.5rem;
}

.comment-actions button {
    background: none;
    border: none;
    color: var(--grey-500);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
    transition: var(--transition);
}

.comment-actions button:hover {
    color: var(--primary);
}

.comment-actions .delete-comment-btn {
    color: var(--grey-400);
}

.comment-actions .delete-comment-btn:hover {
    color: var(--danger);
}

.reply-form-container {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--grey-50);
    border-radius: var(--radius);
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cancel-reply-btn {
    background: none;
    border: none;
    color: var(--grey-500);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.cancel-reply-btn:hover {
    color: var(--grey-700);
    text-decoration: underline;
}

/* Profile */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-card {
    text-align: center;
}

.profile-header {
    padding: 1.5rem;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    margin-bottom: 1rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--grey-50);
    border-radius: var(--radius);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-item {
    padding: 1rem;
    border-bottom: 1px solid var(--grey-100);
}

.post-item:last-child {
    border-bottom: none;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f1f5f9;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-header {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    opacity: 0.9;
}

.auth-form {
    padding: 2rem;
}

.auth-footer {
    padding: 1.5rem 2rem;
    background: var(--grey-50);
    text-align: center;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    min-height: 38px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-sizing: border-box;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button.is-primary {
    background: var(--primary);
    color: white;
}

.button.is-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button.is-secondary {
    background: var(--grey-100);
    color: var(--grey-700);
}

.button.is-light {
    background: var(--grey-100);
    color: var(--grey-600);
}

.button.is-light:hover {
    background: var(--grey-200);
}

.button.is-success {
    background: var(--success);
    color: white;
}

.button.is-warning {
    background: var(--warning);
    color: white;
}

.button.is-danger {
    background: var(--danger);
    color: white;
}

.button.is-link {
    background: transparent;
    color: var(--primary);
}

.button.is-link:hover {
    background: var(--grey-100);
}

.buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.button.is-fullwidth {
    width: 100%;
}

.button.is-medium {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.button.is-large {
    min-height: 52px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.button .icon {
    font-size: 1rem;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.is-size-small {
    font-size: 0.75rem;
}

.button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.button.is-small svg {
    width: 14px;
    height: 14px;
}

.button.is-small {
    min-height: 32px;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
}

.button.is-medium svg {
    width: 18px;
    height: 18px;
}

.button.is-large svg {
    width: 20px;
    height: 20px;
}

/* Inputs */
.input, .textarea, .select select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    background: white;
    transition: var(--transition);
    outline: none;
}

.input:focus, .textarea:focus, .select select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.field {
    margin-bottom: 1.25rem;
}

.field.has-addons {
    display: flex;
}

.field.has-addons .control {
    flex: 1;
}

.field.has-addons .control:last-child .input,
.field.has-addons .control:last-child .button {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.field.has-addons .control:first-child .input {
    border-radius: var(--radius) 0 0 var(--radius);
}

.field.has-addons .control:not(:last-child) .input {
    border-right: none;
}

.label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--grey-700);
}

.help {
    font-size: 0.875rem;
    color: var(--grey-500);
    margin-top: 0.25rem;
}

.help.is-danger {
    color: var(--danger);
}

/* Checkbox */
.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

/* Select */
.select {
    display: inline-block;
    position: relative;
}

.select select {
    padding-right: 2.5rem;
    appearance: none;
}

.select::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--grey-500);
    pointer-events: none;
}

/* File Input */
.file {
    display: flex;
    align-items: stretch;
}

.file.has-name .file-input {
    display: none;
}

.file-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--grey-100);
    border: 2px dashed var(--grey-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.file:hover .file-cta {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.file-name {
    padding: 0.75rem 1rem;
    border: 2px solid var(--grey-200);
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: white;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.tag.is-pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--pink);
}

.tag.is-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.tag.is-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.tag.is-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.tag.is-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.tag.is-link {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.tag.is-light {
    background: var(--grey-100);
    color: var(--grey-600);
}

/* Notifications */
.notification {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification.is-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.notification.is-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.notification.is-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.notification.is-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.pagination-link, .pagination-previous, .pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    background: white;
    color: var(--grey-600);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-link:hover, .pagination-previous:hover, .pagination-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-link.is-current {
    background: var(--primary);
    border-color: transparent;
    color: white;
}

.pagination-ellipsis {
    color: var(--grey-400);
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--grey-200);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--grey-500);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--grey-700);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--grey-500);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--grey-100);
    text-align: center;
    color: var(--grey-500);
    font-size: 0.875rem;
}

.footer-credit {
    margin-top: 0.5rem;
    color: var(--primary);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .create-post-container {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-menu.is-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        margin: 0 1rem;
        border-radius: var(--radius-lg);
        animation: slideDown 0.3s ease;
        transform-origin: top;
    }
    
    .navbar-menu.is-active .navbar-start,
    .navbar-menu.is-active .navbar-end {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-menu.is-active .navbar-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0.875rem 1rem;
        border-radius: var(--radius);
        animation: fadeInUp 0.3s ease backwards;
    }
    
    .navbar-menu.is-active .navbar-start .navbar-item:nth-child(1) { animation-delay: 0.05s; }
    .navbar-menu.is-active .navbar-start .navbar-item:nth-child(2) { animation-delay: 0.1s; }
    .navbar-menu.is-active .navbar-start .navbar-item:nth-child(3) { animation-delay: 0.15s; }
    .navbar-menu.is-active .navbar-start .navbar-item:nth-child(4) { animation-delay: 0.2s; }
    
    .navbar-menu.is-active .navbar-end .navbar-item,
    .navbar-menu.is-active .navbar-end .buttons {
        animation: fadeInUp 0.3s ease 0.25s backwards;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-burger {
        display: flex;
    }
    
    .navbar-burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .navbar-burger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--grey-600);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .create-form .post-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utilities */
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.is-flex { display: flex; }
.is-justify-content-space-between { justify-content: space-between; }
.is-justify-content-center { justify-content: center; }
.is-align-items-center { align-items: center; }
.has-text-centered { text-align: center; }
.has-text-right { text-align: right; }
.has-text-grey { color: var(--grey-500); }
.has-text-danger { color: var(--danger); }
.is-fullwidth { width: 100%; }
.is-expanded { flex: 1; }

/* Empty States */
.empty-comments {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-comments .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Admin specific */
.admin-login-page .auth-container {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.maintenance-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f8fafc;
}

.maintenance-container {
    text-align: center;
    padding: 2rem;
}

.maintenance-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.maintenance-content h1 {
    font-size: 2.5rem;
    color: var(--grey-700);
    margin-bottom: 1rem;
}

.maintenance-content p {
    color: var(--grey-500);
    font-size: 1.125rem;
}

.maintenance-time {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--warning);
}

/* Pinned Posts */
.pinned-posts-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 2px solid var(--warning);
}

.pinned-posts-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--warning);
}

.pinned-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card.is-pinned {
    border: 2px solid var(--warning);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.post-card.is-pinned:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.3);
}
