* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

@media(max-width:768px) {
    .container {
        padding: 0 16px
    }
}

@media(max-width:480px) {
    .container {
        padding: 0 12px
    }
}



.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(60, 60, 60, .8);
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 1000
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

.back-to-top:hover {
    background: rgba(80, 80, 80, .9);
    transform: translateY(-2px)
}



.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #0a0a0a
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 2
}

.hero-content {
    position: relative;
    z-index: 3
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(.8);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: .7;
    transition: opacity .3s
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #00d4ff;
    border-radius: 12px;
    position: relative;
    background: rgba(0, 212, 255, .1)
}

.wheel {
    width: 4px;
    height: 8px;
    background: #00d4ff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite
}

.arrow-down {
    width: 8px;
    height: 8px;
    border: 2px solid #00d4ff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
    animation: arrow-bounce 2s infinite
}

@keyframes arrow-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
        opacity: 1
    }

    40% {
        transform: translateY(5px) rotate(45deg);
        opacity: .7
    }

    60% {
        transform: translateY(3px) rotate(45deg);
        opacity: .8
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1
    }

    50% {
        top: 20px;
        opacity: .5
    }

    100% {
        top: 30px;
        opacity: 0
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #b0b0b0;
    max-width: 600px
}





.features,
.scripts {
    background: #0a0a0a
}

.features {
    padding: 100px 0;
    min-height: 100vh
}

.scripts {
    padding: 80px 0 60px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px
}

@media(max-width:768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }
}

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

.feature-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: transform .3s, border-color .3s
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e0e0e0
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6
}

@media(max-width:768px) {
    .feature-card {
        padding: 30px 20px
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px
    }

    .feature-card p {
        font-size: .9rem
    }
}

@media(max-width:480px) {
    .feature-card {
        padding: 20px 15px
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 10px
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px
    }

    .feature-card p {
        font-size: .85rem
    }
}

.featured-script {
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #333;
    position: relative;
    overflow: hidden
}

.featured-carousel {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s;
    display: flex;
    align-items: center
}

.carousel-slide.active {
    opacity: 1
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: all .3s
}

.indicator.active {
    background: #00d4ff;
    transform: scale(1.2)
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%
}

.featured-info {
    flex: 1
}

.featured-badge {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: .8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px
}

.featured-info h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 4px
}

.featured-info .game-name {
    color: #00d4ff;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 8px
}

.featured-info .description {
    color: #b0b0b0;
    font-size: .8rem;
    line-height: 1.3;
    margin-bottom: 10px
}

.featured-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap
}

.featured-tags .tag {
    background: rgba(0, 212, 255, .2);
    color: #00d4ff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: .75rem;
    border: 1px solid rgba(0, 212, 255, .3)
}

.featured-image {
    flex-shrink: 0
}

.script-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, .1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(0, 212, 255, .3)
}

.scripts-list {
    margin-top: 60px
}

.compact-scripts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    gap: 20px
}

@media(max-width:1024px) {
    .compact-scripts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px
    }
}

@media(max-width:768px) {
    .compact-scripts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px
    }
}

@media(max-width:480px) {
    .compact-scripts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
    }
}

.compact-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px 12px;
    border: 1px solid #333;
    transition: all .3s;
    cursor: pointer;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 110px;
    justify-content: center
}

@media(max-width:768px) {
    .compact-card {
        padding: 12px 10px;
        min-height: 100px
    }
}

@media(max-width:480px) {
    .compact-card {
        padding: 10px 8px;
        min-height: 90px
    }
}

.compact-card:hover {
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, .1)
}

.compact-icon {
    font-size: 2rem;
    margin-bottom: 10px
}

.compact-title {
    color: #e0e0e0;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 5px;
    word-break: break-word;
    line-height: 1.3
}

.compact-game {
    color: #00d4ff;
    font-size: .8rem;
    margin-bottom: 8px;
    word-break: break-word;
    line-height: 1.3
}

@media(max-width:768px) {
    .compact-icon {
        font-size: 1.6rem;
        margin-bottom: 4px
    }

    .compact-title {
        font-size: .8rem;
        margin-bottom: 2px
    }

    .compact-game {
        font-size: .7rem;
        margin-bottom: 0
    }
}

@media(max-width:480px) {
    .compact-icon {
        font-size: 1.4rem;
        margin-bottom: 3px
    }

    .compact-title {
        font-size: .75rem;
        margin-bottom: 1px;
        line-height: 1.2
    }

    .compact-game {
        font-size: .65rem;
        margin-bottom: 0;
        line-height: 1.2
    }
}

.compact-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: .7rem;
    font-weight: 600;
    margin-bottom: 4px
}

.compact-card .compact-status:nth-of-type(2) {
    top: 32px
}

.compact-card .compact-status:nth-of-type(3) {
    top: 56px
}

@media(max-width:768px) {
    .compact-status {
        padding: 2px 5px;
        font-size: .65rem
    }

    .compact-card .compact-status:nth-of-type(2) {
        top: 28px
    }

    .compact-card .compact-status:nth-of-type(3) {
        top: 48px
    }
}

@media(max-width:480px) {
    .compact-status {
        padding: 1px 4px;
        font-size: .6rem;
        top: 6px !important;
        right: 6px !important
    }

    .compact-card .compact-status:nth-of-type(2) {
        top: 24px !important
    }

    .compact-card .compact-status:nth-of-type(3) {
        top: 42px !important
    }
}

.compact-status.hot {
    background: rgba(255, 69, 96, .2);
    color: #ff4560
}

.compact-status.new {
    background: rgba(0, 255, 136, .2);
    color: #00ff88
}

.compact-status.cloud {
    background: rgba(0, 212, 255, .2);
    color: #00d4ff
}

.script-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 2000;
    backdrop-filter: blur(5px)
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border: 1px solid #333
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: 0;
    border: 0;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: color .3s
}

.modal-close:hover {
    color: #e0e0e0
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px
}

.modal-icon {
    font-size: 3rem
}

.modal-title {
    color: #e0e0e0;
    font-size: 1.5rem;
    margin-bottom: 5px
}

.modal-game {
    color: #00d4ff;
    font-size: 1rem
}

.modal-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px
}

.modal-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.modal-tag {
    background: #333;
    color: #e0e0e0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: .8rem
}

.modal-buttons {
    display: flex;
    gap: 15px
}

.btn-modal {
    flex: 1;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s
}

.btn-modal.primary {
    background: #00d4ff;
    color: #0a0a0a
}

.btn-modal.primary:hover {
    background: #0099cc
}

.btn-modal.secondary {
    background: 0;
    color: #00d4ff;
    border: 2px solid #00d4ff
}

.btn-modal.secondary:hover {
    background: #00d4ff;
    color: #0a0a0a
}

.scripts-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px
}

.pagination-btn {
    background: 0;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .3s;
    font-size: .9rem
}

.pagination-btn:hover:not(:disabled) {
    background: #00d4ff;
    color: #0a0a0a
}

.pagination-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    border-color: #666;
    color: #666
}

.pagination-info {
    color: #b0b0b0;
    font-size: .9rem;
    min-width: 60px;
    text-align: center
}

@media(max-width:768px) {
    .hero-content h1 {
        font-size: 2.5rem
    }

    .hero-content p {
        font-size: 1.1rem
    }
}