:root {
    --bg-deep: #0A0A0F;
    --bg-surface: #111115;
    --bg-card: #18181F;
    --bg-card-hover: #20202A;
    --bg-elevated: #1C1C24;
    --accent-yellow: #EFFF52;
    --accent-blue: #4D7CFE;
    --accent-blue-dark: #2B4FCC;
    --glow-yellow: rgba(239, 255, 82, 0.12);
    --glow-blue: rgba(77, 124, 254, 0.12);
    --text-primary: #FFFFFF;
    --text-secondary: #8A8A96;
    --text-muted: #5A5A66;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --transition-smooth: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
}

@font-face {
    font-family: Vazir-Medium-FD-WOL;
    src: url(../font/Vazir-Medium-FD-WOL.ttf);
}

@font-face {
    font-family: Cinema;
    src: url(../font/Cinema\ Full.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: Vazir-Medium-FD-WOL, sans-serif;
    line-height: 1.5;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 85%;
    max-width: 1100px;
    background: rgba(20, 20, 30, 0.75);
    backdrop-filter: blur(16px);
    border-radius: 50px;
    border: 1px solid rgba(77, 124, 254, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

header:hover {
    border-color: rgba(77, 124, 254, 0.5);
    box-shadow: 0 8px 28px rgba(77, 124, 254, 0.12);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #EFFF52, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    padding: 6px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-profile,
.btn-logout {
    padding: 6px 16px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: 0.3s;
}

.btn-login,
.btn-profile {
    background: transparent;
    border: 1px solid rgba(77, 124, 254, 0.4);
    color: var(--text-primary);
}

.btn-login:hover,
.btn-profile:hover {
    border-color: var(--accent-yellow);
    background: rgba(239, 255, 82, 0.1);
    transform: translateY(-2px);
}

.btn-logout {
    background: rgba(255, 77, 141, 0.2);
    border: 1px solid #FF4D8D;
    color: #FF4D8D;
}

.btn-logout:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow-x: clip;
    background: #0A0A0F;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -25%;
    width: 150%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 100%, rgba(77, 124, 254, 0.3), rgba(77, 124, 254, 0.05), transparent 70%);
    animation: blueWave 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes blueWave {
    0% {
        transform: translateX(-5%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateX(5%) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translateX(-5%) scale(1);
        opacity: 0.4;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -25%;
    width: 150%;
    height: 70%;
    background: radial-gradient(ellipse at 100% 0%, rgba(77, 124, 254, 0.2), rgba(77, 124, 254, 0.03), transparent 70%);
    animation: blueWaveRight 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes blueWaveRight {
    0% {
        transform: translateX(5%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-5%) scale(1.08);
        opacity: 0.6;
    }

    100% {
        transform: translateX(5%) scale(1);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(77, 124, 254, 0.15);
    border: 1px solid rgba(77, 124, 254, 0.4);
    border-radius: var(--radius-xl);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: Cinema;
    font-size: 90px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-title .white {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(77, 124, 254, 0.3);
}

.hero-title .orange {
    background: linear-gradient(135deg, var(--accent-yellow), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow), #C4C430);
    color: #0A0A0F;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 255, 82, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-yellow);
    background: rgba(239, 255, 82, 0.1);
    transform: translateY(-3px);
}

.search-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    align-items: center;

    background: rgba(24, 24, 31, 0.9);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(77, 124, 254, 0.3);
    border-radius: 999px;

    padding: 6px;
    transition: all 0.3s ease;
}

.search-box:hover,
.search-box:focus-within {
    border-color: rgba(77, 124, 254, 0.6);
    box-shadow: 0 0 20px rgba(77, 124, 254, 0.15);
}

.search-icon {
    width: 20px;
    height: 20px;
    margin: 0 10px;
    flex-shrink: 0;
}


.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1;
    gap: 8px;
}


.search-box input {
    flex: 1;
    min-width: 0;

    background: transparent;
    border: none;
    outline: none;

    color: var(--text-primary);
    font-size: 14px;
    padding: 12px 4px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}


.search-box button {
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg,
            var(--accent-blue),
            var(--accent-blue-dark));

    color: #fff;
    font-weight: 600;
    font-size: 13px;

    padding: 10px 18px;
    border-radius: 999px;

    white-space: nowrap;
    flex-shrink: 0;
}


@media (max-width: 768px) {

    .search-wrapper {
        max-width: 95%;
    }

    .search-box {
        padding: 5px;
    }

    .search-box input {
        font-size: 13px;
    }

    .search-box button {
        padding: 8px 14px;
        font-size: 12px;
    }
}


@media (max-width: 480px) {

    .search-wrapper {
        max-width: 100%;
        padding: 0 12px;
    }

    .search-box {
        padding: 4px;
    }

    .search-box form {
        gap: 6px;
    }

    .search-icon {
        width: 16px;
        height: 16px;
        margin: 0 8px;
    }

    .search-box input {
        font-size: 12px;
        padding: 8px 2px;
    }

    .search-box button {
        padding: 7px 10px;
        font-size: 11px;
        min-width: 58px;
    }
}

.logo-swiper {
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

.logo-swiper .swiper-slide {
    width: auto !important;
}

.logo-swiper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 28px;
}

.logo-swiper img:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.blue-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.blue-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(77, 124, 254, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: dotFloat 12s linear infinite;
}

.blue-dot:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    width: 4px;
}

.blue-dot:nth-child(2) {
    top: 45%;
    left: 80%;
    animation-delay: 1.5s;
    width: 5px;
}

.blue-dot:nth-child(3) {
    top: 70%;
    left: 25%;
    animation-delay: 3s;
}

.blue-dot:nth-child(4) {
    top: 30%;
    left: 55%;
    animation-delay: 0.8s;
    width: 2px;
}

.blue-dot:nth-child(5) {
    top: 85%;
    left: 65%;
    animation-delay: 2.2s;
    width: 4px;
}

.blue-dot:nth-child(6) {
    top: 10%;
    left: 40%;
    animation-delay: 4s;
    width: 5px;
}

.blue-dot:nth-child(7) {
    top: 55%;
    left: 15%;
    animation-delay: 1.2s;
}

.blue-dot:nth-child(8) {
    top: 35%;
    left: 90%;
    animation-delay: 3.5s;
    width: 4px;
}

.blue-dot:nth-child(9) {
    top: 20%;
    left: 70%;
    animation-delay: 2s;
}

.blue-dot:nth-child(10) {
    top: 75%;
    left: 5%;
    animation-delay: 4.5s;
    width: 5px;
}

.blue-dot:nth-child(11) {
    top: 25%;
    left: 35%;
    animation-delay: 0.5s;
}

.blue-dot:nth-child(12) {
    top: 90%;
    left: 45%;
    animation-delay: 3.8s;
    width: 4px;
}

.blue-dot:nth-child(13) {
    top: 50%;
    left: 50%;
    animation-delay: 1.8s;
}

.blue-dot:nth-child(14) {
    top: 60%;
    left: 75%;
    animation-delay: 2.8s;
    width: 5px;
}

.blue-dot:nth-child(15) {
    top: 80%;
    left: 30%;
    animation-delay: 0.2s;
}

@keyframes dotFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) translateX(30px);
        opacity: 0;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 3px;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.view-more {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-more:hover {
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateX(-4px);
    background: rgba(239, 255, 82, 0.05);
}

.tools-section {
    padding: var(--space-2xl) 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(77, 124, 254, 0.1), transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 28px;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 255, 82, 0.25);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

.tool-card:hover::before,
.tool-card:hover::after {
    opacity: 1;
}

.tool-image {
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface), #0E0E15);
    position: relative;
    overflow: hidden;
}

.tool-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.tool-card:hover .tool-image img {
    transform: scale(1.08);
}

.tool-placeholder {
    font-size: 64px;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-placeholder {
    transform: scale(1.1);
}

.tool-category {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-yellow);
    border: 1px solid rgba(239, 255, 82, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.tool-card:hover .tool-category {
    background: rgba(239, 255, 82, 0.15);
    border-color: var(--accent-yellow);
}

.tool-actions {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.tool-card:hover .tool-actions {
    opacity: 1;
    transform: translateY(0);
}

.tool-action {
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.tool-action:hover {
    background: #FF4D8D;
    transform: scale(1.1);
}

.tool-info {
    padding: 20px;
}

.tool-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card:hover .tool-info h3 {
    color: var(--accent-yellow);
}

.tool-info p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tool-price {
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.tool-price.رایگان {
    background: rgba(239, 255, 82, 0.12);
    color: var(--accent-yellow);
    border: 1px solid rgba(239, 255, 82, 0.2);
}

.tool-price.پولی {
    background: rgba(77, 124, 254, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(77, 124, 254, 0.2);
}

.tool-price.فریمیوم,
.tool-price.اشتراکی {
    background: rgba(77, 124, 254, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(77, 124, 254, 0.2);
}

.tool-speed,
.tool-views {
    padding: 4px 12px;
    background: var(--bg-surface);
    border-radius: 30px;
    font-size: 11px;
    color: var(--text-secondary);
}

.tool-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-surface);
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-link:hover {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    color: #0A0A0F;
    gap: 12px;
    border-color: transparent;
}

.tools-slider-section {
    padding: 60px 0;
}

.tools-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -10px;
    padding: 0 10px;
}

.tools-slider-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 15px;
    cursor: grab;
    scroll-snap-type: x mandatory;
}

.tools-slider-wrapper::-webkit-scrollbar {
    height: 5px;
}

.tools-slider-wrapper::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
}

.tools-slider-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}

.tools-slider .tool-card {
    flex: 0 0 320px;
    min-width: 280px;
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.slider-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 20px;
}

.slider-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.slider-nav-hover {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tools-slider-section:hover .slider-nav-hover {
    opacity: 1;
}

.slider-nav-hover.prev {
    left: 0;
}

.slider-nav-hover.next {
    right: 0;
}

.slider-nav-hover:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.banners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px auto;
    max-width: 1000px;
}

.banner-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    aspect-ratio: 16 / 9;
    transition: all 0.4s ease;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-image img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    transition: all 0.3s ease;
}

.banner-card:hover .banner-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.banner-content {
    z-index: 2;
    position: relative;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.banner-card:hover .banner-btn {
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-yellow), #C4C430);
    color: #0A0A0F;
}

.categories-modern {
    padding: 50px 0;
    background: var(--bg-surface);
}

.categories-grid-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.category-card-modern {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.15), rgba(77, 124, 254, 0.08));
    backdrop-filter: blur(8px);
    padding: 20px 12px;
    text-align: center;
    border-radius: 24px;
    text-decoration: none;
    border: 1px solid rgba(77, 124, 254, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.category-card-modern::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(77, 124, 254, 0.4), transparent);
    filter: blur(8px);
    border-radius: 50%;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.category-card-modern:hover::after {
    bottom: -15px;
    opacity: 1;
    background: radial-gradient(ellipse, rgba(77, 124, 254, 0.6), transparent);
}

.category-card-modern.animate-in {
    animation: cardFloatIn 0.5s forwards;
}

@keyframes cardFloatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-card-modern:nth-child(1) {
    animation-delay: 0s;
}

.category-card-modern:nth-child(2) {
    animation-delay: 0.05s;
}

.category-card-modern:nth-child(3) {
    animation-delay: 0.1s;
}

.category-card-modern:nth-child(4) {
    animation-delay: 0.15s;
}

.category-card-modern:nth-child(5) {
    animation-delay: 0.2s;
}

.category-card-modern:nth-child(6) {
    animation-delay: 0.25s;
}

.category-card-modern:nth-child(7) {
    animation-delay: 0.3s;
}

.category-card-modern:nth-child(8) {
    animation-delay: 0.35s;
}

.category-card-modern:nth-child(9) {
    animation-delay: 0.4s;
}

.category-card-modern:nth-child(10) {
    animation-delay: 0.45s;
}

.category-card-modern:nth-child(11) {
    animation-delay: 0.5s;
}

.category-card-modern:nth-child(12) {
    animation-delay: 0.55s;
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.category-card-modern:hover .card-shine {
    left: 100%;
}

.category-card-modern:hover {
    transform: translateY(-6px);
    border-color: rgba(77, 124, 254, 0.6);
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.25), rgba(77, 124, 254, 0.15));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.category-icon-modern {
    font-size: 42px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-icon-modern {
    transform: scale(1.1);
}

.category-icon-modern img {
    width: 42px;
    height: 42px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.category-info-modern h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.category-card-modern:hover .category-info-modern h3 {
    color: #649bff;
}

.category-count {
    font-size: 11px;
    color: var(--text-muted);
}

.cta-section {
    padding: var(--space-2xl) 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(239, 255, 82, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-yellow), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.cta-card:hover::before {
    opacity: 0.1;
}

.cta-card h2 {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.footer-modern {
    background: linear-gradient(135deg, #0A0A0F, #0F0F15);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(77, 124, 254, 0.2);
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-icon {
    font-size: 32px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #EFFF52, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-blue);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-yellow);
    transform: translateX(-4px);
}

.newsletter-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(77, 124, 254, 0.2);
}

.newsletter-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.4);
}

.footer-contact {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent-yellow);
}

.flash-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1100;
    max-width: 350px;
}

.flash-message {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(20px);
    font-weight: 500;
}

.flash-message.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.flash-message.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.theme-switch {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent-yellow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.blog-preview-section {
    padding: 60px 0;
    background: var(--bg-surface);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-preview-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    display: flex;
    flex-direction: row;
    height: 180px;
}

.blog-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-preview-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 255, 82, 0.25);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
}

.blog-preview-card:hover::before {
    opacity: 1;
}

.blog-preview-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.08);
}

.blog-preview-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface), #0E0E15);
    font-size: 48px;
}

.blog-preview-category {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-yellow);
    z-index: 2;
}

.blog-preview-content {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-preview-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-preview-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-title a:hover {
    color: var(--accent-yellow);
}

.blog-preview-excerpt {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-meta {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--bg-surface);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s;
    width: fit-content;
}

.blog-preview-link:hover {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    color: #0A0A0F;
    gap: 8px;
}

.tools-hero {
    background: linear-gradient(135deg, #0A0A0F 0%, #0F0F2A 100%);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: -20px;
    position: relative;
}

.tools-hero-title {
    font-size: 48px;
    font-weight: 800;
    font-family: Cinema, sans-serif;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-blue), #8BB4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tools-hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
}

.tools-search {
    max-width: 500px;
    margin: 0 auto;
}

.tools-search form {
    display: flex;
    gap: 10px;
}

.tools-search input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.tools-search input:focus {
    border-color: var(--accent-blue);
}

.tools-search button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.tools-filters {
    padding: 30px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-size: 14px;
    color: var(--text-secondary);
}

.filter-group select {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
}

.tools-count {
    text-align: center;
    font-size: 14px;
    color: var(--accent-blue);
}

.tools-list-section {
    padding: 60px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-color: transparent;
    color: white;
}

.page-dots {
    padding: 10px 18px;
    color: var(--text-muted);
}

.no-results {
    text-align: center;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 24px;
    grid-column: 1/-1;
}

.no-results span {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.category-hero {
    background: linear-gradient(135deg, #0A0A0F 0%, #0F0F2A 100%);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: -20px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(77, 124, 254, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(77, 124, 254, 0.2);
}

.category-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.category-title {
    font-size: 44px;
    font-weight: 800;
    font-family: Cinema, sans-serif;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.category-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.category-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: rgba(77, 124, 254, 0.12);
    border-radius: 40px;
    font-size: 13px;
    color: var(--accent-blue);
    border: 1px solid rgba(77, 124, 254, 0.2);
}

.category-count::before {
    content: '📦';
    font-size: 12px;
}

.category-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: var(--bg-card);
    border-radius: 40px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.category-back:hover {
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateX(4px);
}

.category-tools {
    padding: 60px 0;
}

.about-hero {
    background: linear-gradient(135deg, #0A0A0F 0%, #0F0F2A 100%);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: -20px;
}

.about-title {
    font-size: 52px;
    font-weight: 800;
    font-family: Cinema, sans-serif;
    margin-bottom: 15px;
}

.about-title span {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.about-story {
    padding: 60px 0;
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-illustration-img {
    max-width: 100%;
    height: auto;
    border-radius: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.about-illustration-img:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-mission {
    padding: 60px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-yellow);
}

.mission-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.about-features {
    padding: 60px 0;
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.feedback-section {
    padding: 60px 0;
}

.feedback-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border-radius: 32px;
    padding: 45px;
    text-align: center;
    border: 1px solid rgba(77, 124, 254, 0.2);
}

.feedback-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feedback-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.feedback-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.feedback-form {
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(77, 124, 254, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(77, 124, 254, 0.4);
}

.product-page {
    padding: 120px 0 60px;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image-box {
    flex: 0 0 280px;
    background: var(--bg-surface);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    max-width: 200px;
    object-fit: contain;
}

.product-info-box {
    flex: 1;
}

.product-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-surface);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(77, 124, 254, 0.3);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 28px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 25px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    transform: translateY(-3px);
    gap: 18px;
    box-shadow: 0 10px 30px rgba(77, 124, 254, 0.4);
}

.short-desc-box,
.long-desc-box {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.short-desc-box h3,
.long-desc-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 16px;
    padding-right: 16px;
    border-right: 3px solid var(--accent-yellow);
}

.short-desc-box p,
.long-desc-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.product-image-box-full {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.product-full-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
}

.related-section {
    margin-top: 40px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 3px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    background: var(--bg-card-hover);
}

.related-img {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.related-img img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.related-img span {
    font-size: 40px;
}

.related-card h4 {
    color: var(--accent-yellow);
    font-size: 14px;
    margin-bottom: 6px;
}

.related-badge {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 4px 12px;
    border-radius: 30px;
}

.comments-section {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 32px;
    margin-top: 30px;
    border: 1px solid var(--border);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.comments-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    background: var(--accent-blue);
    color: white;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 30px;
}

.comments-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .star {
    font-size: 18px;
    color: #ffc107;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-count {
    font-size: 13px;
    color: var(--text-muted);
}

.comment-form {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 35px;
    border: 1px solid var(--border);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}

.rating-input span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 5px 15px;
    border-radius: 30px;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: flex-end;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 32px;
    color: #4a4a5a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stars label:hover,
.stars label:hover~label,
.stars input:checked~label {
    color: #ffc107;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

.blog-page {
    padding: 100px 0 60px;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 800;
    font-family: Cinema, sans-serif;
    margin-bottom: 15px;
}

.blog-header h1 span {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 15px 25px;
    background: var(--bg-card);
    border-radius: 60px;
    border: 1px solid var(--border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    color: var(--text-secondary);
    font-size: 14px;
}

.filter-group select {
    padding: 8px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
}

.search-group {
    display: flex;
    gap: 10px;
}

.search-group input {
    padding: 8px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    width: 250px;
}

.search-group button {
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 40px;
    color: white;
    cursor: pointer;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-yellow);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--accent-yellow);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-surface);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}

.blog-read-more:hover {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    color: #0A0A0F;
    gap: 12px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
}

.page-dots {
    padding: 8px 16px;
    color: var(--text-muted);
}

.blog-empty {
    text-align: center;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 24px;
    grid-column: 1/-1;
}

.blog-empty span {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.blog-empty p {
    color: var(--text-secondary);
}

body.light-mode .blog-page {
    background: #F0F4FA;
}

body.light-mode .blog-header h1 {
    color: #1A2F4E;
}

body.light-mode .blog-header h1 span {
    background: linear-gradient(135deg, #D98D2B, #F4A261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .blog-header p {
    color: #4A668A;
}

body.light-mode .blog-filters {
    background: white;
}

body.light-mode .filter-group select,
body.light-mode .search-group input {
    background: white;
    color: #1A2F4E;
    border-color: #E2E8F0;
}

body.light-mode .blog-card {
    background: white;
}

body.light-mode .blog-card-title a {
    color: #1A2F4E;
}

body.light-mode .blog-card-title a:hover {
    color: #D98D2B;
}

body.light-mode .blog-card-excerpt {
    color: #4A668A;
}

body.light-mode .blog-read-more {
    background: #F0F4FA;
    color: #1A2F4E;
}

body.light-mode .blog-read-more:hover {
    background: linear-gradient(135deg, #D98D2B, #F4A261);
    color: white;
}


@media (max-width: 768px) {
    .blog-page {
        padding: 120px 0 40px;
    }
    
    .blog-header h1 {
        font-size: 32px;
    }
    
    .blog-header p {
        font-size: 14px;
    }
    
    .blog-filters {
        flex-direction: column;
        border-radius: 30px;
        padding: 15px 20px;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-group select {
        width: 60%;
    }
    
    .search-group {
        width: 100%;
    }
    
    .search-group input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 15px;
    }
    
    .blog-card-title {
        font-size: 16px;
    }
    
    .blog-card-excerpt {
        font-size: 12px;
    }
}
.comment-input-wrapper {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 5px;
}

.comment-input-wrapper textarea {
    flex: 1;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.comment-input-wrapper textarea:focus {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 4px rgba(77, 124, 254, 0.1);
}

.submit-comment-btn {
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(77, 124, 254, 0.25);
}

.submit-comment-btn:hover {
    transform: translateY(-3px);
    gap: 14px;
    box-shadow: 0 8px 25px rgba(77, 124, 254, 0.4);
}

.login-to-comment {
    text-align: center;
    padding: 40px;
    background: var(--bg-surface);
    border-radius: 24px;
    margin-bottom: 35px;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.login-to-comment p {
    color: var(--text-secondary);
}

.login-to-comment a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 20px;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.comment-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(-5px);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #0A0A0F;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    color: var(--accent-yellow);
}

.comment-rating {
    display: flex;
    gap: 3px;
}

.star-small {
    font-size: 12px;
    color: #ffc107;
}

.comment-date {
    font-size: 11px;
    color: var(--text-muted);
}

.comment-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.no-comments {
    text-align: center;
    padding: 50px;
    background: var(--bg-surface);
    border-radius: 20px;
}

.no-comments-icon {
    font-size: 56px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.comments-section {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 32px;
    margin-top: 50px;
    border: 1px solid var(--border);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.comments-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    background: var(--accent-blue);
    color: white;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 30px;
}

.comments-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    direction: ltr;
}

.rating-stars .star {
    font-size: 18px;
    color: #555;
}

.rating-stars .star.filled,
.rating-stars .star.half {
    color: #ffc107;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-count {
    font-size: 13px;
    color: var(--text-muted);
}

.comment-form-wrapper {
    background: var(--bg-surface);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 35px;
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.comment-user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #0A0A0F;
}

.comment-user-name {
    font-weight: 700;
    color: var(--text-primary);
}

.comment-user-badge {
    font-size: 11px;
    color: var(--accent-blue);
    background: rgba(77, 124, 254, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-input span {
    font-size: 14px;
    color: var(--text-secondary);
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: flex-end;
    direction: ltr;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 32px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
    color: #ffc107;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

.comment-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 5px;
}

.comment-input-wrapper textarea {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    outline: none;
}

.comment-input-wrapper textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(77, 124, 254, 0.1);
}

.submit-comment-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 28px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.submit-comment-btn:hover {
    transform: translateY(-3px);
    gap: 12px;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.4);
}

.login-to-comment {
    text-align: center;
    padding: 40px;
    background: var(--bg-surface);
    border-radius: 24px;
    margin-bottom: 35px;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.login-to-comment p {
    color: var(--text-secondary);
}

.login-to-comment a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 20px;
    transition: all 0.3s;
}

.comment-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(-5px);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #0A0A0F;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    color: var(--accent-yellow);
}

.comment-rating {
    display: flex;
    gap: 3px;
    direction: ltr;
}

.star-small {
    font-size: 12px;
    color: #555;
}

.star-small.filled {
    color: #ffc107;
}

.comment-date {
    font-size: 11px;
    color: var(--text-muted);
}

.comment-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.no-comments {
    text-align: center;
    padding: 50px;
    background: var(--bg-surface);
    border-radius: 20px;
}

.no-comments-icon {
    font-size: 56px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.no-comments span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .comments-section {
        padding: 20px;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submit-comment-btn {
        justify-content: center;
        width: 100%;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .stars label {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .comment-form-wrapper {
        padding: 18px;
    }
    
    .comment-input-wrapper textarea {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .submit-comment-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

body.light-mode .comment-form-wrapper {
    background: #F5F7FA;
}

body.light-mode .comment-input-wrapper textarea {
    background: white;
    border-color: #E2E8F0;
    color: #1A2F4E;
}

body.light-mode .comment-item {
    background: #F8FAFE;
}

body.light-mode .comment-item:hover {
    background: #F0F4FA;
}

body.light-mode .comment-author {
    color: #D98D2B;
}

body.light-mode .comment-content {
    color: #4A668A;
}

.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 45px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-logo {
    font-size: 64px;
    margin-bottom: 15px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    font-family: Cinema, sans-serif;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 18px;
    font-size: 20px;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 16px 55px 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(77, 124, 254, 0.2);
}

.auth-btn {
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(77, 124, 254, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
}

.dashboard-page,
.profile-page,
.edit-profile-page {
    padding: 100px 0 60px;
}

.dashboard-header,
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.dashboard-welcome,
.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar,
.profile-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #0A0A0F;
}

.dashboard-welcome-text h1,
.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-edit-btn,
.profile-edit-btn {
    padding: 10px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.dashboard-edit-btn:hover,
.profile-edit-btn:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.comment-item {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
}

.comment-form {
     margin-top: 50px;
}

.comment-tool {
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.comment-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.edit-profile-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border);
}

.edit-profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #0A0A0F;
    margin: 0 auto 15px;
}

.edit-profile-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-save {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-secondary);
    text-decoration: none;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--bg-surface);
    border-radius: 20px;
}

.empty-state span {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 40px;
    color: white;
    text-decoration: none;
}

.btn-add {
    background: linear-gradient(135deg, var(--accent-yellow), #C4C430);
    color: #0A0A0F;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 255, 82, 0.3);
}

.admin-table {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table th {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    padding: 15px 20px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}

.admin-table td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 13px;
}

.admin-table tr:hover {
    background: rgba(77, 124, 254, 0.05);
}

.btn-edit {
    color: var(--accent-yellow);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(239, 255, 82, 0.1);
    font-size: 12px;
    margin-right: 8px;
}

.btn-edit:hover {
    background: var(--accent-yellow);
    color: #0A0A0F;
}

.btn-delete {
    color: #FF4D8D;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 77, 141, 0.1);
    font-size: 12px;
}

.btn-delete:hover {
    background: #FF4D8D;
    color: white;
}

.admin-form-page {
    padding: 60px 0;
}

.form-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.form-card h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--accent-blue);
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(77, 124, 254, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-save {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    border-radius: 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.blog-detail {
    padding: 120px 0 60px;
}

.blog-detail-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-detail-header {
    text-align: center;
    margin-bottom: 35px;
}

.blog-detail-category {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(77, 124, 254, 0.15);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.blog-detail-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.blog-detail-image {
    margin-bottom: 35px;
    border-radius: 24px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
}

.blog-detail-content {
    color: var(--text-primary);
    line-height: 1.9;
    font-size: 16px;
}

.blog-detail-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.blog-detail-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--accent-yellow);
    padding-right: 15px;
    border-right: 3px solid var(--accent-yellow);
}

.blog-detail-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--accent-blue);
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 20px 0;
    padding-right: 25px;
}

.blog-detail-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.related-tools-section {
    max-width: 900px;
    margin: 50px auto 0;
    background: var(--bg-card);
    border-radius: 28px;
    padding: 30px;
}

.related-tools-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-tool-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-tool-card:hover {
    transform: translateX(-5px);
    border-color: var(--accent-yellow);
}

.related-tool-icon {
    width: 55px;
    height: 55px;
    background: var(--bg-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-tool-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.related-tool-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.related-tool-price {
    font-size: 11px;
    color: var(--text-muted);
    padding: 3px 10px;
    background: var(--bg-card);
    border-radius: 20px;
    display: inline-block;
}

body.light-mode {
    --bg-deep: #F0F4FA;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFE;
    --bg-elevated: #E8EDF5;
    --text-primary: #1A2F4E;
    --text-secondary: #4A668A;
    --text-muted: #8BA0B8;
    --border: #E2E8F0;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
}

body.light-mode .hero {
    background: linear-gradient(135deg, #E8F0FE, #DCE8F8);
}

body.light-mode .hero::before {
    background: radial-gradient(ellipse at 50% 100%, rgba(77, 124, 254, 0.12), rgba(77, 124, 254, 0.02), transparent 70%);
}

body.light-mode .hero::after {
    background: radial-gradient(ellipse at 100% 0%, rgba(77, 124, 254, 0.08), rgba(77, 124, 254, 0.01), transparent 70%);
}

body.light-mode .blue-dot {
    background: rgba(77, 124, 254, 0.25);
}

body.light-mode .hero-badge {
    background: rgba(77, 124, 254, 0.1);
    border-color: rgba(77, 124, 254, 0.3);
    color: #3A6BCC;
}

body.light-mode .hero-title .white {
    color: #1A2F4E;
    text-shadow: none;
}

body.light-mode .hero-title .orange {
    background: linear-gradient(135deg, #D98D2B, #F4A261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .btn-outline {
    border-color: rgba(0, 0, 0, 0.1);
    color: #1A2F4E;
}

body.light-mode .btn-outline:hover {
    border-color: var(--accent-yellow);
    background: rgba(239, 255, 82, 0.15);
}

body.light-mode .search-box {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(77, 124, 254, 0.2);
}

body.light-mode .search-box input {
    color: #1A2F4E;
}

body.light-mode .tool-card,
body.light-mode .blog-card,
body.light-mode .blog-preview-card,
body.light-mode .comment-form,
body.light-mode .comments-section,
body.light-mode .auth-card,
body.light-mode .form-card,
body.light-mode .edit-profile-card,
body.light-mode .dashboard-card,
body.light-mode .stat-card,
body.light-mode .product-row,
body.light-mode .short-desc-box,
body.light-mode .long-desc-box,
body.light-mode .related-card,
body.light-mode .blog-detail-card,
body.light-mode .related-tools-section {
    background: #FFFFFF;
    border-color: #c3ddff;
}

body.light-mode .tool-card:hover,
body.light-mode .category-card-modern:hover,
body.light-mode .blog-card:hover,
body.light-mode .blog-preview-card:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .tool-info p,
body.light-mode .blog-card-excerpt,
body.light-mode .comment-content,
body.light-mode .category-desc {
    color: #4A668A;
}

body.light-mode .tool-meta .tool-speed,
body.light-mode .tool-meta .tool-views,
body.light-mode .category-count {
    background: #dfecff;
    color: #4A668A;
}

body.light-mode .category-icon {
    background: rgba(77, 124, 254, 0.08);
}

body.light-mode .filter-group select,
body.light-mode .tools-search input,
body.light-mode .newsletter-form input {
    background: white;
    color: #1A2F4E;
    border-color: #E2E8F0;
}

body.light-mode .slider-btn {
    background: white;
    border-color: #E2E8F0;
    color: #1A2F4E;
}

body.light-mode .slider-btn:hover {
    background: var(--accent-blue);
    color: white;
}

body.light-mode .theme-btn {
    background: white;
    border-color: #E2E8F0;
}

body.light-mode .theme-btn:hover {
    border-color: var(--accent-yellow);
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(77, 124, 254, 0.2);
}

body.light-mode .nav-links a,
body.light-mode .footer-links ul li a,
body.light-mode .footer-description {
    color: #4A668A;
}

body.light-mode .nav-links a:hover,
body.light-mode .footer-links ul li a:hover {
    color: var(--accent-yellow);
}

body.light-mode .btn-login,
body.light-mode .btn-profile {
    border-color: rgba(77, 124, 254, 0.3);
    color: #1A2F4E;
}

body.light-mode .btn-login:hover,
body.light-mode .btn-profile:hover {
    border-color: var(--accent-yellow);
    background: rgba(239, 255, 82, 0.15);
}

body.light-mode .cta-card {
    background: linear-gradient(135deg, white, #EAF2FA);
    border-color: rgba(77, 124, 254, 0.15);
}

body.light-mode .cta-card h2 {
    color: #1A2F4E;
}

body.light-mode .cta-card p {
    color: #4A668A;
}

body.light-mode .footer-modern {
    background: linear-gradient(135deg, #E8F0FE, #DCE8F8);
}

body.light-mode .social-link {
    background: white;
    color: #4A668A;
}

body.light-mode .social-link:hover {
    background: var(--accent-blue);
    color: white;
}

body.light-mode .category-card-modern {
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.08), rgba(77, 124, 254, 0.04));
    border-color: rgba(77, 124, 254, 0.2);
}

body.light-mode .category-card-modern:hover {
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.15), rgba(77, 124, 254, 0.08));
    border-color: var(--accent-blue);
}

body.light-mode .info-item {
    background: #F8FAFE;
}

body.light-mode .info-value {
    color: #1A2F4E;
}

body.light-mode .categories-modern {
    background: #E8F0FE;
}

body.light-mode .category-card-modern {
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.2), rgba(77, 124, 254, 0.1));
    border: 1px solid rgba(77, 124, 254, 0.35);
    box-shadow: 0 4px 12px rgba(77, 124, 254, 0.08);
}

body.light-mode .category-card-modern:hover {
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.35), rgba(77, 124, 254, 0.2));
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(77, 124, 254, 0.15);
}

body.light-mode .category-card-modern::after {
    background: radial-gradient(ellipse, rgba(77, 124, 254, 0.3), transparent);
}

body.light-mode .category-info-modern h3 {
    color: #1A2B3E;
}

body.light-mode .category-card-modern:hover .category-info-modern h3 {
    color: #2B5FCC;
}

body.light-mode .category-count {
    color: #5A7BAE;
}

.blog-page,
.about-page,
.tools-list-section,
.tools-hero,
.category-hero,
.product-page,
.auth-page,
.dashboard-page,
.profile-page,
.edit-profile-page,
.search-results-page {
    padding-top: 100px !important;
}

@media (max-width: 768px) {
    .blog-page,
    .about-page,
    .tools-list-section,
    .tools-hero,
    .category-hero,
    .product-page,
    .auth-page,
    .dashboard-page,
    .profile-page,
    .edit-profile-page,
    .search-results-page {
        padding-top: 300px !important;
    }
}

@media (max-width: 600px) {
    .blog-page,
    .about-page,
    .tools-list-section,
    .tools-hero,
    .category-hero,
    .product-page,
    .auth-page,
    .dashboard-page,
    .profile-page,
    .edit-profile-page,
    .search-results-page {
        padding-top: 230px !important;
    }
}

.about-hero {
    padding-top: 120px !important;
    margin-top: 0 !important;
}

.about-story {
    margin-top: 0;
}

body.light-mode .tools-hero {
    background: linear-gradient(135deg, #E8F0FE, #D6E6F8) !important;
}

body.light-mode .tools-hero-title {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .tools-hero-desc {
    color: #2B4F6E !important;
}

body.light-mode .tools-search input {
    background: white !important;
    color: #1A2B3E !important;
    border-color: rgba(77, 124, 254, 0.3) !important;
}

body.light-mode .tools-search input::placeholder {
    color: #8BA0B8 !important;
}

body.light-mode .about-hero {
    background: linear-gradient(135deg, #E8F0FE, #D6E6F8) !important;
}

body.light-mode .about-title span {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .about-subtitle {
    color: #2B4F6E !important;
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 140px !important;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding-top: 160px !important;
    }
}

body.light-mode .category-hero {
    background: linear-gradient(135deg, #E8F0FE, #D6E6F8) !important;
}

body.light-mode .blog-page .blog-header {
    background: transparent;
}

body.light-mode .blog-page {
    background: var(--bg-deep);
}

.tools-hero {
    padding-top: 120px !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .tools-hero {
        padding-top: 140px !important;
    }
}

@media (max-width: 600px) {
    .tools-hero {
        padding-top: 160px !important;
    }
}

.tools-hero {
    padding-bottom: 30px !important;
}

.tools-list-section {
    padding-top: 10px !important;
}

@media (max-width: 768px) {
    .tools-hero {
        padding-bottom: 20px !important;
    }
    .tools-list-section {
        padding-top: 20px !important;
    }
}

body.light-mode .nav-links a {
    color: #4A668A;
}

body.light-mode .nav-links a:hover {
    color: #D98D2B !important;
}

body.light-mode .nav-links a::after {
    background: linear-gradient(90deg, #D98D2B, #F4A261) !important;
}

body.light-mode .btn-login,
body.light-mode .btn-profile {
    border-color: rgba(77, 124, 254, 0.4);
    color: #1A2F4E;
}

body.light-mode .btn-login:hover,
body.light-mode .btn-profile:hover {
    border-color: #D98D2B !important;
    background: rgba(217, 141, 43, 0.1) !important;
    color: #D98D2B !important;
}

body.light-mode .mobile-menu-btn {
    color: #1A2F4E;
}

body.light-mode .mobile-menu-btn:hover {
    color: #D98D2B;
}

body.light-mode .nav-links.show,
body.light-mode .nav-buttons.show {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(217, 141, 43, 0.2);
}

body.light-mode .nav-links.show a,
body.light-mode .nav-buttons.show a {
    color: #1A2F4E;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-links.show a:hover,
body.light-mode .nav-buttons.show a:hover {
    color: #D98D2B !important;
    background: rgba(217, 141, 43, 0.05);
}

.blog-page,
.about-page,
.tools-list-section,
.category-hero,
.product-page,
.auth-page,
.dashboard-page,
.profile-page,
.edit-profile-page,
.search-results-page {
    padding-top: 20px;
}

.about-hero,
.tools-hero,
.category-hero {
    margin-top: -20px;
}

body.light-mode .hero-title .orange {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.light-mode .section-title span {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .about-text h2 {
    color: #D98D2B;
}

body.light-mode .mission-card h3 {
    color: #D98D2B;
}

body.light-mode .feature-item h3 {
    color: #D98D2B;
}

body.light-mode .feedback-card h2 {
    color: #D98D2B;
}

body.light-mode .category-title {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .tools-hero-title {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .blog-title-page span {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .auth-title {
    background: linear-gradient(135deg, #D98D2B, #F4A261) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

body.light-mode .dashboard-welcome-text h1 {
    color: #1A2B3E;
}

body.light-mode .stat-number {
    color: #D98D2B;
}

body.light-mode .comment-tool {
    color: #D98D2B;
}

body.light-mode .category-back:hover {
    color: #D98D2B;
    border-color: #D98D2B;
}

body.light-mode .btn-edit {
    color: #D98D2B;
}

body.light-mode .btn-edit:hover {
    background: #D98D2B;
    color: #0A0A0F;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-content {
        padding: 80px 16px 50px;
    }

    .hero-title {
        font-size: 58px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 28px;
        font-size: 14px;
        width: 200px;
        justify-content: center;
    }

    .hero-badge {
        margin-top: 0;
        font-size: 12px;
        padding: 4px 14px;
    }

    .logo-swiper img {
        width: 60px;
        height: 60px;
        border-radius: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .category-card-modern {
        width: 130px;
        height: 130px;
        padding: 16px 10px;
        border-radius: 20px;
    }

    .category-icon-modern {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .category-icon-modern img {
        width: 34px;
        height: 34px;
    }

    .category-info-modern h3 {
        font-size: 13px;
    }

    .tools-grid {
        gap: 16px;
    }

    .tool-image {
        height: 200px;
    }

    .blog-preview-card {
        flex-direction: column;
        height: auto;
    }

    .blog-preview-image {
        width: 100%;
        height: 160px;
    }

    .product-row {
        flex-direction: column;
        padding: 20px;
    }

    .product-image-box {
        max-width: 200px;
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 24px;
        text-align: center;
    }

    .comments-section {
        padding: 20px;
    }

    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-comment-btn {
        justify-content: center;
        width: 100%;
    }

    .comment-item {
        flex-direction: column;
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .stars label {
        font-size: 28px;
    }

    .tools-hero {
        padding: 80px 0 40px;
    }

    .tools-hero-title {
        font-size: 32px;
    }

    .tools-hero-desc {
        font-size: 14px;
    }

    .tools-search form {
        flex-direction: column;
    }

    .tools-search button {
        width: 100%;
    }

    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-group {
        justify-content: space-between;
    }

    .filter-group select {
        width: 60%;
    }

    .category-hero {
        padding: 80px 0 40px;
    }

    .category-title {
        font-size: 28px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-icon img {
        width: 30px;
        height: 30px;
    }

    .auth-card {
        padding: 30px 25px;
        margin: 0 16px;
    }

    .auth-title {
        font-size: 26px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .edit-profile-card {
        padding: 25px;
        margin: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-badge{
        margin-top: 60px;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px 24px;
        width: 160px;
        font-size: 13px;
    }

    .logo-swiper img {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .category-card-modern {
        width: 110px;
        height: 110px;
        padding: 12px 8px;
        border-radius: 16px;
    }

    .category-icon-modern {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .category-icon-modern img {
        width: 28px;
        height: 28px;
    }

    .category-info-modern h3 {
        font-size: 12px;
    }

    .category-count {
        font-size: 10px;
    }

    .tool-image {
        height: 180px;
    }

    .blog-preview-content {
        padding: 12px;
    }

    .blog-preview-title {
        font-size: 14px;
    }

    .blog-preview-excerpt {
        font-size: 11px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
    }

    .category-title {
        font-size: 24px;
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 110px;
    }
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 550px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .related-tools-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        max-width: 95%;
    }
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    overflow-x: clip;
}

.hero-content {
    width: 100%;
}

.tools-grid,
.blog-preview-grid,
.categories-grid-modern {
    width: 100%;
}

.tool-card,
.blog-preview-card,
.category-card-modern {
    width: 100%;
}

.categories-modern {
    padding: 50px 0;
    background: var(--bg-surface);
    width: 100%;
    overflow-x: hidden;
}

.categories-grid-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.category-card-modern {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.15), rgba(77, 124, 254, 0.08));
    backdrop-filter: blur(8px);
    padding: 15px 10px;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(77, 124, 254, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.25), rgba(77, 124, 254, 0.15));
}

.category-icon-modern {
    font-size: 40px;
    margin-bottom: 10px;
}

.category-icon-modern img {
    width: 40px;
    height: 40px;
}

.category-info-modern h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.category-count {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .categories-grid-modern {
        gap: 15px;
    }

    .category-card-modern {
        width: 120px;
        height: 120px;
        padding: 12px 8px;
    }

    .category-icon-modern {
        font-size: 32px;
    }

    .category-icon-modern img {
        width: 32px;
        height: 32px;
    }

    .category-info-modern h3 {
        font-size: 12px;
    }
}

@media (max-width: 550px) {
    .categories-grid-modern {
        gap: 12px;
    }

    .category-card-modern {
        width: 100px;
        height: 100px;
    }

    .category-icon-modern {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .category-icon-modern img {
        width: 28px;
        height: 28px;
    }

    .category-info-modern h3 {
        font-size: 11px;
    }

    .category-count {
        font-size: 9px;
    }
}


@media (max-width:768px){

    header{
        width:98%;
        max-width:none;
        top:10px;
        height:140px;
        overflow:hidden;
    }

    .header-top{

        height:100%;

        display:flex;
        flex-wrap:wrap;

        align-content:flex-start;
        justify-content:center;

        padding:10px 18px;

        gap:8px;
    }

    .logo{
        width:100%;
        display:flex;
        justify-content:center;
        align-items:center;

        order:1;
    }

    .logo h1{
        font-size:24px;
    }

    .nav-links{
        width:100%;

        display:flex !important;
        justify-content:center;

        gap:14px;

        order:2;
    }

    .nav-links a{
        font-size:12px;
        white-space:nowrap;
    }

    .nav-buttons{

        width:100%;

        display:flex !important;
        justify-content:center;
        align-items:center;

        gap:8px;

        margin:0;
        padding-top:8px;

        border-top:1px solid rgba(255,255,255,.08);

        order:3;
    }

    .nav-buttons a{

        min-width:75px;

        padding:6px 12px;

        font-size:11px;

        border-radius:10px;
    }

    .mobile-menu-btn{
        display:none !important;
    }
}

.banners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px auto;
    max-width: 1000px;
}

.banner-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    aspect-ratio: 16 / 9;
    transition: all 0.4s ease;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
}

.banner-content {
    z-index: 2;
    position: relative;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.banner-card:hover .banner-btn {
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-yellow), #C4C430);
    color: #0A0A0F;
}

.banner-card:last-child .banner-btn {
    background: linear-gradient(135deg, var(--accent-pink), #C41E5A);
}

@media (max-width: 768px) {
    .banners-row {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    .banner-overlay {
        padding: 16px;
    }
    .banner-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
}

@media (max-width: 550px) {
    .banners-row {
        gap: 16px;
        max-width: 350px;
    }
    .banner-overlay {
        padding: 12px;
    }
    .banner-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .banners-row {
        gap: 14px;
        max-width: 300px;
    }
    .banner-overlay {
        padding: 10px;
    }
    .banner-btn {
        padding: 5px 12px;
        font-size: 10px;
        border-radius: 30px;
    }
}

.search-page {
    padding: 120px 0 60px;
    min-height: 70vh;
}

.search-header {
    text-align: center;
    margin-bottom: 50px;
}

.search-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-icon-title {
    font-size: 36px;
}

.search-query {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

.search-result-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.result-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.result-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.result-placeholder {
    font-size: 48px;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.result-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.result-title a:hover {
    color: var(--accent-yellow);
}

.result-category {
    padding: 4px 12px;
    background: rgba(77, 124, 254, 0.15);
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-blue);
    white-space: nowrap;
}

.result-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.result-price {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.result-price.رایگان {
    background: rgba(239, 255, 82, 0.15);
    color: var(--accent-yellow);
}

.result-price.پولی {
    background: rgba(77, 124, 254, 0.15);
    color: var(--accent-blue);
}

.result-price.فریمیوم,
.result-price.اشتراکی {
    background: rgba(77, 124, 254, 0.15);
    color: var(--accent-blue);
}

.result-speed, .result-views {
    padding: 4px 12px;
    background: var(--bg-surface);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-secondary);
}

.result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-surface);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
    width: fit-content;
}

.result-link:hover {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue));
    color: #0A0A0F;
    gap: 10px;
}

.search-empty {
    text-align: center;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 32px;
    border: 1px solid var(--border);
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.search-empty h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.search-empty p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.empty-suggestions {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 25px;
    margin: 25px auto;
    max-width: 400px;
    text-align: right;
}

.empty-suggestions p {
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.empty-suggestions ul {
    list-style: none;
    padding: 0;
}

.empty-suggestions li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.empty-suggestions li:last-child {
    border-bottom: none;
}

.empty-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 10px;
}

.empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(77, 124, 254, 0.4);
}

@media (max-width: 768px) {
    .search-page {
        padding: 100px 0 40px;
    }
    
    .search-title {
        font-size: 24px;
    }
    
    .search-icon-title {
        font-size: 28px;
    }
    
    .search-result-card {
        flex-direction: column;
        text-align: center;
    }
    
    .result-image {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .result-header {
        justify-content: center;
    }
    
    .result-meta {
        justify-content: center;
    }
    
    .result-link {
        margin: 0 auto;
    }
    
    .search-empty {
        padding: 40px 20px;
    }
    
    .search-empty h3 {
        font-size: 22px;
    }
    
    .empty-icon {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 20px;
    }
    
    .result-title {
        font-size: 16px;
    }
    
    .result-description {
        font-size: 12px;
    }
    
    .empty-suggestions {
        padding: 18px;
    }
}

body.light-mode .search-result-card {
    background: white;
}

body.light-mode .result-title a {
    color: #1A2F4E;
}

body.light-mode .result-title a:hover {
    color: #D98D2B;
}

body.light-mode .empty-suggestions {
    background: #F0F4FA;
}

body.light-mode .empty-suggestions li {
    border-bottom-color: #E2E8F0;
}

.tool-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.tool-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    overflow: hidden;
}

.tool-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(8px);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-yellow);
    border: 1px solid rgba(239, 255, 82, 0.25);
    z-index: 2;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tool-card:hover .tool-category-badge {
    background: linear-gradient(135deg, rgba(239, 255, 82, 0.2), rgba(239, 255, 82, 0.1));
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

body.light-mode .tool-category-badge {
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.85), rgba(77, 124, 254, 0.7));
    border-color: rgba(77, 124, 254, 0.5);
    color: white;
}

body.light-mode .tool-card:hover .tool-category-badge {
    background: var(--accent-blue);
    border-color: var(--accent-yellow);
    color: white;
}

@media (max-width: 600px) {
    .tool-category-badge {
        padding: 3px 10px;
        font-size: 10px;
        top: 8px;
        right: 8px;
    }
}