/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* General Links */
a {
    color: #00adb5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff2e63;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.8em;
    font-weight: 700;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Sections */
section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-left: 6px solid #00adb5;
    width: 90%;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(even) {
    border-left-color: #ff2e63;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

section h2 {
    font-size: 1.8em;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

footer a {
    color: #00adb5;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #ff2e63;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.5s ease-in-out;
}

.modal h2 {
    color: #ff2e63;
    margin-bottom: 20px;
}

.modal button {
    background: linear-gradient(135deg, #00adb5, #ff2e63);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.modal button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff2e63, #00adb5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header, footer, section {
        padding: 20px;
    }

    header h1 {
        font-size: 2.2em;
    }

    section h2 {
        font-size: 1.6em;
    }
}
