/* Mods Page Specific Styles */

.mods-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.back-to-main {
    position: absolute;
    right: 20px;
    top: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    font-size: 0.95em;
}

.back-to-main:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.back-to-main span {
    font-size: 1.2em;
}

/* Mods Gallery */
.mods-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.mod-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mod-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mod-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.mod-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.mod-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mod-card:hover .mod-card-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mod-card-info {
    padding: 25px;
}

.mod-card-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mod-card-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mod-card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

/* Nightmare Mod Specific Styles */
.mod-card.nightmare {
    background: linear-gradient(to bottom, #2a2a3e, #35355a);
}

.mod-card.nightmare .mod-card-info {
    background: linear-gradient(to bottom, #2a2a3e, #35355a);
}

.mod-card.nightmare .mod-card-info h3 {
    background: linear-gradient(135deg, #9a6dd4, #7b4db8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mod-card.nightmare .mod-card-info p {
    color: #d8d8e8;
}

.nightmare-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(42,42,62,0.9) 100%);
}

.nightmare-tag {
    background: linear-gradient(135deg, #7b4db8, #5a3a8a);
}

/* Back to Gallery Button */
.back-to-gallery {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-to-gallery:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Mod Detail View */
.mod-detail {
    animation: fadeIn 0.5s ease;
}

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

/* Featured Mod Section */
.featured-mod {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.mod-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.mod-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 40px;
    text-align: center;
}

.mod-title {
    font-size: 3em;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mod-tagline {
    font-size: 1.2em;
    opacity: 0.95;
    margin: 0;
}

/* Mod Content */
.mod-content {
    padding: 40px;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f093fb10, #f5576c10);
    border-radius: 15px;
    margin-bottom: 40px;
}

.download-mod-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.4);
}

.download-mod-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 147, 251, 0.5);
}

.download-icon {
    font-size: 1.5em;
}

.mod-version {
    display: block;
    margin-top: 15px;
    color: #764ba2;
    font-size: 0.9em;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
}

.feature-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(118, 75, 162, 0.1);
    border-color: #f093fb;
}

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

.feature-icon {
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f093fb20, #f5576c20);
    border-radius: 12px;
}

.feature-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(135deg, #f093fb20, #f5576c20);
    padding: 8px;
}

.feature-header h3 {
    color: #764ba2;
    margin: 0;
    font-size: 1.3em;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.feature-list li:before {
    content: "✦";
    color: #f093fb;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.feature-section.fixes {
    background: linear-gradient(135deg, #667eea10, #764ba210);
}

/* Example Section */
.example-section {
    background: linear-gradient(135deg, #f093fb05, #f5576c05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.example-section h3 {
    color: #764ba2;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
}

.example-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.flow-item:hover {
    transform: scale(1.05);
}

.flow-item .time {
    display: block;
    color: #f093fb;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.flow-item p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.flow-arrow {
    color: #f093fb;
    font-size: 1.5em;
    flex-shrink: 0;
}


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

/* Responsive Design */
@media (max-width: 768px) {
    .mod-title {
        font-size: 2em;
    }
    
    .mod-hero {
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .example-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .mod-content {
        padding: 20px;
    }
    
    .back-to-main {
        position: static;
        margin-bottom: 20px;
    }
    
    .feature-icon-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .download-mod-btn {
        font-size: 1em;
        padding: 12px 25px;
    }
    
    .feature-section {
        padding: 15px;
    }
}

/* Nightmare AU Mod Specific Styles */
.nightmare-mod {
    background: linear-gradient(to bottom, #2a2a3e, #35355a);
}

.nightmare-hero {
    background: linear-gradient(135deg, #3d2b7a, #7b4db8);
}

.nightmare-mod .mod-content {
    background: linear-gradient(to bottom, #2a2a3e, #35355a);
    color: #e8e8f0;
}

.nightmare-mod .download-section {
    background: linear-gradient(135deg, rgba(123,77,184,0.15), rgba(61,43,122,0.15));
}

.nightmare-btn {
    background: linear-gradient(135deg, #7b4db8, #5a3a8a);
    box-shadow: 0 5px 20px rgba(123, 77, 184, 0.4);
}

.nightmare-btn:hover {
    box-shadow: 0 8px 30px rgba(123, 77, 184, 0.6);
}

.nightmare-version {
    color: #9a6dd4;
}

.nightmare-feature {
    background: rgba(50, 50, 70, 0.6);
    border: 1px solid #4a4a6a;
    color: #d8d8e8;
}

.nightmare-feature:hover {
    box-shadow: 0 10px 25px rgba(123, 77, 184, 0.2);
    border-color: #7b4db8;
}

.nightmare-feature .feature-header h3 {
    color: #b899e0;
}

.nightmare-feature .feature-list li {
    color: #c8c8d8;
}

.nightmare-feature .feature-list li:before {
    content: "☽";
    color: #9a6dd4;
}

/* Character Changes Section */
.character-changes {
    background: linear-gradient(135deg, rgba(123,77,184,0.08), rgba(61,43,122,0.08));
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.character-changes h3 {
    color: #b899e0;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.character-change {
    background: rgba(50, 50, 70, 0.6);
    border: 1px solid #4a4a6a;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.character-change:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(123, 77, 184, 0.2);
    border-color: #7b4db8;
}

.character-change h4 {
    color: #b899e0;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.character-change p {
    color: #c8c8d8;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95em;
}

.character-change.gone {
    background: linear-gradient(135deg, rgba(140,60,60,0.3), rgba(100,40,40,0.3));
    border-color: #6a4a4a;
}

.character-change.gone h4 {
    color: #d89898;
}

.character-change.gone p {
    color: #d8b8b8;
    font-style: italic;
}