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

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 3em;
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #333, #2b1cd0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.5em;
    color: #222;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #333, #2b1cd0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 10px;
}

.container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.card {
    background-color: rgba(75, 0, 130, 0.7);
    border-radius: 10px;
    padding: 30px;
    width: 250px;
    text-align: center;
    border: 2px solid #8a2be2;
    box-shadow: 
        0 0 10px #8a2be2,
        0 0 20px #8a2be2,
        0 0 40px #8a2be2,
        0 0 60px rgba(138, 43, 226, 0.5);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8a2be2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #5628d4;
}

.pages {
    text-align: center;
    margin-top: 20px;
}

.pages a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pages a:hover {
    color: #5628d4;
}

.preview {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background-color: rgba(30, 0, 50, 0.95);
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #8a2be2;
    box-shadow: 
        0 0 15px #8a2be2,
        0 0 30px rgba(138, 43, 226, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-bottom: 15px;
}

.preview img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.preview span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
    line-height: 1.5;
}

.card:hover .preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}