* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    background: #000000;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.8) 0%, rgba(255, 0, 255, 0.4) 8%, transparent 18%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.8) 0%, rgba(0, 255, 255, 0.4) 8%, transparent 18%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.7) 0%, rgba(255, 255, 0, 0.3) 10%, transparent 20%),
        radial-gradient(circle at 30% 80%, rgba(0, 255, 127, 0.75) 0%, rgba(0, 255, 127, 0.35) 9%, transparent 19%),
        radial-gradient(circle at 70% 20%, rgba(255, 69, 0, 0.75) 0%, rgba(255, 69, 0, 0.35) 9%, transparent 19%);
    filter: blur(25px);
    animation: liquidCircle1 10s linear infinite;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.8) 0%, rgba(138, 43, 226, 0.4) 7%, transparent 17%),
        radial-gradient(circle at 90% 40%, rgba(0, 191, 255, 0.75) 0%, rgba(0, 191, 255, 0.35) 8%, transparent 18%),
        radial-gradient(circle at 60% 85%, rgba(255, 20, 147, 0.8) 0%, rgba(255, 20, 147, 0.4) 8%, transparent 18%),
        radial-gradient(circle at 15% 15%, rgba(50, 205, 50, 0.7) 0%, rgba(50, 205, 50, 0.3) 9%, transparent 19%),
        radial-gradient(circle at 45% 25%, rgba(255, 165, 0, 0.75) 0%, rgba(255, 165, 0, 0.35) 8%, transparent 18%);
    filter: blur(30px);
    animation: liquidCircle2 7s linear infinite reverse;
    z-index: 0;
    pointer-events: none;
}

@keyframes liquidCircle1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(12%, 0) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(0, 12%) scale(0.95) rotate(180deg);
    }
    75% {
        transform: translate(-12%, 0) scale(1.08) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes liquidCircle2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(0, -10%) scale(1.15) rotate(90deg);
    }
    50% {
        transform: translate(-10%, 0) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(0, 10%) scale(1.12) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Gallery Grid Container */
.grid-container.gallery {
    gap: 20px;
    padding: 20px;
}

/* Desktop: 2 columns */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Box Styling */
.box {
    padding: 40px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.box-content {
    width: 100%;
}

.box h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 20px;
    color: inherit;
}

.box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.box p:last-child {
    margin-bottom: 0;
}

.box a {
    color: inherit;
    text-decoration: underline;
}

/* Box 1 - Title Box (Orange) */
.box-1 {
    background-color: #00465d;
    background-image: url('img/choir-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.title-container {
    text-align: left;
    width: 100%;
}

.gesangsverein {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24vw;
    line-height: 0.8;
    font-weight: 400;
    letter-spacing: -2px;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 16vw;
    }
}

@media (min-width: 1200px) {
    .main-title {
        font-size: 12rem;
    }
}

/* Box 2 (Violet) */
.box-2 {
    background-color: transparent;
    color: white;
}

.box-2 p {
    color: white;
    font-size: 1.1rem;
}

.alchemical-map {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    display: block;
}

.italomagic-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    border-radius: 5px;
}

.wildbahn-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    border-radius: 5px;
}

/* Box 3 (Yellow) */
.box-3 {
    background-color: #F4D03F;
}

/* Box 4 (Cyan) */
.box-4 {
    background-color: #00CED1;
}

/* Box 4 White variant for gallery */
.box-4.gallery-box {
    background-color: #FFFFFF;
    padding: 20px;
}

/* Box 5 (Mint) */
.box-5 {
    background-color: #98D8C8;
}

/* Box 6 (Pink) */
.box-6 {
    background-color: #FF69B4;
    color: #1a1a1a;
}

.box-6 p {
    color: #1a1a1a;
}

/* Box 7 (Kontakt - Ochre/Burnt Orange) */
.box-7 {
    background-color: #FF9F66;
    color: #1a1a1a;
}

.box-7 p {
    color: #1a1a1a;
}

/* Box 8 (Impressum - Light Gray) */
.box-8 {
    background-color: #2a2a2a;
    color: #888888;
    font-size: 0.9rem;
}

.box-8 p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #888888;
}

/* Mobile: Reduce padding */
@media (max-width: 767px) {
    .box {
        padding: 20px;
    }

    .box-1 {
        padding-bottom: 60px;
    }

    .main-title {
        font-size: 36vw;
    }
}
