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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #1DB954;
    --primary-dark: #1ed760;
    --primary-light: #1ed760;
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border: #222222;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, #1DB954 0%, #1ed760 50%, #1DB954 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(29, 185, 84, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.app-container {
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 30% 20%, rgba(29, 185, 84, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(30, 215, 96, 0.1) 0%, transparent 50%);
    animation: bgRotate 20s linear infinite;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(29, 185, 84, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(30, 215, 96, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 200%;
    animation: particlesMove 15s ease-in-out infinite;
}

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

/* Navigation */
.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn.active {
    color: var(--primary);
}

.nav-btn.active svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.5));
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 3px 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Pages */
.page {
    display: none;
    position: relative;
    z-index: 1;
    animation: pageFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active {
    display: block;
}

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

/* Header */
.header {
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: logoPulse 2s ease-in-out infinite;
    box-shadow: var(--shadow-glow);
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(29, 185, 84, 0.6);
    }
}

.logo-circle svg {
    width: 24px;
    height: 24px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    padding: 40px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 24px;
    animation: badgeFloat 3s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    animation: titleSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

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

.hero-visual {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.music-waves {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
}

.wave {
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: waveAnimation 1.2s ease-in-out infinite;
}

.wave:nth-child(1) { animation-delay: 0s; height: 20px; }
.wave:nth-child(2) { animation-delay: 0.1s; height: 40px; }
.wave:nth-child(3) { animation-delay: 0.2s; height: 60px; }
.wave:nth-child(4) { animation-delay: 0.3s; height: 40px; }
.wave:nth-child(5) { animation-delay: 0.4s; height: 20px; }

@keyframes waveAnimation {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: iconRotate 3s ease-in-out infinite;
}

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

.feature-icon {
    filter: brightness(0) invert(1);
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing-section {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.section-heading {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.pricing-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(29, 185, 84, 0.05) 100%);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.pricing-card:hover .card-glow {
    opacity: 1;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-value {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.price-savings {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 24px;
}

.feature-check {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-check::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.feature-check.highlight {
    color: var(--primary);
    font-weight: 600;
}

.pricing-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pricing-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pricing-btn span,
.pricing-btn svg {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.pricing-btn:hover {
    border-color: var(--primary);
    color: white;
}

.pricing-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.pricing-btn.primary {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.pricing-btn.primary::before {
    background: rgba(255, 255, 255, 0.2);
}

/* Profile Page */
.profile-header {
    text-align: center;
    padding: 40px 20px 30px;
    position: relative;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: avatarGlow 2s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-status {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    display: inline-block;
}

.profile-content {
    padding: 0 20px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
}

.card-header {
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.subscription-empty,
.history-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.btn-get-premium {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-get-premium:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setting-label {
    font-weight: 600;
    font-size: 15px;
}

.setting-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s;
}

.modal-overlay.active {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--bg-card-hover);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field select {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.form-field input[readonly] {
    background: var(--bg);
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.submit-btn.loading span {
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-modal {
    text-align: center;
    padding: 48px 32px;
}

.success-animation {
    margin-bottom: 24px;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    color: var(--primary);
    animation: checkmarkDraw 0.6s ease-in-out 0.3s backwards;
}

@keyframes checkmarkDraw {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    animation: checkmarkDraw 0.6s ease-in-out;
}

.success-modal h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-modal p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .price-value {
        font-size: 40px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-item {
        padding: 20px;
    }
}

/* Browser Notice */
.browser-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.notice-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.notice-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.notice-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.notice-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-telegram:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-telegram svg {
    width: 24px;
    height: 24px;
}

/* Referral Section */
.referral-section {
    padding: 20px 0;
}

.referral-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.referral-link-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.referral-buttons {
    display: flex;
    gap: 10px;
}

.referral-link-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

.referral-link-input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-copy,
.btn-share {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy:hover,
.btn-share:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-share {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.btn-share:hover {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px) scale(1.02);
}

.btn-copy svg,
.btn-share svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.stat-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
