﻿html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, black, indigo);
    background-attachment: fixed;
    color: white;
    scroll-behavior: smooth;
}

@media (max-width: 700px) {
    .art-preview {
        max-width: 100%;
        margin: 20px auto;
    }
}

/* 🔹 Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.roundedb {
    border: 2px solid white;
    border-radius: 5px;
    color: white;
    background-color: black;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.25s ease;
}

    .roundedb:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }

/* 🔹 Main Content */
.content {
    margin-top: 15vh;
    padding: 20px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 🔹 Art Gallery Images */
.art-preview {
    display: block;
    margin: 30px auto;
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    image-rendering: pixelated;
    box-shadow: 0 0 25px rgba(128, 0, 32, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-section h2:hover {
    color: #b03060;
    transition: color 0.25s ease;
}

/* Popup overlay */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0; /* Start hidden for fade */
}

    .popup.show {
        display: flex;
        animation: fadeIn 0.25s forwards;
    }

    .popup.hide {
        animation: fadeOut 0.25s forwards;
    }

.popup-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(128, 0, 32, 0.6);
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

#caption {
    margin-top: 15px;
    color: #ddd;
    font-size: 1.1em;
    text-align: center;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .close:hover {
        color: #b03060;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Container to center buttons */
.support-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

/* Buttons */
.patreon-link, .discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* slightly smaller gap between icon and text */
    padding: 10px 20px; /* smaller padding so icons feel proportionate */
    border-radius: 12px;
    color: #fff;
    font-size: 1.1em; /* slightly smaller font */
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.patreon-link {
    background: linear-gradient(90deg, #ff424d, #f96854);
    box-shadow: 0 0 15px rgba(255, 66, 77, 0.4);
}

.discord-link {
    background: linear-gradient(90deg, #5865F2, #7289DA);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

    .patreon-link:hover, .discord-link:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255,255,255,0.5);
    }

    .patreon-link:active, .discord-link:active {
        transform: scale(0.98);
        box-shadow: 0 0 10px rgba(255,255,255,0.3);
    }

/* Icons */
.support-icon {
    width: 20px; /* smaller and proportional */
    height: 20px;
    transition: filter 0.25s ease;
}

.patreon-link:hover .support-icon,
.discord-link:hover .support-icon {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 🔹 Footer */
.bottom-text {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 0.9em;
    z-index: 1000;
}