
* {
    box-sizing: border-box;
}

body {
    font-feature-settings: "liga"1, "calt"1, "kern"1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    scrollbar-width: thin !important;
    scrollbar-color: #00bbff76 transparent !important;
}

*::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

*::-webkit-scrollbar-track {
    background: transparent !important;
}

*::-webkit-scrollbar-thumb {
    background-color: #5a5a5a !important;
    border-radius: 4px !important;
    border: 1px solid #2c2c2c !important;
}

div::-webkit-scrollbar {
    width: 5px !important;
}

div::-webkit-scrollbar-track {
    background: transparent !important;
}

div::-webkit-scrollbar-thumb {
    background-color: #666 !important;
    border-radius: 4px !important;
    border: 1px solid #333 !important;
}

iframe::-webkit-scrollbar {
    width: 5px !important;
}

iframe::-webkit-scrollbar-track {
    background: transparent !important;
}

iframe::-webkit-scrollbar-thumb {
    background-color: #3490dc !important;
    border-radius: 4px !important;
    border: 1px solid #1f4e8c !important;
}


.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-glass-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #2d3748 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.5rem;
}

.skeleton-circle {
    border-radius: 50%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.code-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 5px 10px -5px rgba(0, 0, 0, 0.04);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    padding: 0.75rem 1rem;
    color: #94a3b8;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
}

.code-actions {
    display: flex;
    gap: 0.5rem;
}

.code-actions button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.code-actions button:hover {
    background-color: #334155;
    color: #e2e8f0;
}

.monaco-editor {
    height: 300px;
}

.post-image {
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 5px 10px -5px rgba(0, 0, 0, 0.04);
}

.post-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.content-tab {
    flex: 1 !important;
    text-align: center !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    border-radius: 0 !important;
    border-bottom: 2px solid transparent !important;
}

.content-tab.active {
    border-bottom-color: rgb(59 130 246) !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.tab-active {
    border-bottom: 3px solid #0ea5e9;
    color: white;
    font-weight: 600;
}

.language-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    transition: all 0.2s ease;
}

.language-badge:hover {
    background-color: rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
}

.gradient-bg {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg-secondary {
    background: linear-gradient(135deg, #7e22ce 0%, #6366f1 50%, #0ea5e9 100%);
}

.gradient-text-secondary {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 2px solid #1e293b;
    animation: pulseSoft 2s infinite;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}
.transition-all {
    transition: all 0.3s ease;
}

.light-mode {
    background-color: #f8fafc;
    color: #0f172a;
}

.light-mode .bg-dark-800 {
    background-color: #f1f5f9;
}

.light-mode .bg-dark-700 {
    background-color: #e2e8f0;
}

.light-mode .bg-dark-900 {
    background-color: #ffffff;
}

.light-mode .text-white {
    color: #0f172a;
}

.light-mode .text-gray-300 {
    color: #475569;
}

.light-mode .text-gray-400 {
    color: #64748b;
}

.light-mode .border-dark-700 {
    border-color: #e2e8f0;
}

.light-mode .skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 40;
        backdrop-filter: blur(10px);
        background-color: rgba(30, 41, 59, 0.95);
        border-top: 1px solid #334155;
        padding: 8px 0;
    }

    .main-content {
        margin-bottom: 72px;
    }

    .hide-on-mobile {
        display: none;
    }

    .mobile-search-bar {
        display: flex;
        align-items: center;
        background-color: #1e293b;
        border-radius: 9999px;
        padding: 8px 16px;
        margin: 0 16px 16px;
    }

    .mobile-search-bar input {
        background: transparent;
        border: none;
        color: white;
        width: 100%;
        margin-left: 8px;
    }

    .mobile-search-bar input:focus {
        outline: none;
    }
}

.code-block {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #334155;
    color: #cbd5e1;
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: #475569;
    color: #f1f5f9;
}

.fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 30;
    animation: bounceSoft 2s infinite;
}

.story-ring {
    padding: 2px;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%);
    border-radius: 50%;
}


.checkbox:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


.radio:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background-color: #1e293b;
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}


.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.wave {
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

.heartbeat {
    animation: heartBeat 1.3s ease-in-out;
}

.progress-bar {
    transition: width 0.3s ease;
}

.toggle-checkbox:checked {
    right: 0;
    border-color: #0ea5e9;
}

.toggle-checkbox:checked+.toggle-label {
    background-color: #0ea5e9;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0ea5e9;
    transform: translateX(-100%);
    animation: textReveal 1.5s ease-in-out forwards;
}

@keyframes textReveal {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.glow {
    box-shadow: 0 0 5px rgba(14, 165, 233, 0.5),
        0 0 10px rgba(14, 165, 233, 0.3),
        0 0 15px rgba(14, 165, 233, 0.2),
        0 0 20px rgba(14, 165, 233, 0.1);
}

.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #0ea5e9, 0 0 10px #0ea5e9, 0 0 15px #0ea5e9, 0 0 20px #0ea5e9;
}

.morphing-bg {
    background: linear-gradient(-45deg, #0c4a6e, #075985, #0369a1, #0284c7);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0ea5e9;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
    border-radius: 2px;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid #0ea5e9;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #0ea5e9;
    }
}

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}


.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}


.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 40;
    transition: all 0.3s ease;
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Seleccionar archivo';
    display: inline-block;
    background: linear-gradient(to bottom, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}


.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1e293b;
    color: 'fff';
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.custom-scrollbar-thin::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar-thin::-webkit-scrollbar-track {
    background: #1e293b;
}

.custom-scrollbar-thin::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 2px;
}

.custom-scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.gradient-border {
    position: relative;
    background: #1e293b;
    border-radius: 0.5rem;
}

.gradient-border::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0ea5e9, #6366f1, #a855f7);
    border-radius: 0.6rem;
    z-index: -1;
    animation: gradient 3s ease infinite;
}


.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-item.active {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.nav-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
}

.premium-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.premium-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.premium-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.premium-btn:hover:before {
    opacity: 1;
}

.premium-input {
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.5);
}

.premium-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    border-radius: 3px;
}

.avatar-ring {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #0ea5e9, #6366f1, #a855f7) border-box;
    mask:
        linear-gradient('#fff'0 0) padding-box,
        linear-gradient('#fff'0 0);
    mask-composite: exclude;
}

.like-btn.active {
    color: #f87171;
}

.like-btn:disabled,
.submit-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.post-stat span.updating {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.comment-item {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mini-stat {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.mini-stat:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-3px);
}

.trending-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    margin: 0 0.5rem 0.5rem 0;
}

.trending-tag:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-2px);
}

.create-post-btn {
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: 'white';
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.3);
}

.create-post-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.4);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-2px);
}

.reaction-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.reaction-btn:hover {
    background: rgba(30, 41, 59, 0.7);
}

.reaction-btn.active {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.3);
}


.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1e293b;
}

.status-online {
    background-color: #10b981;
}

.status-offline {
    background-color: #6b7280;
}

.status-busy {
    background-color: #ef4444;
}


.notification-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.notification-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.notification-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

.notification-item.unread {
    background: rgba(14, 165, 233, 0.1);
}


.message-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.message-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.message-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.message-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

.message-item.unread {
    background: rgba(14, 165, 233, 0.1);
}


.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.profile-menu-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

.mobile-nav-item {
    position: relative;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.mobile-nav-item.active {
    color: #0ea5e9;
}

.mobile-nav-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-add {
    position: relative;
    margin-top: -1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: 'white';
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.mobile-nav-add:hover {
    transform: translateY(-3px) rotate(90deg);
    box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.4);
}

.content-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.content-tab {
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 500;
}

.content-tab.active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.content-tab:not(.active):hover {
    color: #e2e8f0;
}

.code-editor-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-editor-header {
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-editor-content {
    padding: 0;
}


.post-engagement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-stats {
    display: flex;
    align-items: center;
}

.post-stat {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.post-actions {
    display: flex;
    align-items: center;
}


.comment-section {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 0 0 1rem 1rem;
}

.comment-input {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-item {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.3);
    margin-bottom: 0.75rem;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.auth-form {
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-footer {
    text-align: center;
    margin-top: 2rem;
}

.social-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.social-auth-btn:hover {
    background: rgba(30, 41, 59, 0.3);
}

.loading-shimmer {
    background: linear-gradient(90deg, #1e293b 0%, #2d3748 50%, #1e293b 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.stagger-item {
    opacity: 0;
}

.stagger-item.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-item:nth-child(1) {
    animation-delay: 0.05s;
}

.stagger-item:nth-child(2) {
    animation-delay: 0.1s;
}

.stagger-item:nth-child(3) {
    animation-delay: 0.15s;
}

.stagger-item:nth-child(4) {
    animation-delay: 0.2s;
}

.stagger-item:nth-child(5) {
    animation-delay: 0.25s;
}

.stagger-item:nth-child(6) {
    animation-delay: 0.3s;
}

.stagger-item:nth-child(7) {
    animation-delay: 0.35s;
}

.stagger-item:nth-child(8) {
    animation-delay: 0.4s;
}

.stagger-item:nth-child(9) {
    animation-delay: 0.45s;
}

.stagger-item:nth-child(10) {
    animation-delay: 0.5s;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}


.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}


::selection {
    background-color: rgba(14, 165, 233, 0.3);
}


::-webkit-input-placeholder {
    color: #94a3b8;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #94a3b8;
    opacity: 1;
}

::placeholder {
    color: '94a3b8';
    opacity: 1;
}

.profile-menu-item:hover {
    background: rgba(30, 41, 59, 0.5);
}


.iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.iframe-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0.75rem;
}

.iframe-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iframe-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #0f172a;
}

.iframe-fullscreen .iframe-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 101;
}

.post-options {
    position: relative;
}

.post-options-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 200px;
    background: #1e293b;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10;
    overflow: hidden;
    display: none;
}

.post-options-menu.show {
    display: block;
}

.post-option-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.post-option-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.post-option-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.post-option-item.delete {
    color: #ef4444;
}


@media (max-width: 1024px) {
    .content-tabs {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .content-tab {
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .premium-card {
        border-radius: 0.5rem;
    }

    .post-engagement {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-actions {
        margin-top: 0.75rem;
        width: 100%;
        justify-content: space-between;
    }

    .reaction-btn {
        flex: 1;
        justify-content: center;
    }

    .iframe-container iframe {
        height: 300px;
    }
}

.hamburger-menu-content {
    padding: 1rem;
}

.hamburger-section {
    margin-bottom: 1.5rem;
}

.hamburger-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.hamburger-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.hamburger-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hamburger-menu-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.container-fix {
    max-width: 100%;
    overflow-x: hidden;
}

.responsive-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.responsive-heading {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.countdown-timer {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.countdown-unit {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.github-section {
    padding: 20px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.5);
    margin-top: 20px;
}

.github-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.github-repo {
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}
.developers-content{
    height: 650px !important;
}
.setting-developers{
    height: 650px !important;
}
#mobile-featured-developers {
  overflow-y: auto;
  max-height: 100vh;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    height: 100px !important;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 10px;
}

.message-sent {
    background: #0ea5e9;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-received {
    background: rgba(255, 255, 255, 0.1);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.profile-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.profile-image-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #0ea5e9;
}

@media(min-width:800px) {
    .posts {
        height: 40rem !important;
    }
}
@media (min-width: 1000px) and (max-width: 1200px) {
    .posts {
        height: 50rem !important;
    }
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #1e293b;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: white;
}

.modal-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.modal-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.modal-tab.active {
    border-bottom: 3px solid #0ea5e9;
    color: #0ea5e9;
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}

#edit-folder-modal .modal-content {
    min-height: 600px;
}

#edit-folder-files {
    scrollbar-width: thin;
    scrollbar-color: #374151 #1f2937;
}

#edit-folder-files::-webkit-scrollbar {
    width: 6px;
}

#edit-folder-files::-webkit-scrollbar-track {
    background: #1f2937;
}

#edit-folder-files::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}

#edit-folder-files textarea {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.4;
}

#floating-share-butto {
    font-size: 8px !important;
}
.code-block-wrapper {
    transition: all 0.3s ease;
}

.code-block-wrapper.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 80vh;
    z-index: 1000;
}

.code-content pre {
    margin: 0;
    padding: 1rem;
    overflow: auto;
    max-height: 400px;
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-content pre code {
    background: transparent !important;
}


.line-numbers .line-numbers-rows {
    border-right: 1px solid #4b5563;
    padding-right: 1em;
    margin-right: 1em;
}



@media (prefers-color-scheme: light) {
    .code-block-wrapper {
        border-color: #e5e7eb;
    }
    
    .code-header {
        background-color: #f3f4f6;
        border-bottom-color: #e5e7eb;
    }
    
    .code-content {
        background-color: #f9fafb;
    }
    
    .line-numbers .line-numbers-rows {
        border-right-color: #d1d5db;
    }
}


.file-tree {
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
}

.file-tree-item {
    transition: background-color 0.2s ease;
}

.file-tree-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.file-tree-node {
    padding: 0.25rem 0.5rem;
}

.file-name {
    font-size: 0.875rem;
}

.file-tree-content {
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.file-tree-content:not(.hidden) {
    max-height: 1000px;
}
.video-preview {
    transition: all 0.3s ease;
    background: linear-gradient(45deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
}

.video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-preview:hover .fa-play {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.file-upload-container {
    border: 2px dashed #475569;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: #0ea5e9;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.language-option {
    padding: 8px 15px;
    background: #334155;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.language-option.active {
    background: #0ea5e9;
    color: white;
}

.file-tree-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-tree-item {
    margin: 2px 0;
}

.file-tree-node {
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-tree-node:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.folder .file-tree-node {
    font-weight: 500;
}

.file-tree-content {
    border-left: 2px solid #374151;
    padding-left: 16px;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.file-count {
    background-color: rgba(59, 130, 246, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.download-file {
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 4px;
}

.download-file:hover {
    opacity: 1;
    background-color: rgba(59, 130, 246, 0.2);
}

.download-all-btn {
    transition: all 0.2s ease;
}

.download-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.file-tree-node .action-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.file-tree-node:hover .action-btn {
    opacity: 1;
}