:root {
    --bg-main: #0b0e14;
    --bg-accent: #151921;
    --text-main: #e1e7f0;
    --text-muted: #8a94a6;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --success-color: #10b981;
    --danger-color: #ef4444;
    --glass-bg: rgba(21, 25, 33, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-radius: 24px;
    --transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --card-bg: #151921;
}

[data-theme="light"] {
    --bg-main: #f0f2f5;
    --bg-accent: #ffffff;
    --text-main: #000000;
    --text-muted: #333333;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

a, button, input, label, .cat-item, .ip-copy, .method-info {
    cursor: pointer;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}


.side-social, .side-categories {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.side-social { right: 20px; }
.side-categories { left: 20px; }

.side-social a {
    color: var(--text-muted);
    font-size: 18px;
    width: 44px;
    height: 44px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.side-social a:hover {
    color: var(--text-main);
    transform: scale(1.1);
}

.side-social a.vk:hover { background: #0077ff; border-color: #0077ff; box-shadow: 0 0 20px rgba(0, 119, 255, 0.4); }
.side-social a.tg:hover { background: #229ed9; border-color: #229ed9; box-shadow: 0 0 20px rgba(34, 158, 217, 0.4); }
.side-social a.ds:hover { background: #5865f2; border-color: #5865f2; box-shadow: 0 0 20px rgba(88, 101, 242, 0.4); }


.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.shop-container {
    padding-top: 60px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.online-count {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px var(--accent-glow));
}

.logo-text {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}



.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.primary-nav a i {
    font-size: 16px;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-nav a:hover {
    color: var(--text-main);
}

.primary-nav a:hover::after {
    transform: scaleX(1);
}

.primary-nav a.active {
    color: var(--accent-color);
}

.primary-nav a.active::after {
    transform: scaleX(1);
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.ip-copy {
    background: var(--bg-main);
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    user-select: none;
    transition: var(--transition);
}

.ip-copy:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}


.hero-section {
    padding: 60px 0;
}

.hero-card {
    background: linear-gradient(110deg, var(--bg-accent) 60%, #1a1f29);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.hero-info {
    max-width: 600px;
    z-index: 2;
}

.badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-info h2 {
    font-size: 48px;
    font-weight: 900;
    margin: 20px 0;
    line-height: 1.1;
    color: white;
}

.hero-info p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-glow {
    background: var(--accent-color);
    color: white;
    padding: 16px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px var(--accent-glow);
    transition: var(--transition);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-outline {
    border: 2px solid var(--glass-border);
    color: var(--text-main);
    padding: 14px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--glass-border);
}


.side-categories .cat-item {
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition);
    color: var(--text-muted);
    position: relative;
    padding: 0;
}

.side-categories .cat-item i {
    font-size: 20px;
}

.side-categories .cat-item span {
    position: absolute;
    left: 65px;
    background: var(--bg-accent);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.side-categories .cat-item:hover span {
    opacity: 1;
    transform: translateX(0);
}

.side-categories .cat-item:hover, .side-categories .cat-item.active {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: var(--accent-color);
}


.item-card {
    background: var(--bg-accent);
    border-radius: 25px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.item-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.item-preview {
    height: 180px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-card .icon-box {
    width: 100px;
    height: 100px;
    background: transparent;
    color: var(--accent-color);
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 5px 15px var(--accent-glow));
}

.item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}

.price-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.from-text {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: lowercase;
    font-weight: 700;
}

.current-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
}

.buy-now-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.buy-now-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.products-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1400px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { 
    .product-grid { grid-template-columns: repeat(2, 1fr); } 
    .modal-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .modal-sidebar {
        order: -1;
        max-height: 400px;
    }
}
@media (max-width: 600px) { 
    .product-grid { grid-template-columns: 1fr; } 
    .side-categories { display: none; } 
    .modal-wrapper {
        gap: 15px;
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    max-height: 90vh;
}

.modal-main {
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-main) 100%);
    border-radius: 35px;
    position: relative;
    color: var(--text-main);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-sidebar {
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-main) 100%);
    border-radius: 35px;
    position: relative;
    color: var(--text-main);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), transparent);
    z-index: 0;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 10px;
    font-size: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modal-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
    color: white;
}

.modal-header p { color: var(--text-muted); font-size: 15px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
}

.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 18px;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px 14px 50px;
    border-radius: 15px;
    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}


.input-wrapper input[type="number"]::-webkit-outer-spin-button,
.input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-wrapper input[type="number"] {
    -moz-appearance: textfield;
}

.section-label-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.section-label-wrapper i {
    font-size: 24px;
    color: var(--accent-color);
}

.section-label-wrapper span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.method-card input { display: none; }
.method-info {
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-info i {
    display: block; 
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.method-info span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
}

.method-card:hover .method-info {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.method-card input:checked + .method-info {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    animation: pulseMethod 0.8s infinite;
}

.method-card input:checked + .method-info i { color: var(--accent-color); transform: scale(1.1); }
.method-card input:checked + .method-info span { color: var(--text-main); }

@keyframes pulseMethod {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.order-summary {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.summary-item.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 900;
    color: white;
}

.pay-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #2563eb);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pay-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
    filter: brightness(1.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 30px;
}

.product-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.product-info-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.product-info-text h3 {
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.product-details {
    flex: 1;
    overflow-y: auto;
    color: var(--text-muted);
    max-height: 600px;
}

.product-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-details h4 i {
    font-size: 16px;
}

.product-details p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
}

.product-details ul {
    padding-left: 20px;
    margin: 0 0 16px;
}

.product-details li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.agreement-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.agreement-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.agreement-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.back-btn {
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: var(--text-main);
    transform: translateY(-2px);
}


.site-footer {
    padding: 80px 0 40px;
    margin-top: 100px;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.05));
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 25px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a {
    width: 40px; height: 40px;
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover { color: white; background: var(--accent-color); border-color: var(--accent-color); }

.footer-links-col h4 { margin-bottom: 20px; font-size: 16px; }
.footer-links-col ul { list-style: none; padding: 0; margin: 0; }
.footer-links-col li { margin-bottom: 12px; }
.footer-links-col a { text-decoration: none; color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.footer-links-col a:hover { color: var(--accent-color); padding-left: 5px; }

.footer-status-col h4 { margin-bottom: 20px; font-size: 16px; }
.footer-status-card {
    background: var(--bg-accent);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px; height: 10px;
    background: var(--success-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-color);
}

.footer-divider { height: 1px; background: var(--glass-border); margin-bottom: 30px; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 13px; line-height: 1.6; }

.anim-hidden { opacity: 0; transform: translateY(20px); }
.animate-in {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow); }
}

.floating-cube {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), #7c3aed);
    border-radius: 30px;
    animation: float 2s ease-in-out infinite;
    filter: blur(0.5px);
}

.btn-glow {
    animation: glow 1.5s ease-in-out infinite;
}


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

.duration-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(59, 130, 246, 0.1);
    padding: 20px 24px;
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.step-badge i {
    font-size: 28px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-label {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
}

.step-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}


.duration-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.duration-card input { display: none; }
.duration-info {
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 20px 24px;
    background: rgba(59, 130, 246, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.duration-radio {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.duration-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.duration-name {
    font-size: 16px;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
}

.duration-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-main);
}

.duration-cashback {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 16px;
    border-radius: 16px;
}

.duration-cashback i {
    color: #10b981;
    font-size: 18px;
}

.cashback-value {
    font-size: 13px;
    font-weight: 900;
    color: #10b981;
}

.duration-card:hover .duration-info {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.duration-card:hover .radio-circle {
    border-color: var(--accent-color);
}

.duration-card input:checked + .duration-info {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(124, 58, 237, 0.1));
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    transform: translateX(5px);
}

.duration-card input:checked + .duration-info .radio-circle {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.duration-card input:checked + .duration-info .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pay-btn i {
    font-size: 18px;
}


.modal-sidebar .product-info {
    padding: 30px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-info .custom-description {
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}

.product-info .custom-description h4 {
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-color);
    margin: 0 0 12px 0;
    text-transform: none;
    letter-spacing: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info .custom-description p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.product-info .custom-description ul {
    list-style: none;
    padding: 0 0 0 24px;
    margin: 15px 0 0 0;
}

.product-info .custom-description li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    line-height: 1.5;
}

.product-info .custom-description li::before {
    content: '•';
    position: absolute;
    left: -24px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

.modal-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.product-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.product-info-img {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.product-info-text h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
    line-height: 1.2;
}

.product-details h4 {
    font-size: 15px;
    font-weight: 900;
    color: var(--accent-color);
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-details h4 i {
    font-size: 16px;
}

.product-details ul {
    list-style: none;
    padding: 0 0 0 24px;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.product-details li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    line-height: 1.5;
}

.product-details li::before {
    content: '•';
    position: absolute;
    left: -24px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

.product-details ul::-webkit-scrollbar {
    width: 6px;
}

.product-details ul::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 3px;
}

.product-details ul::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}


::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--bg-accent); border: 3px solid var(--bg-main); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }


#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: slideInToast 0.3s ease-out;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.toast.fade-out {
    animation: slideOutToast 0.3s ease-in forwards;
}

@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToast {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.toast i {
    font-size: 20px;
}

.toast-toast-success i {
    color: var(--success-color);
}

.toast-toast-error i {
    color: var(--danger-color);
}

.toast span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent-color);
    animation: progressBar 3s linear forwards;
}

.toast-toast-success .toast-progress {
    background: var(--success-color);
}

.toast-toast-error .toast-progress {
    background: var(--danger-color);
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}


.footer-info-col .logo-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-info-col .footer-desc {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-info-col .footer-social {
    margin-top: 30px;
}
