* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-circle {
    color: #7c3aed;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.logo-main {
    color: #ffffff;
}

.logo-api {
    color: #7c3aed;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.main-content {
    padding-right: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00ff88;
    margin-bottom: 2rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background-color: #7c3aed;
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background-color: #8b5cf6;
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.45);
    transform: none;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #27272a;
    color: #a1a1aa;
}

.btn-secondary:hover {
    border-color: #3f3f46;
    background-color: #27272a;
    color: #f4f4f5;
}

.features {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.feature-icon {
    color: #555;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.card {
    background-color: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card.active {
    border-color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
}

.card:hover {
    transform: translateY(-4px);
    border-color: #333;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon.gold {
    background-color: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.card-icon.purple {
    background-color: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.card-icon.green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.card p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.token-stock {
    background-color: #18181b;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.token-stock:hover {
    background-color: #27272a;
}

.stock-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.privacy-text {
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.stock-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}

.stock-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stock-value.online {
    color: #00ff88;
}

.stock-subtext {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1rem;
}

.delivery-url {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

.url-label {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.url-box {
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.url-box code {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #9ca3af;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #7c3aed;
}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* Shimmer Loading Effect */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    z-index: 9999;
    overflow: auto;
}

.main-content-wrapper {
    width: 100%;
}

.shimmer {
    background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.shimmer-logo {
    width: 200px;
    height: 28px;
    margin-bottom: 3rem;
}

.shimmer-badge {
    width: 180px;
    height: 28px;
    margin-bottom: 2rem;
    border-radius: 20px;
}

.shimmer-title {
    width: 80%;
    height: 56px;
    margin-bottom: 1rem;
}

.shimmer-title-small {
    width: 60%;
    height: 56px;
    margin-bottom: 1.5rem;
}

.shimmer-text {
    width: 90%;
    height: 24px;
    margin-bottom: 0.75rem;
}

.shimmer-text-small {
    width: 75%;
    height: 24px;
    margin-bottom: 2rem;
}

.shimmer-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.shimmer-button {
    width: 150px;
    height: 50px;
}

.shimmer-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.shimmer-feature {
    width: 150px;
    height: 24px;
}

.shimmer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.shimmer-card {
    height: 220px;
}

.shimmer-sidebar {
    width: 100%;
    height: 450px;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .shimmer-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background-color: #18181b;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content:hover {
    background-color: #1f1f23;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.modal-header h2 {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h2::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #27272a;
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.modal-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.modal-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.modal-input::placeholder {
    color: #555;
}

.input-hint {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.modal-footer {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Spinner Animation */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Server Check Results */
.server-results {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.result-item {
    text-align: center;
}

.result-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.result-value.online {
    color: #00ff88;
}

.result-subtext {
    font-size: 0.65rem;
    color: #666;
}
