/* Post Card Styles */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #d9d9d9;
    --gray-dark: #1c1c1c;
    --green: #28a745;
    --red: #dc3545;
    --blue: #007bff;
    --orange: #fd7e14;
    --purple: #6f42c1;
    --kbrdev-color: #28a745;
    --shaxadev-color: #007bff;
    --rynaa-softy-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Birxil scroll style barcha elementlar uchun */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--blue), var(--purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--purple), var(--blue));
}

::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.1);
}

html {
    perspective: 1000px;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.5s ease;
}

/* Animatsiyalar */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}
@keyframes zoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
}
@keyframes particleFloat {
    from { transform: translateY(100vh); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    to { transform: translateY(-100vh); opacity: 0; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.3); }
}
@keyframes heartFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(0.5); opacity: 0; }
}
@keyframes tiltOnReveal {
    from { transform: rotateX(5deg); }
    to { transform: rotateX(0deg); }
}
@keyframes slideInToast {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeOutToast {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}
@keyframes recording {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header va navbar */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInLeft 0.8s ease-out;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo span {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--white);
}

.logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Admin Panel */
.admin-panel {
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-panel a, .admin-panel button {
    color: var(--white);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-panel a:hover, .admin-panel button:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu span {
    width: 24px;
    height: 3px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: <?php echo $is_admin ? '120px' : '80px'; ?>;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(111, 66, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(253, 126, 20, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(45deg, var(--white), var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.hero-button::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;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(45deg, var(--blue), transparent);
}

.shape-2 {
    top: 60%;
    right: 10%;
    width: 30px;
    height: 30px;
    animation: float 4s ease-in-out infinite reverse;
    background: linear-gradient(45deg, var(--purple), transparent);
}

.shape-3 {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    background: linear-gradient(45deg, var(--orange), transparent);
}

.shape-4 {
    top: 40%;
    right: 30%;
    width: 25px;
    height: 25px;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
    background: linear-gradient(45deg, var(--green), transparent);
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Rubik', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(45deg, var(--white), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--blue);
}

/* Features/About */
.features {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-text {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.7;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--black);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--blue);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
}

.skill-card:hover i {
    color: var(--purple);
    animation: pulse 1s infinite;
}

.skill-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.skill-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.8;
}

/* Systems */
.systems {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--black);
}

/* Downloads */
.downloads {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--black);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
}

.project-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Status Indicators */
.project-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 600;
    margin: 1rem 0;
}

.status-active {
    background: linear-gradient(45deg, var(--green), #20c997);
    color: var(--white);
    animation: statusPulse 2s infinite;
}

.status-stopped {
    background: linear-gradient(45deg, var(--gray-dark), #495057);
    color: var(--white);
}

.status-inactive {
    background: linear-gradient(45deg, var(--gray-light), #adb5bd);
    color: var(--black);
}

.status-pending {
    background: linear-gradient(45deg, var(--orange), #ff922b);
    color: var(--white);
}

.status-error {
    background: linear-gradient(45deg, var(--red), #ff6b6b);
    color: var(--white);
    animation: statusPulse 1.5s infinite;
}

/* Rating System */
.rating-container {
    margin-top: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
}

.rating-stars {
    font-size: 1.8rem;
    cursor: pointer;
    color: #ddd;
    margin-bottom: 1rem;
}

.rating-stars i {
    margin: 0 0.2rem;
    transition: all 0.3s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffd700;
    transform: scale(1.2);
}

.rating-info {
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
}

.rating-message {
    color: var(--green);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Comment System */
.comment-container {
    margin-top: 3rem;
    text-align: center;
}

.comment-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    animation: countUp 0.5s ease-out;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-form input,
.comment-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form button {
    padding: 1rem;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.comments-wrapper {
    max-height: 600px;
    overflow-y: scroll;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    perspective: 1000px;
}

.comments-inner-content {
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.comment-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
}

.comment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--blue);
}

.comment-item h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 0.5rem;
    color: var(--blue);
    font-weight: 700;
}

.comment-item p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Like/Dislike/Stats Systems */
.comment-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Birxil button style barcha tugmalar uchun */
.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn.like-btn:hover,
.action-btn.like-btn.active {
    background: var(--green);
    border-color: var(--green);
    animation: heartBeat 0.6s ease;
}

.action-btn.dislike-btn:hover,
.action-btn.dislike-btn.active {
    background: var(--red);
    border-color: var(--red);
}

.action-btn.reply-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.action-btn.delete-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.action-btn.admin-like-btn.kbrdev:hover,
.action-btn.admin-like-btn.kbrdev.active {
    background: var(--kbrdev-color);
    border-color: var(--kbrdev-color);
}

.action-btn.admin-like-btn.shaxadev:hover,
.action-btn.admin-like-btn.shaxadev.active {
    background: var(--shaxadev-color);
    border-color: var(--shaxadev-color);
}

.action-btn.admin-like-btn.rynaa-softy:hover,
.action-btn.admin-like-btn.rynaa-softy.active {
    background: var(--rynaa-softy-color);
    border-color: var(--rynaa-softy-color);
}

.action-btn.admin-like-btn.bully:hover,
.action-btn.admin-like-btn.bully.active {
    background: #fd7e14;
    border-color: #fd7e14;
}

.action-btn.share-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
}

.action-btn.view-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

/* Like/View/Share Count Displays */
.like-count-display,
.view-count-display,
.share-count-display,
.comment-count-display {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.like-count-display:hover,
.view-count-display:hover,
.share-count-display:hover,
.comment-count-display:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.like-count-display {
    color: var(--green);
    border-color: rgba(40, 167, 69, 0.3);
}

.view-count-display {
    color: var(--blue);
    border-color: rgba(0, 123, 255, 0.3);
}

.share-count-display {
    color: var(--purple);
    border-color: rgba(111, 66, 193, 0.3);
}

.comment-count-display {
    color: var(--orange);
    border-color: rgba(253, 126, 20, 0.3);
}

/* Admin Likes Display */
.admin-likes-display {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-like-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.admin-like-display.kbrdev {
    color: var(--kbrdev-color);
    border: 1px solid var(--kbrdev-color);
}

.admin-like-display.shaxadev {
    color: var(--shaxadev-color);
    border: 1px solid var(--shaxadev-color);
}

.admin-like-display.rynaa-softy {
    color: var(--rynaa-softy-color);
    border: 1px solid var(--rynaa-softy-color);
}

.admin-like-display.bully {
    color: #fd7e14;
    border: 1px solid #fd7e14;
}

/* Reply Section */
.reply-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-form {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.reply-form.active {
    display: flex;
}

.reply-form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    min-height: 80px;
    resize: vertical;
}

.reply-form button {
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reply-form button:hover {
    transform: translateY(-2px);
}

.replies {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.replies.active {
    display: block;
}

.reply-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reply-item h5 {
    font-size: 0.9rem;
    color: var(--purple);
    margin-bottom: 0.3rem;
}

.reply-item p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Heart Effect */
.heart-effect {
    position: absolute;
    color: #ff6b6b;
    font-size: 1.2rem;
    pointer-events: none;
    animation: heartFloat 1s ease-out forwards;
    z-index: 1000;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--black);
}

.telegram-links {
    text-align: center;
}

.telegram-links p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    font-weight: 600;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    margin: 0.5rem;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.telegram-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-dark) 0%, #000 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    font-family: 'Rubik', sans-serif;
}

.footer p {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Scroll Effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    animation: fadeInUp 0.8s ease-out, tiltOnReveal 0.8s ease-out;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s linear infinite;
}

/* Glitch Effect */
.glitch {
    animation: glitch 4s infinite;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(100%);
    animation: slideInToast 0.5s forwards, fadeOutToast 0.5s 2.5s forwards;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success {
    background-color: var(--green);
}

.toast.error {
    background-color: var(--red);
}

.toast-icon {
    font-size: 1.2em;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.toast-description {
    font-size: 0.9em;
}

/* ========== POST CARD STYLES ========== */
.post-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--black);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.post-card:hover::before {
    opacity: 0.05;
}

.post-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
}

.post-card img,
.post-card video,
.post-card audio {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--black);
}

/* Post Stats Meta */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.post-stats {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-stats .action-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.post-stats .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-stats .action-btn.like-btn:hover,
.post-stats .action-btn.like-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    animation: heartBeat 0.6s ease;
}

.post-stats .action-btn.like-btn i {
    transition: color 0.3s ease;
}

.post-stats .action-btn.like-btn:hover i,
.post-stats .action-btn.like-btn.active i {
    color: var(--white);
}

.post-stats .action-btn.share-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

.post-stats .action-btn.view-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* Post Stats Counters */
.post-stats-counter {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.post-stats-counter i {
    font-size: 0.9rem;
}

.post-stats-counter.likes {
    color: var(--green);
    border-color: rgba(40, 167, 69, 0.3);
}

.post-stats-counter.views {
    color: var(--blue);
    border-color: rgba(0, 123, 255, 0.3);
}

.post-stats-counter.shares {
    color: var(--purple);
    border-color: rgba(111, 66, 193, 0.3);
}

/* Post Status Badge */
.post-status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.post-status-badge.active {
    background: linear-gradient(45deg, var(--green), #20c997);
    color: var(--white);
    animation: statusPulse 2s infinite;
}

.post-status-badge.inactive {
    background: linear-gradient(45deg, var(--gray-light), #adb5bd);
    color: var(--black);
}

.post-status-badge.draft {
    background: linear-gradient(45deg, var(--orange), #ff922b);
    color: var(--white);
}

/* Post Title with Icon */
.post-title-with-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.post-title-with-icon i {
    color: var(--blue);
    font-size: 1.2rem;
}

/* ========== SHARE MODAL STYLES ========== */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeInUp 0.3s ease-out;
}

.share-modal.active {
    display: flex;
}

.share-content {
    background: var(--gray-dark);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s ease-out;
}

.share-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-url {
    display: flex;
    margin: 1.5rem 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-url input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.share-url button {
    padding: 1rem 1.5rem;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-url button:hover {
    background: linear-gradient(45deg, var(--purple), var(--blue));
}

.social-share {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-share a {
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-share a.telegram {
    background: linear-gradient(45deg, #0088cc, #00aced);
}

.social-share a.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-share a.facebook {
    background: linear-gradient(45deg, #1877F2, #3b5998);
}

/* ========== TEXT FORMATTING STYLES ========== */
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--white);
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin: 1.5rem 0 1rem;
    color: var(--white);
    font-weight: 700;
}

.post-content h1 {
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--white), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
}

.post-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ff6b6b;
}

.post-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #f8f9fa;
    font-size: 0.9rem;
}

.post-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.post-content strong {
    color: var(--white);
    font-weight: 700;
}

.post-content em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.post-content del {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.post-content ul,
.post-content ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

.post-content li {
    margin: 0.5rem 0;
}

.post-content a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.post-content a:hover {
    border-bottom: 1px solid var(--blue);
    color: var(--white);
}

.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 2rem 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.post-content th,
.post-content td {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.post-content th {
    background: rgba(0, 123, 255, 0.2);
    font-weight: 600;
}

/* ========== ADMIN STYLES ========== */
.admin-post-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.admin-post-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.form-grid textarea {
    grid-column: span 2;
    min-height: 200px;
    resize: vertical;
    font-family: 'Inter', monospace;
}

.form-grid button[type="submit"] {
    grid-column: span 2;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--green), #20c997);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-grid button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

/* ========== NEW SYSTEMS STYLES ========== */

/* Stats Overview Cards */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

.stats-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--blue);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    animation: countUp 0.5s ease-out;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Activity Feed */
.activity-feed {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: white;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.activity-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, var(--red), #ff6b6b);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    animation: pulse 1.5s infinite;
}

/* Progress Bars */
.progress-container {
    margin: 1rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background: var(--gray-dark);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Toggle Switches */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(45deg, var(--blue), var(--purple));
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Loading Spinners */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-link.active {
    background: linear-gradient(45deg, var(--blue), var(--purple));
    border-color: transparent;
}

/* Badge Collections */
.badge-collection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-primary {
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: white;
}

.badge-success {
    background: linear-gradient(45deg, var(--green), #20c997);
    color: white;
}

.badge-warning {
    background: linear-gradient(45deg, var(--orange), #ff922b);
    color: white;
}

.badge-danger {
    background: linear-gradient(45deg, var(--red), #ff6b6b);
    color: white;
}

.badge-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
}

/* ========== ADMIN SPECIFIC COMMENT STYLES ========== */
/* Rynaa-Softy's comments/replies */
.rynaa-softy-comment {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(220, 53, 69, 0.1) 100%);
    border: 2px solid var(--rynaa-softy-color);
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}
.rynaa-softy-comment h4, .rynaa-softy-comment h5 {
    color: var(--rynaa-softy-color);
}
.rynaa-softy-reply {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.08) 100%);
    border: 1px solid rgba(220, 53, 69, 0.5);
}
.rynaa-softy-reply h5 {
    color: var(--rynaa-softy-color);
}

/* KBRDev's comments/replies */
.kbrdev-comment {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
    border: 2px solid var(--kbrdev-color);
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
}
.kbrdev-comment h4, .kbrdev-comment h5 {
    color: var(--kbrdev-color);
}
.kbrdev-reply {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%);
    border: 1px solid rgba(40, 167, 69, 0.5);
}
.kbrdev-reply h5 {
    color: var(--kbrdev-color);
}

/* ShaxaDev's comments/replies */
.shaxadev-comment {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    border: 2px solid var(--shaxadev-color);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}
.shaxadev-comment h4, .shaxadev-comment h5 {
    color: var(--shaxadev-color);
}
.shaxadev-reply {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0.08) 100%);
    border: 1px solid rgba(0, 123, 255, 0.5);
}
.shaxadev-reply h5 {
    color: var(--shaxadev-color);
}

/* Bully's comments/replies */
.bully-comment {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.2) 0%, rgba(253, 126, 20, 0.1) 100%);
    border: 2px solid #fd7e14;
    box-shadow: 0 0 20px rgba(253, 126, 20, 0.5);
}
.bully-comment h4, .bully-comment h5 {
    color: #fd7e14;
}
.bully-reply {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.15) 0%, rgba(253, 126, 20, 0.08) 100%);
    border: 1px solid rgba(253, 126, 20, 0.5);
}
.bully-reply h5 {
    color: #fd7e14;
}

/* Download Count Display */
.download-count-display {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    text-align: center;
}

/* Admin Success Messages */
.success-message {
    background: linear-gradient(45deg, var(--green), #20c997);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.format-hint {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.format-hint i {
    color: var(--blue);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .comment-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .admin-panel {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 0.5rem;
    }
    
    .admin-panel a, .admin-panel button {
        width: 100%;
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid textarea,
    .form-grid button[type="submit"] {
        grid-column: span 1;
    }
    
    .post-stats {
        flex-wrap: wrap;
    }
    
    .social-share a {
        min-width: 100px;
        padding: 0.7rem 1rem;
    }
    
    .post-content h1 {
        font-size: 1.8rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .comments-wrapper {
        max-height: 400px;
    }

    .action-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .post-card {
        padding: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .post-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .share-content {
        padding: 1.5rem;
    }
    
    .post-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-actions {
        width: 100%;
    }
    
    .action-btn {
        flex: 1;
        justify-content: center;
    }
}