<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AFNIC Fixed White Text Layout</title>
<style>
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #f0f2f5;
}
/* Grid container flush to top */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    grid-template-rows: repeat(2, 400px);
    gap: 12px;
    padding: 12px;
    background-color: #ddd;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    width: max-content;
    margin: 0 auto; /* horizontally center */
}
/* Card Styles */
.card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #001a3d;
    border-radius: 20px;
}
/* Text & Logo */
h2, .logo-area {
    color: #fff !important;
    z-index: 5;
}
h2 {
    font-size: 34px;
    line-height: 1.1;
    font-weight: bold;
}
.logo-area {
    font-size: 18px;
    font-weight: bold;
    align-self: flex-end;
    opacity: 0.9;
}
/* Card Decorations */
.c1::after {
    content: "";
    position: absolute;
    top: 20%;
    left: -30%;
    width: 160%;
    height: 60%;
    background: radial-gradient(ellipse at center, #9d4edd, transparent 75%);
    filter: blur(45px);
    opacity: 0.5;
}
.c2 {
    background: #e0aaff;
}
.c2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, #7b2cbf, transparent);
}
.c3 {
    background: #10002b;
}
.c3::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 450px;
    height: 450px;
    background: repeating-radial-gradient(circle, #7b2cbf 0, #7b2cbf 20px, transparent 20px, transparent 40px);
    opacity: 0.3;
    border-radius: 50%;
}
.c4 {
    background: #10002b;
}
.c4 .pill {
    position: absolute;
    bottom: 60px;
    left: -30px;
    width: 260px;
    height: 110px;
    background: linear-gradient(to right, #5a189a, #9d4edd);
    border-radius: 60px;
    transform: rotate(-25deg);
}
.c4 .white-dot {
    position: absolute;
    bottom: 100px;
    left: 170px;
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
}
.c5 {
    justify-content: center;
    align-items: center;
}
.c5 .tunnel {
    position: absolute;
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 50%;
    box-shadow: -15px 25px 0 #e0aaff, -30px 50px 0 #c77dff, -45px 75px 0 #9d4edd, -60px 100px 0 #7b2cbf;
    z-index: 1;
}
.c5 .logo-area {
    align-self: center;
    z-index: 2;
}
.c6 .floating-pill {
    position: absolute;
    top: 140px;
    right: -40px;
    width: 320px;
    height: 130px;
    background: linear-gradient(45deg, #7b2cbf, #e0aaff);
    border-radius: 100px;
    transform: rotate(-45deg);
    z-index: 1;
}
.c6 .logo-area { align-self: flex-start; z-index: 2; }
/* Responsive */
@media (max-width: 1000px) {
    .grid-container { 
        grid-template-columns: repeat(2, 320px); 
        grid-template-rows: auto; 
    }
}
@media (max-width: 680px) {
    .grid-container { 
        grid-template-columns: 1fr; 
        width: 100%; 
    }
}
</style>
</head>
<body>
<!-- Grid Section -->
        <h2>Get to the next level.</h2>
        afnic
        <h2>Scale your domain.</h2>
        afnic
        <h2>Scale your domain.</h2>
        afnic
        <h2>Scale your domain.</h2>
        afnic
        afnic
        afnic
</body>
</html>