@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import "./variables.css";

/* SVN-Gilroy Font - Using Inter as fallback */
@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy%20Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy%20SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy%20XBold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Use Medium as default (400 weight) */
@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy%20Medium.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Use SemiBold as bold (700 weight) */
@font-face {
    font-family: "SVN-Gilroy";
    src: url("../fonts/SVN-Gilroy%20SemiBold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fallback to Inter if SVN-Gilroy not loaded */
* {
    font-family: var(--font-family), "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: var(--font-family);
    color: var(--color-white);
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

body {
    background: var(--gradient-bg);
    position: relative;
}

/* Container */
.container {
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: var(--spacing-lg);
    z-index: 2;
}

.container > * {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

/* Full height on desktop */
@media (min-width: 1280px) {
    .container {
        height: 100vh;
        overflow: hidden;
    }
}

/* Header */
.header {
    align-self: flex-start;
    width: 100%;
}

.logo {
    height: 38px;
    width: auto;
    animation: logoFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-text {
    animation: logoFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(-20px);
}

/* Center Logo - Draw Page Only */
.draw-page .logo-center {
    margin-bottom: var(--spacing-xl);
    align-self: center;
}

.draw-page .logo-center-img {
    height: 56px;
    width: auto;
    animation: logoCenterFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes logoCenterFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.draw-page .logo-center-text {
    color: var(--color-white);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    animation: logoCenterFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    flex: 1;
}

/* Smartphone Wrapper */
.smartphone-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100vh;
    max-width: 50vw;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.smartphone-image {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom right;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.wrist-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 600px;
    height: 25px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 220, 0.4) 5%,
        rgba(255, 255, 210, 0.7) 20%,
        rgba(255, 255, 200, 0.9) 50%,
        rgba(255, 255, 210, 0.7) 80%,
        rgba(255, 255, 220, 0.4) 95%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(18px);
    animation: wristGlowFadeIn 0.8s ease-out 0.8s forwards;
    opacity: 0;
    z-index: 10;
    box-shadow: 
        0 0 50px rgba(255, 255, 220, 0.8),
        0 0 100px rgba(255, 255, 210, 0.6),
        0 0 150px rgba(255, 255, 200, 0.4),
        0 0 200px rgba(255, 255, 190, 0.3);
    pointer-events: none;
}

@keyframes wristGlowFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Typography */
.title-section {
    display: flex;
    flex-direction: column;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    border-left: 2px solid var(--color-white-50);
    overflow: hidden;
    position: relative;
}

.title-section .title,
.title-section .subtitle {
    animation: slideInFromLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateX(-100%);
}

.title-section .title {
    animation-delay: 0.2s;
}

.title-section .subtitle {
    animation-delay: 0.4s;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 400;
    color: var(--color-white);
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-white);
}

/* Welcome Title with Typing and Shimmer Effect */
.welcome-title {
    position: relative;
    display: inline-block;
    color: var(--color-white);
}

.welcome-title.typing-complete {
    animation: sparkle 2s ease-in-out forwards;
}

.welcome-title.typing-complete::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2s ease-in-out forwards;
    pointer-events: none;
}

@keyframes sparkle {
    0% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.15);
    }
    25% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 10px rgba(255, 255, 255, 0.15);
    }
    50% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2), 0 0 8px rgba(255, 255, 255, 0.1);
    }
    75% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 10px rgba(255, 255, 255, 0.15);
    }
    100% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.15);
    }
}

@keyframes shine {
    0% {
        background-position: -200% 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 200% 0;
        opacity: 0;
    }
}

/* Draw Page Specific Styles */
.draw-page .section-title {
    font-size: 4.5rem;
    text-align: center;
    align-self: center;
}

.draw-page .section-title-line1 {
    display: block;
    font-weight: 900;
    animation: slideInFromLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateX(-100%);
    width: 100%;
}

.draw-page .section-title-line2 {
    display: block;
    font-weight: 700;
    animation: slideInFromRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateX(100%);
    width: 100%;
}

/* Winner Page Specific Styles */
.winner-page .section-title {
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: scale(0.5);
}

.winner-page .section-title-line1 {
    animation: none;
    opacity: 1;
    transform: none;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Styles */
.form-container {
    width: 100%;
    max-width: 520px;
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-md);
    text-align: left;
    animation: formFadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.form-group:nth-child(1) {
    animation-delay: 0.6s;
}

.form-group:nth-child(2) {
    animation-delay: 0.8s;
}

.form-group:nth-child(3) {
    animation-delay: 1s;
}

@keyframes formFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CSS Custom Property for rotating gradient angle */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Input wrapper for gradient border */
.form-input-wrapper {
    position: relative;
    padding: 0;
    border: 4px solid transparent;
    border-radius: 18px;
    background: linear-gradient(var(--color-white), var(--color-white))
            padding-box,
        linear-gradient(
                90deg,
                var(--color-blue) 0%,
                var(--color-green) 50%,
                var(--color-green) 100%
            )
            border-box;
    transition: none;
}

/* Rotating Gradient Border Effect on Focus */
.form-group:focus-within .form-input-wrapper {
    --angle: 0deg;
    background: linear-gradient(var(--color-white), var(--color-white))
            padding-box,
        linear-gradient(var(--angle), var(--color-blue), var(--color-green))
            border-box;
    animation: rotateGradientBorder 4s linear infinite;
}

@keyframes rotateGradientBorder {
    to {
        --angle: 360deg;
    }
}

.form-input {
    width: 100%;
    padding: 0.75rem var(--spacing-sm);
    font-size: var(--font-size-lg);
    line-height: 1.5;
    font-family: var(--font-family);
    border: none;
    border-radius: 16px;
    background: var(--color-white);
    color: var(--color-black);
    transition: var(--transition-normal);
    position: relative;
    display: block;
    z-index: 1;
}

.form-input:focus {
    outline: none;
}

/* Adjust input border-radius when wrapper has rotating border */
.form-group:focus-within .form-input {
    border-radius: 14px;
}

.form-input::placeholder {
    color: #999;
}

/* Button Styles */
.btn {
    display: block;
    padding: 0.75rem var(--spacing-sm);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    font-family: var(--font-family);
    color: var(--color-white);
    border: 3px solid var(--color-white);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
    animation: formFadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
    animation-delay: 1.2s;
}

.btn-primary {
    background: linear-gradient(
        90deg,
        var(--color-blue) 0%,
        var(--color-green) 50%,
        var(--color-green) 100%
    );
    background-size: 100% 100%;
    background-position: 0% 0%;
    transition: background-position 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-size: 800% 100%;
    transform: translateY(-2px);
}

/* Display Field Wrapper - Same style as form-input-wrapper */
.display-field-wrapper {
    position: relative;
    padding: 0;
    border: 8px solid transparent;
    border-radius: 48px;
    background: linear-gradient(var(--color-white), var(--color-white))
            padding-box,
        linear-gradient(
                90deg,
                var(--color-blue) 0%,
                var(--color-green) 50%,
                var(--color-green) 100%
            )
            border-box;
    transition: none;
    width: 100%;
    max-width: 1000px;
    margin: var(--spacing-lg) auto;
}

/* Rotating Gradient Border Effect for Draw Page */
.draw-page .display-field-wrapper {
    --angle: 0deg;
    background: linear-gradient(var(--color-white), var(--color-white))
            padding-box,
        linear-gradient(var(--angle), var(--color-blue), var(--color-green))
            border-box;
    animation: rotateGradientBorder 4s linear infinite;
}

/* Display Field - Same style as form-input */
.display-field {
    width: 100%;
    min-height: 120px;
    padding: var(--spacing-sm);
    font-size: var(--font-size-6xl);
    font-weight: 700;
    text-align: center;
    background: var(--color-white);
    border: none;
    border-radius: 40px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    position: relative;
    z-index: 1;
}

.display-field.rolling {
    animation: glow 1s ease-in-out infinite alternate;
}

.display-field-wrapper.rolling {
    animation: pulseWrapper 0.5s infinite;
}

@keyframes pulseWrapper {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Draw page hint text */
.draw-page .draw-hint {
    text-align: center;
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-top: var(--spacing-xl);
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
    width: 100%;
    max-width: 1000px;
}

/* Winner celebration animations */
.winner-display {
    animation: winnerGlow 2s ease-in-out infinite alternate;
}

@keyframes winnerEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes winnerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes winnerGlow {
    from {
        box-shadow: 0 0 20px rgba(0, 164, 81, 0.3), 0 0 40px rgba(0, 116, 175, 0.2);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 164, 81, 0.6), 0 0 60px rgba(0, 116, 175, 0.4), 0 0 80px rgba(0, 164, 81, 0.3);
    }
}

/* Confetti container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-green);
    top: -10px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

.confetti:nth-child(2n) {
    background: var(--color-blue);
    width: 8px;
    height: 8px;
}

.confetti:nth-child(3n) {
    background: var(--color-white);
    width: 12px;
    height: 12px;
}

.confetti:nth-child(4n) {
    background: var(--color-green);
    width: 6px;
    height: 6px;
}

.confetti:nth-child(5n) {
    background: var(--color-blue);
    width: 14px;
    height: 14px;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    to {
        box-shadow: 0 0 40px rgba(0, 102, 255, 0.8);
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions */
.form-input,
.btn,
.display-field {
    transition: all var(--transition-normal);
}

/* Welcome Screen */
.welcome-info {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.welcome-name {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.welcome-details {
    font-size: var(--font-size-medium);
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-xs);
}

/* Hint Text */
.hint-text {
    position: fixed;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-normal);
    color: var(--color-white);
    opacity: 0.6;
    text-align: center;
    z-index: 50;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile (< 768px) */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: var(--spacing-sm);
        min-height: 100vh;
        height: auto;
    }

    .container > * {
        max-width: 100%;
    }

    /* Header & Logo */
    .header {
        padding: var(--spacing-xs) 0;
    }

    .logo {
        height: 28px;
    }

    /* Main Content */
    .main-content {
        padding: var(--spacing-sm) 0;
        width: 100%;
    }

    /* Title Section */
    .title-section {
        margin: var(--spacing-sm) 0;
        padding-left: var(--spacing-md);
    }

    .title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-xs);
    }

    .subtitle {
        font-size: var(--font-size-md);
    }

    /* Section Title */
    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }

    /* Draw Page - Section Title */
    .draw-page .section-title {
        font-size: var(--font-size-3xl);
    }

    .draw-page .section-title-line1,
    .draw-page .section-title-line2 {
        display: block;
        width: 100%;
    }

    /* Winner Page - Section Title */
    .winner-page .section-title {
        font-size: var(--font-size-3xl);
    }

    /* Logo Center */
    .draw-page .logo-center-img {
        height: 40px;
    }

    .draw-page .logo-center-text {
        font-size: var(--font-size-2xl);
    }

    /* Form Container */
    .form-container {
        max-width: 100%;
        padding: 0;
    }

    .form-group {
        margin-bottom: var(--spacing-md);
    }

    .form-label {
        font-size: var(--font-size-md);
        margin-bottom: var(--spacing-xs);
    }

    .form-input-wrapper {
        border-radius: 16px;
        border-width: 3px;
    }

    .form-input {
        font-size: var(--font-size-md);
        padding: 0.875rem var(--spacing-sm);
        border-radius: 14px;
    }

    /* Button */
    .btn {
        font-size: var(--font-size-md);
        padding: 0.875rem var(--spacing-md);
        border-radius: 12px;
        width: 100%;
    }

    /* Display Field */
    .display-field-wrapper {
        max-width: 100%;
        margin: var(--spacing-md) auto;
        border-width: 6px;
        border-radius: 32px;
    }

    .display-field {
        font-size: var(--font-size-3xl);
        min-height: 100px;
        padding: var(--spacing-md);
        border-radius: 28px;
    }

    /* Draw Hint */
    .draw-page .draw-hint {
        font-size: var(--font-size-sm);
        margin-top: var(--spacing-md);
    }

    /* Welcome Title */
    .welcome-title {
        font-size: var(--font-size-2xl);
    }

    /* Welcome Info */
    .welcome-name {
        font-size: var(--font-size-xl);
    }

    .welcome-details {
        font-size: var(--font-size-md);
    }

    /* Hint Text */
    .hint-text {
        font-size: var(--font-size-xs);
        bottom: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
}

/* Tablet (768px - 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
    /* Container */
    .container {
        padding: var(--spacing-md);
    }

    .container > * {
        max-width: 100%;
    }

    /* Header & Logo */
    .logo {
        height: 34px;
    }

    /* Main Content */
    .main-content {
        padding: var(--spacing-md) 0;
    }

    /* Title Section */
    .title-section {
        margin: var(--spacing-md) 0;
    }

    .title {
        font-size: var(--font-size-4xl);
    }

    .subtitle {
        font-size: var(--font-size-xl);
    }

    /* Section Title */
    .section-title {
        font-size: var(--font-size-4xl);
    }

    /* Draw Page - Section Title */
    .draw-page .section-title {
        font-size: 3.5rem;
    }

    /* Winner Page - Section Title */
    .winner-page .section-title {
        font-size: var(--font-size-4xl);
    }

    /* Logo Center */
    .draw-page .logo-center-img {
        height: 48px;
    }

    .draw-page .logo-center-text {
        font-size: var(--font-size-3xl);
    }

    /* Form Container */
    .form-container {
        max-width: 600px;
    }

    .form-label {
        font-size: var(--font-size-lg);
    }

    .form-input {
        font-size: var(--font-size-lg);
    }

    /* Button */
    .btn {
        font-size: var(--font-size-lg);
    }

    /* Display Field */
    .display-field-wrapper {
        max-width: 900px;
    }

    .display-field {
        font-size: var(--font-size-5xl);
        min-height: 110px;
    }

    /* Draw Hint */
    .draw-page .draw-hint {
        font-size: var(--font-size-md);
    }

    /* Welcome Title */
    .welcome-title {
        font-size: var(--font-size-4xl);
    }
}

/* Desktop (>= 1280px) */
@media (min-width: 1280px) {
    .container > * {
        max-width: 1280px;
    }

    /* Display Field - Larger on desktop */
    .display-field-wrapper {
        max-width: 1000px;
    }

    .display-field {
        font-size: var(--font-size-6xl);
        min-height: 120px;
    }

    /* Smartphone Wrapper - Show on desktop */
    .smartphone-wrapper {
        display: block;
        max-width: 60vw;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--color-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
