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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}


.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 90px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}


.topbar {
    position: sticky;
    top: 10px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-bottom: 20px;
    padding: 15px 20px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;

    z-index: 200;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.menu-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
}

.page-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    flex: 1;
    text-align: center;
    margin: 0 15px;
    letter-spacing: 0.5px;
}


.header-banner {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.topBanner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    filter: brightness(0.9);
}


.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    margin-bottom: 25px;
    text-align: center;
}

.card-header h2 {
    color: #4a5568;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-subtitle {
    color: #718096;
    font-size: 1rem;
}


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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #4a5568;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.placeholder-abu::placeholder {
    color: #a0aec0 !important;
    opacity: 1;
}


.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.info-box i {
    color: #667eea;
    font-size: 1.5rem;
}

.info-box p {
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0;
}


.button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-primary, .btn-secondary {
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f1f5f9;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}


.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    text-align: right;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}


.sidebar-content {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 80px);
}

.sidebar-content button {
    width: 100%;
    padding: 18px 25px;
    border: none;
    background: none;
    text-align: left;
    font-size: 1.1rem;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.sidebar-content button:active {
    background: rgba(102, 126, 234, 0.08);
}

.sidebar-content button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.sidebar-content button:hover::before {
    transform: translateX(0);
}

.sidebar-content button:hover {
    color: #667eea;
    border-left-color: #667eea;
}

.sidebar-content button i {
    width: 25px;
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

.sidebar-content button span {
    z-index: 1;
    position: relative;
}


.sidebar-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(3px);
}

.overlay.active {
    display: block;
}


.statusPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1100;
    overflow-y: auto;
    display: none;
    flex-direction: column;
}

.statusPage.active {
    display: flex;
}

.status-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.backBtn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.backBtn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.status-header h2 {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-card {
    flex: 1;
    margin: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.result-container {
    padding: 20px;
}


.status-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.status-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

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

.status-text h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.status-text p {
    color: #4a5568;
    font-size: 1rem;
    opacity: 0.8;
}


.progress-container {
    margin: 30px 0;
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    color: #4a5568;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}


.log-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.log-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.log-header h4 {
    color: #2d3748;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    flex: 1;
    min-width: 200px;
}


#clear-log {
    padding: 10px 18px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

#clear-log:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

#clear-log i {
    font-size: 1rem;
}

.log-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}


.log-item {
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #cbd5e0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.log-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.log-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
    padding-right: 10px;
    color: #374151;
}

.log-time {
    color: #718096;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}


.log-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.log-error {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.log-start {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    font-weight: 600;
}

.log-complete {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    font-weight: 600;
}

.log-info {
    border-left-color: #6b7280;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.05) 0%, rgba(107, 114, 128, 0.02) 100%);
}

.log-empty {
    text-align: center;
    padding: 50px 20px;
    color: #9ca3af;
}

.log-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #d1d5db;
    animation: bounce 2s infinite;
}

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

.log-empty p {
    font-size: 1.1rem;
}


#statPage .result-container {
    text-align: center;
}

#statPage h3 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

#visitCount {
    font-size: 60px;
    font-weight: 700;
    margin: 20px 0;
    color: #667eea;
    text-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    animation: countUp 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes countUp {
    0% { opacity: 0; transform: translateY(20px) scale(0.7); }
    70% { transform: translateY(-10px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-small {
    width: 90%;
    max-width: 400px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-body {
    padding: 30px;
}

.modal-footer-small {
    padding: 20px;
    background: #f8fafc;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}


.confirmation-content {
    text-align: center;
}

.confirmation-icon-small {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

.confirmation-title-small {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.confirmation-detail-small {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #4a5568;
}

.detail-row i {
    color: #667eea;
    width: 20px;
    flex-shrink: 0;
}

.link-text-small, .pesan-text-small {
    flex: 1;
    text-align: left;
    word-break: break-word;
    font-size: 0.95rem;
}

.confirmation-warning-small {
    color: #dc2626;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}


.result-summary-small {
    text-align: center;
}

.result-icon-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    animation: successPulse 1.5s infinite;
}

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

.result-title-small {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.result-stats-small {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.stat-item-small {
    text-align: center;
    flex: 1;
}

.stat-number-small {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    animation: countUp 0.8s ease;
}

#success-count {
    color: #10b981;
}

#fail-count {
    color: #dc2626;
}

.stat-label-small {
    color: #718096;
    font-size: 0.9rem;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

.result-message-small {
    color: #4a5568;
    font-size: 1.1rem;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #3b82f6;
}


.btn-cancel-small, .btn-confirm-small, .btn-close-small {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn-cancel-small {
    background: #f1f5f9;
    color: #64748b;
}

.btn-cancel-small:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(100, 116, 139, 0.2);
}

.btn-confirm-small {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-confirm-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-close-small {
    background: #3b82f6;
    color: white;
    flex: 1;
}

.btn-close-small:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}


footer {
    text-align: center;
    color: white;
    padding: 25px 0;
    margin-top: 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.9;
}

footer i {
    color: #fbbf24;
}


@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .sidebar {
        width: 260px;
    }
    
    .status-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .backBtn {
        align-self: flex-start;
    }
    
    .status-indicator {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .modal-small {
        width: 95%;
        margin: 10px;
    }
    
    .log-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .log-header h4 {
        min-width: auto;
        justify-content: center;
    }
    
    #clear-log {
        width: 100%;
        padding: 12px 20px;
    }
    
    .header-banner::before {
        font-size: 2rem;
        top: 45%;
    }
    
    .header-banner::after {
        font-size: 0.9rem;
        top: 60%;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.4rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .header-banner::before {
        font-size: 1.6rem;
        top: 40%;
    }
    
    .header-banner::after {
        font-size: 0.8rem;
        top: 55%;
    }
    
    .sidebar {
        width: 240px;
    }
    
    .menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    #visitCount {
        font-size: 52px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .btn-cancel-small, .btn-confirm-small, .btn-close-small {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-width: 80px;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}


button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.active-touch {
    opacity: .85;
    transform: scale(.97);
}

.custom-alert {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-alert.active {
    display: flex;
}

.alert-card {
    background: #1f1f2e;
    color: white;
    width: 85%;
    max-width: 320px;
    padding: 20px;
    border-radius: 18px;
    text-align: center;
}

.alert-card button {
    margin-top: 15px;
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
    background: #667eea;
    color: white;
}

.page{display:none;position:fixed;inset:0;background:linear-gradient(135deg,#6c7cff,#a855f7);overflow:auto;z-index:999;padding:20px}
.page.active{display:block}
.page-header{display:flex;gap:15px;color:white;margin-bottom:20px}
.page-header button{background:rgba(255,255,255,.2);border:none;padding:8px 15px;border-radius:10px;color:white}
.info-card{background:white;border-radius:20px;padding:20px}
.creator-btn{margin:20px 0;background:#ff3b7c;color:white;border-radius:15px;padding:12px;display:flex;gap:10px;font-weight:bold}
.creator-btn img{width:40px;height:40px;border-radius:50%}
.info-image,.stat-image{width:100%;border-radius:15px;margin-top:15px}


.page.active{
  animation: pageFade .4s ease;
}

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


.info-card{
  background:white;
  border-radius:25px;
  padding:25px;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
  animation: cardPop .5s cubic-bezier(.34,1.56,.64,1);
}

@keyframes cardPop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}

.info-card h3{
  font-size:22px;
  margin-bottom:10px;
}

.info-card ul{
  margin:10px 0 15px;
  padding-left:18px;
}

.info-card li{
  margin:6px 0;
  font-weight:500;
}

.creator-btn{
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.creator-btn:active{
  transform:scale(.95);
  opacity:.85;
}

.info-image,
.stat-image{
  animation: imgFade .6s ease;
}

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

.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.4);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
pointer-events:none;
transition:.3s;
z-index:9999;
}

.modal.active{
opacity:1;
pointer-events:auto;
}

.modal-card{
background:white;
padding:25px;
border-radius:20px;
width:85%;
max-width:300px;
text-align:center;
animation:cardPop .3s ease;
}

.modal-btns{
display:flex;
gap:10px;
margin-top:15px;
}

.modal-btns button{
flex:1;
padding:10px;
border-radius:12px;
border:none;
font-weight:600;
}

.modal-btns button:last-child{
background:#ff3b7d;
color:white;
}