

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    /* Base background gradient for subtle colour variation */
    background: linear-gradient(135deg, #1e2947 0%, #41295a 100%);
    color: #f7f7f7;
}

/* Animated colourful blobs to give the page depth and interest.  They
   float in and out of view thanks to the ``move`` keyframes. */
body::before,
body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    animation: move 30s infinite linear;
}

body::before {
    background: radial-gradient(circle at center, rgba(255, 94, 98, 0.7), rgba(255, 94, 98, 0.1));
    top: -20%;
    left: -20%;
}

body::after {
    background: radial-gradient(circle at center, rgba(70, 184, 255, 0.7), rgba(70, 184, 255, 0.1));
    bottom: -20%;
    right: -20%;
    animation-delay: 15s;
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50%, 30%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 0;
}

.container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    z-index: 1;
}

h1 {
    font-size: 3em;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.card a {
    color: #ffffff;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: 600;
}

.card p,
.card pre {
    color: #ffffff;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 1.1em;
    line-height: 1.5em;
}

.card pre {
    font-family: 'Courier New', Courier, monospace;
}

/* Link styling for back links */
.back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d0d0d0;
}
