/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: visible;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.loading-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 3rem auto;
    animation: fadeInDown 0.6s ease;
    text-align: center;
    width: auto;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.loading-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    animation: pulse 2s ease-in-out infinite;
    display: block;
    margin: 0 auto;
    transform: translateX(0);
    position: relative;
    left: 0;
    right: 0;
}

.loading-logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: block;
    width: auto;
    margin: 0 auto;
    transform: translateX(0);
    padding: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    left: 0;
    right: 0;
    transform: translateX(0);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-duration: 1.2s;
    border-top-color: rgba(255, 255, 255, 0.9);
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 1s;
    animation-direction: reverse;
    border-top-color: rgba(255, 255, 255, 0.7);
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-duration: 0.8s;
    border-top-color: rgba(255, 255, 255, 0.5);
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease 0.3s both;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 0 auto;
    width: auto;
    transform: translateX(0);
    display: block;
    position: relative;
    left: 0;
    right: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

:root {
    --primary-color: #dc2626;
    --secondary-color: #b91c1c;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    background: #ffffff;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Social sayfası için özel arka plan - beyaz */
body:has(.social-main) {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Floating Blue Circles Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* Global Page Particles and Shapes */
.page-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.page-particles .particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
}

.page-floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.page-floating-shapes .floating-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(185, 28, 28, 0.08));
    filter: blur(40px);
    animation: floatShape 20s infinite ease-in-out;
}

.page-floating-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.page-floating-shapes .shape-2 {
    display: none;
}

.page-floating-shapes .shape-3 {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header ve Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-right: 2rem;
    /* Added spacing between logo and menu */
}

.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 1px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent menu wrapping */
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
    font-weight: 600;
    /* Active state slightly bolder */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dc2626;
    border-radius: 2px;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: 3rem;
    /* Added spacing from nav menu */
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-social-link {
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar-social-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

/* City Selector */
.city-selector-container {
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1.5rem;
}

.city-selector-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
}

.city-selector-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #dc2626;
}

.city-selector-btn svg {
    color: #dc2626;
}

.city-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 250px;
    display: none;
    flex-direction: column;
    padding: 1rem;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease;
}

.city-dropdown.show {
    display: flex;
}

.city-search {
    margin-bottom: 0.8rem;
}

.city-search input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.city-search input:focus {
    border-color: #dc2626;
}

.city-list {
    max-height: 200px;
    overflow-y: auto;
}

.city-item {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
    transition: all 0.2s;
}

.city-item:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Location Autocomplete (for MUN Creation) */
.autocomplete-container {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: #dc2626 !important;
    color: #ffffff;
}

/* Auth Buttons Placeholder */
.auth-buttons {
    min-width: 180px;
    /* Layout stability */
    display: flex;
    justify-content: flex-end;
}

.auth-loading-placeholder {
    width: 100%;
    height: 38px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 10px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-login:hover {
    color: #dc2626;
}

.btn-register {
    background-color: #dc2626;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.btn-register:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

/* User Menu Dashboard */
.user-menu-container {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    transition: background 0.2s;
    background: rgba(0, 0, 0, 0.03);
}

.user-profile-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 0.5rem;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease;
}

.user-dropdown-menu.show {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f9fafb;
    color: #dc2626;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 0.4rem 0.5rem;
}

.logout-item {
    color: #dc2626;
}

.logout-item:hover {
    background: #fef2f2;
}

/* Coming Soon Styles */
.coming-soon-icon-card {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.coming-soon-text-card {
    font-weight: 600;
    color: var(--text-light);
    font-style: italic;
}

.calendar-coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.calendar-coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.calendar-coming-soon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.popup-modal.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.popup-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-close {
    padding: 0.75rem 2rem;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-close:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    animation: snowFall linear infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
    width: 6px;
    height: 6px;
}

@keyframes snowFall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
    font-weight: 800;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
    font-weight: 600;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
    position: relative;
    z-index: 2;
}

.hero-cta-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4), 0 0 30px rgba(220, 38, 38, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta-btn:hover::before {
    left: 100%;
}

.hero-cta-btn:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.5), 0 0 60px rgba(220, 38, 38, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-cta-btn:active {
    transform: translateY(-2px) scale(1.02) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #dc2626;
    color: white;
}

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Sections */
section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* Blog page section - ensure sticky works */
.blog-page {
    overflow: visible !important;
}

.blog-page .social-media-layout,
.blog-page .social-media-layout * {
    overflow: visible !important;
}

/* Ensure main and body don't interfere with sticky */
main {
    overflow: visible !important;
}

body.blog-page-active,
html.blog-page-active {
    overflow: visible !important;
}

.section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.top-5-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

/* Conferences Section */
.conferences {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.conferences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(185, 28, 28, 0.03) 50%, rgba(67, 233, 123, 0.03) 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    opacity: 0;
    animation: floatFlag linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    left: var(--start-x);
    top: var(--start-y);
    transform: translate(-50%, -50%);
}

.flag-image {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

@keyframes floatFlag {
    0% {
        left: var(--start-x);
        top: var(--start-y);
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }

    2% {
        opacity: 0.15;
    }

    98% {
        opacity: 0.15;
    }

    100% {
        left: var(--end-x);
        top: var(--end-y);
        transform: translate(-50%, -50%) rotate(var(--rotation));
        opacity: 0;
    }
}

.conferences .container {
    position: relative;
    z-index: 1;
}

.conferences-container {
    background-color: rgba(220, 38, 38, 0.9);
    border-radius: 10px;
    padding: 1.17rem;
    margin: 1.17rem auto 0;
    max-width: 702px;
    position: relative;
    overflow: hidden;
}

.conferences-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.conferences-overlay-icon {
    font-size: 5rem;
    opacity: 0.8;
    color: var(--text-color);
}

.conferences-grid {
    display: flex;
    flex-direction: column;
    gap: 1.17rem;
    max-width: 702px;
    margin-left: auto;
    margin-right: auto;
}

.conference-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 13px;
    padding: 1.17rem;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.08), 0 0 31px rgba(220, 38, 38, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: center;
    gap: 1.17rem;
    backdrop-filter: blur(10px);
}

.conference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c, #991b1b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 13px 13px 0 0;
}

.conference-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.conference-card:hover {
    transform: translateY(-9px) scale(1.02);
    box-shadow: 0 16px 31px rgba(220, 38, 38, 0.2), 0 0 47px rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.conference-card:hover::before {
    transform: scaleX(1);
}

.conference-card:hover::after {
    opacity: 1;
}

.conference-number {
    position: absolute;
    top: 0.78rem;
    right: 0.78rem;
    width: 31px;
    height: 31px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.conference-card:hover .conference-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.conference-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
    border-radius: 13px;
    padding: 0.78rem;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.15), inset 0 1px 3px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* MUNES TOP 3 - Red theme */
.munes-top3 .conference-logo {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

/* ALMUN TOP 3 - Black theme */
.almun-top3 .conference-logo {
    background: #000000;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

/* ESBLMUN TOP 3 - Very Dark Gray theme */
.esblmun-top3 .conference-logo {
    background: #2a2a2a;
    border-color: rgba(42, 42, 42, 0.3);
    box-shadow: 0 3px 12px rgba(42, 42, 42, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.conference-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.conference-card:hover .conference-logo {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(185, 28, 28, 0.15));
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.25);
}

/* Hover states for TOP 3 cards */
.munes-top3:hover .conference-logo {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

.almun-top3:hover .conference-logo {
    background: #000000;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.esblmun-top3:hover .conference-logo {
    background: #1a1a1a;
    border-color: rgba(42, 42, 42, 0.5);
    box-shadow: 0 8px 25px rgba(42, 42, 42, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

/* Hover states for TOP 3 cards */
.munes-top3:hover .conference-logo {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.almun-top3:hover .conference-logo {
    background: #000000;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.esblmun-top3:hover .conference-logo {
    background: #1a1a1a;
    border-color: rgba(42, 42, 42, 0.5);
    box-shadow: 0 8px 25px rgba(42, 42, 42, 0.4);
}

.conference-card:hover .conference-logo::before {
    opacity: 1;
}

.conference-logo .coming-soon-icon-card {
    font-size: 1.95rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.conference-card:hover .conference-logo .coming-soon-icon-card {
    transform: scale(1.1);
}

.conference-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.conference-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.conference-name {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.585rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.conference-card:hover .conference-name {
    transform: translateX(5px);
}

.conference-location,
.conference-date {
    font-size: 0.702rem;
    color: var(--text-light);
    margin-bottom: 0.39rem;
    display: flex;
    align-items: center;
    gap: 0.39rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.conference-card:hover .conference-location,
.conference-card:hover .conference-date {
    color: var(--text-color);
}

.conference-description {
    font-size: 0.663rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.585rem;
    padding-top: 0.585rem;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    font-weight: 500;
    transition: all 0.3s ease;
}

.conference-card:hover .conference-description {
    color: var(--text-color);
    border-top-color: rgba(220, 38, 38, 0.2);
}

.conference-more-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.conference-more-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.coming-soon-text-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
    color: #dc2626;
    padding: 0.312rem 0.624rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.624rem;
    display: inline-block;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
}


.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-width: 0;
    overflow: hidden;
}

.daily-content {
    width: 100%;
}

.daily-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topics-slider {
    width: 100%;
}

.slider-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.slider-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    animation: slide 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.75rem));
    }
}

.slider-track .blog-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    will-change: transform;
}

.blog-card-link:hover .blog-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.15);
}

.blog-card.featured {
    width: 100%;
}

.blog-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
}

.blog-card.featured .blog-card-image {
    height: 250px;
}

.blog-category {
    background-color: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.blog-meta {
    display: flex;
    gap: 0.5rem;
}

.blog-questions {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.blog-card-content * {
    pointer-events: auto;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card.featured .blog-title {
    font-size: 1.5rem;
}

.blog-author {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-badge {
    display: inline-block;
    background-color: #dc2626;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.ranking-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ranking-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.ranking-item:hover {
    background-color: rgba(220, 38, 38, 0.1);
    transform: translateX(5px);
}

.ranking-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.ranking-points {
    font-size: 0.875rem;
    color: var(--text-light);
}

.ranking-badge {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Blog Detail Section */
.blog-detail {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.blog-detail-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-detail-category {
    background-color: #dc2626;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.blog-detail-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-detail-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-name {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.author-badge {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-detail-image {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.blog-detail-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem;
}

.blog-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-detail-body {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-detail-body .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Blog Content Styles */
.blog-content-section {
    line-height: 1.8;
}

.blog-content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.blog-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.blog-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.2rem;
}

.blog-info-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-left: 4px solid #dc2626;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-highlight-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-warning-box {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-tips-box {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.02));
    border-left: 4px solid #28a745;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-example-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.example-content {
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.checklist-item {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conference-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #dc2626;
}

.timeline-date {
    min-width: 150px;
    font-weight: 700;
    color: #dc2626;
    font-size: 1.1rem;
}

.timeline-content h4 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.25rem;
}

.timeline-content p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.conference-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

.application-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    min-width: 60px;
    text-align: center;
}

.step-content h4 {
    margin-top: 0;
    color: var(--text-color);
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.committee-item {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.committee-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.committee-item h4 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.committee-item p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ffc107;
}

.rule-number {
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.rule-content h3 {
    margin-top: 0;
    color: var(--text-color);
}

.paper-structure {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.structure-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.structure-item h4 {
    margin-top: 0;
    color: var(--text-color);
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-radius: 12px;
}

.blog-detail-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-detail-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-detail-body p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.quiz-info-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #dc2626;
}

.quiz-info-box h4 {
    margin-top: 0;
    color: var(--text-color);
}

.quiz-info-box ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.quiz-info-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 1rem;
}

.quiz-info-box li::before {
    content: "✓ ";
    color: #dc2626;
    font-weight: 700;
    margin-right: 0.5rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Quiz Container */
.quiz-container {
    margin-top: 3rem;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 40px rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.quiz-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.quiz-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quiz-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-width, 0%);
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    border-radius: 10px;
    transition: width 0.3s ease;
}


.quiz-progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    min-width: 80px;
    text-align: right;
}

.quiz-content {
    margin-bottom: 2rem;
}

.quiz-question {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.4s ease;
}

.quiz-question-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quiz-option:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: #dc2626;
    transform: translateX(8px);
}

.quiz-option:hover::before {
    transform: scaleY(1);
}

.quiz-option.selected {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.quiz-option.selected::before {
    transform: scaleY(1);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.quiz-btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-btn-next {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    margin-left: auto;
}

.quiz-btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.quiz-btn-prev {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.quiz-btn-prev:hover:not(:disabled) {
    background: white;
    border-color: #dc2626;
}

/* Quiz Results */
.quiz-results {
    animation: fadeInScale 0.5s ease;
}

.quiz-result-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.quiz-result-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.quiz-result-score {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.quiz-result-content {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.quiz-result-position {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.quiz-result-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

.quiz-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post {
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-post:hover {
    background-color: var(--bg-light);
    border-color: #dc2626;
    transform: translateX(5px);
}

.related-post h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.related-post p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-item {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #dc2626;
    color: white;
}

/* Calendar Section */
.calendar {
    background-color: var(--bg-color);
    padding: 60px 0;
    position: relative;
}

.calendar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(185, 28, 28, 0.03) 50%, rgba(67, 233, 123, 0.03) 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.calendar-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    overflow: hidden;
}

.calendar-container .calendar-navigation,
.calendar-container .calendar-grid-wrapper,
.calendar-container .calendar-events-list {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.6s ease;
}

.nav-btn {
    background: #dc2626;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-btn:hover {
    background: #b91c1c;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.nav-btn:active {
    transform: scale(0.95) rotate(-5deg);
}

.current-month-year {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease;
}

.current-month-year.updating {
    animation: slideOut 0.3s ease;
}

.current-month-year.updated {
    animation: slideIn 0.3s ease;
}

.calendar-grid-wrapper {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
    overflow: hidden;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    position: relative;
}

.calendar-grid.sliding-out {
    animation: slideOutLeft 0.3s ease;
}

.calendar-grid.sliding-in {
    animation: slideInRight 0.3s ease;
}

.calendar-weekday {
    text-align: center;
    font-weight: 700;
    color: #dc2626;
    padding: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    aspect-ratio: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: white;
    min-height: 80px;
    opacity: 0;
    animation: fadeInScale 0.4s ease forwards;
}

.calendar-day:nth-child(1) {
    animation-delay: 0.05s;
}

.calendar-day:nth-child(2) {
    animation-delay: 0.1s;
}

.calendar-day:nth-child(3) {
    animation-delay: 0.15s;
}

.calendar-day:nth-child(4) {
    animation-delay: 0.2s;
}

.calendar-day:nth-child(5) {
    animation-delay: 0.25s;
}

.calendar-day:nth-child(6) {
    animation-delay: 0.3s;
}

.calendar-day:nth-child(7) {
    animation-delay: 0.35s;
}

.calendar-day:nth-child(8) {
    animation-delay: 0.4s;
}

.calendar-day:nth-child(9) {
    animation-delay: 0.45s;
}

.calendar-day:nth-child(10) {
    animation-delay: 0.5s;
}

.calendar-day:nth-child(11) {
    animation-delay: 0.55s;
}

.calendar-day:nth-child(12) {
    animation-delay: 0.6s;
}

.calendar-day:nth-child(13) {
    animation-delay: 0.65s;
}

.calendar-day:nth-child(14) {
    animation-delay: 0.7s;
}

.calendar-day:hover {
    border-color: #dc2626;
    background: #f0f7ff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
    z-index: 10;
}

.calendar-day:active {
    transform: translateY(-2px) scale(1.02);
}

.calendar-day.other-month {
    opacity: 0.3;
    background: #f5f5f5;
}

.calendar-day.today {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-color: #dc2626;
    font-weight: 700;
    animation: pulseToday 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.calendar-day.today:hover {
    animation: pulseTodayHover 0.6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.7);
}

.calendar-day.has-event {
    border-color: #dc2626;
    background: #f0f7ff;
}

.day-number {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.calendar-day.today .day-number {
    color: white;
}

.event-dot {
    width: 6px;
    height: 6px;
    background: #dc2626;
    border-radius: 50%;
    margin-top: 0.25rem;
}

.calendar-day.today .event-dot {
    background: white;
}

.event-count {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
    font-weight: 600;
}

.calendar-day.today .event-count {
    color: white;
}

.calendar-events-list {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    animation: fadeInUp 0.5s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.events-list-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.no-events {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    font-size: 1.1rem;
}

.calendar-event {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #dc2626;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.5s ease forwards;
}

.calendar-event:nth-child(2) {
    animation-delay: 0.1s;
}

.calendar-event:nth-child(3) {
    animation-delay: 0.2s;
}

.calendar-event:nth-child(4) {
    animation-delay: 0.3s;
}

.calendar-event:nth-child(5) {
    animation-delay: 0.4s;
}

.calendar-event:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
    background: white;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 12px;
    padding: 0.75rem;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.event-location {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* MUN Showcase Section */
.mun-showcase {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.08) 100%);
    padding: 80px 0;
    position: relative;
}

.mun-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(185, 28, 28, 0.05) 100%);
    pointer-events: none;
}

.mun-showcase .container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.15);
    border: 2px solid rgba(220, 38, 38, 0.2);
    position: relative;
    z-index: 1;
}


.mun-social-prompt-top {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mun-social-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.mun-social-content {
    flex: 1;
}

.mun-social-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.mun-social-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.mun-social-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.mun-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

@media (max-width: 768px) {
    .mun-social-prompt-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .mun-social-content {
        text-align: center;
    }
}


.mun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mun-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.mun-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.15);
}

.mun-card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* MUNES - Red/Orange theme */
.mun-card-image-wrapper.munes-bg {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
}

/* ALMUN - Black theme */
.mun-card-image-wrapper.almun-bg {
    background: #000000;
}

/* ESBLMUN - Very Dark Gray theme */
.mun-card-image-wrapper.esblmun-bg {
    background: #2a2a2a;
}

.mun-image-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mun-card:hover .mun-image-main {
    transform: scale(1.05);
}

.mun-image-placeholder {
    font-size: 3rem;
    opacity: 0.8;
    color: white;
}

.mun-image-placeholder[style*="font-size: 4rem"] {
    font-size: 4rem !important;
    font-weight: 700;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
}

.mun-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.mun-image-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mun-card:hover .mun-image-gallery {
    opacity: 1;
    transform: translateY(0);
}

.mun-image-thumb {
    flex: 1;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.mun-image-thumb:hover {
    transform: scale(1.1);
}

.mun-image-thumb .mun-image-placeholder {
    font-size: 1.5rem;
}

.mun-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mun-card:hover .mun-overlay {
    opacity: 1;
}

.mun-view-btn {
    background: white;
    color: #dc2626;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mun-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.mun-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mun-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.mun-location,
.mun-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mun-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.75rem;
    flex: 1;
}

/* MUN Search and Filters */
.mun-search-filters {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.mun-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.mun-search-box:focus-within {
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.mun-search-box .search-icon {
    color: var(--text-light);
    flex-shrink: 0;
}

.mun-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
}

.mun-search-input::placeholder {
    color: var(--text-light);
}

.mun-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.mun-filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 180px;
}

.mun-filter-select:hover {
    border-color: #dc2626;
}

.mun-filter-select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.mun-filter-reset {
    padding: 0.75rem 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mun-filter-reset:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Featured MUNs Section */
.mun-featured-section {
    margin-bottom: 3rem;
}

.section-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-sub-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-btn {
    padding: 0.5rem 1.25rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.mun-featured-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.mun-featured-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.mun-featured-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.mun-featured-card {
    min-width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* MUNES featured card - Red theme */
.mun-featured-card.munes-featured {
    background: linear-gradient(135deg, #ffffff 0%, #fee2e2 100%);
    border-color: rgba(220, 38, 38, 0.2);
}

.mun-featured-card.munes-featured::before {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

/* ALMUN featured card - Black theme */
.mun-featured-card.almun-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-color: rgba(0, 0, 0, 0.3);
}

.mun-featured-card.almun-featured::before {
    background: #000000;
}

/* ESBLMUN featured card - Very Dark Gray theme */
.mun-featured-card.esblmun-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-color: rgba(42, 42, 42, 0.3);
}

.mun-featured-card.esblmun-featured::before {
    background: #2a2a2a;
}

.mun-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.mun-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    z-index: 2;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.mun-featured-logo {
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem 0;
}

.mun-featured-logo-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    height: 80px;
}

.mun-featured-logo-img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 5px;
}

.mun-featured-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    text-align: center;
}

.mun-featured-location,
.mun-featured-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mun-featured-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Upcoming MUNs Section */
.mun-upcoming-section {
    margin-bottom: 3rem;
}

.upcoming-count {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mun-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.mun-upcoming-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mun-upcoming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626, #b91c1c);
}

.mun-upcoming-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.upcoming-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mun-upcoming-content {
    padding-left: 0.5rem;
}

.mun-upcoming-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.mun-upcoming-location,
.mun-upcoming-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mun-upcoming-days {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #dc2626;
    font-weight: 600;
}

/* All MUNs Section */
.mun-all-section {
    margin-top: 3rem;
}

.mun-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.mun-results-info span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.mun-sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.mun-sort-select:hover {
    border-color: #dc2626;
}

.mun-sort-select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.mun-view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.25rem;
    border-radius: 10px;
}

.view-toggle-btn {
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn.active {
    background: #dc2626;
    color: white;
}

.view-toggle-btn:hover:not(.active) {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.mun-grid.list-view {
    grid-template-columns: 1fr;
}

.mun-grid.list-view .mun-card {
    flex-direction: row;
    max-width: 100%;
}

.mun-grid.list-view .mun-card-image-wrapper {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

/* MUN Pagination */
.mun-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.pagination-btn:hover:not(:disabled) {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.pagination-number:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    color: #dc2626;
}

.pagination-number.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.pagination-dots {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--text-light);
}

.mun-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    flex-wrap: wrap;
}

.mun-type-badge {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.mun-grid.list-view .mun-card-content {
    flex: 1;
    padding-left: 1.5rem;
}

.mun-grid.list-view .mun-stats {
    margin-top: 1rem;
    border-top: none;
    padding-top: 0;
}

/* MUN Detail Page */
.mun-detail-page {
    padding: 2rem 0 4rem;
    background: var(--bg-color);
}

.mun-detail-header {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-detail-hero {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.mun-detail-logo {
    font-size: 5rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(220, 38, 38, 0.2);
    flex-shrink: 0;
}

.mun-detail-info {
    flex: 1;
}

.mun-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.mun-detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.mun-detail-location,
.mun-detail-date,
.mun-detail-rating {
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mun-detail-rating {
    color: #dc2626;
    font-weight: 600;
}

.mun-detail-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mun-badge {
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.mun-badge.featured {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
}

.mun-detail-actions {
    display: flex;
    gap: 1rem;
}

.mun-register-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.mun-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.mun-share-btn {
    padding: 1rem 1.5rem;
    background: white;
    color: #dc2626;
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mun-share-btn:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: #dc2626;
}

.mun-detail-gallery {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-gallery-main {
    margin-bottom: 1.5rem;
}

.mun-gallery-main-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.mun-gallery-thumbnails::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.mun-gallery-thumb {
    min-width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.mun-gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #dc2626;
}

.mun-gallery-thumb.active {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.mun-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.mun-detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mun-detail-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-detail-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.mun-description p {
    margin-bottom: 1.5rem;
}

.mun-description p:last-child {
    margin-bottom: 0;
}

/* Committees Grid */
.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.committee-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.committee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.committee-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.committee-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.committee-topic {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.committee-info {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-radius: 16px;
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.team-member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    color: white;
}

.team-member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 0.9rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-member-bio {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Schedule Timeline */
.schedule-timeline {
    margin-top: 1.5rem;
}

.schedule-day {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 2rem;
}

.schedule-day::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #dc2626, #b91c1c);
    border-radius: 2px;
}

.schedule-day-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(220, 38, 38, 0.1);
}

.schedule-day-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.schedule-date {
    font-size: 0.95rem;
    color: #dc2626;
    font-weight: 600;
}

.schedule-events {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-event {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border-radius: 12px;
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.schedule-event:hover {
    transform: translateX(8px);
    border-color: #dc2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.schedule-time {
    min-width: 120px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #dc2626;
    padding-top: 0.25rem;
}

.schedule-event-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.schedule-event-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.mun-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mun-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.sidebar-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(220, 38, 38, 0.1);
}

.mun-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.05);
}

.quick-info-item:last-child {
    border-bottom: none;
}

.quick-info-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.quick-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.sidebar-card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-register-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    margin-bottom: 0.75rem;
}

.sidebar-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.sidebar-card-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.mun-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.25rem;
}

.mun-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: currentColor;
}

.social-link-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    transform: translateX(4px);
}

@media (max-width: 968px) {
    .mun-detail-content {
        grid-template-columns: 1fr;
    }

    .mun-detail-hero {
        flex-direction: column;
        text-align: center;
    }

    .mun-detail-actions {
        justify-content: center;
    }

    .committees-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* MUN Gallery Modal */
.mun-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.mun-gallery-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mun-gallery-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mun-gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.mun-gallery-close:hover {
    background: var(--bg-light);
    transform: rotate(90deg);
}

.mun-gallery-header {
    margin-bottom: 1.5rem;
}

.mun-gallery-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.mun-gallery-main {
    margin-bottom: 1.5rem;
}

.mun-gallery-main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mun-image-placeholder-large {
    font-size: 6rem;
    opacity: 0.8;
    color: white;
}

.mun-gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.mun-gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.mun-gallery-thumb:hover {
    transform: scale(1.1);
    border-color: #dc2626;
}

.mun-gallery-thumb.active {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.mun-gallery-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.mun-gallery-prev,
.mun-gallery-next {
    background: #dc2626;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mun-gallery-prev:hover,
.mun-gallery-next:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

/* System Showcase Section */
.system-showcase {
    background-color: var(--bg-light);
    padding: 60px 0;
    position: relative;
}

.system-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(185, 28, 28, 0.03) 50%, rgba(236, 72, 153, 0.03) 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.system-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #dc2626;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.system-gallery {
    margin: 4rem 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.placeholder-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 38, 38, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-view-btn {
    background: white;
    color: #dc2626;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.system-cta {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 4rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 1rem 3rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* System Details Page */
.system-details-section {
    padding: 60px 0;
    background-color: var(--bg-color);
    min-height: calc(100vh - 200px);
    position: relative;
}

.system-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(185, 28, 28, 0.03) 50%, rgba(236, 72, 153, 0.03) 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.system-details-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.system-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.system-details-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Alternating Layout */
.system-features-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-bottom: 6rem;
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    padding: 3rem 0;
}

.feature-showcase-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    top: 0;
    left: 0;
}

.feature-showcase-item:first-child::before {
    display: none;
}

.feature-showcase-content {
    position: relative;
    z-index: 2;
}

.feature-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.feature-badge-special {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.3);
}

.feature-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-showcase-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-showcase-list li {
    padding: 1rem 0;
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.feature-showcase-list li:hover {
    transform: translateX(10px);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.feature-showcase-image {
    position: relative;
    z-index: 1;
}

.feature-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.feature-showcase-item:hover .feature-image-wrapper {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.feature-image-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-image-icon {
    font-size: 6rem;
    opacity: 0.9;
    z-index: 2;
    position: relative;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.feature-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Reveal Animation */
.blog-post-card,
.reels-section,
.gossip-section,
.sidebar-widget {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-post-card.visible,
.reels-section.visible,
.gossip-section.visible,
.sidebar-widget.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Special Map Feature */
.feature-map-wrapper {
    position: relative;
}

.feature-map {
    position: relative;
}

.map-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.map-pulse::before,
.map-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.map-pulse::before {
    animation-delay: 0.5s;
}

.map-pulse::after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Left/Right Layout */
.feature-left .feature-showcase-content {
    order: 1;
}

.feature-left .feature-showcase-image {
    order: 2;
}

.feature-right .feature-showcase-content {
    order: 2;
}

.feature-right .feature-showcase-image {
    order: 1;
}

.system-cta-detailed {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.system-cta-detailed::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-detailed-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-detailed-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.cta-detailed-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background-color: white;
    color: #dc2626;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Scroll Animation */
.feature-showcase-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.feature-showcase-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-left.visible .feature-showcase-content {
    animation: slideInLeft 0.8s ease;
}

.feature-left.visible .feature-showcase-image {
    animation: slideInRight 0.8s ease;
}

.feature-right.visible .feature-showcase-content {
    animation: slideInRight 0.8s ease;
}

.feature-right.visible .feature-showcase-image {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Blog Page Styles */
.blog-page {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: visible;
    z-index: 1;
    height: auto;
}

.blog-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

.blog-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(220, 38, 38, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
    animation: gridMove 30s linear infinite;
}

/* Blog Background Particles */
.blog-background-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blog-background-particles .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    animation: floatParticleUp 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.2);
}

.blog-background-particles .particle:nth-child(odd) {
    background: rgba(220, 38, 38, 0.1);
    animation-duration: 25s;
    animation-delay: -5s;
}

.blog-background-particles .particle:nth-child(3n) {
    background: rgba(220, 38, 38, 0.08);
    animation-duration: 30s;
    animation-delay: -10s;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.15);
}

.blog-background-particles .particle:nth-child(4n) {
    background: rgba(220, 38, 38, 0.12);
    animation-duration: 22s;
    animation-delay: -8s;
}

@keyframes floatParticleUp {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Blog Background Shapes */
.blog-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.05) 50%, rgba(153, 27, 27, 0.05) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(185, 28, 28, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(153, 27, 27, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08), 0 0 15px rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-info-card:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c, #991b1b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 0 40px rgba(220, 38, 38, 0.15);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-icon-wrapper svg path,
.contact-icon-wrapper svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.contact-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-info-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-link:hover {
    color: #b91c1c;
    transform: translateX(4px);
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social-link svg path {
    fill: currentColor;
}

.contact-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    fill: currentColor;
    stroke: none;
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 40px rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.6s ease 0.5s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05), transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.contact-form-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group label svg {
    color: #dc2626;
    flex-shrink: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.contact-submit-btn svg {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(185, 28, 28, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    border-color: transparent;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter-input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: #dc2626;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.footer-newsletter-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #dc2626;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.footer-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.footer-newsletter-btn:active {
    transform: translateY(0);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal-link:hover {
    color: white;
    text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-link {
        justify-content: center;
    }

    .footer-newsletter {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseToday {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
    }
}

@keyframes pulseTodayHover {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.7);
        transform: translateY(-4px) scale(1.05);
    }

    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 1);
        transform: translateY(-6px) scale(1.08);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: #fef2f2;
        color: #dc2626;
    }

    .navbar-actions {
        display: none;
        /* Hide actions in separate menu for simplicity on mobile, or move them inside nav-menu */
    }

    /* Move social links and auth inside nav-menu for mobile */
    .nav-menu::after {
        content: '';
        height: 1px;
        background: rgba(0, 0, 0, 0.05);
        width: 100%;
        margin: 1rem 0;
    }

    /* We'll handle actions visibility in JS or append to menu */
    .navbar-actions.active {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        background: white;
        padding: 1.5rem;
        z-index: 1002;
        flex-direction: column;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        transform: translateX(-100%);
    }

    .nav-menu.active~.navbar-actions,
    .navbar-actions.active {
        transform: translateX(0);
    }

    .social-links {
        border-right: none;
        padding-right: 0;
        justify-content: center;
        width: 100%;
    }
}

/* Custom Styles for Specific Pages */

.hamburger {
    order: 2;
    margin-left: auto;
}

.nav-menu {
    order: 3;
}

.navbar-actions {
    order: 4;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo-img {
    height: 50px;
}

.hero {
    background-attachment: scroll;
    min-height: 60vh;
    padding: 40px 0;
}

.hero-title {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.hero-cta-btn {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
}

.page-floating-shapes .floating-shape {
    filter: blur(30px);
}

.page-floating-shapes .shape-1,
.page-floating-shapes .shape-2,
.page-floating-shapes .shape-3 {
    width: 150px;
    height: 150px;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.services-grid {
    grid-template-columns: 1fr;
}

.blog-container {
    padding: 1.5rem;
    border-radius: 12px;
}

.blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-sidebar {
    position: static;
    order: -1;
}

.slider-track {
    animation-duration: 20s;
}

.slider-track .blog-card {
    min-width: 280px;
    max-width: 280px;
}

.blog-card-image {
    height: 180px;
}

.blog-card.featured .blog-card-image {
    height: 200px;
}

.section-subtitle {
    font-size: 0.95rem;
    margin-top: -1.5rem;
}

.calendar-navigation {
    padding: 1rem;
}

.current-month-year {
    font-size: 1.25rem;
}

.nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
}

.calendar-grid-wrapper {
    padding: 1rem;
}

.calendar-grid {
    gap: 0.5rem;
}

.calendar-day {
    min-height: 60px;
    padding: 0.25rem;
}

.day-number {
    font-size: 0.875rem;
}

.calendar-weekday {
    font-size: 0.75rem;
    padding: 0.5rem;
}

.calendar-events-list {
    padding: 1.5rem;
}

.calendar-event {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.event-date {
    width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-around;
}

.event-day {
    font-size: 1.75rem;
}

.event-title {
    font-size: 1.1rem;
}

.mun-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mun-card-image-wrapper {
    height: 200px;
}

.mun-gallery-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 95vh;
}

.mun-gallery-main-image {
    height: 250px;
}

.mun-image-placeholder-large {
    font-size: 4rem;
}

.mun-gallery-thumb {
    width: 60px;
    height: 60px;
}

.mun-gallery-thumbnails {
    gap: 0.5rem;
}

.system-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.system-cta {
    padding: 2.5rem 1.5rem;
}

.cta-title {
    font-size: 1.75rem;
}

.cta-description {
    font-size: 1rem;
}

.cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.system-details-title {
    font-size: 2rem;
}

.system-details-subtitle {
    font-size: 1.1rem;
}

.system-features-showcase {
    gap: 4rem;
}

.feature-showcase-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.feature-showcase-item.feature-left .feature-showcase-content,
.feature-showcase-item.feature-right .feature-showcase-content {
    order: 1;
}

.feature-showcase-item.feature-left .feature-showcase-image,
.feature-showcase-item.feature-right .feature-showcase-image {
    order: 2;
}

.feature-showcase-title {
    font-size: 1.75rem;
}

.feature-showcase-description {
    font-size: 1rem;
}

.feature-badge {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-image-placeholder {
    height: 300px;
}

.feature-image-icon {
    font-size: 4rem;
}

.system-cta-detailed {
    padding: 2.5rem 1.5rem;
}

.cta-detailed-title {
    font-size: 1.75rem;
}

.cta-detailed-description {
    font-size: 1rem;
}

.cta-detailed-buttons {
    flex-direction: column;
}

.cta-detailed-buttons .btn {
    width: 100%;
}

.blog-detail-title {
    font-size: 2rem;
}

.blog-page-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-sidebar-page {
    position: static;
    order: -1;
}

.blog-post-featured .blog-post-link {
    grid-template-columns: 1fr;
}

.blog-post-image-featured {
    height: 180px;
}

.blog-posts-grid {
    grid-template-columns: 1fr;
}

.blog-toolbar {
    flex-direction: column;
    align-items: stretch;
}

.blog-search {
    max-width: 100%;
}

.blog-filters {
    justify-content: center;
}

.blog-page-title {
    font-size: 2rem;
}

.blog-page::before,
.blog-page::after {
    opacity: 0.8;
}

.blog-page::after {
    background-size: 60px 60px;
}

.blog-background-particles .particle {
    width: 4px !important;
    height: 4px !important;
}

.blog-shape-1,
.blog-shape-2,
.blog-shape-3,
.blog-shape-4 {
    width: 300px;
    height: 300px;
    filter: blur(50px);
}

.contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info-grid {
    grid-template-columns: 1fr;
}

.form-row {
    grid-template-columns: 1fr;
}

.contact-form-wrapper {
    padding: 1.5rem;
}

.contact-header {
    margin-bottom: 2.5rem;
}

.quiz-container {
    padding: 1.5rem;
}

.quiz-title {
    font-size: 1.5rem;
}

.quiz-question-title {
    font-size: 1.1rem;
}

.quiz-option {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.quiz-result-title {
    font-size: 1.5rem;
}

.quiz-result-actions {
    flex-direction: column;
}

.quiz-result-actions .btn {
    width: 100%;
}

.reels-section {
    padding: 1rem;
}

.reel-item {
    width: 140px;
}

.reel-thumbnail {
    height: 200px;
}

.live-chat-widget {
    width: calc(100% - 40px);
    max-width: 360px;
    bottom: 10px;
    right: 20px;
}

.chat-body {
    height: 400px;
}

.reels-container::before,
.reels-container::after {
    display: none;
}

.blog-post-interactions {
    flex-wrap: wrap;
}

.loading-content {
    left: 50%;
    transform: translateX(-50%);
}

.loading-logo {
    margin: 0 auto 2rem auto;
    width: auto;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.loading-logo img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    transform: translateX(0);
    position: relative;
    left: 0;
    right: 0;
}

.loading-logo-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-align: center;
    display: block;
    width: auto;
    margin: 0 auto;
    transform: translateX(0);
    padding: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    left: 0;
    right: 0;
    transform: translateX(0);
}

.loading-text {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto;
    width: auto;
    transform: translateX(0);
    position: relative;
    left: 0;
    right: 0;
}

.interaction-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

.gossip-section {
    padding: 1.5rem;
}

.gossip-envelopes {
    grid-template-columns: 1fr;
}

.gossip-box {
    width: 160px;
    height: 120px;
}

.gossip-box-icon {
    font-size: 2rem;
}

.gossip-box-text {
    font-size: 0.875rem;
}

.gossip-box-hint {
    font-size: 0.7rem;
}


.blog-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-detail-body {
    padding: 2rem;
}

.blog-detail-image {
    height: 250px;
}

.blog-detail-sidebar {
    order: -1;
}

.timeline-item {
    flex-direction: column;
    gap: 1rem;
}

.timeline-date {
    min-width: auto;
}

.step-item {
    flex-direction: column;
    gap: 1rem;
}

.step-number {
    min-width: auto;
}

.rule-item {
    flex-direction: column;
    gap: 1rem;
}

.rule-number {
    min-width: auto;
}

.conference-details {
    grid-template-columns: 1fr;
}

.committees-grid {
    grid-template-columns: 1fr;
}

.auth-container {
    padding: 2rem 1.5rem;
}

.auth-title {
    font-size: 1.75rem;
}

.form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.conferences-container {
    padding: 1.25rem;
    border-radius: 12px;
}

.conferences-grid {
    gap: 0.75rem;
}

.conference-card {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
}

.conference-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.conference-number {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
}

.section-title {
    font-size: 2rem;
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

/* ============================================
   MUNSOCIAL - Facebook Benzeri Sosyal Medya
   ============================================ */

/* Social Header */
.social-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-bottom: 1px solid rgba(185, 28, 28, 0.3);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.social-header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 16px;
}

.social-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.social-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: none;
}

@media (min-width: 768px) {
    .social-logo-text {
        display: block;
    }
}

.social-search {
    flex: 1;
    max-width: 240px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .social-search {
        display: block;
    }
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    width: 20px;
    height: 20px;
}

.social-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 16px 8px 40px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.9375rem;
    color: #ffffff;
    outline: none;
    transition: background 0.2s;
}

.social-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.social-search-input:focus {
    background: rgba(255, 255, 255, 0.3);
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.social-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background 0.2s;
    position: relative;
}

.social-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.social-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffffff;
    border-radius: 3px 3px 0 0;
}

.social-nav-item svg {
    width: 24px;
    height: 24px;
}

.social-nav-item span {
    display: none;
}

@media (min-width: 1024px) {
    .social-nav-item span {
        display: inline;
    }
}

.social-user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 12px 16px;
    color: #1c1e21;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background 0.2s;
    border-radius: 8px;
    margin: 4px;
}

.menu-item:hover {
    background: #f0f2f5;
}

/* Social Main Container */
/* Social Hero Section */
.social-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    z-index: 3 !important;
    margin-top: 0;
    margin-bottom: 0;
    background: transparent;
    isolation: isolate;
}

/* Hero bölümünün üstünde partikülleri gizle */
.social-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 4;
    pointer-events: none;
}

.social-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-blur-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
    transform: scale(1.05);
    display: block;
    position: relative;
    z-index: 2;
}

.social-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    animation: floatHeroParticle 15s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes floatHeroParticle {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }

    25% {
        transform: translate(60px, -80px) scale(1.2) rotate(90deg);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50px, -120px) scale(0.8) rotate(180deg);
        opacity: 0.7;
    }

    75% {
        transform: translate(-80px, -60px) scale(1.1) rotate(270deg);
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
        opacity: 0.6;
    }
}

.social-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    transform: none !important;
    opacity: 1 !important;
}

/* Announcement Banner */
.social-announcement-banner {
    width: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid rgba(59, 130, 246, 0.5);
    position: relative;
    z-index: 2;
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.announcement-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.announcement-text {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.announcement-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.announcement-subtext {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
}

.announcement-button {
    padding: 12px 24px;
    background: white;
    color: #dc2626;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
}

.announcement-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        text-align: center;
    }

    .announcement-text {
        text-align: center;
    }

    .announcement-button {
        width: 100%;
        text-align: center;
    }
}


.social-hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .social-hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .social-hero-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
}

.social-main {
    background: #ffffff;
    padding: 20px 0;
    overflow: visible !important;
    height: auto !important;
    position: relative;
    min-height: 100vh;
    z-index: 2 !important;
}

/* Floating Blue Particles Background */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1 !important;
    overflow: hidden;
    background: transparent;
    clip-path: polygon(0 400px, 100% 400px, 100% 100%, 0 100%);
}

.floating-particle {
    position: absolute !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.6)) !important;
    filter: blur(4px) !important;
    animation: floatParticle 20s infinite ease-in-out !important;
    will-change: transform, opacity;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    box-shadow: 0 0 120px rgba(59, 130, 246, 0.5) !important;
    z-index: 1 !important;
}

.floating-circle {
    position: absolute !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 1), rgba(37, 99, 235, 0.8)) !important;
    filter: blur(8px) !important;
    animation: float 15s infinite ease-in-out !important;
    will-change: transform, opacity;
    opacity: 0.8 !important;
    display: block !important;
    visibility: visible !important;
    transform: translateZ(0);
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.6) !important;
}

.floating-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.floating-circle:nth-child(3) {
    width: 350px;
    height: 350px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.floating-circle:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 25s;
}

.floating-circle:nth-child(5) {
    width: 320px;
    height: 320px;
    top: 50%;
    left: 5%;
    animation-delay: 3s;
    animation-duration: 19s;
}

.floating-circle:nth-child(6) {
    width: 380px;
    height: 380px;
    top: 5%;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 21s;
}

.floating-circle:nth-child(7) {
    width: 280px;
    height: 280px;
    top: 70%;
    left: 60%;
    animation-delay: 1.5s;
    animation-duration: 23s;
}

.floating-circle:nth-child(8) {
    width: 420px;
    height: 420px;
    top: 40%;
    left: 40%;
    animation-delay: 2.5s;
    animation-duration: 24s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.85;
    }

    25% {
        transform: translate(80px, -100px) scale(1.1) rotate(90deg);
        opacity: 1;
    }

    50% {
        transform: translate(-70px, -150px) scale(0.9) rotate(180deg);
        opacity: 0.95;
    }

    75% {
        transform: translate(-100px, -80px) scale(1.05) rotate(270deg);
        opacity: 0.98;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
        opacity: 0.85;
    }
}

/* Yıldız partikülleri için animasyon */
.floating-star {
    position: absolute !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(147, 197, 253, 0.6)) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px rgba(147, 197, 253, 0.8), 0 0 20px rgba(59, 130, 246, 0.5) !important;
    animation: twinkleStar 3s infinite ease-in-out !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes twinkleStar {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Partikül animasyon varyasyonları */
.floating-particle:nth-child(3n) {
    animation-name: floatParticle2;
}

.floating-particle:nth-child(5n) {
    animation-name: floatParticle3;
}

@keyframes floatParticle2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.85;
    }

    25% {
        transform: translate(-80px, 100px) scale(1.1) rotate(-90deg);
        opacity: 1;
    }

    50% {
        transform: translate(90px, 120px) scale(0.9) rotate(-180deg);
        opacity: 0.95;
    }

    75% {
        transform: translate(100px, 80px) scale(1.05) rotate(-270deg);
        opacity: 0.98;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(-360deg);
        opacity: 0.85;
    }
}

@keyframes floatParticle3 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.85;
    }

    33% {
        transform: translate(90px, -80px) scale(1.1) rotate(120deg);
        opacity: 1;
    }

    66% {
        transform: translate(-85px, 100px) scale(0.9) rotate(240deg);
        opacity: 0.95;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
        opacity: 0.85;
    }
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr 350px;
    gap: 24px;
    padding: 0 24px;
    align-items: start;
    position: relative;
    overflow: visible !important;
    height: auto !important;
    background: transparent;
    z-index: 2 !important;
}

@media (max-width: 1024px) {
    .social-container {
        grid-template-columns: 1fr;
    }

    .social-sidebar-left,
    .social-sidebar-right {
        display: none;
    }
}

/* Left Sidebar */
.social-sidebar-left {
    position: relative;
    align-self: start;
    height: auto;
    overflow: visible;
    z-index: 4;
    border-right: 2px solid rgba(220, 38, 38, 0.2);
    padding-right: 24px;
    margin-right: 0;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 180px;
    position: relative;
    z-index: 4;
}

.sidebar-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.8);
}

.user-profile-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.profile-cover {
    height: 100px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.profile-info {
    padding: 16px;
    text-align: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid white;
    font-size: 2.25rem;
    font-weight: 700;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    position: relative;
    z-index: 3;
}

.profile-avatar-large:hover {
    transform: scale(1.05);
}

.profile-name {
    margin-top: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1e21;
}

.profile-title {
    margin-top: 6px;
    font-size: 0.875rem;
    color: #65676b;
    font-weight: 500;
}

.sidebar-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: #1c1e21;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 0.2s;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    background: #f0f2f5;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    color: #dc2626;
}

.conference-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conference-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.conference-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(4px);
}

.conference-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.conference-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1c1e21;
    margin: 0;
}

.conference-info p {
    font-size: 0.8125rem;
    color: #65676b;
    margin: 0;
}

/* Feed */
.social-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 4;
    padding: 0 24px;
    border-left: 2px solid rgba(220, 38, 38, 0.2);
    border-right: 2px solid rgba(220, 38, 38, 0.2);
}

.feed-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feed-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feed-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.8);
}

.create-post-card {
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.create-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.8);
}

.create-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.create-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.create-post-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 24px;
    background: #f0f2f5;
    font-size: 0.9375rem;
    color: #1c1e21;
    outline: none;
    transition: all 0.2s;
}

.create-post-input:focus {
    background: white;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.create-post-input::placeholder {
    color: #65676b;
}

.create-post-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e4e6eb;
}

.post-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #65676b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.post-action-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: translateY(-1px);
}

.post-action-btn svg {
    width: 20px;
    height: 20px;
}

.post-action-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    display: inline-block;
}

/* Post Card */
.post-card {
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(220, 38, 38, 0.5);
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.8);
}

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

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.post-author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 4px 0;
}

.post-time {
    font-size: 0.8125rem;
    color: #65676b;
}

.post-menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.post-menu-btn:hover {
    background: rgba(220, 38, 38, 0.1);
}

.post-content {
    margin-bottom: 16px;
    flex: 1;
    min-height: 80px;
}

.post-content p {
    font-size: 1rem;
    color: #1c1e21;
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
}

.post-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 12px;
}

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

.post-likes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #65676b;
    font-size: 0.875rem;
}

.post-likes svg {
    width: 16px;
    height: 16px;
    color: #dc2626;
}

.post-comments-count {
    display: flex;
    gap: 16px;
    color: #65676b;
    font-size: 0.875rem;
    cursor: pointer;
}

.post-comments-count:hover {
    text-decoration: underline;
}

.post-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
}

.post-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #65676b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.post-action:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: translateY(-1px);
}

.post-action.liked {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.post-action svg {
    width: 20px;
    height: 20px;
}

/* Right Sidebar */
.social-sidebar-right {
    position: relative;
    align-self: start;
    height: auto;
    overflow: visible;
    z-index: 4;
    border-left: 2px solid rgba(220, 38, 38, 0.2);
    padding-left: 24px;
    margin-left: 0;
}

.events-list,
.suggestions-list,
.groups-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.event-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    align-items: flex-start;
}

.event-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(4px);
}

.event-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
}

.event-location-icon {
    margin-right: 4px;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 10px;
    padding: 6px;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.event-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.event-month {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.event-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1c1e21;
    margin: 0 0 4px 0;
}

.event-info p {
    font-size: 0.8125rem;
    color: #65676b;
    margin: 0 0 4px 0;
}

.event-attendees {
    font-size: 0.75rem;
    color: #dc2626;
}

.suggestion-item,
.group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.suggestion-item:hover,
.group-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(4px);
}

.suggestion-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.suggestion-info,
.group-info {
    flex: 1;
}

.suggestion-info h5,
.group-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1c1e21;
    margin: 0 0 4px 0;
}

.suggestion-info p,
.group-info p {
    font-size: 0.8125rem;
    color: #65676b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.suggestion-icon {
    font-size: 0.875rem;
}

.follow-btn,
.join-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.follow-btn:hover,
.join-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

.group-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.see-all-link {
    display: block;
    text-align: center;
    padding: 8px;
    color: #dc2626;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s;
}

.see-all-link:hover {
    background: #f0f2f5;
}

/* Loading Indicator */
.feed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
}

.loading-spinner-small {
    position: relative;
    width: 40px;
    height: 40px;
}

.loading-spinner-small .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner-small .spinner-ring:nth-child(1) {
    animation-duration: 1s;
    border-top-color: #dc2626;
}

.loading-spinner-small .spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 0.8s;
    animation-direction: reverse;
    border-top-color: #b91c1c;
}

.loading-spinner-small .spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-duration: 0.6s;
    border-top-color: #991b1b;
}

.feed-loading p {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Pagination */
.feed-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    background: white;
    color: #1c1e21;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f0f2f5;
    border-color: #dc2626;
    color: #dc2626;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    background: white;
    color: #1c1e21;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    background: #f0f2f5;
    border-color: #dc2626;
    color: #dc2626;
}

.pagination-number.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    color: white;
}

.pagination-dots {
    padding: 0 8px;
    color: #65676b;
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f0f2f5;
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-item:hover {
    background: #e4e6eb;
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin: 0;
}

.stat-label {
    font-size: 0.8125rem;
    color: #65676b;
    font-weight: 600;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.activity-item:hover {
    background: #f0f2f5;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
}

.activity-info p {
    font-size: 0.875rem;
    color: #1c1e21;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.activity-info strong {
    color: #dc2626;
    font-weight: 600;
}

.activity-time {
    font-size: 0.75rem;
    color: #65676b;
}

/* Trending Topics */
.trending-topics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.topic-item:hover {
    background: #f0f2f5;
}

.topic-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.topic-hashtag {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1877f2;
    flex: 1;
}

.topic-count {
    font-size: 0.75rem;
    color: #65676b;
    font-weight: 500;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: #1c1e21;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-link:hover {
    background: #f0f2f5;
    transform: translateX(4px);
}

.quick-link-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.quick-link svg {
    color: #dc2626;
    flex-shrink: 0;
}

/* Forum Section */
.forum-section-wrapper {
    width: 100%;
    padding: 32px 0;
    background: #f8f9fa;
}

.forum-section {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 32px;
    width: calc(100% - 48px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.forum-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 38, 38, 0.8);
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f2f5;
}

.forum-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0;
}

.create-topic-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.create-topic-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.forum-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    border-bottom: 3px solid #f0f2f5;
}

.forum-tab {
    padding: 14px 28px;
    border: none;
    border-bottom: 4px solid transparent;
    background: transparent;
    color: #65676b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -3px;
}

.forum-tab:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.forum-tab.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
}

.forum-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* OneDio Style Grids */
.forum-tests-grid,
.forum-news-grid,
.forum-content-grid,
.forum-trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* OneDio Test Cards */
.onedio-test-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.onedio-test-card:hover {
    border-color: rgba(220, 38, 38, 0.8);
}

.onedio-test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.onedio-test-card.featured {
    border: 3px solid #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.onedio-test-card .test-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 12px;
}

.onedio-test-card .test-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.onedio-test-card .test-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.onedio-test-card .test-description {
    font-size: 0.9375rem;
    color: #65676b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.onedio-test-card .test-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e4e6eb;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #65676b;
}

.onedio-test-card .test-start-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.onedio-test-card .test-start-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* OneDio News Cards */
.onedio-news-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.onedio-news-card:hover {
    border-color: rgba(220, 38, 38, 0.8);
}

.onedio-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.onedio-news-card.featured {
    border: 3px solid #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.onedio-news-card .news-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 12px;
}

.onedio-news-card .news-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.onedio-news-card .news-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.onedio-news-card .news-description {
    font-size: 0.9375rem;
    color: #65676b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.onedio-news-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #e4e6eb;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #65676b;
}

.onedio-news-card .news-read-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.onedio-news-card .news-read-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* OneDio Content Cards */
.onedio-content-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.onedio-content-card:hover {
    border-color: rgba(220, 38, 38, 0.8);
}

.onedio-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.onedio-content-card.featured {
    border: 3px solid #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.onedio-content-card .content-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 12px;
}

.onedio-content-card .content-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.onedio-content-card .content-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.onedio-content-card .content-description {
    font-size: 0.9375rem;
    color: #65676b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.onedio-content-card .content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e4e6eb;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #65676b;
}

.onedio-content-card .content-stats {
    display: flex;
    gap: 16px;
}

.onedio-content-card .content-read-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.onedio-content-card .content-read-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Trending Badge for Cards */
.onedio-test-card .trending-badge,
.onedio-news-card .trending-badge,
.onedio-content-card .trending-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    z-index: 1;
}

/* Forum Topic */
.forum-topic {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
    position: relative;
    border-left: 5px solid transparent;
    min-height: 120px;
}

.forum-topic:hover {
    background: #f0f2f5;
    border-left-color: #dc2626;
    transform: translateX(4px);
}

.forum-topic.pinned {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.05));
    border-left-color: #dc2626;
}

.forum-topic.trending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
}

.pinned-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trending-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5rem;
}

.topic-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.topic-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.topic-content {
    flex: 1;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.topic-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0;
    flex: 1;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.4;
}

.topic-title:hover {
    color: #dc2626;
}

.topic-description {
    font-size: 0.9375rem;
    color: #65676b;
    line-height: 1.6;
    margin: 12px 0 16px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

.topic-category {
    padding: 6px 16px;
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 0.8125rem;
    font-weight: 700;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #65676b;
    padding-top: 8px;
}

.topic-author {
    font-weight: 600;
    color: #dc2626;
}

.topic-stats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topic-time {
    margin-left: auto;
}

/* Forum Poll */
.forum-poll {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.2s;
    border-left: 5px solid #dc2626;
    min-height: 280px;
}

.forum-poll:hover {
    background: #f0f2f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.poll-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e4e6eb;
}

.poll-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poll-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.poll-author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 6px 0;
}

.poll-time {
    font-size: 0.75rem;
    color: #65676b;
}

.poll-question {
    font-size: 1.3125rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.poll-option {
    background: white;
    border-radius: 10px;
    padding: 16px;
    border: 2px solid #e4e6eb;
    transition: all 0.2s;
    cursor: pointer;
    min-height: 80px;
}

.poll-option:hover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.poll-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.poll-option-text {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1c1e21;
}

.poll-option-percentage {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
}

.poll-option-bar {
    height: 12px;
    background: #e4e6eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.poll-option-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.poll-option-votes {
    font-size: 0.8125rem;
    color: #65676b;
    font-weight: 600;
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid #e4e6eb;
}

.poll-total {
    font-size: 1rem;
    color: #65676b;
    font-weight: 700;
}

.poll-vote-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-vote-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .social-header-container {
        padding: 0 12px;
    }

    .social-nav {
        gap: 4px;
    }

    .social-nav-item {
        padding: 8px;
    }

    .social-container {
        padding: 0 12px;
    }

    .feed-card {
        border-radius: 0;
    }

    .create-post-actions {
        flex-wrap: wrap;
    }

    .post-action-btn {
        min-width: calc(33.333% - 6px);
    }

    .forum-tests-grid,
    .forum-news-grid,
    .forum-content-grid,
    .forum-trending-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .onedio-test-card,
    .onedio-news-card,
    .onedio-content-card {
        min-height: 280px;
    }
}

/* Post Comments Section */
.post-comments-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e4e6eb;
}

.comment-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.comment-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.comment-input-wrapper {
    flex: 1;
    display: flex;
    gap: 8px;
}

.comment-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.comment-input:focus {
    border-color: #dc2626;
}

.comment-submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-1px);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.comment-item:hover {
    background: #f0f2f5;
}

.comment-content {
    flex: 1;
}

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

.comment-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1c1e21;
}

.comment-time {
    font-size: 0.75rem;
    color: #65676b;
}

.comment-text {
    font-size: 0.875rem;
    color: #1c1e21;
    line-height: 1.5;
    margin: 0;
}

/* Test Detail Page */
.test-detail-main {
    min-height: 100vh;
    background: #ffe5e5;
    padding: 100px 20px 40px;
}

.test-detail-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #b91c1c;
}

.test-detail-header {
    text-align: center;
    margin-bottom: 32px;
}

.test-detail-icon {
    font-size: 5rem;
    margin-bottom: 16px;
}

.test-detail-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.test-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px 0;
}

.test-detail-description {
    font-size: 1.125rem;
    color: #65676b;
    margin-bottom: 20px;
}

.test-detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.test-meta-item {
    font-size: 0.9375rem;
    color: #65676b;
}

.test-progress {
    margin-bottom: 24px;
}

.test-progress-bar {
    height: 8px;
    background: #e4e6eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.test-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transition: width 0.3s;
}

.test-progress-text {
    font-size: 0.875rem;
    color: #65676b;
    text-align: center;
    display: block;
}

.test-question h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 24px;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e4e6eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.test-option:hover {
    border-color: #dc2626;
    background: #fff5f5;
    transform: translateX(4px);
}

.test-option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.test-option-text {
    flex: 1;
    font-size: 1rem;
    color: #1c1e21;
}

.test-result {
    text-align: center;
}

.result-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 16px;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.result-title {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 16px;
}

.result-description {
    font-size: 1.125rem;
    color: #65676b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.result-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.result-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-stat-label {
    min-width: 120px;
    font-weight: 600;
    color: #1c1e21;
}

.result-stat-bar {
    flex: 1;
    height: 12px;
    background: #e4e6eb;
    border-radius: 6px;
    overflow: hidden;
}

.result-stat-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transition: width 0.3s;
}

.result-stat-value {
    min-width: 50px;
    font-weight: 700;
    color: #dc2626;
    text-align: right;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Poll Detail Page */
.poll-detail-main {
    min-height: 100vh;
    background: #ffe5e5;
    padding: 100px 20px 40px;
}

.poll-detail-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.poll-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e4e6eb;
}

.poll-author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.poll-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.poll-author-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 4px 0;
}

.poll-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px 0;
}

.poll-option-card {
    padding: 16px;
    border: 2px solid #e4e6eb;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option-card:hover {
    border-color: #dc2626;
    background: #fff5f5;
}

.poll-option-card.selected {
    border-color: #dc2626;
    background: #fff5f5;
}

.poll-option-card input[type="radio"] {
    margin-right: 12px;
}

.poll-results {
    margin-top: 32px;
}

.poll-result-item {
    margin-bottom: 20px;
}

.poll-result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.poll-result-percentage {
    font-weight: 700;
    color: #dc2626;
}

.poll-result-bar {
    height: 12px;
    background: #e4e6eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 4px;
}

.poll-result-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transition: width 0.3s;
}

.poll-comments {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #e4e6eb;
}

.poll-comments h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 20px;
}

/* ============================================
   NEW DESIGN FEATURES - SOCIAL PAGE
   ============================================ */

/* Search & Filter Section */
.social-search-filter-section {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 0;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-box-wrapper {
    position: relative;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(59, 130, 246, 0.6);
    pointer-events: none;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 48px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 1);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(59, 130, 246, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.search-clear-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.filter-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1e21;
    white-space: nowrap;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1c1e21;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.filter-reset-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.filter-reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: #65676b;
    font-size: 1.1rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: sticky;
    top: 140px;
    z-index: 99;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link {
    color: rgba(59, 130, 246, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    color: rgba(59, 130, 246, 1);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #65676b;
    font-size: 0.9rem;
}

.breadcrumb-current {
    color: #1c1e21;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

/* Floating Action Button */
.fab-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateY(0);
}

.fab-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

.fab-button:active {
    transform: translateY(-3px) scale(0.95);
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 160px;
    align-self: flex-start;
    overflow: hidden;
}

.social-feed::-webkit-scrollbar {
    width: 8px;
}

.social-feed::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
    border-radius: 10px;
}

.social-feed::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(37, 99, 235, 0.6));
    border-radius: 10px;
    transition: background 0.3s ease;
}

.social-feed::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8));
}

/* Glassmorphism Effects */
.sidebar-section,
.feed-card,
.create-post-card,
.post-card,
.forum-section,
.onedio-test-card,
.onedio-news-card,
.onedio-content-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient Borders */
.sidebar-section,
.feed-card,
.create-post-card,
.post-card {
    position: relative;
    border: 2px solid rgba(220, 38, 38, 0.5) !important;
    background-clip: padding-box;
}

.sidebar-section::before,
.feed-card::before,
.create-post-card::before,
.post-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.8), rgba(220, 38, 38, 0.8));
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease, background-position 3s ease;
    animation: gradientShift 3s ease infinite;
}

.sidebar-section:hover::before,
.feed-card:hover::before,
.create-post-card:hover::before,
.post-card:hover::before {
    opacity: 1;
}

.sidebar-section:hover,
.feed-card:hover,
.create-post-card:hover,
.post-card:hover {
    border-color: rgba(220, 38, 38, 0.8) !important;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Card Hover Effects */
.sidebar-section,
.feed-card,
.create-post-card,
.post-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-section:hover,
.feed-card:hover,
.create-post-card:hover,
.post-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Neumorphism Effects (Soft UI) */
.user-profile-card {
    background: #f8f9fa;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
    border: none;
}

/* Gradient Animations for Hero Title */
.social-hero-title {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    animation: none;
}

/* Parallax Effect - Disabled */
.social-hero {
    overflow: hidden;
}

.social-hero-content {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Particle Explosion Effect */
.explosion-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.5s ease-out;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 12px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* Enhanced Micro-animations */
.btn,
button,
.announcement-button,
.filter-reset-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover,
button:hover,
.announcement-button:hover,
.filter-reset-btn:hover {
    transform: translateY(-2px);
}

.btn:active,
button:active,
.announcement-button:active,
.filter-reset-btn:active {
    transform: translateY(0);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-search-filter-section {
        padding: 16px 0;
    }

    .search-filter-container {
        padding: 0 16px;
    }

    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .filter-reset-btn {
        width: 100%;
        justify-content: center;
    }

    .breadcrumb-nav {
        top: 120px;
    }

    .sticky-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    .fab-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .breadcrumb-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .search-box-wrapper {
        margin-bottom: 16px;
    }

    .search-input {
        padding: 12px 45px 12px 42px;
        font-size: 0.9rem;
    }

    .filter-label {
        font-size: 0.85rem;
    }

    .filter-select {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Registration Modal */
.registration-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.registration-modal.active {
    display: flex;
    opacity: 1;
}

.registration-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: registrationModalSlideIn 0.3s ease-out;
    position: relative;
    border: 2px solid rgba(220, 38, 38, 0.1);
}

@keyframes registrationModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.registration-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.registration-modal-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: rotate(90deg);
}

.registration-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.registration-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration-modal-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.registration-modal-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.registration-modal-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.registration-modal-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .registration-modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .registration-modal-icon {
        font-size: 3rem;
    }

    .registration-modal-title {
        font-size: 1.25rem;
    }

    .registration-modal-message {
        font-size: 0.9rem;
    }
}

/* Coming Soon Modal */
.coming-soon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-modal.active {
    display: flex;
    opacity: 1;
}

.coming-soon-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: comingSoonModalSlideIn 0.3s ease-out;
    position: relative;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

@keyframes comingSoonModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.coming-soon-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.coming-soon-modal-close:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    transform: rotate(90deg);
}

.coming-soon-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.coming-soon-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-modal-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.coming-soon-modal-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    width: 100%;
}

.coming-soon-modal-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.coming-soon-modal-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .coming-soon-modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .coming-soon-modal-icon {
        font-size: 3rem;
    }

    .coming-soon-modal-title {
        font-size: 1.25rem;
    }

    .coming-soon-modal-message {
        font-size: 1rem;
    }
}

/* Access Denied Modal (Blog) */
.access-denied-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.access-denied-modal.active {
    display: flex;
    opacity: 1;
}

.access-denied-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: accessDeniedModalSlideIn 0.3s ease-out;
    position: relative;
    border: 2px solid rgba(220, 38, 38, 0.2);
}

@keyframes accessDeniedModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.access-denied-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.access-denied-modal-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: rotate(90deg);
}

.access-denied-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.access-denied-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.access-denied-modal-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    width: 100%;
}

.access-denied-modal-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* MunSocial Modal */
.munsocial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.munsocial-modal.active {
    display: flex;
    opacity: 1;
}

.munsocial-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: munsocialModalSlideIn 0.3s ease-out;
    position: relative;
    border: 2px solid rgba(37, 99, 235, 0.2);
}

@keyframes munsocialModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.munsocial-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.munsocial-modal-close:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    transform: rotate(90deg);
}

.munsocial-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.munsocial-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.munsocial-modal-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.munsocial-modal-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    width: 100%;
}

.munsocial-modal-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {

    .access-denied-modal-content,
    .munsocial-modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .access-denied-modal-icon,
    .munsocial-modal-icon {
        font-size: 3rem;
    }

    .access-denied-modal-title,
    .munsocial-modal-title {
        font-size: 1.25rem;
    }
}

/* System Gallery Modal */
.system-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.system-gallery-modal.active {
    display: flex;
    opacity: 1;
}

.system-gallery-modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: systemGalleryModalSlideIn 0.3s ease-out;
}

.system-gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes systemGalleryModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.system-gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10002;
    line-height: 1;
    font-weight: 300;
}

.system-gallery-modal-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.system-gallery-modal-prev,
.system-gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 3rem;
    color: #333;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10002;
    font-weight: 300;
    line-height: 1;
}

.system-gallery-modal-prev {
    left: 20px;
}

.system-gallery-modal-next {
    right: 20px;
}

.system-gallery-modal-prev:hover,
.system-gallery-modal-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .system-gallery-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .system-gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .system-gallery-modal-prev,
    .system-gallery-modal-next {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }

    .system-gallery-modal-prev {
        left: 10px;
    }

    .system-gallery-modal-next {
        right: 10px;
    }
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.active {
    display: flex;
    opacity: 1;
}

.share-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: shareModalSlideIn 0.3s ease-out;
    position: relative;
    border: 2px solid rgba(220, 38, 38, 0.1);
}

@keyframes shareModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.share-modal-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: rotate(90deg);
}

.share-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.share-option svg {
    width: 32px;
    height: 32px;
    color: #dc2626;
}

.share-option span {
    font-size: 0.9rem;
    font-weight: 600;
}

.share-whatsapp:hover svg {
    color: #25D366;
}

.share-twitter:hover svg {
    color: #1DA1F2;
}

.share-facebook:hover svg {
    color: #1877F2;
}

.share-copy {
    border: none;
    background: white;
}

@media (max-width: 768px) {
    .share-modal-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .share-option {
        padding: 1rem 0.5rem;
    }

    .share-option svg {
        width: 28px;
        height: 28px;
    }
}