: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: #121e2a;
    color: var(--light);
    overflow-x: hidden;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons a {
    text-decoration: none;
}

.cta-button.primary {
    background-color: var(--primary);
}

.cta-button.secondary {
    background-color: #5865F2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button.secondary:hover {
    background-color: #4752C4;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.cta-button.tertiary {
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button.tertiary:hover {
    background-color: #27ae60;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.coming-soon-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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-modal.active {
    opacity: 1;
}

.coming-soon-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.95) 0%, rgba(20, 30, 45, 0.95) 100%);
    padding: 40px;
    border-radius: 15px;
    width: 450px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.coming-soon-modal.active .coming-soon-content {
    transform: scale(1);
}

.close-coming-soon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #bdc3c7;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-coming-soon:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.coming-soon-content h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 2rem;
}

.coming-soon-content p {
    color: #bdc3c7;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .coming-soon-content {
        padding: 30px 20px;
    }

    .coming-soon-icon {
        font-size: 3rem;
    }

    .coming-soon-content h3 {
        font-size: 1.5rem;
    }
}

.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;
    }
}

.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;
}

.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);
}

.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 {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide.loaded {
    background-size: cover;
}

@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(3, 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.3s ease;
    cursor: default;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.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;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
    filter: blur(1px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--light) 0%, #9fb3c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s backwards;
    color: #bdc3c7;
    line-height: 1.6;
}

.hero .cta-button {
    animation: fadeInUp 1s ease 0.4s backwards;
    padding: 12px 28px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero .cta-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;
}

.hero .cta-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta-button {
        padding: 10px 22px;
        font-size: 1rem;
    }
}

.featured-mods {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    overflow: hidden;
}

.featured-mods::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%);
}

.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: 18px;
    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;
}

.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);
}

.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-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;
    }
}

.download-button {
    background-color: var(--secondary);
    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-top: auto;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.download-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-button:hover::before {
    left: 100%;
}

.download-button:hover {
    background-color: #27ae60;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
}

@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: linear-gradient(135deg, #162638 0%, #0e1a28 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
}

.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;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step.visible {
    transform: translateY(0);
    opacity: 1;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.step::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;
    border-radius: 10px;
}

.step:hover::after {
    opacity: 1;
}

.step:hover .step-icon {
    background-color: #2980b9;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.step:hover h3 {
    color: var(--primary);
}

.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 {
    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);
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.auth-modal {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.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);
}

.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;
    }
}

.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);
}

.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;
}

.upload-section {
    padding: 150px 0 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    position: relative;
    overflow: hidden;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%privacy;
    background: radial-gradient(circle at 30% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
}

.upload-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.upload-form-container {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.upload-form-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(52, 152, 219, 0.3);
    transform: translateY(-5px);
}

.upload-form .form-group {
    margin-bottom: 20px;
}

.upload-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.upload-form .form-group input,
.upload-form .form-group textarea,
.upload-form .form-group select {
    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;
}

.upload-form .form-group input:focus,
.upload-form .form-group textarea:focus,
.upload-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn::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;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.request-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.request-card:hover {
    border-color: rgba(52, 152, 219, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.request-card h3 {
    color: #3498db;
    margin-bottom: 10px;
}

.request-card p {
    color: #ecf0f1;
    margin-bottom: 5px;
}

.request-card a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.request-card a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.delete-request-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.delete-request-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.auth-message {
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.auth-message.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.auth-message.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 20px;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 0.8rem;
    }
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .requests-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .requests-grid {
        grid-template-columns: 1fr;
    }
}

.request-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #95a5a6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.status-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}