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

:root {
    --primary-blue: #0066cc;
    --primary-light: #0088ff;
    --primary-dark: #004499;
    --accent-yellow: #fbbf24;
    --accent-orange: #f59e0b;
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --text-muted: #9ca3af;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Noto Sans Khmer', sans-serif;
    background: linear-gradient(135deg, #0055aa 0%, #0077dd 50%, #0055cc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.page-container {
    width: 100%;
    max-width: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Background decorations */
.bg-decoration {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.bg-decoration-1 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.bg-decoration-2 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    bottom: 100px;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-decoration-3 {
    width: 150px;
    height: 150px;
    background: #ffffff;
    top: 50%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

/* Corner icons */
.corner-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.corner-icon {
    position: fixed;
    font-size: 70px;
    animation: bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.corner-icon.top-left {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
}

.corner-icon.top-right {
    top: 30px;
    right: 30px;
    animation-delay: 0.5s;
}

.corner-icon.bottom-left {
    bottom: 30px;
    left: 30px;
    animation-delay: 1s;
}

.corner-icon.bottom-right {
    bottom: 30px;
    right: 30px;
    animation-delay: 1.5s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Main content */
.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content card */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: cardSlide 0.8s ease-out 0.1s both;
}

@keyframes cardSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card header */
.card-header {
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.header-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.main-title {
    color: var(--text-white);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.main-title .highlight {
    background: linear-gradient(120deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Card body */
.card-body {
    padding: 40px 30px;
    text-align: center;
}

.description {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* CTA section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pointing-hand-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pointing-hand {
    font-size: 70px;
    animation: pointingAnimation 1.5s ease-in-out infinite;
}

@keyframes pointingAnimation {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(15px) scale(1.1);
    }
}

/* Join button */
.join-btn {
    padding: 18px 48px;
    font-size: 22px;
    font-weight: 700;
    color: #0066cc;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
    font-family: 'Noto Sans Khmer', sans-serif;
    animation: shake 0.8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

.btn-text {
    display: inline-block;
}

.btn-icon {
    display: inline-block;
    font-size: 20px;
}

.join-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.6);
}

.join-btn:active:not(:disabled) {
    transform: scale(0.96);
}

.join-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Pulse border */
.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--accent-yellow);
    border-radius: 16px;
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(251, 191, 36, 0);
    }
}

/* Helper text */
.helper-text {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* Card footer */
.card-footer {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer-text {
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
}

/* Trust section */
.trust-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: badgeSlide 0.8s ease-out 0.3s both;
}

@keyframes badgeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
}

/* Loading state */
.join-btn.loading {
    position: relative;
    color: transparent;
}

.join-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 4px solid #0066cc;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }

    .card-header {
        padding: 30px 20px;
    }

    .card-body {
        padding: 30px 20px;
    }

    .join-btn {
        padding: 16px 40px;
        font-size: 20px;
    }

    .pointing-hand {
        font-size: 60px;
    }

    .corner-icon {
        font-size: 60px;
    }

    .description {
        font-size: 16px;
    }

    .header-icon {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 26px;
    }

    .card-header {
        padding: 25px 15px;
    }

    .card-body {
        padding: 25px 15px;
    }

    .join-btn {
        padding: 14px 32px;
        font-size: 18px;
        flex-direction: column;
    }

    .pointing-hand {
        font-size: 50px;
    }

    .corner-icon {
        font-size: 50px;
        top: 15px !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
    }

    .description {
        font-size: 15px;
    }

    .header-icon {
        font-size: 40px;
    }

    .cta-section {
        gap: 10px;
    }

    .trust-section {
        gap: 10px;
    }

    .badge {
        padding: 10px 16px;
        font-size: 12px;
    }
}
