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

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

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #4a3354;
    background: linear-gradient(180deg, #fff5fb 0%, #fef0ff 50%, #f5f0ff 100%);
    background-attachment: fixed;
    line-height: 1.7;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sparkle animation */
@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Header */
header {
    background: linear-gradient(135deg, #e891b9, #c77dba, #a78bfa);
    color: #fff;
    box-shadow: 0 4px 20px rgba(199, 125, 186, 0.3);
}

.header-top {
    padding: 24px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.crown {
    font-size: 52px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.header-top h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 2px;
    font-weight: 300;
}

nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

nav a {
    display: block;
    padding: 12px 22px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 20px 20px 0 0;
}

nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f9a8d4, #c084fc, #a78bfa);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 34px;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* Content sections */
.content-section {
    padding: 55px 0;
}

.content-section h2 {
    font-size: 26px;
    color: #9333ea;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #f9a8d4;
    font-weight: 700;
}

.alt-bg {
    background: rgba(249, 168, 212, 0.06);
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.info-box {
    background: linear-gradient(135deg, #c084fc, #a78bfa);
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.25);
}

.info-box h3 {
    color: #fde68a;
    margin-bottom: 16px;
    font-size: 20px;
}

.info-box dt {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.info-box dd {
    font-size: 24px;
    font-weight: 700;
}

p + p {
    margin-top: 12px;
}

ul {
    margin-top: 12px;
    padding-left: 20px;
}

ul li {
    margin-bottom: 6px;
}

ul li::marker {
    color: #e879a8;
}

h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    color: #9333ea;
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border-left: 4px solid #f9a8d4;
    box-shadow: 0 4px 15px rgba(199, 125, 186, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(199, 125, 186, 0.2);
}

.card h3 {
    margin-top: 0;
    font-size: 17px;
    color: #a855f7;
}

.card p {
    font-size: 14px;
    color: #6b5876;
}

/* Form */
.order-form {
    max-width: 600px;
    margin-top: 24px;
    background: #fff;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(199, 125, 186, 0.12);
    border: 1px solid rgba(249, 168, 212, 0.2);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #9333ea;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9d5f5;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #fdf8ff;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
    background: #fff;
}

.captcha-section {
    margin: 28px 0;
    padding: 24px;
    background: linear-gradient(135deg, #fdf2f8, #faf5ff);
    border: 2px dashed #e9d5f5;
    border-radius: 16px;
}

.captcha-section label {
    font-weight: 600;
    color: #9333ea;
    font-size: 15px;
}

.captcha-help {
    font-size: 13px;
    color: #8b6c9c;
    margin-top: 4px;
    margin-bottom: 12px;
}

.captcha-box {
    margin-bottom: 14px;
}

.captcha-box img {
    border: 2px solid #e9d5f5;
    border-radius: 12px;
}

.token-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    opacity: 0.6;
}

.token-badge img {
    border: 1px solid #e0d0ea;
    border-radius: 6px;
    height: 20px;
    image-rendering: pixelated;
}

.token-badge span {
    font-size: 11px;
    color: #a08aaf;
    font-style: italic;
}

.captcha-section input {
    width: 240px;
    padding: 12px 16px;
    border: 2px solid #e9d5f5;
    border-radius: 12px;
    font-size: 16px;
    font-family: monospace;
    letter-spacing: 4px;
    background: #fff;
}

.captcha-section input:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

button[type="submit"] {
    background: linear-gradient(135deg, #e879a8, #c084fc);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(232, 121, 168, 0.3);
    letter-spacing: 0.5px;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 121, 168, 0.4);
}

/* Result page */
.result-box {
    padding: 36px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.result-box h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.result-box.success {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-left: 4px solid #86efac;
}

.result-box.success h2 {
    color: #16a34a;
}

.result-box.error {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    border-left: 4px solid #fda4af;
}

.result-box.error h2 {
    color: #e11d48;
}

.ref-number {
    font-size: 18px;
    margin: 16px 0;
    padding: 14px 20px;
    background: rgba(0,0,0,0.04);
    border-radius: 12px;
    font-family: monospace;
    word-break: break-all;
}

.back-link {
    display: inline-block;
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.2s;
}

.back-link:hover {
    color: #e879a8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #e891b9, #c77dba, #a78bfa);
    color: rgba(255, 255, 255, 0.9);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    margin-top: 40px;
}

footer a {
    color: #fde68a;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
    .two-col, .card-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 24px;
    }

    nav ul {
        flex-wrap: wrap;
    }
}
