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

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0d1b2a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow-x: hidden;
}
.dialog-btn.primary, .dialog-btn.secondary{
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.12), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(25, 118, 210, 0.08), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(13, 71, 161, 0.08), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.container {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.share-btn {
    background: rgba(33, 150, 243, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.3);
    cursor: pointer;
    padding: 10px;
    color: #2196F3;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.share-btn:focus {
    outline: none;
}

.share-btn:focus-visible {
    outline: none;
}

.share-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(33, 150, 243, 0.3);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    border-color: rgba(33, 150, 243, 0.5);
}

/* Main Card */
.main-card {
    background: rgba(26, 35, 50, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(33, 150, 243, 0.2) inset;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.logo {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
}

/* User Info */
.user-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
}

.info-item .icon {
    color: #2196F3;
}

.info-item strong {
    color: #ffffff;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(25, 118, 210, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #2196F3;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.stat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-icon::after {
    opacity: 1;
}


.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* Power Button */
.power-button-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.power-button {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 
        0 0 0 15px rgba(33, 150, 243, 0.15),
        0 0 0 30px rgba(25, 118, 210, 0.08),
        0 10px 40px rgba(33, 150, 243, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.power-button:focus {
    outline: none;
    box-shadow: 
        0 0 0 15px rgba(33, 150, 243, 0.15),
        0 0 0 30px rgba(25, 118, 210, 0.08),
        0 10px 40px rgba(33, 150, 243, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.power-button:focus-visible {
    outline: none;
}

.power-button::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 3px solid rgba(33, 150, 243, 0.3);
    animation: pulse 2s infinite;
}

.power-button::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border-radius: 50%;
    border: 2px solid rgba(25, 118, 210, 0.2);
    animation: pulse 2s 0.5s infinite;
}

.power-button:hover {
    transform: scale(1.08);
    box-shadow: 
        0 0 0 20px rgba(33, 150, 243, 0.2),
        0 0 0 40px rgba(25, 118, 210, 0.1),
        0 15px 50px rgba(33, 150, 243, 0.5),
        inset 0 2px 15px rgba(255, 255, 255, 0.3);
}

.power-button:active {
    transform: scale(0.95);
}

.power-button.active {
    /* Keep same blue color, don't change to green */
    opacity: 0.8;
}

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


/* Support Card */
.support-card {
    background: rgba(26, 35, 50, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(33, 150, 243, 0.2) inset;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.support-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.support-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-align: center;
}

.support-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
}

.view-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.view-more-btn:focus {
    outline: none;
}

.view-more-btn:focus-visible {
    outline: none;
}

.view-more-btn::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.5s ease;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn svg {
    transition: transform 0.3s ease;
}

.view-more-btn:hover svg {
    transform: translateX(5px);
}

/* Version */
.version {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 20px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 5px;
    }

    .main-card {
        padding: 25px 15px;
    }

    .logo {
        font-size: 28px;
    }

    .power-button {
        width: 120px;
        height: 120px;
    }

    .stats {
        gap: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .support-card {
        padding: 25px 15px;
    }

    header {
        padding: 0 5px;
        margin-bottom: 20px;
    }
}

