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

:root {
    --bg-1: #0a0a0f;
    --bg-2: #141420;
    --card: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-a: #ff6b35;
    --accent-b: #f72585;
    --accent-c: #7209b7;
    --accent-d: #3a86ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-1);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.15), transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(58, 134, 255, 0.12), transparent 40%);
    animation: bgFlow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgFlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-c));
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 60%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 75%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) scale(1);
    }
}

.dashboard-container {
    max-width: 1100px;
    width: 100%;
    padding: 60px 50px;
    border-radius: 32px;
    background: var(--card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 0 0 1px var(--card-border),
        0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 80px rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: containerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Gradient orbs */
.dashboard-container::before,
.dashboard-container::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.dashboard-container::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-a), var(--accent-b));
    top: -200px;
    right: -200px;
}

.dashboard-container::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-c), var(--accent-d));
    bottom: -150px;
    left: -150px;
    animation-delay: 4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}


@keyframes badgeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.dashboard-header {
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 50px;
    animation: headerSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headerSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-header h2 {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c), var(--accent-d));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    margin-bottom: 20px;
    animation: gradientShift 6s ease infinite;
    line-height: 1;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.usage {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dashboard-main {
    position: relative;
    z-index: 5;
    animation: mainFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes mainFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-main h3 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.meme-preview {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    position: relative;
}

.meme-preview::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
    border-radius: 20px;
    filter: blur(40px);
    opacity: 0.2;
    animation: imageGlow 3s ease-in-out infinite;
}

@keyframes imageGlow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.95);
    }

    50% {
        opacity: 0.4;
        transform: scale(1);
    }
}

.meme-preview img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.meme-preview img:hover {
    transform: translateY(-10px) scale(1.02);
}

.upload-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 50px 0;
}

.btn-primary,
.btn-secondary {
    padding: 18px 40px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.features {
    margin-top: 60px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.features .subtitle {
    text-align: left;
    margin: 0 0 30px 0;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-a);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .dashboard-header h2 {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .dashboard-main h3 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .features {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-header h2 {
        font-size: 2.5rem;
    }

    .meme-preview img {
        max-width: 100%;
    }
}