/* Promo Codes Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.promo-card {
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Цветовые схемы для промокодов */
.promo-card-red {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.promo-card-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.promo-card-gold {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

.promo-card-purple {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333 !important;
}

.promo-card-orange {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #333 !important;
}

.promo-card-green {
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
    color: #333 !important;
}

/* Специальные промокоды */
.special-promo {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffd700;
}

.special-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

.promo-card::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;
}

.promo-card:hover::before {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.special-promo:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.promo-code {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-card-purple .promo-code,
.promo-card-orange .promo-code,
.promo-card-green .promo-code {
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.promo-description {
    color: white;
    margin-bottom: 10px;
}

.promo-card-purple .promo-description,
.promo-card-orange .promo-description,
.promo-card-green .promo-description {
    color: #555;
}

.promo-discount {
    font-size: 2em;
    font-weight: bold;
    color: white;
    margin: 10px 0;
}

.promo-card-purple .promo-discount,
.promo-card-orange .promo-discount,
.promo-card-green .promo-discount {
    color: #333;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.promo-card-purple .copy-btn,
.promo-card-orange .copy-btn,
.promo-card-green .copy-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: #333;
    color: #333;
}

.copy-btn:hover {
    background: white;
    color: #333;
}

.promo-card-purple .copy-btn:hover,
.promo-card-orange .copy-btn:hover,
.promo-card-green .copy-btn:hover {
    background: #333;
    color: white;
}

/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ПРИНУДИТЕЛЬНО ЧЕРНЫЙ ФОН - ПРИОРИТЕТ МАКСИМАЛЬНЫЙ */
html,
html *,
body,
body * {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* Исключения для контентных блоков */
section,
.promo-card,
.faq-item,
header {
    background: unset !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0; /* Светлый текст для черного фона */
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-switcher {
    text-align: right;
}

.lang-switcher {
    display: inline-flex;
    gap: 10px;
}

.lang-link {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.lang-link:hover,
.lang-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
main {
    padding: 40px 0;
}

h1 {
    text-align: center;
    color: white;
    font-size: 3em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

section {
    background: rgba(255, 255, 255, 0.05);
    margin: 30px 0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

section h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

section p {
    color: #e0e0e0;
    line-height: 1.7;
}

section h3 {
    color: #f3b705;
    margin-top: 25px;
    margin-bottom: 15px;
}

section h4 {
    color: #f3b705;
    margin-bottom: 15px;
}

section li {
    color: #e0e0e0;
}

/* FAQ */
.faq-item {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 4px solid #f3b705;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    color: #d0d0d0;
}

/* How to use */
ol {
    padding-left: 20px;
}

ol li {
    margin: 10px 0;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.05);
    color: #d0d0d0;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-switcher {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section {
        margin: 20px 0;
        padding: 20px;
    }
}

/* Success message */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.copy-success.show {
    transform: translateX(0);
}