/* Modern Announcements Styles - React Tasarımından Uyarlanmış */

/* Genel Icon Ayarları */
.announcements-section-modern i,
.announcements-section-modern .fas,
.announcements-section-modern .far,
.announcements-section-modern .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font Ayarları - React Tasarımından */
.announcements-section-modern {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.announcements-section-modern p,
.announcements-section-modern span,
.announcements-section-modern label,
.announcements-section-modern input,
.announcements-section-modern select,
.announcements-section-modern textarea,
.announcements-section-modern button,
.announcements-section-modern a,
.announcements-section-modern small,
.announcements-section-modern strong {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.announcements-section-modern h1,
.announcements-section-modern h2,
.announcements-section-modern h3,
.announcements-section-modern h4,
.announcements-section-modern h5,
.announcements-section-modern h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Icon'ları koru */
.announcements-section-modern i,
.announcements-section-modern .fas,
.announcements-section-modern .far,
.announcements-section-modern .fab,
.announcements-section-modern .fal,
.announcements-section-modern .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Section Title */
.announcements-section-modern {
    padding: 4rem 0;
    /* Transparent - ana gradient main-content'ten geliyor */
    background: transparent !important;
    background-color: transparent !important;
    position: relative;
    margin-top: 0 !important;
    border-top: none !important;
    z-index: 1;
}

/* Footer ile aynı gradient border - Header stili */
.announcements-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), rgba(6, 182, 212, 0.5), transparent);
    pointer-events: none;
    z-index: 1;
}

.announcements-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.75rem;
    text-align: center;
    letter-spacing: -0.025em;
}

.gradient-text-violet-fuchsia-cyan {
    background: linear-gradient(135deg, #a78bfa 0%, var(--accent-pink) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcements-section-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
}

/* Layout */
.announcements-layout-modern {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.announcements-main-content-modern {
    width: 100%;
}

/* Pinned Announcements Grid */
.pinned-announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pinned-announcement-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4/3;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.pinned-announcement-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.pinned-announcement-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.pinned-announcement-card:hover .pinned-announcement-image {
    transform: scale(1.1);
}

.pinned-announcement-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.pinned-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pinned-announcement-content {
    position: relative;
    z-index: 1;
}

.pinned-announcement-title {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pinned-announcement-date {
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    color: #cbd5e1;
}

/* Announcements List */
.announcements-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.announcement-card-modern {
    display: flex;
    gap: 0;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.announcement-card-modern:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
    background: rgba(30, 41, 59, 0.7);
}

.announcement-card-image-modern {
    width: 192px;
    min-width: 192px;
    height: auto;
    overflow: hidden;
}

.announcement-card-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-card-modern:hover .announcement-card-image-modern img {
    transform: scale(1.05);
}

.announcement-card-content-modern {
    flex: 1;
    padding: calc(1.5rem + 2px) 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    overflow: hidden;
}

.announcement-card-header-modern {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-card-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: white;
    line-height: 1.3;
    flex: 1;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
    min-width: 0;
}

.announcement-card-modern:hover .announcement-card-title-modern {
    color: #a78bfa;
}

.announcement-card-badge-modern {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
}

.announcement-card-excerpt-modern {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0;
    padding: 0;
    flex: 1;
    max-height: calc(1.6em * 3);
}

.announcement-card-meta-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    margin-top: 2px;
}

.announcement-meta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.announcement-read-more-link {
    color: #a78bfa;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.announcement-read-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a78bfa;
    transition: width 0.3s ease;
}

.announcement-read-more-link:hover {
    color: #c4b5fd;
}

.announcement-read-more-link:hover::after {
    width: 100%;
}

.announcement-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.announcement-meta-item i {
    font-size: 0.875rem;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
}

/* Pagination */
.announcements-pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.pagination-btn-modern {
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.pagination-btn-modern i {
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 0.875rem;
}

.pagination-btn-modern:hover:not(.disabled):not(.active) {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
    transform: translateY(-2px);
}

.pagination-btn-modern.active {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    border-color: var(--accent-purple);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.pagination-btn-modern.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sidebar */
.announcements-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* Store Widget - React Tasarımından */
.store-widget-react {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    border: none;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.3);
}

.store-widget-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00em0wLTEwYzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgNC0xLjc5IDQtNHptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDQtMS43OSA0LTR6Ii8+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.2;
}

.store-widget-content-react {
    position: relative;
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 1;
}

.store-widget-icon-container-react {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    margin-bottom: 1.5rem;
}

.store-widget-icon-container-react i {
    font-size: 2.5rem;
    color: white;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
}

.store-widget-title-react {
    font-size: 1.875rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    margin-bottom: 0.75rem;
}

.store-widget-desc-react {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}

.store-widget-btn-react {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.5rem;
    background: white;
    color: var(--accent-purple);
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.store-widget-btn-react:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #7c3aed;
}

.store-widget-btn-react i {
    font-size: 1.25rem;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
}

/* Discord Widget - React Tasarımından */
.discord-widget-react {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    overflow: hidden;
}

.discord-widget-header-react {
    background: linear-gradient(to right, #4f46e5, #4338ca);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.5rem 0.5rem 0 0;
}

.discord-header-left-react {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discord-icon-react {
    width: 2rem;
    height: 2rem;
    color: white;
    flex-shrink: 0;
}

.discord-title-react {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: white;
}

.discord-online-badge-react {
    background: #22c55e;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
}

.discord-widget-content-react {
    background: rgba(30, 41, 59, 0.5);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.discord-category-react {
    margin-bottom: 0;
}

.discord-category-header-react {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.discord-category-header-react i {
    font-size: 1rem;
    color: #94a3b8;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
}

.discord-channels-react {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.discord-channel-item-react {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.discord-channel-item-react:hover {
    background: rgba(30, 41, 59, 0.5);
    color: white;
}

.discord-channel-item-react i {
    font-size: 1rem;
    color: #64748b;
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discord-channel-item-react:hover i {
    color: #cbd5e1;
}

.discord-join-btn-react {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.5rem;
    background: #4f46e5;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.discord-join-btn-react:hover {
    background: #4338ca;
}

.discord-icon-react-small {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
    flex-shrink: 0;
}

/* No Announcements */
.no-announcements-modern {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
}

.no-announcements-modern i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #64748b;
}

.no-announcements-modern p {
    font-family: 'Inter', sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
    .announcements-layout-modern {
        grid-template-columns: 1fr;
    }
    
    .announcements-sidebar-modern {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pinned-announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .store-widget-react {
        min-height: auto;
    }
    
    .discord-widget-react {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .announcements-section-modern {
        padding: 2rem 0;
    }
    
    .announcements-section-title {
        font-size: 2rem;
    }
    
    .pinned-announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .announcement-card-modern {
        flex-direction: column;
    }
    
    .announcement-card-image-modern {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .announcements-sidebar-modern {
        grid-template-columns: 1fr;
    }
    
    .announcement-card-meta-modern {
        flex-wrap: wrap;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-meta-left {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .announcement-read-more-link {
        align-self: flex-end;
    }
    
    .store-widget-content-react {
        padding: 1.5rem;
    }
    
    .store-widget-title-react {
        font-size: 1.5rem;
    }
    
    .store-widget-desc-react {
        font-size: 1rem;
    }
    
    .store-widget-btn-react {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .discord-widget-content-react {
        padding: 1rem;
    }
    
    .discord-join-btn-react {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
}

/* Announcement Detail Page */
.announcement-detail-modern {
    min-height: 100vh;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    padding: 2rem 0 4rem 0;
}

.announcement-detail-modern,
.announcement-detail-modern * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.announcement-detail-modern h1,
.announcement-detail-modern h2,
.announcement-detail-modern h3,
.announcement-detail-modern h4,
.announcement-detail-modern h5,
.announcement-detail-modern h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.announcement-detail-modern .container {
    display: flex;
    flex-direction: column;
}

.back-button-modern {
    margin-left: auto !important;
    margin-right: 1rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.back-button-modern:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.announcement-detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.announcement-detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: 2;
}

.announcement-detail-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.announcement-featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.announcement-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcement-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 50%, var(--accent-cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-placeholder-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

.announcement-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.announcement-category-badge-modern {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.announcement-detail-content {
    padding: 2rem;
}

.announcement-detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.announcement-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.announcement-meta-item-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-modern {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.announcement-separator {
    height: 1px;
    background: rgba(148, 163, 184, 0.1);
    margin: 1.5rem 0;
}

.announcement-detail-body {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.announcement-detail-body h2,
.announcement-detail-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.announcement-detail-body ul,
.announcement-detail-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.announcement-detail-body li {
    margin: 0.5rem 0;
}

/* Comments Section */
.announcement-comments-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 2rem 1rem 2rem;
    color: white;
}

.announcement-comments-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
}

.announcement-comments-content {
    padding: 0 2rem 2rem 2rem;
}

.comment-form-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-textarea-modern {
    width: 100%;
    min-height: 96px;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.comment-textarea-modern:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
}

.comment-submit-btn-modern {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-submit-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.comment-login-prompt {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
}

.comment-login-prompt p {
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.comment-login-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.comment-login-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.comments-list-modern {
    margin-top: 1.5rem;
}

.no-comments-modern {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
}

.no-comments-modern i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #64748b;
}

.no-comments-modern p {
    font-family: 'Inter', sans-serif;
}

/* Sidebar */
.announcement-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    align-self: start;
    order: 1;
}

.sidebar-card-modern {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.sidebar-card-title-modern {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    margin-bottom: 1rem;
}

.related-announcements-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-announcement-item-modern {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-announcement-item-modern:hover {
    background: rgba(139, 92, 246, 0.1);
}

.related-announcement-item-modern img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.related-announcement-content-modern {
    flex: 1;
    min-width: 0;
}

.related-announcement-title-modern {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-announcement-item-modern:hover .related-announcement-title-modern {
    color: #a78bfa;
}

.related-announcement-date-modern {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
}

.author-profile-card {
    padding: 1.5rem 1rem !important;
}

.author-info-modern {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-large-modern {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(139, 92, 246, 0.6) !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.author-name-modern {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 !important;
}

/* Profile Button */
.author-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: white !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    margin-top: 0.25rem;
}

.author-profile-button:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

/* Badges Grid */
.author-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    width: 100%;
    margin-top: 0.5rem;
}

.author-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.2rem;
    border-radius: 0.35rem;
    font-size: 0.55rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    min-height: 38px;
    transition: all 0.3s ease;
}

.author-badge i {
    font-size: 0.6rem;
    margin-bottom: 0.1rem;
}

.author-badge span {
    font-size: 0.45rem;
    line-height: 1.1;
}

.author-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge-gem-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-gem-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.badge-ribbon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge-chat-pink {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.3);
}

.badge-silver {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}

.badge-chat-green {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(52, 211, 153, 0.3);
}

.badge-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.badge-chat-orange {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.3);
}

/* Main Badge */
.author-main-badge {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0.5rem auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-main-badge i:first-child {
    position: absolute;
    font-size: 2.5rem;
    color: #06b6d4;
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}

.author-main-badge i:last-child {
    position: absolute;
    font-size: 1.25rem;
    color: #fbbf24;
    top: 15%;
    filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.5));
}

/* Stats */
.author-stats-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.author-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: #cbd5e1;
}

.author-stat-item i {
    font-size: 0.875rem;
    color: #06b6d4;
    width: 16px;
    text-align: center;
}

.author-stat-item span {
    flex: 1;
}

/* Responsive Detail Page */
@media (max-width: 1024px) {
    .announcement-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .announcement-detail-sidebar {
        position: static;
        order: 1;
    }
    
    .announcement-detail-main {
        order: 2;
    }
    
    .author-profile-card {
        padding: 1.25rem 0.875rem !important;
    }
    
    .author-badges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    
    .author-badge {
        min-height: 35px;
        padding: 0.25rem 0.15rem;
    }
    
    .author-badge i {
        font-size: 0.55rem;
    }
    
    .author-badge span {
        font-size: 0.4rem;
    }
}

@media (max-width: 768px) {
    .author-profile-card {
        padding: 1rem 0.75rem !important;
    }
    
    .author-info-modern {
        gap: 0.5rem;
    }
    
    .author-avatar-large-modern {
        width: 70px !important;
        height: 70px !important;
        border: 2px solid rgba(139, 92, 246, 0.6) !important;
    }
    
    .author-name-modern {
        font-size: 1rem !important;
    }
    
    .author-profile-button {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.8rem !important;
    }
    
    .author-badges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
        margin-top: 0.5rem;
    }
    
    .author-badge {
        min-height: 35px;
        padding: 0.25rem 0.15rem;
    }
    
    .author-badge i {
        font-size: 0.55rem;
    }
    
    .author-badge span {
        font-size: 0.4rem;
    }
    
    .author-stats-modern {
        gap: 0.4rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .author-stat-item {
        font-size: 0.7rem;
        gap: 0.4rem;
    }
    
    .author-stat-item i {
        font-size: 0.8rem;
        width: 14px;
    }
}

@media (max-width: 768px) {
    .announcement-detail-modern {
        padding: 1rem 0 2rem 0;
    }
    
    .announcement-featured-image {
        height: 250px;
    }
    
    .announcement-detail-title {
        font-size: 1.75rem;
    }
    
    .announcement-detail-content {
        padding: 1.5rem;
    }
    
    .announcement-comments-header,
    .announcement-comments-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .announcement-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

