@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #19ff1d;
    /* Pepe Green */
    --primary-glow: rgba(25, 255, 29, 0.4);
    --secondary: #0a230d;
    --background: #050a06;
    --card: rgba(20, 25, 21, 0.7);
    --text: #e0f2e1;
    --text-muted: #88a18c;
    --glass-border: rgba(25, 255, 29, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--background);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(25, 255, 29, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(25, 255, 29, 0.05) 0%, transparent 40%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* App Header */
header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* Balance Section */
.balance-card {
    margin: 15px 20px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.8s ease-out;
}

.balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-amount img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

/* Main Click Area */
.click-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.pepe-btn {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(25, 255, 29, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    touch-action: manipulation;
}

.pepe-btn:active {
    transform: scale(0.92);
}

.pepe-btn img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pepe-btn img {
    animation: float 4s ease-in-out infinite;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 0 20px 20px;
}

.stat-item {
    background: var(--card);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 18px;
    text-align: center;
}

.stat-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Navigation Tabs */
nav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    position: sticky;
    bottom: 0;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    font-size: 1.4rem;
}

/* Invite Section */
.invite-drawer {
    background: var(--card);
    border-radius: 24px 24px 0 0;
    border: 1px solid var(--glass-border);
    border-bottom: none;
    padding: 25px;
    margin-top: auto;
}

.invite-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #15cc18 100%);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--primary-glow);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* Floating Text Effect (on click) */
.plus-one {
    position: absolute;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
    pointer-events: none;
    animation: slideUp 0.6s ease-out forwards;
    z-index: 50;
    text-shadow: 0 0 10px rgba(25, 255, 29, 0.8);
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}