/* ========================================
   سرور مجازی گیم - استایل کامل
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gamevps-page {
    direction: rtl;
}

/* ========== کانتینرها ========== */
.gamevps-hero__container,
.gamevps-plans__container,
.gamevps-os__container,
.gamevps-features__container,
.gamevps-seo__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== هیرو ========== */
.gamevps-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    padding: 80px 0;
    position: relative;
}

.gamevps-hero__content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.gamevps-hero__text {
    flex: 1;
}

.gamevps-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: white;
    margin-bottom: 20px;
}

.gamevps-hero__text h1 {
    font-size: 44px;
    color: white;
    margin-bottom: 20px;
}

.gamevps-hero__text h1 span {
    color: #fbbf24;
}

.gamevps-hero__text p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 25px;
}

.gamevps-hero__features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gamevps-hero__feature {
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: white;
}

.gamevps-hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gamevps-btn {
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.gamevps-btn--primary {
    background: white;
    color: #2563eb;
}

.gamevps-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gamevps-btn--outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.gamevps-btn--outline:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-3px);
}

.gamevps-hero__image {
    flex: 1;
    text-align: center;
}

.gamevps-hero__image img {
    max-width: 100%;
    animation: float 3s ease infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========== پلن‌ها ========== */
.gamevps-plans {
    padding: 80px 0;
    background: #f8fafc;
}

.gamevps-plans__header {
    text-align: center;
    margin-bottom: 45px;
}

.gamevps-plans__header h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
}

.gamevps-plans__header p {
    color: #64748b;
}

/* لیست پلن‌ها */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* هر پلن */
.plan-item {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.plan-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* پلن پرفروش */
.plan-item.popular {
    background: #fefce8;
    border-right: none;
}

/* نوار عمودی پرفروش */
.popular-strip {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0 20px 20px 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.popular-strip span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ردیف اصلی */
.plan-row {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 15px;
}

/* هر سلول */
.plan-cell {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #334155;
}

/* نام پلن */
.plan-name strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
}

/* مقادیر */
.plan-value {
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* قیمت */
.plan-price-cell {
    direction: ltr;
}

.plan-price {
    font-size: 20px;
    font-weight: 800;
    color: #3b82f6;
    display: inline-block;
}

.plan-price-unit {
    font-size: 11px;
    color: #64748b;
    margin-right: 3px;
}

.plan-period {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
}

/* دکمه سفارش */
.btn-order {
    background: #3b82f6;
    color: white;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-order:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

/* دکمه جزئیات */
.btn-details {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 8px;
    vertical-align: middle;
}

.btn-details:hover {
    background: #e2e8f0;
    border-color: #3b82f6;
}

.btn-details svg {
    stroke: #475569;
    transition: all 0.3s ease;
}

.btn-details:hover svg {
    stroke: #3b82f6;
}

/* جزئیات بازشونده */
.plan-details {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 18px 24px;
}

.details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-item {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    color: #475569;
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* اسکلتون */
.skeleton-plan {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    display: flex;
    gap: 15px;
    animation: pulse 1.2s ease infinite;
}

.skeleton-line {
    flex: 1;
    height: 48px;
    background: #e2e8f0;
    border-radius: 12px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== سیستم عامل ========== */
.gamevps-os {
    padding: 70px 0;
    background: white;
}

.gamevps-os__header {
    text-align: center;
    margin-bottom: 45px;
}

.gamevps-os__header h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 8px;
}

.gamevps-os__header p {
    color: #64748b;
}

.gamevps-os__tabs {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gamevps-os__tabs input[type="radio"] {
    display: none;
}

.gamevps-os__labels {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.gamevps-os__labels label {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #475569;
}

.gamevps-os__labels label:hover {
    background: #e2e8f0;
    color: #3b82f6;
}

#os-win:checked ~ .gamevps-os__labels label[for="os-win"],
#os-ubuntu:checked ~ .gamevps-os__labels label[for="os-ubuntu"],
#os-centos:checked ~ .gamevps-os__labels label[for="os-centos"],
#os-debian:checked ~ .gamevps-os__labels label[for="os-debian"] {
    background: white;
    border-bottom-color: #3b82f6;
    color: #3b82f6;
}

.gamevps-os__content {
    display: none;
    padding: 35px;
    text-align: center;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

#os-win:checked ~ .gamevps-os__content[data-os="win"],
#os-ubuntu:checked ~ .gamevps-os__content[data-os="ubuntu"],
#os-centos:checked ~ .gamevps-os__content[data-os="centos"],
#os-debian:checked ~ .gamevps-os__content[data-os="debian"] {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== ویژگی‌ها ========== */
.gamevps-features {
    padding: 70px 0;
    background: #1e3a5f;
}

.gamevps-features__header {
    text-align: center;
    margin-bottom: 45px;
}

.gamevps-features__header h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 8px;
}

.gamevps-features__header p {
    color: rgba(255,255,255,0.8);
}

.gamevps-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.gamevps-feature {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gamevps-feature:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* ========== سئو ========== */
.gamevps-seo {
    padding: 70px 0;
    background: #f8fafc;
}

.gamevps-seo__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gamevps-seo__block {
    background: white;
    padding: 28px;
    border-radius: 20px;
    border-right: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.gamevps-seo__block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gamevps-seo__block h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 12px;
}

.gamevps-seo__block p {
    color: #64748b;
    line-height: 1.7;
}

/* ========== ریسپانسیو موبایل ========== */
@media (max-width: 1000px) {
    .plan-row {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .plan-cell {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px dashed #e2e8f0;
    }
    
    .plan-cell:last-child {
        border-bottom: none;
    }
    
    .plan-cell::before {
        content: attr(data-label);
        font-weight: 700;
        color: #475569;
        font-size: 13px;
    }
    
    .plan-name::before {
        content: "نام پلن:";
    }
    
    .plan-value {
        background: none;
    }
    
    .plan-price {
        font-size: 18px;
    }
    
    .plan-buttons-cell {
        justify-content: center;
        gap: 10px;
    }
    
    /* پرفروش عمودی در موبایل */
    .popular-strip {
        width: 36px;
    }
    
    .popular-strip span {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .gamevps-hero__content {
        flex-direction: column;
        text-align: center;
    }
    
    .gamevps-hero__text h1 {
        font-size: 32px;
    }
    
    .gamevps-hero__features {
        justify-content: center;
    }
    
    .gamevps-hero__buttons {
        justify-content: center;
    }
    
    .gamevps-plans__header h2 {
        font-size: 26px;
    }
    
    .gamevps-os__labels label {
        font-size: 13px;
        padding: 12px;
    }
    
    .gamevps-os__content {
        padding: 25px;
        font-size: 14px;
    }
    
    .gamevps-features__header h2 {
        font-size: 26px;
    }
    
    .gamevps-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gamevps-seo__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gamevps-hero__container,
    .gamevps-plans__container,
    .gamevps-os__container,
    .gamevps-features__container {
        padding: 0 16px;
    }
    
    .gamevps-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .btn-order {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .btn-details {
        width: 34px;
        height: 34px;
    }
    
    .gamevps-features__grid {
        grid-template-columns: 1fr;
    }
    
    .popular-strip {
        width: 30px;
    }
    
    .popular-strip span {
        font-size: 10px;
        letter-spacing: 1px;
    }
}