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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #888899;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.06);
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 80px;
}

.logo {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #7c3aed 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }
    to {
        filter: drop-shadow(0 0 40px var(--accent-glow));
    }
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.social-link svg {
    flex-shrink: 0;
}

.apps-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-left: 4px;
}

.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.app-card:hover {
    background: var(--card-hover);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-card:hover::before {
    transform: translateX(100%);
}

.app-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex-shrink: 0;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.app-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.app-card:hover .app-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.tip-jar {
    margin-bottom: 60px;
}

.tip-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.tip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.tip-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-icon {
    font-size: 1.2rem;
}

.tip-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tip-qr {
    width: 120px;
    height: 0;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tip-card:hover .tip-qr {
    height: 120px;
    opacity: 1;
}

.tip-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
}

.tip-address:hover {
    background: rgba(124, 58, 237, 0.2);
}

.tip-address code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: var(--text-primary);
    word-break: break-all;
    text-align: center;
}

.tip-address .copy-hint {
    font-size: 0.65rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.tip-address:hover .copy-hint {
    color: var(--accent);
}

.tip-address.copied .copy-hint {
    color: #22c55e;
}

.footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 16px;
    }

    .header {
        margin-bottom: 60px;
    }

    .app-card {
        padding: 16px 20px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .app-info h3 {
        font-size: 1rem;
    }

    .social-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .tip-cards {
        gap: 16px;
    }

    .tip-card {
        padding: 20px;
        min-width: 160px;
    }

    .tip-qr {
        width: 100px;
    }

    .tip-card:hover .tip-qr {
        height: 100px;
    }

    .tip-address code {
        font-size: 0.7rem;
    }
}
