/**
 * UK Militia Forces v3 - Custom Styles & Font Definitions
 *
 * @package UKMilitia_v3
 * @since 3.0.0
 */

/* ============================================
   FONT DECLARATIONS
   ============================================ */
@font-face {
    font-family: 'Anurati';
    src: url('../fonts/Anurati-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(84, 172, 250, 0.4);
}

/* ============================================
   MEMBERS BADGE
   ============================================ */
.members-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-blue);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.members-badge i {
    font-size: 16px;
}

/* ============================================
   EVE CHARACTER DISPLAY
   ============================================ */
.eve-character-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.eve-character-display img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 3px solid var(--border-medium);
    margin-bottom: 1rem;
}

.eve-character-display h4 {
    margin-bottom: 0.5rem;
}

.eve-character-display p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   MEMBERS-ONLY MESSAGE
   ============================================ */
.members-only-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 2px dashed var(--border-medium);
    border-radius: 12px;
    margin: 2rem 0;
}

.members-only-message i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.members-only-message p {
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================
   ENTRY CONTENT STYLING
   ============================================ */
.entry-content {
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 4px;
}

.entry-content code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.entry-content pre {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

/* ============================================
   POST THUMBNAIL
   ============================================ */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* ============================================
   ENTRY META
   ============================================ */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-meta a {
    color: var(--text-secondary);
}

.entry-meta a:hover {
    color: var(--accent-blue);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--accent-blue);
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

/* ============================================
   FOOTER MENU
   ============================================ */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.footer-menu a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--text-primary);
}

/* ============================================
   WIDGET STYLES
   ============================================ */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.widget-title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
    font-size: 1.25rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.widget ul li a:hover {
    color: var(--accent-blue);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animated {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .scroll-to-top,
    .members-badge,
    #main-footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}

