/* ===== MC SETUPS PAGE STYLES ===== */
:root {
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1e1e1e;
    --input-bg: #2d2d2d;
    --border-color: #333;
    --grass: #5cdb95;
    --diamond: #00ffff;
    --gold: #ffd700;
    --redstone: #ff5555;
    --emerald: #00fa9a;
    --nether: #9400d3;
}

/* ===== LAYOUT ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-background {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), 
                url('https://images.unsplash.com/photo-1607513746994-51f730a44832?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--grass);
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.nav-logo:hover {
    color: var(--diamond);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--diamond);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        transform: translateX(-50%) scale(1.2);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.nav-link.active {
    color: var(--gold);
}

/* ===== MAIN CONTENT ===== */
.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== DOWNLOAD TABLES ===== */
.download-section {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
    border-color: var(--diamond);
}

.section-header {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    color: var(--grass);
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--grass);
}

.section-header i {
    color: var(--diamond);
    font-size: 1.3rem;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
}

.download-table th {
    background: var(--darker-bg);
    padding: 1rem;
    text-align: left;
    color: var(--diamond);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: #ccc;
}

.download-table tr:last-child td {
    border-bottom: none;
}

.download-table tr:hover {
    background: rgba(92, 219, 149, 0.05);
}

.version {
    font-family: monospace;
    color: var(--emerald);
    font-weight: bold;
    font-size: 1rem;
}

.download-count-cell {
    color: var(--gold);
    font-size: 0.95rem;
    position: relative;
    cursor: help;
}

.download-count-cell i {
    color: var(--diamond);
    margin-right: 0.3rem;
    font-size: 1rem;
}

.download-count-cell:hover::after {
    content: "Unique visitors who downloaded";
    position: absolute;
    background: var(--darker-bg);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--diamond);
    z-index: 10;
    pointer-events: none;
}

.download-num {
    font-weight: bold;
    color: white;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--grass), var(--emerald));
    color: black;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 219, 149, 0.4);
    background: linear-gradient(135deg, var(--emerald), var(--grass));
}

.download-btn i {
    font-size: 1rem;
}

.file-size {
    color: #aaa;
    font-size: 0.9rem;
    font-family: monospace;
}

/* ===== TOTAL DOWNLOADS BANNER ===== */
.total-downloads-banner {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(92, 219, 149, 0.1));
    border: 1px solid var(--diamond);
    border-radius: 50px;
    padding: 1.2rem 2rem;
    margin: 2rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.3rem;
    color: white;
    backdrop-filter: blur(10px);
}

.total-downloads-banner i {
    color: var(--gold);
    font-size: 1.8rem;
}

.total-downloads-banner strong {
    color: var(--grass);
    font-size: 1.8rem;
    font-family: 'Minecraft', monospace;
    margin-left: 0.5rem;
}

/* ===== GUIDE SECTION ===== */
.guide-section {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin: 3rem 0;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guide-header i {
    font-size: 2rem;
    color: var(--gold);
}

.guide-header h2 {
    color: var(--grass);
    font-size: 1.8rem;
    margin: 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.guide-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.guide-step:hover {
    transform: translateY(-5px);
    border-color: var(--grass);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--diamond), var(--grass));
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.guide-step h3 {
    color: var(--grass);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.guide-step p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--diamond);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    transition: color 0.3s;
}

.close:hover {
    color: var(--redstone);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header i {
    font-size: 2rem;
    color: var(--gold);
}

.modal-header h2 {
    color: var(--grass);
    margin: 0;
    font-size: 1.5rem;
}

#modal-setup-info {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.direct-btn {
    background: linear-gradient(135deg, var(--grass), var(--emerald));
    color: black;
}

.direct-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(92, 219, 149, 0.4);
}

.mediafire-btn {
    background: linear-gradient(135deg, #0077ff, #00aaff);
    color: white;
}

.mediafire-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}

.modal-note {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: var(--grass);
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: var(--grass);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--diamond);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.click-flash {
    animation: pulse 0.5s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .download-table td,
    .download-table th {
        min-width: 100px;
    }
    
    .total-downloads-banner {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
        padding: 1.5rem;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .download-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .total-downloads-banner strong {
        font-size: 1.5rem;
    }
    
    .guide-header h2 {
        font-size: 1.3rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}
/* Add this to your existing mc-setups.css if mediafire-btn style is missing */
.mediafire-btn {
    background: linear-gradient(135deg, #0077ff, #00aaff);
    color: white;
}

.mediafire-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}