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

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue", sans-serif;
    color: white;
    background: #5e4a9e;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.gradient-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        #5e4a9e 0%,
        #2b3595 30%,
        #7963c9 70%,
        #c6a5ee 100%
    );
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
}

.blur-circle.one {
    background: #212576;
    width: 40vw;
    height: 40vw;
    top: 30%;
    right: 30%;
}

.blur-circle.two {
    background: #3d3499;
    width: 35vw;
    height: 35vw;
    top: 10%;
    left: 20%;
}

.blur-circle.three {
    background: #9581e6;
    width: 30vw;
    height: 30vw;
    bottom: 5%;
    right: 10%;
}

.blur-circle.four {
    background: #e2ceff;
    width: 45vw;
    height: 45vw;
    bottom: -15%;
    left: -10%;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
}
@media screen and (max-width: 768px) {
    .top-bar {
        justify-content: center;
    }
}

.logo {
    font-size: clamp(14px, 3vw, 30px);
    letter-spacing: 0.1em;
    text-align: center;
}

.intro-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 40px;
    z-index: 10;
}

.intro-text {
    text-align: right;
}

.intro-text p {
    font-size: min(3.1vw, 30px);
    line-height: 1.6;
    text-transform: uppercase;
    color: #ffffff;
}

.intro-text-line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.intro-text a {
    text-decoration: none;
    color: #ffffff;
    background: rgba(94, 74, 158, 0.6);
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.intro-text a:hover {
    background: rgba(94, 74, 158, 0.6);
}

.intro-text a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.intro-text a:hover::after {
    width: 100%;
}

.how-button-container {
    margin-top: 10px;
    opacity: 0;
}

.btn-primary {
    background: rgba(94, 74, 158, 0.7);
    box-shadow: 0 0 15px rgba(198, 165, 238, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-blood {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff6b6b 100%);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-blood:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(220, 20, 60, 0.8);
    border-color: #ff6b6b;
}

.btn-beach {
    background: linear-gradient(135deg, #20b2aa 0%, #40e0d0 50%, #87ceeb 100%);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-beach:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(64, 224, 208, 0.8);
    border-color: #40e0d0;
}

.btn-form-submit {
    background: linear-gradient(135deg, #5e4a9e 0%, #7963c9 50%, #c6a5ee 100%);
    box-shadow: 0 0 20px rgba(198, 165, 238, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.3s;
}

.btn-primary:hover {
    border-color: white;
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(198, 165, 238, 0.8);
    border-color: #c6a5ee;
}

/* Blood explanation here */
.blood-container {
    position: absolute;
    color: white;
    height: 89dvh;
    overflow-y: scroll;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    font-size: 20px;
    opacity: 0; /* Initially hidden */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.blood-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.beach-container {
    position: absolute;
    color: white;
    height: 89dvh;
    overflow-y: scroll;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8;
    font-size: 20px;
    opacity: 0; /* Initially hidden */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.beach-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Form Container Styles */
.form-container {
    position: absolute;
    color: white;
    height: 89dvh;
    overflow-y: scroll;
    width: 100vw;
    margin-top: 10dvh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 7;
    font-size: 16px;
    opacity: 0; /* Initially hidden */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    padding-top: 2rem;
}

.form-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.form-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blood-title,
.beach-title {
    text-align: center;
}

.blood-title h3,
.beach-title h3 {
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title h3 {
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
}

.blood-content,
.beach-content,
.form-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.transparent-card,
.beach-transparent-card,
.form-transparent-card {
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    transform: translateY(30px);
    width: 90%;
    max-width: 800px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-transparent-card {
    max-width: 900px;
    background: rgba(94, 74, 158, 0.15);
    border: 1px solid rgba(198, 165, 238, 0.2);
    box-shadow: 0 8px 32px rgba(94, 74, 158, 0.3);
}

.card-body {
}

.card-title {
    text-align: left;
}

.card-text {
    font-size: 16px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-top: 8px;
    font-size: 16px;
}

.bloodDonation,
.beachCleaning,
.registration {
    display: none;
}

.kompas-text,
.donation-text,
.kompas-beach-text,
.beachcleaning-text,
.kompas-form-text,
.registration-text {
    font-weight: clamp(25px, 3vw, 40px);
    padding: 5px;
    opacity: 0;
}

/* Form Specific Styles */
.registration-form {
    color: white;
}

.registration-form .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.registration-form .form-control,
.registration-form .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #c6a5ee;
    box-shadow: 0 0 10px rgba(198, 165, 238, 0.3);
    color: white;
}

.registration-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.registration-form .form-select option {
    background-color: #5e4a9e;
    color: white;
}

.section-title {
    color: #c6a5ee;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(198, 165, 238, 0.3);
    padding-bottom: 0.5rem;
}

.event-selection {
    margin-bottom: 2rem;
}

.event-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-check {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-check:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-right: 0.75rem;
}

.form-check-input:checked {
    background-color: #c6a5ee;
    border-color: #c6a5ee;
}

.form-check-input:focus {
    box-shadow: 0 0 5px rgba(198, 165, 238, 0.5);
}

.form-check-label {
    color: white;
    cursor: pointer;
    font-weight: 400;
}

.personal-info {
    margin-bottom: 2rem;
}

.blood-donation-terms,
.beach-cleanup-consent {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-content,
.consent-content {
    margin-top: 1rem;
}

.terms-content p,
.consent-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.submit-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 0 15px;
    }

    .form-transparent-card {
        padding: 15px;
        margin-top: 15px;
    }

    .event-checkboxes {
        gap: 0.75rem;
    }

    .form-check {
        padding: 0.75rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .btn-form-submit {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .form-title h3 {
        font-size: 1.5rem;
    }

    .registration-form .form-control,
    .registration-form .form-select {
        padding: 0.6rem;
    }

    .blood-donation-terms,
    .beach-cleanup-consent {
        padding: 1rem;
    }
}
/* Custom Notification System */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

.notification-container {
    background: linear-gradient(135deg, #5e4a9e 0%, #7963c9 50%, #c6a5ee 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.notification-overlay.show .notification-container {
    transform: scale(1) translateY(0);
}

.notification-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.notification-icon {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.notification-icon.success {
    color: #4caf50;
}

.notification-icon.error {
    color: #f44336;
}

.notification-icon.loading {
    color: #c6a5ee;
}

.notification-icon i {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.loading-spinner {
    font-size: 4rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.notification-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.notification-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notification-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.notification-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.notification-details h6 {
    color: #c6a5ee;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.notification-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.notification-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification-btn.primary {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-color: #4caf50;
}

.notification-btn.primary:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.notification-btn.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

.notification-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.notification-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Success specific styles */
.notification-container.success {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.2);
}

.notification-container.success::before {
    background: linear-gradient(
        45deg,
        transparent,
        rgba(76, 175, 80, 0.1),
        transparent
    );
}

/* Error specific styles */
.notification-container.error {
    border-color: rgba(244, 67, 54, 0.5);
    box-shadow: 0 20px 60px rgba(244, 67, 54, 0.2);
}

.notification-container.error::before {
    background: linear-gradient(
        45deg,
        transparent,
        rgba(244, 67, 54, 0.1),
        transparent
    );
}

/* Responsive design */
@media (max-width: 768px) {
    .notification-container {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .notification-title {
        font-size: 1.4rem;
    }

    .notification-icon i {
        font-size: 3rem;
    }

    .notification-buttons {
        flex-direction: column;
    }

    .notification-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
/* WhatsApp Group Links in Notification */
.notification-details a {
    color: #25D366 !important;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    margin: 0.25rem 0;
    width: 100%;
    justify-content: center;
}

.notification-details a:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.notification-details a i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}