:root {
    --primary: #0097a7;
    --primary-dark: #00796b;
    --discord: #7289DA;
    --discord-dark: #5a6fbd;
    --success: #4CAF50;
    --success-dark: #3e8e41;
    --warning: #FF5722;
    --warning-dark: #E64A19;
    --purple: #9C27B0;
    --purple-dark: #7B1FA2;
    --vip: #FFD700;
    --vip-dark: #FFC000;
    --free: #4CAF50;
    --both: #9C27B0;
    --review: #2196F3;
    --review-dark: #1976D2;
    --gamepad: #FF5252;
    --gamepad-dark: #E53935;
    --youtube: #FF0000;
    --youtube-dark: #CC0000;
    --error: #F44336;
    --error-dark: #D32F2F;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f1923;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 151, 167, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 20%);
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.floating-icon {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    font-size: 3rem;
    color: var(--vip);
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 8%;
    font-size: 4rem;
    color: var(--primary);
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 10%;
    font-size: 2.5rem;
    color: var(--success);
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    bottom: 40%;
    right: 15%;
    font-size: 3.5rem;
    color: var(--purple);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.pixel-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.1;
}

.pixel-decoration:nth-child(5) {
    top: 15%;
    right: 5%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23FFD700" d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"/></svg>');
    animation: pulse 3s infinite;
}

.pixel-decoration:nth-child(6) {
    bottom: 10%;
    left: 5%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%230097A7" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"/></svg>');
    animation: pulse 4s infinite 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FF5252" d="M9,2V7.5L12,10.5L15,7.5V2H9M11,4H13V6H11V4M2,9V15H7.5L10.5,12L7.5,9H2M16.5,9L13.5,12L16.5,15H22V9H16.5M12,13.5L9,16.5V22H15V16.5L12,13.5Z"/></svg>'), auto;
}

a, button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFD700" d="M13,3V9H21V3M13,21H21V11H13M3,21H11V15H3M3,13H11V3H3V13Z"/></svg>'), pointer;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 20px 0;
}

.header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 50%;
    filter: blur(1px);
}

.header::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vip), transparent);
    border-radius: 50%;
    filter: blur(1px);
}

.header h1 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--vip));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.header h1:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header p {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Improved Search, Filter, and Sort Container */
.search-filter-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-filter-container::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.search-container, .filter-container, .sort-container {
    position: relative;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background-color: rgba(0,0,0,0.3);
    color: white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23aaa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>');
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 16px;
}

.search-container input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.2);
    background-color: rgba(0,0,0,0.5);
}

.filter-container, .sort-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-container label, .sort-container label {
    font-weight: 500;
    color: #aaa;
    font-size: 0.95rem;
    white-space: nowrap;
    padding-left: 5px;
}

.filter-container select, .sort-container select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    background-color: rgba(0,0,0,0.3);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23aaa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.filter-container select:focus, .sort-container select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.2);
    background-color: rgba(0,0,0,0.5);
}

.action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.action-buttons::before {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.action-btn-wrapper {
    position: relative;
    display: inline-block;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    width: 100%;
}

.action-btn i {
    margin-right: 8px;
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, currentColor 0%, rgba(0,0,0,0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(1px);
}

.info-btn {
    background-color: var(--discord);
    color: white;
}

.freekey-btn {
    background-color: var(--success);
    color: white;
}

.vip-btn {
    background-color: var(--vip);
    color: #333;
}

.gamepad-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: var(--gamepad);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px var(--gamepad); 
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 15px var(--gamepad); 
        transform: scale(1.05);
    }
}

.gamepad-btn:hover {
    background-color: var(--gamepad-dark);
    transform: scale(1.1) rotate(15deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 250px;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s;
    margin: 3px 0;
    background-color: rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
}

.telegram-item {
    color: var(--discord);
}

.getkey-item {
    color: var(--warning);
}

.tutorial-item {
    color: var(--purple);
}

.youtube-item {
    color: var(--youtube);
}

.error-item {
    color: var(--error);
}

.vip-benefits {
    padding: 12px;
    background-color: rgba(255, 249, 230, 0.1);
    border-radius: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
    border: 1px solid rgba(255,215,0,0.2);
    width: 100%;
}

.vip-benefits h4 {
    color: var(--vip);
    margin-bottom: 8px;
    text-align: center;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.vip-benefits ul {
    padding-left: 18px;
    margin-bottom: 8px;
}

.vip-benefits li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    list-style: none;
}

.vip-benefits li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--vip);
}

.vip-benefits .price {
    font-weight: bold;
    text-align: center;
    margin: 12px 0;
    color: var(--vip);
    font-size: 1rem;
    background: rgba(255,215,0,0.1);
    padding: 8px;
    border-radius: 5px;
    border: 1px dashed var(--vip);
}

.vip-benefits .note {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    margin-top: 8px;
}

.vip-purchase-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--vip);
    color: #333;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.vip-purchase-btn:hover {
    background-color: var(--vip-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vip-purchase-btn i {
    margin-right: 6px;
}

#mod-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.script-item {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.script-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    z-index: -1;
}

.script-item.vip {
    border: 2px solid var(--vip);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.script-item.both {
    border: 2px solid var(--both);
    box-shadow: 0 5px 20px rgba(156, 39, 176, 0.2);
}

.script-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.script-item.vip:hover {
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.script-item.both:hover {
    box-shadow: 0 10px 25px rgba(156, 39, 176, 0.3);
}

.script-card {
    padding: 15px;
    position: relative;
}

.script-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    user-select: none;
}

.script-card:hover .script-thumbnail {
    transform: scale(1.02);
}

.toggle-desc-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background-color: rgba(0, 151, 167, 0.2);
    color: var(--primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.toggle-desc-btn:hover {
    background-color: rgba(0, 151, 167, 0.3);
}

.toggle-desc-btn i {
    margin-right: 6px;
    transition: transform 0.3s;
    font-size: 0.85rem;
}

.vip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--vip);
    color: #333;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--vip); }
    to { box-shadow: 0 0 15px var(--vip); }
}

.free-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--free);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.both-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--both);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: glow-purple 2s infinite alternate;
}

@keyframes glow-purple {
    from { box-shadow: 0 0 5px var(--both); }
    to { box-shadow: 0 0 15px var(--both); }
}

.script-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.script-card h3:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 10px rgba(0, 151, 167, 0.5);
}

.script-price {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
}

.vip-price, .both-price {
    display: block;
}

.vip-price {
    background-color: var(--vip);
    color: #333;
}

.both-price {
    background-color: var(--both);
}

.description {
    display: none;
    padding: 0 15px 15px;
    color: #ccc;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.description.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.description p {
    margin-bottom: 8px;
    font-weight: 500;
}

.description ul {
    list-style: none;
    margin-bottom: 12px;
}

.description ul li {
    padding: 4px 0;
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
}

.description ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Updated button styles to match action buttons */
.desc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    min-width: 120px;
    gap: 6px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.desc-btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.desc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.desc-btn:active {
    transform: translateY(1px);
}

.download-btn {
    background-color: var(--primary);
}

.download-btn:hover {
    background-color: var(--primary-dark);
}

.vip-download-btn {
    background-color: var(--vip);
    color: #333;
}

.vip-download-btn:hover {
    background-color: var(--vip-dark);
}

.both-download-btn {
    background-color: var(--both);
    color: white;
}

.both-download-btn:hover {
    background-color: var(--purple-dark);
}

.review-btn {
    background-color: var(--review);
    color: white;
}

.review-btn:hover {
    background-color: var(--review-dark);
}

.error-btn {
    background-color: var(--error);
    color: white;
}

.error-btn:hover {
    background-color: var(--error-dark);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.button-group-center {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    position: relative;
    color: #aaa;
    font-size: 0.9rem;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-link:hover {
    color: var(--primary);
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--vip));
    z-index: 1000;
    transition: width 0.3s;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success);
    color: white;
    padding: 12px 16px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    border: 2px solid white;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Pagination container */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Navigation buttons */
.page-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 151, 167, 0.1);
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.page-nav-btn:hover {
    background: rgba(0, 151, 167, 0.3);
    transform: translateY(-2px);
}

.page-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.page-nav-btn i {
    font-size: 0.9rem;
}

/* Page numbers container */
.page-numbers {
    display: flex;
    gap: 5px;
    margin: 0 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual page number buttons */
.page-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 151, 167, 0.1);
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.page-number:hover {
    background: rgba(0, 151, 167, 0.2);
}

.page-number.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 151, 167, 0.3);
}

.vip-feature {
    position: relative;
    display: inline-block;
    color: var(--vip);
}

.vip-icon {
    color: var(--vip);
    margin-left: 5px;
    font-size: 0.8em;
    vertical-align: middle;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    animation: vip-pulse 1.5s infinite alternate;
}

@keyframes vip-pulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.1); opacity: 1; text-shadow: 0 0 10px var(--vip); }
}

.report-error-btn {
    background-color: var(--error);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 2;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.report-error-btn:hover {
    background-color: var(--error-dark);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    /* Desktop layout for search-filter-container */
    .search-filter-container {
        grid-template-columns: 2fr 1fr 1fr;
        align-items: center;
    }
    
    .filter-container, .sort-container {
        flex-direction: row;
        align-items: center;
    }
    
    .filter-container label, .sort-container label {
        margin-bottom: 0;
        margin-right: 8px;
    }
}

@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
@media (max-width: 768px) {
    .search-container input {
        padding-left: 50px;
        text-indent: 20px;
    }
}      
    
    .search-container, .filter-container, .sort-container {
        width: 100%;
        max-width: 100%;
    }
    
    .filter-container, .sort-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-container label, .sort-container label {
        margin-bottom: 5px;
    }
    
    #mod-container {
        grid-template-columns: 1fr;
    }
    
    .dropdown-menu {
        left: 0;
        transform: none;
        width: 100%;
    }
    
    .dropdown-menu::before {
        left: 20px;
        transform: none;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .action-btn-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .desc-btn {
        width: calc(50% - 4px);
        margin-right: 0;
        min-height: 48px;
        padding: 12px 10px;
        font-size: 0.8rem;
    }
    
    .button-group, .button-group-center {
        gap: 6px;
    }

    .floating-icon {
        display: none;
    }

    body {
        font-size: 14px;
    }
    
    .script-card h3 {
        font-size: 1.15rem;
    }
    
    .script-thumbnail {
        height: 300px;
    }

    .pagination-container {
        gap: 5px;
    }
    
    .page-nav-btn, .page-number {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .page-numbers {
        gap: 5px;
        margin: 0 5px;
    }
    
    /* Show fewer page numbers on mobile */
    .page-number.mobile-hidden {
        display: none;
    }
    
    .page-number.mobile-ellipsis {
        background: transparent;
        pointer-events: none;
        width: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .desc-btn {
        width: 100%;
    }
    
    .script-thumbnail {
        height: 280px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .action-btn, .search-container input, 
    .filter-container select, .sort-container select {
        padding: 10px 15px;
    }
    
    .page-nav-btn, .page-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}