
/* XD */
:root
{
    --nav-background: #64051D;
    --nav-border-color: #A9EDFC;
    --nav-navitem-border-color: #ac0c33;
    --nav-navitem-hover-color: #a00e33;
    --body-background: #0a0a0a;
    --body--neonblue: #A9EDFC;
    --neon-pink: #ff0080;
    --neon-blue: #00ffff;
    --neon-purple: #8000ff;
    --card-bg: rgba(20, 20, 20, 0.8);
    --card-border: rgba(169, 237, 252, 0.3);
    --border-radius: 1px;
    --neon-gradient: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(223, 1, 112, 0.2));
}

body
{
    background: var(--body-background);
    background-image: url('images/bgblur.png');
    background-color: #000;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Tektur', sans-serif;
    background-repeat: no-repeat;
    background-position-x: center;
}

.fade-in-content
{
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.loaded
{
    opacity: 1;
}

/* Add scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--neon-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

.navbar
{
    background-image: linear-gradient(90deg, var(--neon-pink) 0%, #000 25%, var(--neon-purple) 50%, #000 75%, var(--neon-pink) 100%);
    background-color: #000;
    background-size: 100% 6px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}

.nav-item
{
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    background: #0000008c;
    text-shadow: 0 0 1px black;
    width: 150px;
    padding: 5px;
    font-family: 'Tektur', sans-serif;
    margin-right: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    border-bottom: 3px solid #151515;
    border-left: 3px solid #2b2b2b5c;
}
.nav-item:hover
{
    background: var(--neon-gradient);
    color: #000000;
}

.bg-secondary
{
    background-color: #2c2c2c !important;
    color: white;
}
.card-wrapper
{
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(7, 66, 77, 0.6) 100%);
    padding: 2px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
}

.card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(169, 237, 252, 0.3);
}

.card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-purple));
    border-radius: var(--border-radius);
    z-index: -1;
    animation: glow 3s ease-in-out infinite alternate;
    cursor: pointer;
}

@keyframes glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.card
{
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 15px;
    color: white;
    font-family: 'Tektur', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-text {
    flex: 1;
}

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

.card:hover::before {
    left: 100%;
}

.card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 12px 40px rgba(169, 237, 252, 0.2);
}

.card-title {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--neon-blue);
    margin-bottom: 15px;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    border-radius: 2px;
}

.card-text
{
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.btn-primary
{
    background: rgba(169, 237, 252, 0.1);
    border: 1px solid rgba(169, 237, 252, 0.3);
    color: var(--neon-blue);
    font-weight: 400;
    font-size: 13px;
    padding: 8px 16px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(169, 237, 252, 0.1), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover
{
    background: rgba(169, 237, 252, 0.2);
    border-color: var(--neon-blue);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(169, 237, 252, 0.2);
}

.tag {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(0, 255, 255, 0.2)) !important;
    border: 1px solid rgba(169, 237, 252, 0.3);
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.tag:hover {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue)) !important;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(169, 237, 252, 0.3);
}

/* Button Link Override - Cyberpunk Neon Style */
.btn-link {
    color: var(--neon-blue) !important;
    text-decoration: none !important;
    font-family: 'Tektur', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-shadow: 0 0 8px rgba(169, 237, 252, 0.4) !important;
    letter-spacing: 0.3px !important;
}

.btn-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(169, 237, 252, 0.1), transparent) !important;
    transition: left 0.5s ease !important;
    z-index: -1 !important;
}

.btn-link:hover {
    color: #ffffff !important;
    background: rgba(169, 237, 252, 0.1) !important;
    border-color: rgba(169, 237, 252, 0.3) !important;
    text-shadow: 0 0 15px rgba(169, 237, 252, 0.8) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(169, 237, 252, 0.2) !important;
}

.btn-link:hover::before {
    left: 100% !important;
}

.btn-link:focus {
    color: #ffffff !important;
    background: rgba(169, 237, 252, 0.15) !important;
    border-color: var(--neon-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(169, 237, 252, 0.25), 
                0 0 20px rgba(169, 237, 252, 0.4) !important;
}

.btn-link:active {
    color: #ffffff !important;
    background: rgba(169, 237, 252, 0.2) !important;
    border-color: var(--neon-blue) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(169, 237, 252, 0.3) !important;
}

/* Disabled state */
.btn-link:disabled,
.btn-link.disabled {
    color: #666666 !important;
    background: transparent !important;
    border-color: transparent !important;
    text-shadow: none !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-link:disabled::before,
.btn-link.disabled::before {
    display: none !important;
}

/* Small variant */
.btn-link.btn-sm {
    font-size: 12px !important;
    padding: 6px 12px !important;
}

/* Large variant */
.btn-link.btn-lg {
    font-size: 16px !important;
    padding: 10px 20px !important;
}

/* Link specific styling for auth forms */
.auth-form .btn-link {
    margin-left: 15px !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-link {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
    
    .auth-form .btn-link {
        margin-left: 10px !important;
        margin-top: 8px !important;
        display: block !important;
        width: fit-content !important;
    }
}

/* Container improvements */
.container-fluid {
    padding: 0 20px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card-wrapper {
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Navbar extra animations */
@keyframes navbarGlow {
    0% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    }
    50% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(169, 237, 252, 0.2);
    }
    100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    }
}

.navbar {
    animation: navbarGlow 4s ease-in-out infinite;
}

/* Mobile navbar improvements */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(169, 237, 252, 0.2);
    }
    
    .nav-item {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav-link {
        text-align: center;
    }
}

/* Like and View Counter Styles */
.card-counters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid rgba(169, 237, 252, 0.1);
}

.counter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.counter i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.counter.like-counter:hover {
    color: var(--neon-pink);
    cursor: pointer;
}

.counter.like-counter:hover i {
    color: var(--neon-pink);
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 0, 128, 0.6));
}

.counter.view-counter:hover {
    color: var(--neon-blue);
}

.counter.view-counter:hover i {
    color: var(--neon-blue);
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

.counter-number {
    font-weight: 500;
    font-family: 'Tektur', sans-serif;
}

/* Hero Carousel Styles */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-textbox {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(169, 237, 252, 0.2);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.carousel-textbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(169, 237, 252, 0.03), rgba(255, 0, 128, 0.03));
    border-radius: 14px;
    z-index: -1;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Tektur', sans-serif;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    line-height: 1.2;
}

.carousel-description {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 300;
}

.carousel-counters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.carousel-counters .counter {
    font-size: 14px;
    font-weight: 500;
    color: #b0b0b0;
}

.carousel-counters .counter i {
    font-size: 16px;
    margin-right: 6px;
}

.carousel-counters .like-counter {
    color: #ff6b9d;
}

.carousel-counters .view-counter {
    color: #6bcfff;
}

.btn-carousel-primary {
    background: linear-gradient(135deg, rgba(169, 237, 252, 0.8), rgba(100, 181, 246, 0.8));
    border: 1px solid rgba(169, 237, 252, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(169, 237, 252, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

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

.btn-carousel-primary:hover::before {
    left: 100%;
}

.btn-carousel-primary:hover {
    background: linear-gradient(135deg, rgba(169, 237, 252, 0.9), rgba(100, 181, 246, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 237, 252, 0.3);
    color: #ffffff;
    border-color: rgba(169, 237, 252, 0.6);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(169, 237, 252, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(169, 237, 252, 0.2);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(169, 237, 252, 0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.carousel-indicators button:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.6);
}



/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 60px 0 0;
    position: relative;
    margin-top: 80px;
}

.footer-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--neon-pink) 0%, 
        var(--neon-blue) 25%, 
        var(--neon-purple) 50%, 
        var(--neon-blue) 75%, 
        var(--neon-pink) 100%
    );
    animation: footerBorderGlow 3s ease-in-out infinite alternate;
}

@keyframes footerBorderGlow {
    0% { 
        box-shadow: 0 0 10px rgba(169, 237, 252, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 0, 128, 0.6);
    }
    100% { 
        box-shadow: 0 0 10px rgba(128, 0, 255, 0.5);
    }
}

.footer-section {
    margin-bottom: 30px;
}

.footer-title {
    font-family: 'Tektur', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 15px;
}

.footer-subtitle {
    font-family: 'Tektur', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(169, 237, 252, 0.3);
    border-radius: 50%;
    color: #b0b0b0;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(169, 237, 252, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(169, 237, 252, 0.1);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-copyright {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-family: 'Tektur', sans-serif;
}

.footer-made {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.6);
    font-weight: 600;
}

/* Message Board Styles */
.message-board-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(169, 237, 252, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.message-board-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue), var(--neon-purple));
    animation: glow 3s ease-in-out infinite alternate;
}

.message-board {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    height: 100%;
}

.message-board-header {
    border-bottom: 1px solid rgba(169, 237, 252, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.message-board-title {
    font-family: 'Tektur', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.message-board-counters {
    display: flex;
    gap: 20px;
}

.message-board-counters .counter {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.message-board-counters .counter i {
    color: var(--neon-purple);
}

.message-board-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
}

.message-board-content::-webkit-scrollbar {
    width: 6px;
}

.message-board-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.message-board-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    border-radius: 3px;
}

.message-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(169, 237, 252, 0.1);
    transition: all 0.3s ease;
}

.message-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(169, 237, 252, 0.3);
    transform: translateX(5px);
}

.message-avatar {
    flex-shrink: 0;
}

.message-avatar i {
    font-size: 2rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.message-details {
    flex: 1;
}

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

.message-author {
    font-weight: 600;
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.8rem;
    color: #888;
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.message-reactions {
    display: flex;
    gap: 15px;
}

.reaction {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reaction:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.reaction i {
    font-size: 0.7rem;
}

.message-board-footer {
    border-top: 1px solid rgba(169, 237, 252, 0.2);
    padding-top: 15px;
}

.message-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(169, 237, 252, 0.3);
    border-radius: 25px;
    padding: 12px 18px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.message-input::placeholder {
    color: #888;
}

.message-send-btn {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
}

.message-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}

/* Equal height cards fix */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Ensure all cards in a row have equal height */
@media (min-width: 768px) {
    .col-9 .row {
        display: flex;
        align-items: stretch;
    }
    
    .col-9 .row > [class*='col-'] {
        display: flex;
    }
}

/* Secondary Navigation Styles */
.secondary-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(169, 237, 252, 0.1);
    padding: 15px 0;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

.secondary-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(169, 237, 252, 0.3) 20%, 
        rgba(255, 0, 128, 0.3) 50%, 
        rgba(169, 237, 252, 0.3) 80%, 
        transparent 100%
    );
}

.secondary-nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: fit-content;
    padding: 0 20px;
}

.nav-item-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    min-width: 80px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(169, 237, 252, 0.15);
    border-radius: 10px;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Tektur', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item-secondary i {
    font-size: 18px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.nav-item-secondary span {
    white-space: nowrap;
    font-size: 10px;
}

.nav-item-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(169, 237, 252, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-item-secondary:hover::before {
    left: 100%;
}

.nav-item-secondary:hover {
    color: var(--neon-blue);
    border-color: rgba(169, 237, 252, 0.4);
    background: rgba(169, 237, 252, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(169, 237, 252, 0.15);
}

.nav-item-secondary:hover i {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    transform: scale(1.1);
}

.nav-item-secondary:hover span {
    color: white;
}

/* Scrollbar for secondary nav on mobile */
.secondary-nav::-webkit-scrollbar {
    height: 4px;
}

.secondary-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.secondary-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    border-radius: 2px;
}

/* Responsive Secondary Navigation */
@media (max-width: 1200px) {
    .secondary-nav-content {
        justify-content: flex-start;
        gap: 6px;
    }
    
    .nav-item-secondary {
        min-width: 70px;
        padding: 10px 12px;
    }
    
    .nav-item-secondary i {
        font-size: 16px;
    }
    
    .nav-item-secondary span {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .secondary-nav {
        padding: 12px 0;
    }
    
    .secondary-nav-content {
        gap: 4px;
        padding: 0 15px;
    }
    
    .nav-item-secondary {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .nav-item-secondary i {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .nav-item-secondary span {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .nav-item-secondary {
        min-width: 50px;
        padding: 6px 8px;
    }
    
    .nav-item-secondary span {
        display: none;
    }
    
    .nav-item-secondary i {
        font-size: 16px;
        margin-bottom: 0;
    }
}

/* Breadcrumbs Styles */
.breadcrumbs-section {
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid rgba(169, 237, 252, 0.1);
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
    font-family: 'Tektur', sans-serif;
}

.breadcrumb-item a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--neon-blue);
}

.breadcrumb-item.active {
    color: var(--neon-blue);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(169, 237, 252, 0.4);
    margin: 0 8px;
}

/* Breadcrumb Wrapper */
.breadcrumb-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.breadcrumb-wrapper .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: var(--neon-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-wrapper .breadcrumb-item a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-green);
}

.breadcrumb-wrapper .breadcrumb-item.active {
    color: #ccc;
}

/* Article Hero Styles */
.article-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.article-hero-textbox {
    text-align: center;
    color: white;
}

.article-category {
    display: inline-flex;
    align-items: center;
    background: rgba(169, 237, 252, 0.2);
    border: 1px solid rgba(169, 237, 252, 0.4);
    color: var(--neon-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-hero-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Tektur', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.article-hero-subtitle {
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 300;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.article-author:hover {
    background: rgba(0, 255, 136, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.article-author .author-avatar {
    font-size: 2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.article-author .author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-author .author-name {
    font-weight: bold;
    font-size: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    line-height: 1.2;
}

.article-author .author-title {
    font-size: 0.85rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.article-stats .stat-item {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.article-stats .stat-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.article-stats .stat-item i {
    color: var(--neon-green);
    margin-right: 0.4rem;
    text-shadow: 0 0 5px var(--neon-green);
}

/* Article Content Styles */
.article-content {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(169, 237, 252, 0.2);
    border-radius: 15px;
    padding: 40px;
    color: #e0e0e0;
}

.article-actions {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(169, 237, 252, 0.1);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2, .article-body h3 {
    color: var(--neon-blue);
    font-family: 'Tektur', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(169, 237, 252, 0.3);
    padding-bottom: 10px;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: #f0f0f0;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(169, 237, 252, 0.05);
    border-left: 4px solid var(--neon-blue);
    border-radius: var(--border-radius);
}

.blockquote-custom {
    background: rgba(255, 0, 128, 0.05);
    border-left: 4px solid var(--neon-pink);
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--border-radius);
    font-style: italic;
}

.blockquote-custom p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.blockquote-custom cite {
    font-size: 0.9rem;
    color: var(--neon-pink);
    font-weight: 600;
}

.article-list {
    list-style: none;
    padding-left: 0;
}

.article-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(169, 237, 252, 0.1);
    position: relative;
    padding-left: 25px;
}

.article-list li::before {
    content: "▶";
    color: var(--neon-blue);
    position: absolute;
    left: 0;
    top: 10px;
}

.article-highlight {
    background: linear-gradient(135deg, rgba(169, 237, 252, 0.08), rgba(255, 0, 128, 0.08));
    border: 1px solid rgba(169, 237, 252, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.article-highlight h4 {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Tektur', sans-serif;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-pink);
    font-family: 'Tektur', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 5px;
}

/* Article Footer Styles */
.article-footer {
    border-top: 1px solid rgba(169, 237, 252, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-author-bio {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-avatar {
    font-size: 3rem;
    color: var(--neon-green);
}

.author-info h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #ccc;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.5rem;
}

.author-social .social-link {
    color: var(--neon-green);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.author-social .social-link:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-green);
}

.article-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.related-articles .related-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-articles .related-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-thumbnail {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.related-content h6 {
    margin-bottom: 0.25rem;
}

.related-content h6 a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
}

.related-content h6 a:hover {
    color: var(--neon-green);
}

.related-meta {
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

/* Newsletter Box */
.newsletter-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
}

.newsletter-box p {
    color: #ccc;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #fff;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.25);
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: #999;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud-item:hover {
    background: rgba(0, 255, 136, 0.2);
    color: #fff;
    text-shadow: 0 0 5px var(--neon-green);
}

/* Feed Items - Cyberpunk Style */
.feed-container {
    padding: 1rem 0;
}

.feed-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.feed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue), var(--neon-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-item:hover {
    transform: translateY(-3px);
    border-color: rgba(169, 237, 252, 0.6);
    box-shadow: 0 10px 30px rgba(169, 237, 252, 0.1);
}

.feed-item:hover::before {
    opacity: 1;
}

/* Feed Image */
.feed-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feed-item:hover .feed-image img {
    transform: scale(1.05);
}

.feed-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
}

.feed-source {
    color: var(--body--neonblue);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 5px var(--body--neonblue);
}

.feed-source i {
    margin-right: 0.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

/* Feed Content */
.feed-content {
    padding: 1.5rem;
}

.feed-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.feed-item:hover .feed-title {
    color: var(--body--neonblue);
    text-shadow: 0 0 15px var(--body--neonblue);
}

.feed-excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feed Stats */
.feed-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(169, 237, 252, 0.1);
    padding-top: 1rem;
}

.feed-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feed-stats span:hover {
    color: var(--body--neonblue);
    text-shadow: 0 0 5px var(--body--neonblue);
}

.feed-likes:hover {
    color: var(--neon-pink) !important;
    text-shadow: 0 0 5px var(--neon-pink) !important;
}

.feed-stats span i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.feed-stats span:hover i {
    transform: scale(1.2);
}

/* Skeleton Loading Animation */
.skeleton-loader {
    display: block;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, 
        rgba(20, 20, 20, 0.8) 0%, 
        rgba(40, 40, 40, 0.8) 25%, 
        rgba(20, 20, 20, 0.8) 50%, 
        rgba(40, 40, 40, 0.8) 75%, 
        rgba(20, 20, 20, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.skeleton-content {
    padding: 1.5rem;
}

.skeleton-source {
    width: 30%;
    height: 16px;
    background: linear-gradient(90deg, 
        rgba(169, 237, 252, 0.1) 0%, 
        rgba(169, 237, 252, 0.3) 50%, 
        rgba(169, 237, 252, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.skeleton-title {
    width: 80%;
    height: 24px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.skeleton-excerpt {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, 
        rgba(204, 204, 204, 0.1) 0%, 
        rgba(204, 204, 204, 0.3) 50%, 
        rgba(204, 204, 204, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.skeleton-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(169, 237, 252, 0.1);
}

.skeleton-stat {
    width: 60px;
    height: 16px;
    background: linear-gradient(90deg, 
        rgba(153, 153, 153, 0.1) 0%, 
        rgba(153, 153, 153, 0.3) 50%, 
        rgba(153, 153, 153, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 3px;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Real content fade in */
.real-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.real-content.show {
    opacity: 1;
}

/* Community Create Form Styles */
.community-create-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.community-create-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue), var(--neon-pink));
    animation: pulse 2s infinite;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.form-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.form-header h2 i {
    color: var(--body--neonblue);
    text-shadow: 0 0 15px var(--body--neonblue);
    margin-right: 0.5rem;
}

.form-header p {
    color: #ccc;
    font-size: 1.1rem;
    margin: 0;
}

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

.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--body--neonblue);
    margin-right: 0.5rem;
    text-shadow: 0 0 5px var(--body--neonblue);
}

/* Cyberpunk Input Styles */
.cyberpunk-input, .cyberpunk-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Tektur', sans-serif;
}

.cyberpunk-input:focus, .cyberpunk-textarea:focus {
    outline: none;
    border-color: var(--body--neonblue);
    box-shadow: 0 0 15px rgba(169, 237, 252, 0.3);
    background: rgba(30, 30, 30, 0.9);
    color: white !important;
}

.cyberpunk-input::placeholder, .cyberpunk-textarea::placeholder {
    color: #999;
    opacity: 0.8;
}

.cyberpunk-textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--card-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: rgba(20, 20, 20, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.file-upload-wrapper:hover, .file-upload-wrapper.drag-over {
    border-color: var(--body--neonblue);
    background: rgba(169, 237, 252, 0.05);
}

.cyberpunk-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 11;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.file-upload-display i {
    font-size: 2rem;
    color: var(--body--neonblue);
    text-shadow: 0 0 10px var(--body--neonblue);
}

.file-upload-display span {
    font-size: 1rem;
}

/* Tags Input Styles */
.tags-input-wrapper {
    position: relative;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(169, 237, 252, 0.1);
    border: 1px solid rgba(169, 237, 252, 0.3);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    color: var(--body--neonblue);
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
}

.tag-item span {
    text-shadow: 0 0 5px var(--body--neonblue);
}

.tag-remove {
    background: none;
    border: none;
    color: var(--neon-pink);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tag-remove:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-pink);
    transform: scale(1.2);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.btn-create-community {
    background: linear-gradient(135deg, var(--body--neonblue), var(--neon-blue));
    border: none;
    color: #000 !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(169, 237, 252, 0.3);
}

.btn-create-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 237, 252, 0.4);
    color: #000 !important;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--card-border);
    color: #ccc !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cancel:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink) !important;
    text-shadow: 0 0 10px var(--neon-pink);
    transform: translateY(-2px);
}

/* Error Messages */
.error-message {
    color: var(--neon-pink);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-shadow: 0 0 5px var(--neon-pink);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-create-form {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-create-community, .btn-cancel {
        width: 100%;
        max-width: 300px;
    }
    
    .file-upload-wrapper {
        padding: 1.5rem;
    }
}


/* Communities Page Styles */
.communities-header {
    background: linear-gradient(135deg, #000 0%, #2d2d2d00 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.communities-title {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  background: #000000a8;
  padding: 10px;
}

.communities-title i {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

.communities-subtitle {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.communities-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.communities-stats .stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    min-width: 120px;
}

.communities-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.communities-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Community Cards */
.community-card {
    background: rgba(0, 0, 0, 0.4);
    background-image: none;
    background-size: auto;
    border: 10px solid rgba(0, 0, 0, 0.9);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), #00d4ff, var(--neon-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-card:hover {
    /*transform: translateY(-5px);*/
    border-color: rgba(0, 0, 0, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.community-card:hover .background-overlay {
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.466);
}

.community-card:hover::before {
    opacity: 1;
}

.community-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    
}

.community-avatar {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid rgba(0, 255, 136, 0.5);
       border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--neon-green);
    flex-shrink: 0;
    text-shadow: 0 0 10px var(--neon-green);
}

.community-avatar.monor {
    background: rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 140, 0, 0.5);
    color: #ff8c00;
    text-shadow: 0 0 10px #ff8c00;
}

.community-avatar.random {
    background: rgba(255, 20, 147, 0.2);
    border-color: rgba(255, 20, 147, 0.5);
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493;
}

.community-avatar.party {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

.community-info {
    flex: 1;
}

.community-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.community-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.community-status {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.community-status.online {
    color: var(--neon-green);
}

.community-status.online i {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.community-status.seasonal {
    color: #ffd700;
}

.community-status.seasonal i {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700;
}

.community-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.community-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    font-size: 0.85rem;
    flex: 1;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.community-stats .stat:hover {
    background: rgba(0, 0, 0, 0.88);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

.community-stats .stat i {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
    font-size: 1rem;
}

.community-stats .stat-number {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

.community-stats .stat-label {
    color: #999;
    font-size: 0.75rem;
    line-height: 1;
}

.community-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.community-tags .tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.community-tags .tag:hover {
    background: rgba(0, 255, 136, 0.2);
    text-shadow: 0 0 5px var(--neon-green);
}

.community-recent {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.88);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.community-recent h6 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.community-recent h6 i {
    color: var(--neon-green);
}

.recent-post {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.recent-avatar {
    font-size: 1.2rem;
    color: var(--neon-green);
    flex-shrink: 0;
}

.recent-content {
    flex: 1;
    font-size: 0.85rem;
}

.recent-author {
    color: var(--neon-green);
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

.recent-text {
    color: #ccc;
    display: block;
    margin-bottom: 0.25rem;
}

.recent-time {
    color: #999;
    font-size: 0.75rem;
}

.community-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.community-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.btn-community-join,
.community-actions .btn-primary {
    background: linear-gradient(135deg, var(--neon-green), #00d4ff);
    border: none;
    color: #000 !important;
    font-weight: bold;
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
}

.btn-community-join:hover,
.community-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    color: #000 !important;
}

.btn-community-view,
.community-actions .btn-outline-light {
    border-color: rgba(0, 255, 136, 0.5);
    color: var(--neon-green) !important;
    background: transparent;
    min-width: auto;
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
}

.btn-community-view:hover,
.community-actions .btn-outline-light:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Create Community Section */
.create-community-section {
    background: rgba(0, 255, 136, 0.05);
    border: 2px dashed rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.create-community-section:hover {
    border-color: rgba(0, 255, 136, 0.6);
    background: rgba(0, 255, 136, 0.08);
}

.create-community-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.create-community-section h3 i {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.create-community-section p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.secondary-nav .nav-item-secondary.active {
    background: rgba(0, 255, 136, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.secondary-nav .nav-item-secondary.active i {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

/* Additional community button improvements */
.community-actions .btn i {
    font-size: 0.9rem;
}

.community-actions .btn-outline-light:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Ensure text color visibility */
.btn-primary, 
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active,
.community-actions .btn-primary,
.community-actions .btn-primary:hover,
.community-actions .btn-primary:focus,
.community-actions .btn-primary:active {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.btn-outline-light,
.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    color: var(--neon-green) !important;
}

.btn-outline-light:hover {
    color: #fff !important;
}

/* Fix for community card spacing */
.community-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.community-actions {
    margin-top: auto;
}

/* Communities Responsive Design */
@media (max-width: 768px) {
    .community-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .community-stats .stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 0.75rem 1rem;
        min-width: 100%;
    }
    
    .community-stats .stat i {
        order: 1;
    }
    
    .community-stats .stat-number {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .community-stats .stat-label {
        order: 3;
        margin-left: 0.5rem;
    }
    
    .community-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .community-avatar {
        align-self: center;
    }
    
    .community-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .community-actions .btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .community-actions .btn-outline-light {
        min-width: 50px;
        padding: 0.6rem 0.8rem;
    }
    
    .community-card {
        min-height: auto;
        margin-bottom: 1.5rem;
    }
}

/* Cyberpunk Bootstrap Pagination */
.pagination {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    gap: 0.5rem;
    margin: auto;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    background: rgba(20, 20, 20, 0.85);
    color: var(--body--neonblue);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin: 0 2px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    font-family: 'Tektur', sans-serif;
    font-weight: 600;
    text-shadow: 0 0 8px var(--body--neonblue);
    box-shadow: 0 2px 10px rgba(169, 237, 252, 0.15);
    transition: all 0.2s ease;
    outline: none;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #fff;
    text-shadow: 0 0 12px var(--neon-pink);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.2);
    transform: translateY(-2px) scale(1.08);
}

.pagination .page-item.active .page-link {
    color: #fff;
    border-color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
    box-shadow: 0 6px 24px rgba(0, 255, 255, 0.2);
    font-weight: bold;
    transform: scale(1.12);
}

.pagination .page-item.disabled .page-link {
    background: rgba(20, 20, 20, 0.5);
    color: #666;
    border-color: var(--card-border);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.pagination-container
{
    background: linear-gradient(270deg,rgba(0, 0, 0, 0) 0%, rgba(13, 13, 13, 1) 25%, rgba(9, 9, 9, 1) 75%, rgba(5, 5, 5, 0) 100%);
}

@media (max-width: 768px) {
    .pagination .page-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.95rem;
    }
}

.community-button-connect
{
    background-color: #0000007e !important;
    color: white;
    box-shadow: none !important;
}

/* Roman Head Navigation Epic Effects */
.romanhead-nav {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    overflow: hidden !important;
    z-index: 1;
}

.romanhead-nav:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%) !important;
    border-color: rgba(255, 215, 0, 0.8) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2) !important;
    z-index: 10;
}

.romanhead-nav-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.romanhead-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.romanhead-nav:hover .romanhead-img {
    border-color: #fff;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 140, 0, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.romanhead-nav-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    animation: navPulseGlow 2s ease-in-out infinite;
    z-index: -1;
}

.romanhead-nav:hover .romanhead-nav-glow {
    opacity: 1;
    animation: navIntensePulse 1s ease-in-out infinite;
}

.romanhead-nav-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1;
}

.nav-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px #ffd700;
}

.romanhead-nav:hover .nav-particle {
    animation: navParticleFloat 1.2s ease-out infinite;
}

.nav-particle:nth-child(1) {
    top: 5%;
    left: 25%;
    animation-delay: 0s;
}

.nav-particle:nth-child(2) {
    top: 25%;
    right: 20%;
    animation-delay: 0.4s;
}

.nav-particle:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 0.8s;
}

.romanhead-nav span {
    color: #ffd700 !important;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    transition: all 0.4s ease;
}

.romanhead-nav:hover span {
    color: #fff !important;
    text-shadow: 
        0 0 8px rgba(255, 215, 0, 1),
        0 0 12px rgba(255, 215, 0, 0.8);
    transform: scale(1.02);
}

.romanhead-nav.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 140, 0, 0.3) 100%) !important;
    border-color: rgba(255, 215, 0, 1) !important;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

.romanhead-nav.active .romanhead-img {
    border-color: #fff;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.9),
        0 0 25px rgba(255, 140, 0, 0.7);
}

.romanhead-nav.active span {
    color: #fff !important;
    text-shadow: 
        0 0 8px rgba(255, 215, 0, 1),
        0 0 12px rgba(255, 215, 0, 0.8);
}

@keyframes navPulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@keyframes navIntensePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes navParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-15px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-25px) scale(0);
    }
}

/* Footer Search Section */
.footer-search-section {
    padding: 2rem 0;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: footerSearchShimmer 3s infinite;
}

@keyframes footerSearchShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-search-form {
    position: relative;
}

.footer-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ffff;
    border-radius: 50px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 48px;
    pointer-events: none;
}

.footer-search-container:hover,
.footer-search-container:focus-within {
    border-color: #ff00ff;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.2);
    transform: scale(1.02);
}

.footer-search-container:hover::before,
.footer-search-container:focus-within::before {
    opacity: 1;
}

.footer-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    outline: none;
    font-family: 'Tektur', sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 2;
    cursor: text;
}

.footer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-search-input:focus::placeholder {
    color: rgba(0, 255, 255, 0.8);
}

.footer-search-btn {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.footer-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.footer-search-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(255, 0, 255, 0.3);
}

.footer-search-btn:hover::before {
    opacity: 1;
}

.footer-search-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-search-btn:hover i {
    transform: scale(1.2);
}

.footer-search-btn:active {
    transform: scale(0.95) rotate(-2deg);
}

/* Responsive Design for Footer Search */
@media (max-width: 768px) {
    .footer-search-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .footer-search-input {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .footer-search-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Gallery Upload Styling */
.gallery-upload-info {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.gallery-upload-info p {
    margin: 0;
    color: #00ffff;
    font-size: 0.9rem;
}

.gallery-upload-wrapper {
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.gallery-upload-wrapper:hover,
.gallery-upload-wrapper.drag-over {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.05);
}

.gallery-upload-display {
    color: #ffffff;
}

.gallery-upload-display i {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-preview-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-preview-item:hover {
    border-color: #ff00ff;
    transform: translateY(-2px);
}

.gallery-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.preview-info {
    text-align: center;
}

.preview-info span {
    color: #ffffff;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.preview-info small {
    color: #00ffff;
    font-size: 0.7rem;
}

.preview-remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

/* Simple form group styling */
.form-group {
    margin-bottom: 2rem;
    clear: both;
}

/* TinyMCE Editor Container Fixes - Simplified */
.tox-tinymce {
    z-index: 100 !important;
    margin: 1rem 0 !important;
}

.tox-toolbar,
.tox-menubar,
.tox-statusbar {
    z-index: 101 !important;
}

.tox-dialog-wrap,
.tox-dialog {
    z-index: 105 !important;
}

.tox-pop {
    z-index: 102 !important;
}

/* Ensure gallery elements stay below TinyMCE but clickable */
.gallery-upload-wrapper,
.gallery-upload-info,
.gallery-preview,
.gallery-preview-item {
    position: relative;
    z-index: 10 !important;
}

/* But TinyMCE should still be higher */
.form-group:has(textarea[id^="tinymce-"]) .gallery-upload-wrapper,
.form-group:has(textarea[id^="tinymce-"]) .gallery-upload-info {
    z-index: 5 !important;
}

/* Create separation between gallery and editor */
.form-group:has(.gallery-upload-wrapper) {
    margin-bottom: 3rem;
}

.form-group:has(textarea[id^="tinymce-"]) {
    margin-top: 3rem;
    position: relative;
    z-index: 100;
    isolation: isolate;
    background: transparent;
}

/* Force TinyMCE container visibility */
div[id^="tinymce-"] {
    z-index: 100 !important;
    position: relative !important;
}

/* File upload elements should be clickable and above background */
.file-upload-wrapper,
.file-upload-display {
    position: relative;
    z-index: 10;
}

.file-upload-wrapper .cyberpunk-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 11;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-preview {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .gallery-preview-item img {
        height: 100px;
    }
}

/* Existing Gallery Styles */
.existing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.existing-gallery-item {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.existing-gallery-item:hover {
    border-color: #ff00ff;
    transform: translateY(-2px);
}

.existing-gallery-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.existing-gallery-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-remove-existing-image {
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-remove-existing-image:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.existing-gallery-info {
    padding: 0.5rem;
    text-align: center;
}

.existing-gallery-info small {
    color: #00ffff;
    font-size: 0.75rem;
    word-break: break-all;
}

/* Gallery Upload Info Styles */
.gallery-upload-info {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.gallery-upload-info p {
    margin: 0;
    color: #00ffff;
    font-size: 0.9rem;
}

/* Gallery Upload Wrapper */
.gallery-upload-wrapper {
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.gallery-upload-wrapper:hover,
.gallery-upload-wrapper.drag-over {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.05);
}

.gallery-upload-display {
    color: #ffffff;
}

.gallery-upload-display i {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

/* Gallery Preview */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-preview-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-preview-item:hover {
    border-color: #ff00ff;
    transform: translateY(-2px);
}

.gallery-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.preview-info {
    text-align: center;
}

.preview-info span {
    color: #ffffff;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.preview-info small {
    color: #00ffff;
    font-size: 0.7rem;
}

.preview-remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .existing-gallery-grid,
    .gallery-preview {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .existing-gallery-thumbnail,
    .gallery-preview-item img {
        height: 100px;
    }
}

/* Clickable Tags Styling */
    .tag.badge {
        background: rgba(255, 0, 255, 0.2) !important;
        color: #ff00ff !important;
        border: 1px solid rgba(255, 0, 255, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none !important;
    }
    
    .tag.badge:hover {
        background: rgba(255, 0, 255, 0.4) !important;
        color: #ffffff !important;
        border-color: #ff00ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
        text-decoration: none !important;
    }
    
    .tag.badge:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(255, 0, 255, 0.2);
    }
    
    /* Gallery Thumbnails Styling */
    .post-gallery-thumbnails {
        margin-bottom: 2rem;
    }
    
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        max-width: 100%;
    }
    
    .gallery-thumbnail-item {
        position: relative;
        cursor: pointer;
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 2px solid rgba(0, 255, 255, 0.3);
        background: rgba(0, 0, 0, 0.5);
    }
    
    .gallery-thumbnail-item:hover {
        transform: translateY(-5px) scale(1.02);
        border-color: #ff00ff;
        box-shadow: 0 8px 25px rgba(255, 0, 255, 0.3);
    }
    
    .gallery-thumbnail {
        width: 100%;
        height: 120px;
        object-fit: cover;
        transition: all 0.3s ease;
    }
    
    .gallery-thumbnail-item:hover .gallery-thumbnail {
        transform: scale(1.1);
    }
    
    .thumbnail-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .gallery-thumbnail-item:hover .thumbnail-overlay {
        opacity: 1;
    }
    
    .thumbnail-overlay i {
        color: #00ffff;
        font-size: 1.5rem;
        text-shadow: 0 0 10px #00ffff;
    }
    
    /* Lightbox Styling */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        cursor: pointer;
    }
    
    .lightbox.active {
        display: flex;
    }
    
    .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        border: 2px solid #00ffff;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .lightbox-image {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .lightbox-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 0, 0, 0.8);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .lightbox-close:hover {
        background: rgba(255, 0, 0, 1);
        transform: scale(1.1);
    }
    
    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 255, 255, 0.8);
        color: black;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .lightbox-nav:hover {
        background: rgba(0, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    @media (max-width: 768px) {
        .gallery-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.5rem;
        }
        
        .gallery-thumbnail {
            height: 100px;
        }
        
        .lightbox-content {
            max-width: 95%;
            max-height: 80%;
        }
        
        .lightbox-nav {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
    }