* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* وضعیت VPN */
.status-bar {
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 15px;
    margin-bottom: 20px;
}

.status-offline {
    color: red;
    font-weight: bold;
}

.status-online {
    color: green;
    font-weight: bold;
}

/* دکمه اصلی */
.vpn-btn {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.vpn-btn:active {
    transform: scale(0.95);
}

/* پلن‌ها */
.plans {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.plan {
    flex: 1;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.plan.selected {
    border-color: #667eea;
    background: #f0e6ff;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

/* دکمه خرید */
.buy-btn {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.buy-btn:active {
    transform: scale(0.98);
}

/* سرورها */
.server-list {
    margin-top: 20px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* وضعیت اتصال */
.loading {
    text-align: center;
    padding: 20px;
    color: #667eea;
}