/* gamelicens.ing - Motion Heavy Interactive */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #A0A0C0;
    background: #0F0F1F;
    overflow-x: hidden;
}

.section {
    width: 100%;
    position: relative;
}

/* ========== KINETIC HERO ========== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.progress-ring {
    position: absolute;
    width: 40vmin;
    height: 40vmin;
    animation: rotate 12s linear infinite;
    opacity: 0;
    transition: opacity 800ms ease;
}

.progress-ring.visible {
    opacity: 1;
}

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

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

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #FFFFFF;
    display: inline-flex;
    align-items: baseline;
}

.hero-text-main {
    display: inline;
}

.hero-ing {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    animation: pulse 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse {
    0% { transform: scale(1); color: #6366F1; }
    33% { transform: scale(1.05); color: #8B5CF6; }
    66% { transform: scale(0.98); color: #EC4899; }
    100% { transform: scale(1); color: #6366F1; }
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #A0A0C0;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 400ms ease 1200ms forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ========== PROCESS STEPS ========== */

.process-section {
    padding: 6rem 2rem;
    min-height: 60vh;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-line {
    position: absolute;
    width: 100%;
    height: 60px;
    top: 20px;
    left: 0;
    z-index: 0;
}

.steps-line path {
    transition: stroke-dashoffset 600ms ease;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    transition: background-color 400ms ease, border-color 400ms ease;
}

.step-circle span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(99, 102, 241, 0.4);
    transition: color 400ms ease;
}

.step.active .step-circle {
    background: #6366F1;
    border-color: #6366F1;
}

.step.active .step-circle span {
    color: #FFFFFF;
}

.step-label {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #A0A0C0;
    opacity: 0.4;
    transition: opacity 400ms ease;
    margin-bottom: 0.3rem;
}

.step.active .step-label {
    opacity: 1;
}

.step-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #A0A0C0;
    opacity: 0.4;
    transition: opacity 400ms ease;
    max-width: 160px;
    margin: 0 auto;
}

.step.active .step-desc {
    opacity: 0.8;
}

/* ========== CURSOR REACTIVE WORD CLOUD ========== */

.wordcloud-section {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.floating-term {
    position: absolute;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: #6366F1;
    transition: transform 0.5s ease;
    user-select: none;
    pointer-events: none;
}

/* ========== PROGRESS BAR SECTION ========== */

.progressbar-section {
    padding: 6rem 2rem;
    min-height: auto;
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: #1F1F3F;
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366F1, #EC4899);
    border-radius: 2px;
    transition: width 100ms linear;
}

.milestone {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    text-align: center;
}

.milestone-dot {
    width: 12px;
    height: 12px;
    background: #1F1F3F;
    border: 2px solid #6366F1;
    border-radius: 50%;
    transition: transform 300ms ease, background-color 300ms ease;
}

.milestone.reached .milestone-dot {
    transform: scale(1.5);
    background: #6366F1;
}

.milestone-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #A0A0C0;
    margin-top: 12px;
}

/* ========== COMPLETED FOOTER ========== */

.footer {
    background: #0F0F1F;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkmark-svg {
    flex-shrink: 0;
}

.checkmark-svg path {
    transition: stroke-dashoffset 400ms ease;
}

.footer-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #6366F1;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .steps-row {
        flex-direction: column;
        gap: 2rem;
    }

    .steps-line {
        display: none;
    }

    .step-desc {
        max-width: 100%;
    }
}
