* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

.floating-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-symbol {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(239, 68, 68, 0.1);
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30vw, 20vh) rotate(360deg); }
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 10;
}

.header {
    padding: 3rem 1.5rem;
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.logo-icon svg {
    color: white;
}

.logo-text {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #fecaca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: #fecaca;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid #fca5a5;
    border-radius: 9999px;
    color: #fecaca;
    font-size: 0.875rem;
}

.container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.main-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.card-content {
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #fecaca;
    margin-bottom: 1.5rem;
}

.form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fecaca;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.wallet-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.wallet-input::placeholder {
    color: rgba(254, 202, 202, 0.7);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #fecaca;
    border: 1px solid #f87171;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.status-dot.active {
    background: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mining-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tron-amount {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #fecaca;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
}

.stat-icon {
    color: #f87171;
    margin: 0 auto 0.5rem;
}

.stat-icon.green {
    color: #4ade80;
}

.stat-icon.yellow {
    color: #facc15;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #fecaca;
    font-size: 0.875rem;
}

.upgrade-card {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(69, 10, 10, 0.5) 0%, rgba(127, 29, 29, 0.5) 50%, rgba(69, 10, 10, 0.5) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 38, 38, 0.6);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.upgrade-content {
    padding: 1.5rem;
    text-align: center;
}

.download-icon {
    color: white;
    margin: 0 auto 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upgrade-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.upgrade-text {
    color: white;
    font-size: 1.125rem;
}

.btn-download {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-download:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.about-card {
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.about-header svg {
    color: #f87171;
}

.about-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-paragraph {
    color: #fecaca;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-paragraph strong {
    color: white;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.feature-icon {
    margin-bottom: 0.5rem;
}

.feature-icon.green {
    color: #4ade80;
}

.feature-title {
    color: white;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: #fecaca;
    font-size: 0.875rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    margin-top: 3rem;
}

.footer p {
    color: #fca5a5;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .logo-text { font-size: 2rem; }
    .tron-amount { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
}