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

:root {
    /* Минималистичная темная тема */
    --primary-color: #dc2626;
    --secondary-color: #000000;
    --accent-color: #ef4444;
    --dark-bg: #0f0f0f;
    --darker-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --card-bg: #141414;
    --text-light: #e5e5e5;
    --text-dark: #a3a3a3;
    --text-muted: #737373;
    --gradient-1: #dc2626;
    --gradient-2: #dc2626;
    --gradient-3: #1a1a1a;
    --border-color: rgba(220, 38, 38, 0.2);
    --border-color-light: rgba(255, 255, 255, 0.06);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--darker-bg);
    position: relative;
}

/* Простой фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Снежинки убраны */
.snowflakes {
    display: none;
}

/* Header */
.header {
    background: var(--card-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color-light);
}

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

.logo h1 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border-color-light);
}

.cart-icon:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature-icon {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--accent-color);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color-light);
}

.calc-item {
    margin-bottom: 1.5rem;
}

.calc-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.calc-item select,
.calc-item input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
    background: var(--light-bg);
    color: var(--text-light);
}

.calc-item select:focus,
.calc-item input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
}

.calc-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
    color: white;
    border: 1px solid var(--border-color-light);
}

.result-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.result-amount {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.calc-buy-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.calc-buy-btn:hover:not(:disabled) {
    background: var(--accent-color);
}

.calc-buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--light-bg);
}

/* Servers Section */
.servers-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Search Container */
.search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.server-search {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
    margin-bottom: 1rem;
    background: var(--card-bg);
    color: var(--text-light);
}

.server-search:focus {
    outline: none;
    border-color: var(--primary-color);
}

.server-search::placeholder {
    color: var(--text-muted);
}

.server-count {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.server-count strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Server List */
.server-list-container {
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
}

.server-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.8rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.8rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color-light);
}

.server-list::-webkit-scrollbar {
    width: 10px;
}

.server-list::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.server-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.server-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.server-number {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.server-select-btn {
    background: var(--light-bg);
    border: 2px solid var(--border-color-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.server-select-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s;
    z-index: 0;
}

.server-select-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.server-select-btn:hover::before {
    left: 0;
    opacity: 0.1;
}

.server-select-btn > * {
    position: relative;
    z-index: 1;
}

.server-select-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.server-select-info {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.server-select-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Server Button (для JS) */
.server-button {
    background: var(--light-bg);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}



.server-button:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
}



.server-button .server-name {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.server-button .server-price {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Offers Container */
.offers-container {
    animation: fadeInUp 0.5s ease;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
    border: 1px solid var(--border-color-light);
    text-align: center;
}

.offer-card:hover {
    border-color: var(--primary-color);
}

.offer-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.offer-amount {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.offer-amount-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-price-per {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.offer-discount {
    background: #4CAF50;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.buy-offer-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.buy-offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

/* Offer Buy Button (альтернативное имя) */
.offer-buy-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.offer-buy-btn:hover {
    background: var(--accent-color);
}

/* Old/New Price в карточках */
.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.new-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
}

/* How To Section */
.howto-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid var(--border-color-light);
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    border-color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.step p {
    color: var(--text-dark);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: transparent;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid var(--border-color-light);
    backdrop-filter: blur(10px);
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.benefit p {
    color: var(--text-dark);
}

/* Contacts Section */
.contacts-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

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

.contact-main {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.3);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
}

.contact-icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-main h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-description {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

.telegram-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.6);
}

.tg-icon {
    font-size: 1.8rem;
}

.contact-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border-color-light);
    padding-top: 1rem;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    color: var(--text-dark);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--dark-bg);
    box-shadow: -5px 0 20px rgba(220, 20, 60, 0.3);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
    background: var(--light-bg);
    color: white;
}

.cart-header h3 {
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.cart-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.cart-body::-webkit-scrollbar {
    width: 8px;
}

.cart-body::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.cart-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.empty-cart {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
}

.cart-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color-light);
    margin-bottom: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-light);
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-item-details {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color-light);
    background: var(--light-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.checkout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

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

.cart-overlay.active {
    display: block;
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color-light);
}

.notification-info {
    border-left-color: #2196F3;
}

.notification-success {
    border-left-color: #4CAF50;
}

.notification-warning {
    border-left-color: #FF9800;
}

.notification-error {
    border-left-color: #F44336;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

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

.notification-success .notification-icon {
    color: #4CAF50;
}

.notification-warning .notification-icon {
    color: #FF9800;
}

.notification-error .notification-icon {
    color: #F44336;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    color: var(--text-light);
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.notification-close:hover {
    color: var(--text-light);
}

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

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

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

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .calculator-section,
    .servers-section,
    .howto-section,
    .benefits-section,
    .contacts-section {
        padding: 40px 0;
    }
    
    .calculator {
        padding: 1.5rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .server-list {
        grid-template-columns: 1fr;
        max-height: 400px;
        padding: 0.5rem;
    }
    
    .server-select-btn {
        padding: 0.8rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-main {
        padding: 2rem 1.5rem;
    }
    
    .telegram-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .notification-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .calculator-section,
    .servers-section,
    .howto-section,
    .benefits-section,
    .contacts-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .offer-amount {
        font-size: 2rem;
    }
    
    .offer-price {
        font-size: 1.6rem;
    }
}

/* Quick Order Modal */
.quick-order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3);
}

.quick-order-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.quick-order-modal::-webkit-scrollbar {
    width: 8px;
}

.quick-order-modal::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.quick-order-modal::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.quick-order-content {
    position: relative;
}

.quick-order-content h2 {
    text-align: center;
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

.close-modal {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color-light);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-modal:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.quick-order-info {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color-light);
}

.quick-order-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.quick-order-info .info-row strong {
    color: var(--text-light);
}

.quick-order-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--light-bg);
    border: 2px solid var(--border-color-light);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
}

.form-group input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.4s;
}

.form-group input.input-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group input.input-success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group input.input-success:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group small {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.promo-input-group input {
    flex: 1;
}

.apply-promo-btn {
    padding: 1rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.apply-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.quick-order-price {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color-light);
}

.quick-order-price .price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.quick-order-price .price-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color-light);
}

.quick-order-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.quick-order-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.quick-order-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2999;
    display: none;
    backdrop-filter: blur(5px);
}

.quick-order-overlay.active {
    display: block;
}

/* Responsive для модального окна */
@media (max-width: 768px) {
    .quick-order-modal {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .quick-order-content h2 {
        font-size: 1.5rem;
    }
    
    .promo-input-group {
        flex-direction: column;
    }
    
    .apply-promo-btn {
        width: 100%;
    }
}
