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

:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --border: 214.3 31.8% 91.4%;
    --accent: 14 90% 53%;
    --accent-foreground: 0 0% 100%;
    --radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: 222.2 84% 4.9%;
        --foreground: 210 40% 98%;
        --card: 222.2 84% 4.9%;
        --card-foreground: 210 40% 98%;
        --primary: 210 40% 98%;
        --primary-foreground: 222.2 47.4% 11.2%;
        --muted: 217.2 32.6% 17.5%;
        --muted-foreground: 215 20.2% 65.1%;
        --border: 217.2 32.6% 17.5%;
        --accent: 14 90% 53%;
        --accent-foreground: 0 0% 100%;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    position: relative;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, hsl(var(--accent) / 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, hsl(var(--accent) / 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(hsl(var(--border) / 0.5) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--border) / 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.3;
}

.container {
    width: 100%;
    max-width: 650px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.content {
    background-color: hsl(var(--card) / 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) * 2);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow:
        0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1),
        0 0 0 1px hsl(var(--border) / 0.1);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.icon-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, hsl(var(--accent) / 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.ping-pong-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.paddle {
    width: 8px;
    height: 40px;
    background: hsl(var(--foreground));
    border-radius: 4px;
    position: absolute;
}

.paddle-left {
    left: 0;
    animation: paddleLeftMove 2s ease-in-out infinite;
}

.paddle-right {
    right: 0;
    animation: paddleRightMove 2s ease-in-out infinite;
}

.ball {
    width: 16px;
    height: 16px;
    background: hsl(var(--accent));
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 20px hsl(var(--accent) / 0.5);
    animation: ballBounce 2s ease-in-out infinite;
}

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

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

@keyframes ballBounce {
    0%, 100% {
        transform: translateX(-20px) translateY(0) scale(1);
    }
    25% {
        transform: translateX(0) translateY(-8px) scale(0.9);
    }
    50% {
        transform: translateX(20px) translateY(0) scale(1);
    }
    75% {
        transform: translateX(0) translateY(8px) scale(0.9);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: calc(var(--radius) - 2px);
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, hsl(142 76% 36%) 0%, hsl(142 76% 36% / 0.8) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px hsl(142 76% 36% / 0.25);
    margin-bottom: 1.5rem;
    animation: slideIn 0.6s ease-out 0.2s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.subtitle {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.info-section {
    margin: 2rem 0 3rem 0;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.info-text {
    font-size: 1rem;
    color: hsl(var(--foreground));
    font-weight: 500;
}

.social-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: hsl(var(--muted) / 0.3);
    border-radius: calc(var(--radius) * 1.5);
    border: 1px solid hsl(var(--border) / 0.5);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.social-text {
    flex: 1;
    text-align: left;
}

.social-title {
    font-size: 1rem;
    color: hsl(var(--foreground));
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.social-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent) / 0.9) 100%);
    color: hsl(var(--accent-foreground));
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px hsl(var(--accent) / 0.3);
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px hsl(var(--accent) / 0.4);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 640px) {
    .content {
        padding: 2.5rem 1.5rem;
    }

    .title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.9375rem;
    }

    .ping-pong-icon {
        width: 60px;
        height: 60px;
    }

    .paddle {
        width: 6px;
        height: 30px;
    }

    .ball {
        width: 12px;
        height: 12px;
    }

    .icon-glow {
        width: 60px;
        height: 60px;
    }

    .social-section {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .social-text {
        text-align: center;
    }

    .social-link {
        width: 52px;
        height: 52px;
    }
}
