@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;700&family=Ubuntu:wght@400;700&display=swap');

body {
    background: #080808 radial-gradient(circle at 50% 0%, #690000 0%, #000069 80%) no-repeat;
    color: #eeeeee;
    font-family: 'Ubuntu', sans-serif;
    max-width: 950px;
    margin: 0 auto;
    padding: 60px 20px;
    line-height: 1.6;
}

h1 {
    font-family: 'Exo 2', sans-serif;
    margin-top: 80px;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    padding-bottom: 10px;
}

h1:first-of-type {
    font-size: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff0000 0%, #660000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
    margin-top: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.2));
}

@media (max-width: 900px) {
    h1:first-of-type {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    h1:first-of-type {
        font-size: 2.2rem;
    }
}

h2 {
    color: #bbbbbb;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

h3 {
    font-weight: 400;
    color: #999999;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    list-style: none;
    margin: 25px 0 50px 0;
}

li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 0, 0.15);
    padding: 10px 18px;
    border-radius: 4px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

li a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Exo 2', sans-serif;
}

li:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

h1:has(p) {
    display: block;
    background: #1a1c22;
    border: 1px solid #333;
    border-left: 5px solid #5865F2;
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    margin: 80px 0;
}

h1 p {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    -webkit-text-fill-color: initial;
}

h1 p a {
    display: inline-block;
    background: #5865F2;
    color: white ;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none ;
    font-weight: bold;
    margin: 15px 5px;
    transition: 0.2s;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

h1 p a:hover {
    background: #4752C4;
    transform: scale(1.05);
}

li:has(iframe) {
    flex: 1 1 100%;
    background: transparent;
    border: none;
    padding: 0;
}

iframe {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #222;
    margin-top: 15px;
    filter: brightness(0.9) contrast(1.1);
    transition: 0.3s;
}

iframe:hover {
    filter: brightness(1);
    border-color: #ff0000;
}

img[src="/neocities.png"],
img[src="/credit.png"] {
    display: block;
    margin: 80px auto 20px;
    filter: opacity(0.5) grayscale(1);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

img[src="/neocities.png"]:hover,
img[src="/credit.png"]:hover {
    filter: opacity(1) grayscale(0);
}

img[src="/credit.png"]:hover {
    border: 1px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
    border-radius: 4px;
}

a:has(img) {
    text-decoration: none;
    border: none;
    display: block;
}

a img[alt="Dubby"],
a img[alt="Fortnite"] {
    display: inline-block;
    width: 80%;
    min-width: 300px;
    margin: 10px 1%;
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    filter: brightness(0.8) saturate(0.8);
    transition: all 0.3s ease;
}

a img[alt="Dubby"]:hover,
a img[alt="Fortnite"]:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    border-color: #ff0000;
    filter: brightness(1.1) saturate(1.2);
}

@media (max-width: 700px) {
    a img[alt="Dubby"],
    a img[alt="Fortnite"] {
        width: 100%;
        margin: 10px 0;
        display: block;
    }
}

@media (max-width: 600px) {
    body { padding: 40px 15px; }
    h1:first-of-type { font-size: 2.2rem; }
    h1:has(p) { padding: 30px 15px; }
}