@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #6c5ce7;
    --primary-glow: #a29bfe;
    --secondary: #00cec9;
    --dark-bg: #0a0a1a;
    --card-bg: #00000096;
    --card-border: #1a1a3e;
    --text-primary: #ffffff;
    --text-secondary: #b2b2d0;
    --gradient-1: linear-gradient(135deg, #181818, #000000);
    --gradient-2: linear-gradient(135deg, #00cec9, #0984e3);
    --gradient-3: linear-gradient(135deg, #fd79a8, #6c5ce7);
    --success: #00b894;
    --warning: #fdcb6e;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 206, 201, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(253, 121, 168, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 26, 0.95);
    border-bottom-color: rgba(108, 92, 231, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.8));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--primary-glow);
}

.search-container {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 18px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

.search-icon {
    margin-right: 10px;
    opacity: 0.5;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
    outline: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(108, 92, 231, 0.1);
}

.search-result-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.search-result-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.search-result-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.search-result-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--success);
}

.nav-cta {
    display: flex;
    gap: 10px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.6);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
}

.btn-white {
    background: white;
    color: var(--dark-bg);
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.15);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 206, 201, 0.12);
    top: 10%;
    right: -100px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(253, 121, 168, 0.1);
    bottom: 10%;
    left: 30%;
    animation-delay: -6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-glow);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse2 1.5s ease-in-out infinite;
}

@keyframes pulse2 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(0, 184, 148, 0);
    }
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    display: inline;
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-glow);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: fadeIn 1s ease 1.5s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-glow);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

/* SECTIONS */
.featured-games-section,
.top-scripts-section,
.cta-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* GAMES GRID */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: var(--shadow-glow);
}

.game-card-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 26, 0.95) 0%, rgba(10, 10, 26, 0.3) 40%, transparent 100%);
}

.game-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(108, 92, 231, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.game-card-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.game-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.game-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 50px;
}

/* SCRIPTS */
.scripts-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.script-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.script-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: var(--shadow-glow);
}

.script-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.script-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.script-card:hover .script-card-image img {
    transform: scale(1.08);
}

.script-card-image .script-game-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.script-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.script-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.script-card-body>p {
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 16px;
}

.script-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.script-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--success);
}

.script-price.free {
    color: var(--warning);
}

.script-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* SHOP PAGE */
.shop-page .navbar {
    z-index: 100;
}

.shop-container {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 24px 0;
    gap: 32px;
    position: relative;
    z-index: 1;
    height: calc(100vh - 100px);
    overflow: hidden;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    max-height: 100%;
    overflow-y: auto;
}

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

.shop-content::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.shop-content::-webkit-scrollbar-thumb {
    background: rgba(108,92,231,0.4);
    border-radius: 3px;
}

.shop-content {
    flex: 1;
    min-width: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 8px;
}

/* CTA */
.cta-section {
    padding: 80px 0;
}

.sidebar-header h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

/* Filters */
.filters {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-glow);
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.filter-icon {
    font-size: 18px;
}

/* CTA */
.cta-section {
    padding: 80px 0;
}

.shop-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
}

.scripts-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* CTA */

.cta-card {
    background: var(--gradient-1);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-links a,
.footer-social a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--text-primary);
}

.footer-social a {
    display: inline-block;
    margin-right: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

/* LOADER */
.loader {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 60px;
}

.loader-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.16s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes loaderBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* PARTICLES */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* GLITCH EFFECT */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: #ff0080;
    z-index: -1;
}

.glitch::after {
    color: #00ffff;
    z-index: -2;
}

.glitch:hover::before {
    opacity: 0.3;
    animation: glitch1 0.3s linear infinite;
}

.glitch:hover::after {
    opacity: 0.3;
    animation: glitch2 0.3s linear infinite;
}

@keyframes glitch1 {
    0% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-3px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(3px);
    }

    40% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(-2px);
    }

    60% {
        clip-path: inset(70% 0 5% 0);
        transform: translate(2px);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-1px);
    }

    100% {
        clip-path: inset(50% 0 20% 0);
        transform: translate(1px);
    }
}

@keyframes glitch2 {
    0% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(3px);
    }

    20% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-3px);
    }

    40% {
        clip-path: inset(50% 0 20% 0);
        transform: translate(2px);
    }

    60% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(-2px);
    }

    80% {
        clip-path: inset(70% 0 5% 0);
        transform: translate(1px);
    }

    100% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-1px);
    }
}

/* MAGNETIC BUTTON */
.magnetic {
    transition: transform 0.3s ease;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.4);
    border-radius: 3px;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .search-container {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .shop-container {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
    }

    .filters {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
        flex: 0 0 auto;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .scripts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

#particles-js canvas {
    position: fixed;
}