body { 
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(225, 29, 72, 0.05) 0px, transparent 50%),
        linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.futuristic-gradient {
    background: linear-gradient(135deg, #e11d48 0%, #2563eb 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #e11d48 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-line {
    background: linear-gradient(90deg, #e11d48 0%, #2563eb 100%);
}

/* Menjaga area pendaftaran tetap solid putih */
.modal-card {
    background-color: #ffffff !important;
}

/* KHUSUS HALAMAN INDEX */
@keyframes marquee-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-infinite {
    display: flex;
    width: max-content;
    animation: marquee-infinite 60s linear infinite;
}

.flex-none { 
    flex: 0 0 auto; 
}

/* CSS UNTUK BACKGROUND ORGANIK */
.bg-mesh-flow {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 10% 10%, rgba(225, 29, 72, 0.03) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(241, 245, 249, 1) 0px, transparent 80%),
        radial-gradient(at 80% 90%, rgba(225, 29, 72, 0.02) 0px, transparent 50%),
        radial-gradient(at 20% 80%, rgba(37, 99, 235, 0.02) 0px, transparent 50%);
    background-size: 200% 200%;
    animation: meshFlow 20s ease infinite;
}

@keyframes meshFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.organic-shape { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(60px); 
    opacity: 0.08; 
    pointer-events: none; 
    z-index: 1; 
}

.shape-1 { 
    width: 40vw; 
    height: 40vw; 
    background: #e11d48; 
    top: -10vw; 
    left: -10vw; 
    animation: blobOne 15s infinite alternate ease-in-out; 
}

.shape-2 { 
    width: 35vw; 
    height: 35vw; 
    background: #2563eb; 
    bottom: -5vw; 
    right: -5vw; 
    animation: blobTwo 12s infinite alternate-reverse ease-in-out; 
}

@keyframes blobOne {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; transform: rotate(10deg) translate(20px, 20px); }
}

@keyframes blobTwo {
    0% { border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 50% 30% 50%; transform: rotate(-10deg) translate(-20px, -20px); }
}

/* FLIP CARD SYSTEM */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2rem;
}

.flip-card-front {
    overflow: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
}

/* Article listing cards */
.news-card:hover .news-image {
    transform: scale(1.1);
}

/* CMS article content */
.article-prose {
    color: #475569;
    line-height: 1.75;
    font-weight: 500;
}

.article-prose p {
    margin-bottom: 1.25rem;
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-prose ul,
.article-prose ol {
    margin: 1rem 0 1.25rem 1.25rem;
}

.article-prose li {
    margin-bottom: 0.5rem;
}

.article-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.article-prose table th,
.article-prose table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: left;
}

.article-prose table th {
    background: #f8fafc;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1rem 0;
}

.article-prose a {
    color: #2563eb;
    text-decoration: underline;
}

/* Auth form inputs */
.auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e11d48 0%, #2563eb 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.25);
}