@import url('https://fonts.googleapis.com/css2?family=Gluten:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Gluten', sans-serif;
    background: linear-gradient(135deg, 
        #8B5CF6 0%, 
        #A855F7 20%, 
        #C084FC 40%, 
        #DDA0DD 60%, 
        #E879F9 80%, 
        #F0ABFC 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Floating Elements - Cute Parachutes */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parachute {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('assets/parachute1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    animation: float 10s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.parachute-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background-image: url('assets/parachute1.png');
}

.parachute-2 {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    background-image: url('assets/parachute2.png');
}

.parachute-3 {
    bottom: 30%;
    left: 8%;
    animation-delay: 4s;
    background-image: url('assets/parachute3.png');
}

.parachute-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 6s;
    background-image: url('assets/parachute1.png');
}

.parachute-5 {
    top: 50%;
    left: 2%;
    animation-delay: 1s;
    background-image: url('assets/parachute2.png');
}

.parachute-6 {
    top: 60%;
    right: 5%;
    animation-delay: 3s;
    background-image: url('assets/parachute3.png');
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-20px) rotate(3deg) scale(1.05); 
    }
    50% { 
        transform: translateY(-35px) rotate(-2deg) scale(0.95); 
    }
    75% { 
        transform: translateY(-15px) rotate(5deg) scale(1.02); 
    }
}

/* Kawaii Clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.cloud {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.9), 
        rgba(255,255,255,0.6), 
        rgba(248,248,255,0.7));
    border-radius: 50px;
    opacity: 0.8;
    animation: drift 20s linear infinite;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50px;
    box-shadow: inherit;
}

.cloud-1 {
    width: 120px;
    height: 50px;
    top: 8%;
    left: -120px;
    animation-delay: 0s;
}

.cloud-1::before {
    width: 90px;
    height: 70px;
    top: -25px;
    left: 15px;
}

.cloud-1::after {
    width: 70px;
    height: 60px;
    top: -20px;
    right: 20px;
}

.cloud-2 {
    width: 100px;
    height: 45px;
    top: 30%;
    left: -100px;
    animation-delay: 7s;
}

.cloud-2::before {
    width: 75px;
    height: 55px;
    top: -20px;
    left: 12px;
}

.cloud-2::after {
    width: 60px;
    height: 50px;
    top: -15px;
    right: 15px;
}

.cloud-3 {
    width: 140px;
    height: 55px;
    top: 65%;
    left: -140px;
    animation-delay: 14s;
}

.cloud-3::before {
    width: 100px;
    height: 75px;
    top: -30px;
    left: 20px;
}

.cloud-3::after {
    width: 80px;
    height: 65px;
    top: -25px;
    right: 25px;
}

.cloud-4 {
    width: 110px;
    height: 40px;
    top: 85%;
    left: -110px;
    animation-delay: 10s;
}

.cloud-4::before {
    width: 80px;
    height: 60px;
    top: -25px;
    left: 15px;
}

.cloud-4::after {
    width: 65px;
    height: 55px;
    top: -20px;
    right: 18px;
}

@keyframes drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 25px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-family: 'Gluten', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.nav-item:hover {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    transform: translateY(-1px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.nav-item.active {
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.wallet-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    font-weight: 500;
}

.wallet-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Center Area */
.center-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 50px;
    animation: logoFloat 6s ease-in-out infinite;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.plushie-logo {
    width: 140px;
    height: 140px;
    background-image: url('assets/plushie.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(255,107,107,0.4),
        0 0 0 8px rgba(255,255,255,0.1),
        inset 0 0 0 2px rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.plushie-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 
        0 25px 80px rgba(255,107,107,0.5),
        0 0 0 12px rgba(255,255,255,0.15),
        inset 0 0 0 3px rgba(255,255,255,0.3);
}

.logo-text {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Gluten', sans-serif;
    background: linear-gradient(135deg, #FF6B6B, #8B5CF6, #06D6A0, #FFD60A);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: textGradient 4s ease infinite;
    letter-spacing: 2px;
}

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

/* Modern Balance Card */
.balance-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    min-width: 400px;
    max-width: 550px;
    width: 100%;
    transition: all 0.4s ease;
}

.balance-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 100px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.balance-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
    font-family: 'Gluten', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.total-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 56px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Gluten', sans-serif;
}

.coin-icon {
    width: 60px;
    height: 60px;
    background-image: url('assets/coin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(255,215,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.3);
    animation: coinSpin 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.balance-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.balance-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(5px);
}

.balance-label {
    color: white;
    opacity: 0.9;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Gluten', sans-serif;
}

.balance-value {
    color: white;
    font-weight: 700;
    font-size: 22px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.additional-info {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    backdrop-filter: blur(10px);
}

/* Modern Wallet Input */
.wallet-input-container {
    max-width: 550px;
    width: 100%;
}

.input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.wallet-input {
    flex: 1;
    min-width: 300px;
    padding: 18px 25px;
    border: none;
    border-radius: 25px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    color: white;
    font-size: 16px;
    outline: none;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-family: 'Gluten', sans-serif;
}

.wallet-input:focus {
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.wallet-input::placeholder {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.check-button {
    padding: 18px 35px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #FF6B6B, #8B5CF6, #06D6A0);
    background-size: 300% 300%;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255,107,107,0.3);
    font-family: 'Gluten', sans-serif;
    letter-spacing: 1px;
    animation: buttonGradient 4s ease infinite;
}

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

.check-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 60px rgba(255,107,107,0.4);
}

.check-button:active {
    transform: translateY(-1px) scale(0.98);
}

.input-message {
    color: white;
    opacity: 0.9;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Cute Loading Animation */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #FF6B6B;
    border-right: 4px solid #8B5CF6;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(255,107,107,0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: 'Gluten', sans-serif;
}

/* Modern Error Message */
.error-message {
    background: rgba(255,99,99,0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,99,99,0.3);
    border-radius: 20px;
    padding: 20px;
    color: white;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255,99,99,0.2);
    font-weight: 500;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .wallet-input {
        min-width: auto;
    }
    
    .balance-card {
        min-width: auto;
        margin: 0 15px 30px;
        padding: 30px 25px;
    }
    
    .total-balance {
        font-size: 42px;
    }
    
    .logo-text {
        font-size: 36px;
    }
    
    .plushie-logo {
        width: 110px;
        height: 110px;
    }
    
    .coin-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .center-area {
        padding: 30px 15px;
    }
    
    .balance-card {
        padding: 25px 20px;
        margin: 0 10px 25px;
    }
    
    .total-balance {
        font-size: 36px;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .plushie-logo {
        width: 90px;
        height: 90px;
    }
    
    .nav-item, .wallet-status {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .announcement-card {
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .announcement-title {
        font-size: 18px;
    }
    
    .announcement-text {
        font-size: 15px;
    }
    
    .telegram-link {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Exciting Announcement */
.announcement-container {
    margin: 30px 0 40px 0;
    max-width: 550px;
    width: 100%;
}

.announcement-card {
    background: linear-gradient(135deg, 
        rgba(255,107,107,0.15) 0%, 
        rgba(139,92,246,0.15) 50%, 
        rgba(6,214,160,0.15) 100%);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 
        0 20px 60px rgba(255,107,107,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(255,107,107,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.announcement-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Gluten', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.telegram-icon-animated {
    font-size: 30px;
    animation: phoneRing 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-15deg) scale(1.1); }
    75% { transform: rotate(15deg) scale(1.1); }
}

.announcement-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Gluten', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.announcement-text strong {
    background: linear-gradient(135deg, #FF6B6B, #8B5CF6, #06D6A0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
    font-weight: 800;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0088cc, #229ED9, #40A7E3);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Gluten', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,136,204,0.4);
    position: relative;
    overflow: hidden;
}

.telegram-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent);
    transition: left 0.6s ease;
}

.telegram-link:hover::before {
    left: 100%;
}

.telegram-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,136,204,0.5);
    background: linear-gradient(135deg, #229ED9, #40A7E3, #5CB3E8);
}

.telegram-icon-blink {
    font-size: 20px;
    animation: telegramBlink 1.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.plushie-icon-blink {
    width: 24px;
    height: 24px;
    background-image: url('assets/plushie.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    animation: plushieBlink 1.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes plushieBlink {
    0%, 50%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    25%, 75% { 
        opacity: 0.4; 
        transform: scale(1.3);
    }
}

@keyframes telegramBlink {
    0%, 50%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    25%, 75% { 
        opacity: 0.3; 
        transform: scale(1.2);
    }
} 