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

:root {
    --primary: #FF4655;
    --primary-dark: #DC2638;
    --accent: #00D4FF;
    --accent-yellow: #FFD700;
    --dark: #0A0E1A;
    --dark-secondary: #141823;
    --dark-card: #1C2333;
    --dark-hover: #252B3B;
    --white: #FFFFFF;
    --gray: #8491A0;
    --gray-light: #C4C4C4;
    --success: #00FF88;
    --gradient-primary: linear-gradient(135deg, #FF4655 0%, #FF8B4A 100%);
    --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E1A 0%, #141823 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 1.2rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 14, 26, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.logo::before {
    content: '';
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotateLogo 10s linear infinite;
}

@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 70, 85, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: radial-gradient(circle at 20% 50%, rgba(255, 70, 85, 0.3), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.2), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.1), transparent 50%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: float-up 10s infinite linear;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge-icon {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.hero-badge-text {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    background: var(--dark-secondary);
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-yellow);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title-main{
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-description {
    color: var(--gray-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: block;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 70, 85, 0.3);
}

.game-card:hover::before {
    transform: scaleX(1);
}

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

.game-image {
    position: relative;
    padding-bottom: 150%; /* 2:3 aspect ratio */
    overflow: hidden;
    background: var(--gradient-dark);
}

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

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-icon-bad {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.game-content {
    padding: 1.5rem;
}

.game-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.game-description {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-mods {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.game-arrow {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.game-card:hover .game-arrow {
    transform: translateX(5px);
}

/* Featured Section */
.featured-section {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 70, 85, 0.3), transparent);
    filter: blur(100px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-card {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.05), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(255, 70, 85, 0.2);
}

.featured-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.featured-text {
    color: var(--gray-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--dark-secondary);
    position: relative;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 20s linear infinite reverse;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-button {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}


.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: space-around;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 70, 85, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 70, 85, 0.4);
}

/* Game Hero Section */
.game-hero {
    margin-top: 70px;
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, rgba(255, 70, 85, 0.1) 0%, transparent 100%),
    var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF4655' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(60px);
    }
}

.game-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: block;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    align-items: center;
}

.breadcrumb a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray);
}

.game-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.game-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.game-info h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.game-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item strong {
    color: var(--accent);
    font-weight: 700;
}

.game-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Section */
.filter-section {
    background: var(--dark-secondary);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-btn {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.sort-dropdown {
    position: relative;
}

.sort-select {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.7rem 2.5rem 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: var(--primary);
}

.sort-dropdown::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
    font-size: 0.7rem;
}

/* Mods Grid */
.mods-section {
    padding: 3rem 0;
    min-height: 600px;
}

.mods-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mod-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: block;
    position: relative;
}

.mod-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 70, 85, 0.3);
}

.mod-card:hover::before {
    transform: scaleX(1);
}

.mod-card:hover .mod-thumbnail img {
    transform: scale(1.05);
}

.mod-thumbnail {
    position: relative;
    width: 100%;
    height: 215px;
    overflow: hidden;
    background: var(--gradient-dark);
}

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

.mod-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1;
}

.mod-badge {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mod-badge.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.mod-badge.new {
    background: var(--gradient-accent);
    color: var(--dark);
}

.mod-badge.updated {
    background: rgba(255, 215, 0, 0.9);
    color: var(--dark);
}

.mod-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 1;
}

.mod-rating-stars {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.mod-rating-value {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}

.mod-content {
    padding: 1.5rem;
}

.mod-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.mod-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mod-description {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mod-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-mod {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
}

.author-name-mod {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.mod-stats {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.mod-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--gray-light);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--dark-hover);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.page-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.3);
}

.page-btn.prev, .page-btn.next {
    width: auto;
    padding: 0 1.5rem;
    font-size: 1.2rem;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-btn:disabled:hover {
    transform: none;
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.results-count strong {
    color: var(--accent);
    font-weight: 700;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover, .view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Loading State */
.loading-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    position: relative;
}

.loading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer (same as homepage) */
footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 6rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
    .mods-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {


    .nav-menu.active {
        left: 0;
    }

    .game-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .game-icon {
        margin: 0 auto;
    }

    .game-stats {
        justify-content: center;
    }

    .filter-container {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

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

    .results-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}



/* Mod Header */
.mod-header {
    margin-top: 70px;
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, rgba(255, 70, 85, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mod-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    align-items: center;
}

.breadcrumb a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray);
}

.mod-title-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.mod-title-info {
    flex: 1;
}

.mod-badges-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mod-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.badge-verified {
    background: var(--gradient-accent);
    color: var(--dark);
}

.badge-category {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.mod-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-light);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: var(--primary);
}

.mod-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
    font-size: 1rem;
    padding: 1.2rem 2.5rem;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.4);
}

.btn-favorite {
    background: var(--dark-card);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-favorite:hover {
    border-color: var(--primary);
    background: rgba(255, 70, 85, 0.1);
}

/* Main Content Layout */
.mod-content-mod {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-main {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--dark);
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-fullscreen {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-fullscreen:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--dark);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Description Section */
.description-section {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.description-content {
    color: var(--gray-light);
    line-height: 1.8;
    font-size: 1rem;
}

.description-content h3 {
    color: var(--white);
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

.description-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.description-content li {
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    background: var(--dark);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 70, 85, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-text {
    flex: 1;
}

.feature-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.feature-value {
    font-weight: 600;
    color: var(--white);
}

/* Requirements Section */
.requirements-section {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.requirement-block {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 10px;
}

.requirement-title {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requirement-list {
    list-style: none;
}

.requirement-list li {
    color: var(--gray-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Info Card */
.info-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.info-value {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.info-value.size {
    color: var(--accent);
}

.info-value.date {
    color: var(--gray-light);
}

/* Rating Card */
.rating-card {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rating-score {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.rating-breakdown {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-bar-label {
    font-size: 0.8rem;
    width: 20px;
}

.rating-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.rating-bar-count {
    font-size: 0.8rem;
    width: 30px;
    text-align: right;
}

/* Author Card */
.author-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
    overflow: hidden;
    max-width: 90px;
}

.author-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.author-stat {
    text-align: center;
    padding: 1rem;
    background: var(--dark);
    border-radius: 10px;
}

.author-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.author-stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Comments Section */
.comments-section {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.comments-count {
    color: var(--gray);
    font-size: 0.95rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--white);
}

.comment-date {
    color: var(--gray);
    font-size: 0.85rem;
}

.comment-rating {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1.5rem;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-action:hover {
    color: var(--primary);
}

.comment-action.liked {
    color: var(--success);
}

/* Related Mods */
.related-section {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.related-image {
    width: 100%;
    height: 180px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-content {
    padding: 1.5rem;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.related-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

/* Footer */
footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 6rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-text {
    color: var(--gray);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .mod-content-mod {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .breadcrumb span {
        color: var(--gray);
        overflow: hidden;
        max-width: 160px;
    }

    .breadcrumb a {
        overflow: hidden;
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .breadcrumb span {
        color: var(--gray);
        overflow: hidden;
        max-width: 160px;
    }

    .breadcrumb a {
        overflow: hidden;
        max-width: 160px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    h1 {
        font-size: 2rem;
    }

    .mod-title-section {
        flex-direction: column;
    }

    .mod-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

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

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

    .gallery-main {
        height: 300px;
    }
}