@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #e74c3c;
    --card-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: var(--light);
    font-size: 1.2rem;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover:after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.view-button {
    background-color: var(--primary);
    color: white;
    margin: 20px auto;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.4) blur(0px);
}

.hero-bg-slide.active {
    opacity: 1;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0);
    }

    100% {
        transform: scale(1.1) translateX(-20px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 30, 42, 0.85) 0%, rgba(12, 22, 32, 0.9) 100%);
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.15) 0%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.9;
    overflow: hidden;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease backwards;
}

.title-line:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

.title-line:last-child {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 40px;
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.6s backwards;
    color: #bdc3c7;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.hero-buttons a {
    text-decoration: none;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    border: none;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.cta-button.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.cta-button.primary:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.cta-button.secondary:hover {
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.cta-button.tertiary {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.cta-button.tertiary:hover {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    animation: fadeInUp 1s ease 1s backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #bdc3c7;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.stat-label i {
    color: var(--primary);
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.featured-mods {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    position: relative;
    overflow: hidden;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .title-line:last-child {
        margin-left: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .title-line:last-child {
        margin-left: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

.featured-mods {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: #bdc3c7;
    max-width: 700px;
    margin: 0 auto;
}

.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.mod-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(50px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.mod-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.mod-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.mod-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mod-card:hover::after {
    opacity: 1;
}

.mod-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mod-card:hover .mod-image {
    transform: scale(1.05);
}

.mod-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.mod-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.mod-card:hover .mod-title {
    color: var(--primary);
}

.mod-author {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mod-author i {
    color: var(--primary);
    font-size: 0.8rem;
}

.mod-uploader {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mod-uploader i {
    color: var(--primary);
    font-size: 0.8rem;
}

.mod-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    border-radius: 6px;
}

.mod-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.mod-stats span:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

.mod-stats i {
    color: var(--primary);
}

.mod-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background-color: rgba(52, 152, 219, 0.15);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.tag:hover {
    background-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.category-tag {
    background-color: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background-color: rgba(241, 196, 15, 0.3);
    transform: translateY(-2px);
}


.mod-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.mod-rating i {
    color: var(--secondary);
}

.download-button-group {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.download-button,
.app-download-button {
    flex-grow: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-button::before,
.app-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.download-button:hover::before,
.app-download-button:hover::before {
    left: 100%;
}

.download-button {
    background: linear-gradient(145deg, #3498db, #2980b9);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.app-download-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
}

.app-download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.download-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.download-confirm-modal.active {
    display: flex;
}

.download-confirm-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.95) 0%, rgba(20, 30, 45, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 12px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.download-confirm-modal.active .download-confirm-content {
    transform: scale(1);
    opacity: 1;
}

.download-confirm-content h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.download-confirm-content h3 i {
    color: var(--primary);
    font-size: 1.8rem;
}

.download-confirm-content p {
    color: #bdc3c7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.download-confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.download-confirm-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-confirm-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.download-confirm-buttons button:hover::before {
    left: 100%;
}

.confirm-download-btn {
    background: linear-gradient(145deg, var(--primary), #2980b9);
    color: white;
}

.confirm-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cancel-download-btn {
    background: linear-gradient(145deg, #555, #444);
    color: white;
}

.cancel-download-btn:hover {
    background: linear-gradient(145deg, #666, #555);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .mods-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .mod-info {
        padding: 20px 15px;
    }

    .mod-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .mods-grid {
        grid-template-columns: 1fr;
    }

    .mod-card {
        max-width: 320px;
        margin: 0 auto 20px;
    }
}

.how-it-works {
    padding: 100px 0;
    background-color: #2c3e50;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
}

.step.visible {
    transform: translateY(0);
    opacity: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

footer {
    background-color: #1a2530;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        gap: 15px;
    }

    .steps {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .mod-card {
        margin-bottom: 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .step h3 {
        font-size: 1.1rem;
    }
}

.rating-modal {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.rating-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-modal.active .rating-content {
    transform: translateY(0);
    opacity: 1;
}

.rating-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.rating-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-content h3 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.rating-content p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.rating-stars {
    margin: 25px 0;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rating-star {
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star:hover,
.rating-star.active {
    color: var(--secondary);
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.rating-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.rating-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-rating {
    background-color: var(--secondary);
    color: white;
}

.submit-rating:hover {
    background-color: #27ae60;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
}

.skip-rating {
    background-color: #555;
    color: white;
}

.skip-rating:hover {
    background-color: #666;
    transform: translateY(-2px);
}

.mod-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.mod-rating i {
    color: var(--secondary);
}

.search-filter-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 0.8s ease backwards;
    animation-delay: 0.2s;
}

.search-box {
    display: flex;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-box:hover {
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    color: var(--light);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.3);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.search-box button:hover::before {
    left: 100%;
}

.search-box button:hover {
    background-color: #2980b9;
}

.filter-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.filter-container:hover {
    border-color: rgba(52, 152, 219, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.filter-label {
    font-weight: bold;
    margin-right: 5px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background-color: rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.7s ease;
}

.filter-tag:hover::before {
    left: 100%;
}

.filter-tag:hover {
    background-color: rgba(52, 152, 219, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.filter-tag.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.clear-button {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--light);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.clear-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.7s ease;
}

.clear-button:hover::before {
    left: 100%;
}

.clear-button:hover {
    background-color: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--accent);
}

.no-results {
    text-align: center;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin: 20px 0;
    animation: fadeInUp 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-results h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--light);
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .search-filter-container {
        gap: 15px;
    }

    .filter-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .filter-tags {
        width: 100%;
    }

    .clear-button {
        margin-top: 10px;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .search-box {
        max-width: 100%;
    }

    .search-box input {
        font-size: 14px;
    }

    .filter-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

.auth-modal {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.auth-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.3s ease;
}

.auth-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.auth-modal.active .auth-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.auth-tab:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.auth-tab.active {
    color: var(--light);
}

.auth-tab.active:after {
    width: 100%;
}

.auth-tab:hover {
    color: var(--primary);
}

.auth-form h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #bdc3c7;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.auth-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.auth-submit:hover::before {
    left: 100%;
}

.auth-submit:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.auth-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    text-align: center;
    font-size: 0.9rem;
    animation: fadeInUp 0.3s ease;
}

.auth-message.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(46, 204, 113, 0.3);
    display: block;
}

.auth-message.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent);
    border: 1px solid rgba(231, 76, 60, 0.3);
    display: block;
}

@media (max-width: 480px) {
    .auth-content {
        padding: 30px 20px;
    }

    .auth-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .auth-form h3 {
        font-size: 1.3rem;
    }
}

.view-more-button {
    background-color: var(--dark);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.view-more-button:hover {
    background-color: #3a4b5c;
    transform: translateY(-2px);
}

.mod-details-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    position: relative;
}

.mod-details-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.mod-details-header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.mod-details-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 0.5px;
    position: relative;
}

.back-button {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateX(-5px);
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.mod-image-gallery {
    width: 100%;
    margin: 2rem 0;
}

.mod-details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    margin-top: 1rem;
}

.mod-details-main {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.mod-actions-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    align-self: start;
}

.mod-description {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.mod-details-grid {
    margin-bottom: 2rem;
}

.mod-details-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.download-button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-button,
.app-download-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.download-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
}

.download-button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.app-download-button {
    background: linear-gradient(135deg, #078f03 0%, #078f03 100%);
    color: white;
    font-weight: 600;
}

.app-download-button:hover {
    background: linear-gradient(135deg, #078f03 0%, #078f03 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
    color: white;
}

.view-configs-link {
    width: 100%;
    padding: 0.9rem 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(39, 174, 96, 0.2) 100%);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    color: #2ecc71;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-configs-link:hover {
    background: linear-gradient(135deg, #6d0270 0%, #6d0270 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
    color: white;
}

.view-configs-link i {
    font-size: 1rem;
}

.virustotal-info {
    margin: 0;
}

@media (max-width: 968px) {
    .mod-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mod-actions-panel {
        position: static;
    }
}

.mod-details-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mod-details-image:hover {
    transform: scale(1.02);
}

.mod-details-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mod-info-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mod-info-row:hover {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
    border-radius: 8px;
}

.mod-info-row span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mod-info-row i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mod-description {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.mod-description h2 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.mod-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mod-description p {
    line-height: 1.8;
    color: var(--light);
    font-size: 1.1rem;
}

.comments-section {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.comments-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.wip-notice {
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    border: 1px solid rgba(231, 76, 60, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.wip-notice i {
    color: var(--accent);
    font-size: 1.4rem;
}

@media (max-width: 968px) {
    .mod-details-main {
        grid-template-columns: 1fr;
    }

    .mod-details-header h1 {
        font-size: 2rem;
    }

    .mod-details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .mod-details-main,
    .mod-description,
    .comments-section {
        padding: 20px;
    }

    .mod-details-header h1 {
        font-size: 1.8rem;
    }

    .mod-info-row {
        flex-direction: column;
        gap: 10px;
    }
}

.comments-section {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-bottom: 15px;
    resize: vertical;
}

.submit-comment {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.comment {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
}

.comment-date {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-left: auto;
}

.comment-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.like-button,
.delete-button {
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-button:hover {
    color: var(--primary);
}

.delete-button:hover {
    color: var(--accent);
}

.login-prompt {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.login-prompt p {
    color: var(--light);
    font-size: 1.1rem;
    margin: 0;
}

.login-prompt a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-prompt a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.admin-controls {
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.admin-button {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.admin-button.delete-button {
    background-color: var(--accent);
    color: white;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.admin-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.admin-button:hover::before {
    left: 100%;
}

.admin-button.delete-button:hover {
    transform: translateY(-2px);
    background-color: #c0392b;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.admin-button i {
    font-size: 1rem;
}

.mod-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    flex-wrap: wrap;
}

.page-btn {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.page-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(52, 152, 219, 0.3),
            transparent);
    transition: left 0.7s ease;
}

.page-btn:hover:not(:disabled)::before {
    left: 100%;
}

.page-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #3498db, #2980b9);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(145deg, #1a1a1a, #252525);
}

.page-nav-btn {
    padding: 10px 14px;
    font-size: 1.1rem;
}

.page-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.page-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.page-input {
    width: 60px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--light);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.page-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(52, 152, 219, 0.1);
}

.page-input::-webkit-inner-spin-button,
.page-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-input[type=number] {
    -moz-appearance: textfield;
}

.page-total {
    color: #bdc3c7;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease;
    border-color: var(--accent) !important;
}

@media (max-width: 768px) {
    .pagination {
        gap: 8px;
        margin-top: 30px;
    }

    .page-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .page-nav-btn {
        padding: 8px 12px;
        font-size: 1rem;
    }

    .page-input {
        width: 50px;
        font-size: 0.85rem;
    }

    .page-total {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .page-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .page-input-wrapper {
        padding: 6px 12px;
    }
}

.page-btn {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background-color: #3498db;
    border-color: #3498db;
    transform: translateY(-1px);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #aaa;
    font-size: 15px;
    user-select: none;
}

.form-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 43px;
    color: #bdc3c7;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary);
}

.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.edit-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.95) 0%, rgba(20, 30, 45, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    width: 600px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    margin: 20px;
}

.edit-content h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.edit-content .form-group {
    margin-bottom: 20px;
}

.edit-content .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #bdc3c7;
    font-weight: 500;
}

.edit-content .form-group input,
.edit-content .form-group textarea,
.edit-content .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.edit-content .form-group input:focus,
.edit-content .form-group textarea:focus,
.edit-content .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.edit-content .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-button.edit-button {
    background-color: var(--secondary);
    color: white;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.admin-button.edit-button:hover {
    background-color: #27ae60;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.admin-controls {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .edit-content {
        padding: 25px;
    }

    .admin-controls {
        flex-direction: column;
        position: static;
        transform: none;
        margin-top: 15px;
    }
}

.advanced-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.advanced-filters:hover {
    border-color: rgba(52, 152, 219, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.filter-group label i {
    font-size: 0.85rem;
}

.filter-dropdown {
    position: relative;
    padding: 12px 15px;
    padding-right: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 14px;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    outline: none;
}

.filter-dropdown-wrapper {
    position: relative;
}

.filter-dropdown-wrapper::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 12px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233498db' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.filter-dropdown:hover {
    border-color: var(--primary);
    background-color: rgba(52, 152, 219, 0.1);
}

.filter-dropdown:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.25);
}


.filter-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.clear-button {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: var(--accent);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    align-self: flex-end;
}

.clear-button:hover {
    background-color: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: 100%;
    }

    .clear-button {
        align-self: stretch;
        justify-content: center;
    }
}

.custom-select {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    padding: 12px 15px;
    padding-right: 40px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.custom-select-trigger:hover {
    border-color: var(--primary);
    background-color: rgba(52, 152, 219, 0.1);
}

.custom-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    max-height: 260px;
    overflow-y: auto;
    z-index: 999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-option {
    padding: 12px 15px;
    font-size: 14px;
    color: var(--light);
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-option:hover {
    background: rgba(52, 152, 219, 0.25);
}

.custom-option.active {
    background: rgba(52, 152, 219, 0.4);
}


.download-button-group {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.download-button,
.app-download-button {
    flex-grow: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-button::before,
.app-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.download-button:hover::before,
.app-download-button:hover::before {
    left: 100%;
}

.download-button {
    background: linear-gradient(145deg, #3498db, #2980b9);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.app-download-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
}

.app-download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.mod-buttons .download-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mod-buttons .download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.mod-buttons .download-button:hover::before {
    left: 100%;
}

.mod-buttons .download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.download-confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.download-confirm-buttons button {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-confirm-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.download-confirm-buttons button:hover::before {
    left: 100%;
}

.confirm-download-btn.standard {
    background: linear-gradient(145deg, var(--primary), #2980b9);
    color: white;
}

.confirm-download-btn.standard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.confirm-download-btn.app {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
}

.confirm-download-btn.app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.download-confirm-content p {
    margin-bottom: 30px;
}

.mod-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mod-details-image {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.mod-details-image:hover {
    transform: scale(1.02);
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.image-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.image-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.image-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.thumbnail-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-image:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.thumbnail-image.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.version-badge,
.config-badge {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.version-badge i,
.config-badge i {
    font-size: 0.75rem;
}

.version-badge:hover,
.config-badge:hover {
    background-color: rgba(46, 204, 113, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .image-thumbnails {
        justify-content: center;
    }

    .thumbnail-image {
        width: 80px;
        height: 55px;
    }
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #f44336;
    transform: scale(1.2);
}

.image-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 16px;
}

.mod-details-image,
.thumbnail-image {
    cursor: pointer;
    transition: transform 0.2s;
}

.mod-details-image:hover,
.thumbnail-image:hover {
    transform: scale(1.02);
}

.configs-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
}

.configs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.configs-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upload-config-button {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-config-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.configs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.config-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.config-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.4);
}

.config-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.config-card:hover .config-image {
    transform: scale(1.05);
}

.config-info {
    padding: 20px;
}

.config-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.config-uploader {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.config-uploader i {
    color: var(--primary);
}

.download-config-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary), #27ae60);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-config-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.no-configs,
.error-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #bdc3c7;
    grid-column: 1 / -1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #2c3e50 0%, #1e2f3f 100%);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #bdc3c7;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ecf0f1;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

.form-group input[type="text"]:focus,
.form-group input[type="file"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.upload-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.upload-message.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.upload-message.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.view-configs-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.view-configs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
}

@media (max-width: 768px) {
    .configs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .configs-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

.view-configs-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 12px;
    width: 100%;
}

.view-configs-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    color: white;
}

.view-configs-link i {
    font-size: 1.1rem;
}

.virustotal-info {
    margin: 1rem 0;
}

.vt-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.vt-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Status variants */
.vt-clean {
    border-color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
}

.vt-malicious {
    border-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
}

.vt-suspicious {
    border-color: #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.05) 100%);
}

.vt-queued,
.vt-skipped {
    border-color: #95a5a6;
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.1) 0%, rgba(149, 165, 166, 0.05) 100%);
}

.vt-failed {
    border-color: #c0392b;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(192, 57, 43, 0.05) 100%);
}

.vt-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.vt-header i {
    font-size: 1.4rem;
}

.vt-clean .vt-header {
    color: #2ecc71;
}

.vt-malicious .vt-header {
    color: #e74c3c;
}

.vt-suspicious .vt-header {
    color: #f39c12;
}

.vt-queued .vt-header,
.vt-skipped .vt-header,
.vt-failed .vt-header {
    color: #95a5a6;
}

.vt-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vt-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vt-ratio {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.vt-clean .vt-ratio {
    color: #2ecc71;
}

.vt-malicious .vt-ratio {
    color: #e74c3c;
}

.vt-suspicious .vt-ratio {
    color: #f39c12;
}

.vt-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

.vt-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.vt-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.vt-detail-item.malicious {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.vt-detail-item.suspicious {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.vt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.vt-link:hover {
    color: #2980b9;
    gap: 0.7rem;
}

.vt-link i {
    font-size: 0.85rem;
}

.vt-message {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .vt-status {
        padding: 1rem;
    }

    .vt-header {
        font-size: 1rem;
    }

    .vt-ratio {
        font-size: 1.25rem;
    }

    .vt-details {
        gap: 0.5rem;
    }

    .vt-detail-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}