@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg: #0a0a0f;
    --bg-alt: #12121a;
    --bg-dark: #0d0d14;
    --bg-card: #16161f;
    --accent: #818cf8;
    --accent-light: #a5b4fc;
    --accent-dark: #6366f1;
    --text: #f1f5f9;
    --text-soft: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.15);
    --shadow: 0 4px 60px rgba(129, 140, 248, 0.1);
    --shadow-lg: 0 25px 80px rgba(129, 140, 248, 0.15);
    --r: 16px;
    --r-lg: 24px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%
}

.text-purple {
    color: var(--accent)
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 16px;
    box-shadow: var(--shadow);
    width: auto;
    max-width: calc(100% - 64px)
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 52px;
    padding: 0 8px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    white-space: nowrap
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 10px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px
}

.nav-link {
    padding: 10px 16px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-soft);
    border-radius: 50px;
    transition: all .3s;
    white-space: nowrap
}

.nav-link:hover {
    color: var(--text);
    background: rgba(129, 140, 248, 0.1)
}

.nav-link.active {
    color: #fff;
    background: var(--accent)
}

.nav-mobile-section {
    display: none
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.nav-desktop {
    display: flex
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all .3s;
    font-family: inherit
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(129, 140, 248, .3)
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(129, 140, 248, .4)
}

.btn-ghost {
    background: transparent;
    color: var(--text-soft);
    border: 2px solid var(--border-light)
}

.btn-ghost:hover,
.btn-ghost.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(129, 140, 248, 0.1)
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border-light)
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.btn-danger {
    background: #ef4444;
    color: #fff
}

.btn-sm {
    padding: 10px 20px;
    font-size: .8rem
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem
}

.btn-block {
    width: 100%
}

.user-menu {
    position: relative
}

.user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s
}

.user-btn:hover {
    border-color: var(--accent)
}

.user-btn img {
    width: 38px;
    height: 38px;
    border-radius: 50%
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.95);
    transition: all .3s;
    overflow: hidden;
    box-shadow: var(--shadow-lg)
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1)
}

.user-dropdown a {
    display: block;
    padding: 16px 20px;
    font-size: .875rem;
    color: var(--text-soft);
    transition: all .2s
}

.user-dropdown a:hover {
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent)
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    cursor: pointer
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

main {
    padding-top: 100px
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 32px;
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(129, 140, 248, .15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 132, 252, .12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(30px, -30px)
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -.04em
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-soft);
    margin-bottom: 48px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.section {
    padding: 120px 0
}

.section-header {
    text-align: center;
    margin-bottom: 80px
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.03em
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem
}

.services {
    padding: 120px 0;
    background: var(--bg-alt);
    overflow: hidden
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.03em
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.15rem
}

.services-marquee {
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 20px 0
}

.services-marquee::before,
.services-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none
}

.services-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-alt), transparent)
}

.services-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-alt), transparent)
}

.services-grid {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    will-change: transform
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.service-card {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 36px;
    text-align: center;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    cursor: default
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(129, 140, 248, 0.1)
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    margin: 0
}

.page-header {
    padding: 80px 32px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%)
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.03em
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.15rem
}

.portfolio-header-content {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center
}

.portfolio-header-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 40px rgba(129, 140, 248, .3)
}

.portfolio-header-info h1 {
    text-align: left
}

.portfolio-username {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px
}

.card h2,
.card h3 {
    margin-bottom: 24px;
    font-weight: 600
}

.portfolios-section,
.showcases-section,
.reviews-section,
.tos-section,
.dashboard-section,
.givereview-section,
.admin-section,
.success-section,
.error-section {
    padding: 60px 0 120px
}

.portfolios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all .4s;
    display: block
}

.portfolio-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.portfolio-avatar {
    margin-bottom: 24px
}

.portfolio-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--border);
    transition: all .3s
}

.portfolio-card:hover .portfolio-avatar img {
    border-color: var(--accent)
}

.portfolio-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px
}

.portfolio-card .portfolio-username {
    margin-bottom: 16px;
    display: block
}

.portfolio-desc {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6
}

.portfolio-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px
}

.portfolio-cat-tag {
    padding: 8px 16px;
    background: rgba(129, 140, 248, 0.15);
    color: var(--accent);
    font-size: .8rem;
    border-radius: 50px;
    font-weight: 500
}

.portfolio-cat-more {
    padding: 8px 16px;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: .8rem;
    border-radius: 50px
}

.portfolio-detail {
    padding: 60px 0 120px
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start
}

.portfolio-main {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.portfolio-description {
    line-height: 2
}

.portfolio-description h1,
.portfolio-description h2,
.portfolio-description h3 {
    margin-top: 32px;
    margin-bottom: 16px
}

.portfolio-description p {
    margin-bottom: 20px
}

.portfolio-description ul,
.portfolio-description ol {
    margin-left: 32px;
    margin-bottom: 20px
}

.portfolio-description code {
    background: var(--bg-dark);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .9rem
}

.external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: .875rem;
    color: var(--text-soft);
    transition: all .3s
}

.external-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px)
}

.external-link svg {
    width: 18px;
    height: 18px
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.review-mini {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border)
}

.review-mini:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.review-mini .review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px
}

.review-mini .review-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%
}

.review-mini .stars {
    margin-left: auto;
    color: #fbbf24;
    font-size: .85rem
}

.review-mini p {
    font-size: .9rem;
    color: var(--text-muted)
}

.muted {
    color: var(--text-muted)
}

.showcases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .4s
}

.showcase-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.showcase-image {
    overflow: hidden
}

.showcase-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .5s
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.08)
}

.showcase-content {
    padding: 28px
}

.showcase-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px
}

.showcase-content p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 16px
}

.showcase-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--accent);
    font-weight: 500
}

.showcase-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%
}

.showcases-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px
}

.showcase-mini-card {
    background: var(--bg-dark);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border)
}

.showcase-mini-card img {
    width: 100%;
    height: 120px;
    object-fit: cover
}

.showcase-mini-card h4 {
    padding: 16px 16px 8px;
    font-size: .95rem
}

.showcase-mini-card p {
    padding: 0 16px 16px;
    font-size: .8rem;
    color: var(--text-muted)
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all .3s
}

.review-card:hover {
    border-color: rgba(129, 140, 248, .3)
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px
}

.review-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 1.05rem
}

.review-date {
    font-size: .8rem;
    color: var(--text-muted)
}

.review-stars .star {
    color: var(--text-muted)
}

.review-stars .star.filled {
    color: #fbbf24
}

.review-content {
    margin-bottom: 20px;
    color: var(--text-soft);
    line-height: 1.8
}

.review-freelancer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: .85rem;
    color: var(--text-muted);
    padding: 12px 20px;
    background: var(--bg-dark);
    border-radius: 50px
}

.review-freelancer img {
    width: 28px;
    height: 28px;
    border-radius: 50%
}

.home-reviews {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%)
}

.home-reviews h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.03em
}

.home-reviews .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 80px
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 60px
}

.home-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all .4s
}

.home-review-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px)
}

.home-review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px
}

.home-review-header img {
    width: 52px;
    height: 52px;
    border-radius: 50%
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.05rem
}

.home-review-header .review-stars {
    color: #fbbf24;
    font-size: .85rem
}

.home-review-content {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 20px
}

.review-for {
    font-size: .9rem;
    color: var(--accent);
    font-weight: 500
}

.home-reviews-cta {
    text-align: center
}

.why-us {
    padding: 120px 0;
    background: var(--bg)
}

.why-us h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.03em
}

.why-us-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border)
}

.why-toggle-btn {
    padding: 14px 32px;
    font-size: .95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .3s;
    font-family: inherit
}

.why-toggle-btn:hover {
    color: var(--text)
}

.why-toggle-btn.active {
    background: var(--accent);
    color: #0a0a0f
}

.why-us-content {
    position: relative
}

.why-us-panel {
    display: none;
    animation: fadeIn .4s ease
}

.why-us-panel.active {
    display: block
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all .4s
}

.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.why-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px
}

.why-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6
}

.cta {
    padding: 140px 32px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-dark), #7c3aed);
    position: relative;
    overflow: hidden
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -.03em;
    position: relative
}

.cta p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 40px;
    font-size: 1.2rem;
    position: relative
}

.cta .btn {
    background: #fff;
    color: var(--accent-dark);
    position: relative
}

.cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3)
}

.filter-bar {
    padding: 40px 0
}

.filter-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 32px
}

.filter-search input {
    width: 100%;
    padding: 18px 24px 18px 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 1rem;
    transition: all .3s;
    font-family: inherit
}

.filter-search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 6px rgba(129, 140, 248, .1)
}

.filter-search input::placeholder {
    color: var(--text-muted)
}

.filter-search svg {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--text-muted)
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center
}

.filter-pill {
    padding: 12px 26px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .9rem;
    transition: all .3s;
    font-family: inherit
}

.filter-pill:hover {
    border-color: var(--accent);
    color: var(--text)
}

.filter-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0f;
    font-weight: 600
}

.count-display {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: .95rem
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600
}

.availability-badge .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.8)
    }
}

.availability-badge.available {
    background: rgba(34, 197, 94, .15);
    color: #22c55e
}

.availability-badge.available .dot {
    background: #22c55e
}

.availability-badge.busy {
    background: rgba(239, 68, 68, .15);
    color: #ef4444
}

.availability-badge.busy .dot {
    background: #ef4444
}

.availability-badge.closed {
    background: var(--bg-dark);
    color: var(--text-muted)
}

.availability-badge.closed .dot {
    background: var(--text-muted);
    animation: none
}

.empty-state {
    text-align: center;
    padding: 100px 32px
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: 32px
}

.empty-state h3 {
    margin-bottom: 12px;
    font-size: 1.5rem
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 32px
}

.tos-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2
}

.form {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.form-group label {
    font-size: .95rem;
    font-weight: 600
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px 20px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all .3s
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 6px rgba(129, 140, 248, .1)
}

.form-group textarea {
    resize: vertical;
    min-height: 160px
}

.form-note {
    font-size: .9rem;
    color: var(--text-muted);
    text-align: center
}

.form-card {
    max-width: 560px;
    margin: 0 auto
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px
}

.star-rating input {
    display: none
}

.star-rating label {
    font-size: 2.5rem;
    color: var(--border-light);
    cursor: pointer;
    transition: all .2s
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #fbbf24;
    transform: scale(1.15)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    text-align: center
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.stat-label {
    font-size: .9rem;
    color: var(--text-muted);
    margin-top: 8px
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px
}

.pending-reviews {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.pending-review {
    background: var(--bg-dark);
    border-radius: var(--r);
    padding: 24px;
    border: 1px solid var(--border)
}

.review-info .review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.review-info .review-meta img {
    width: 36px;
    height: 36px;
    border-radius: 50%
}

.review-info .review-meta .arrow {
    color: var(--text-muted)
}

.review-info .review-stars {
    color: #fbbf24;
    font-size: .9rem;
    margin-bottom: 12px
}

.review-info p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 20px
}

.review-actions {
    display: flex;
    gap: 12px
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 2000;
    backdrop-filter: blur(8px)
}

.modal.active {
    opacity: 1;
    visibility: visible
}

.modal-content {
    max-width: 560px;
    width: 100%
}

.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 16px
}

.success-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center
}

.success-card {
    max-width: 480px;
    margin: 0 auto;
    text-align: center
}

.success-icon svg {
    width: 80px;
    height: 80px;
    color: #22c55e;
    margin-bottom: 32px
}

.success-card h2 {
    margin-bottom: 12px;
    font-size: 2rem
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 32px
}

.error-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center
}

.error-card {
    text-align: center
}

.error-card h1 {
    font-size: 8rem;
    background: linear-gradient(135deg, var(--accent), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 700
}

.error-card p {
    color: var(--text-muted);
    margin-bottom: 32px
}

.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 80px 32px 40px
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px
}

.footer-section p {
    color: var(--text-muted);
    font-size: .9rem
}

.footer-section h4 {
    margin-bottom: 24px;
    font-size: .95rem;
    color: var(--text)
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    font-size: .9rem;
    padding: 10px 0;
    transition: all .3s
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(6px)
}

.discord-link {
    display: inline-flex !important;
    align-items: center;
    gap: 12px
}

.discord-link svg {
    color: var(--accent)
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--text-muted)
}

.editor-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px
}

.editor-sidebar {
    display: none
}

.sidebar-profile {
    padding: 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px
}

.sidebar-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--accent)
}

.sidebar-user-info {
    flex: 1;
    min-width: 0
}

.sidebar-username {
    display: block;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.sidebar-badge {
    display: inline-block;
    font-size: .75rem;
    color: #22c55e;
    background: rgba(34, 197, 94, .15);
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: 8px;
    font-weight: 500
}

.sidebar-nav {
    padding: 16px;
    flex: 1
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--r);
    color: var(--text-muted);
    font-size: .95rem;
    transition: all .3s;
    margin-bottom: 8px
}

.sidebar-link:hover {
    background: rgba(129, 140, 248, 0.1);
    color: var(--text)
}

.sidebar-link.active {
    background: rgba(129, 140, 248, 0.15);
    color: var(--accent)
}

.sidebar-link svg {
    width: 22px;
    height: 22px
}

.sidebar-bottom {
    padding: 16px;
    border-top: 1px solid var(--border)
}

.editor-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 40px
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 100px;
    z-index: 50
}

.editor-header h1 {
    font-size: 1.4rem
}

.editor-actions {
    display: flex;
    align-items: center;
    gap: 20px
}

.editor-tabs {
    display: flex;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 6px
}

.editor-tab {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: .9rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all .3s;
    font-family: inherit
}

.editor-tab:hover {
    color: var(--text)
}

.editor-tab.active {
    background: var(--accent);
    color: #0a0a0f
}

.editor-title-bar {
    padding: 20px 32px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border)
}

.editor-title-input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    outline: none;
    font-family: inherit
}

.editor-title-input::placeholder {
    color: var(--text-muted)
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border)
}

.toolbar-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 10px;
    transition: all .3s
}

.toolbar-btn:hover {
    background: rgba(129, 140, 248, 0.1);
    color: var(--text)
}

.toolbar-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 12px
}

.editor-container {
    display: flex;
    flex: 1;
    min-height: 400px
}

.editor-container[data-mode="edit"] .preview-pane {
    display: none
}

.editor-container[data-mode="preview"] .edit-pane {
    display: none
}

.editor-container[data-mode="split"] .editor-pane {
    width: 50%
}

.editor-pane {
    flex: 1;
    display: flex;
    flex-direction: column
}

.edit-pane {
    background: var(--bg-dark);
    border-right: 1px solid var(--border)
}

.edit-pane textarea {
    flex: 1;
    width: 100%;
    background: transparent;
    border: none;
    padding: 32px;
    color: var(--text);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .95rem;
    line-height: 1.9;
    resize: none;
    outline: none
}

.edit-pane textarea::placeholder {
    color: var(--text-muted)
}

.editor-footer {
    display: flex;
    gap: 32px;
    padding: 12px 32px;
    font-size: .8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border)
}

.preview-pane {
    background: var(--bg-card);
    overflow-y: auto
}

#preview-content {
    padding: 32px;
    line-height: 2
}

#preview-content h1,
#preview-content h2,
#preview-content h3 {
    margin-top: 32px;
    margin-bottom: 16px
}

#preview-content p {
    margin-bottom: 20px
}

#preview-content ul,
#preview-content ol {
    margin-left: 32px;
    margin-bottom: 20px
}

#preview-content code {
    background: var(--bg-dark);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .9rem
}

#preview-content pre {
    background: var(--bg-dark);
    padding: 24px;
    border-radius: var(--r);
    overflow-x: auto;
    margin-bottom: 20px
}

#preview-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin-left: 0;
    color: var(--text-muted)
}

#preview-content a {
    color: var(--accent)
}

#preview-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 48px 0
}

.links-section,
.categories-section,
.availability-section {
    padding: 32px;
    border-top: 1px solid var(--border)
}

.section-header h2 {
    font-size: 1.25rem;
    text-align: left;
    margin-bottom: 24px
}

.section-subtitle-small {
    color: var(--text-muted);
    font-size: .9rem;
    margin-top: 8px
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.link-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--bg-dark);
    padding: 16px;
    border-radius: var(--r);
    border: 1px solid var(--border)
}

.link-card input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: var(--text);
    font-size: .9rem;
    outline: none;
    font-family: inherit
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.category-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s;
    font-size: .9rem
}

.category-chip:hover {
    border-color: var(--accent)
}

.category-chip.selected {
    background: rgba(129, 140, 248, 0.2);
    border-color: var(--accent);
    color: var(--accent)
}

.category-chip input {
    display: none
}

.availability-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.availability-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 26px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--r);
    cursor: pointer;
    transition: all .3s;
    font-size: .95rem
}

.availability-option input {
    display: none
}

.availability-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%
}

.availability-option.available .availability-dot {
    background: #22c55e
}

.availability-option.busy .availability-dot {
    background: #ef4444
}

.availability-option.closed .availability-dot {
    background: var(--text-muted)
}

.availability-option:hover {
    border-color: var(--accent)
}

.availability-option.selected {
    border-color: var(--accent);
    background: rgba(129, 140, 248, 0.1)
}

.availability-option.available.selected {
    border-color: #22c55e;
    background: rgba(34, 197, 94, .1)
}

.availability-option.busy.selected {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .1)
}

.availability-option.closed.selected {
    border-color: var(--text-muted);
    background: var(--bg-dark)
}

.empty-showcase {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
    background: var(--bg-dark);
    border-radius: var(--r-lg);
    border: 2px dashed var(--border)
}

.showcases-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px
}

.showcase-manage-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden
}

.showcase-manage-card img {
    width: 100%;
    height: 160px;
    object-fit: cover
}

.showcase-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: .9rem
}

.showcase-manage-info {
    padding: 20px
}

.showcase-manage-info h4 {
    font-size: 1.05rem;
    margin-bottom: 8px
}

.showcase-manage-info p {
    font-size: .85rem;
    color: var(--text-muted)
}

.showcase-manage-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px
}

.editor-layout+.footer,
.editor-layout~.footer {
    margin-left: 0
}

.nav-logout:hover {
    color: #ef4444 !important
}

@media(max-width:1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .admin-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr)
    }

    .editor-sidebar {
        width: 240px
    }

    .editor-main {
        margin-left: 240px
    }

    .editor-layout+.footer,
    .editor-layout~.footer {
        margin-left: 240px
    }
}

@media(max-width:768px) {
    .navbar {
        top: 12px;
        width: calc(100% - 32px);
        padding: 6px 8px
    }

    .nav-container {
        height: 48px;
        padding: 0 12px
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        background: var(--bg-card);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all .4s;
        border-radius: var(--r-lg);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 100px);
        overflow-y: auto
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem
    }

    .nav-mobile-section {
        display: block;
        border-top: 1px solid var(--border);
        margin-top: 16px;
        padding-top: 16px
    }

    .nav-desktop {
        display: none !important
    }

    .nav-right>*:not(.nav-toggle) {
        display: none !important
    }

    .nav-toggle {
        display: flex
    }

    main {
        padding-top: 80px
    }

    .hero {
        padding: 60px 24px;
        min-height: auto
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .hero p {
        font-size: 1.1rem
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%
    }

    .hero-buttons .btn {
        width: 100%
    }

    .section {
        padding: 80px 0
    }

    .section-header h2,
    .services h2,
    .home-reviews h2 {
        font-size: 2rem
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px
    }

    .service-card {
        padding: 24px 12px
    }

    .service-icon {
        width: 52px;
        height: 52px
    }

    .service-icon svg {
        width: 24px;
        height: 24px
    }

    .service-card h3 {
        font-size: .85rem
    }

    .page-header {
        padding: 50px 20px 40px
    }

    .page-header h1 {
        font-size: 2rem
    }

    .portfolio-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px
    }

    .portfolio-header-info h1 {
        text-align: center
    }

    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .portfolio-sidebar {
        order: -1
    }

    .portfolios-grid,
    .showcases-grid,
    .reviews-grid,
    .home-reviews-grid {
        grid-template-columns: 1fr
    }

    .why-us h2 {
        font-size: 2rem
    }

    .why-us-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px
    }

    .why-toggle-btn {
        padding: 12px 24px;
        font-size: .9rem
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .why-card {
        padding: 24px
    }

    .why-number {
        font-size: 2rem
    }

    .filter-pills {
        gap: 8px;
        padding: 0 20px
    }

    .filter-pill {
        padding: 10px 18px;
        font-size: .85rem
    }

    .filter-search {
        margin: 0 20px 24px;
        max-width: none
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .editor-layout {
        flex-direction: column
    }

    .editor-sidebar {
        position: relative;
        width: 100%;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--border)
    }

    .sidebar-profile {
        flex: 1;
        border-right: 1px solid var(--border);
        border-bottom: none
    }

    .sidebar-nav {
        display: flex;
        gap: 8px;
        padding: 12px;
        overflow-x: auto
    }

    .sidebar-link {
        white-space: nowrap;
        margin-bottom: 0;
        padding: 12px 16px
    }

    .sidebar-bottom {
        display: none
    }

    .editor-main {
        margin-left: 0
    }

    .editor-header {
        top: 0
    }

    .editor-layout+.footer,
    .editor-layout~.footer {
        margin-left: 0
    }

    .editor-container[data-mode="split"] {
        flex-direction: column
    }

    .editor-container[data-mode="split"] .editor-pane {
        width: 100%
    }

    .availability-options {
        flex-direction: column
    }

    .container {
        padding: 0 20px
    }

    .card {
        padding: 24px
    }

    .cta {
        padding: 80px 24px
    }

    .cta h2 {
        font-size: 2rem
    }
}

@media(max-width:480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }
}