/*
Theme Name: Travel Promocodes
Theme URI: https://example.com/travel-promocodes
Author: Your Name
Author URI: https://example.com
Description: Современная тема WordPress для сайта промокодов туристических сервисов. Адаптивный дизайн, кастомные типы записей для промокодов, интеграция с популярными сервисами.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travel-promocodes
Tags: travel, promocodes, coupons, responsive, custom-colors, custom-menu
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #E8F4FC 0%, #FFF9F0 100%);
    min-height: 100vh;
    color: #2D3748;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: #4ECDC4;
}

img {
    max-width: 100%;
    height: auto;
}

/* === HEADER === */
.header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.header-top {
    max-width: 1440px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-character {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 3px solid #fff;
}

.logo-character img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: top center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo-title span {
    color: #FFE66D;
}

.logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

/* === SEARCH === */
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 8px 15px;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
}

.search-box button {
    background: #FF6B6B;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    color: #fff;
    font-size: 16px;
}

.search-box button:hover {
    transform: scale(1.1);
}

/* === NAVIGATION === */
.nav {
    background: rgba(255,255,255,0.95);
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    padding: 15px 20px;
    font-weight: 600;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    background: #4ECDC4;
    color: #fff;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    display: none;
    z-index: 200;
    list-style: none;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2D3748;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-menu .sub-menu a:hover {
    background: #F0FFFE;
    color: #4ECDC4;
}

.nav-menu .sub-menu li:first-child a {
    border-radius: 0 12px 0 0;
}

.nav-menu .sub-menu li:last-child a {
    border-radius: 0 0 12px 12px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* === HERO SECTION === */
.hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #2D3748;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title span {
    color: #4ECDC4;
}

.hero-subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #FF6B6B;
}

.stat-label {
    font-size: 14px;
    color: #718096;
}

/* === HERO CHARACTER === */
.hero-character-wrapper {
    position: relative;
    width: 380px;
    height: 420px;
}

.hero-character-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 50%, #3D9A91 100%);
    border-radius: 30px;
    overflow: hidden;
}

.hero-character-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23FFE66D' fill-opacity='0.3' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.hero-character-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23FFE66D' fill-opacity='0.5' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.hero-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.hero-decor-1 {
    width: 80px;
    height: 80px;
    background: #fff;
    top: 20px;
    right: 30px;
}

.hero-decor-2 {
    width: 40px;
    height: 40px;
    background: #FFE66D;
    top: 60px;
    left: 20px;
}

.hero-decor-3 {
    width: 25px;
    height: 25px;
    background: #fff;
    top: 120px;
    right: 60px;
}

.hero-sun {
    position: absolute;
    top: 15px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 230, 109, 0.6);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.hero-cloud {
    position: absolute;
    font-size: 40px;
    opacity: 0.8;
    z-index: 1;
}

.hero-cloud-1 {
    top: 25px;
    right: 25px;
}

.hero-cloud-2 {
    top: 80px;
    left: 80px;
    font-size: 25px;
    opacity: 0.5;
}

.hero-character {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.hero-character-img {
    width: 90%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.2));
}

.hero-bubble {
    position: absolute;
    top: 15px;
    right: -15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

.hero-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FF8E8E;
}

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

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -10px;
    background: #FFE66D;
    color: #2D3748;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(255, 230, 109, 0.4);
    z-index: 10;
}

/* === MAIN CONTENT === */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

/* === SECTION HEADER === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ECDC4, #44A8B3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.section-badge {
    background: #FF6B6B;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* === PROMO CARDS === */
.promo-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(78, 205, 196, 0.2);
    border-color: #4ECDC4;
}

.promo-card.featured {
    border-color: #FFE66D;
    background: linear-gradient(135deg, #FFFEF5 0%, #FFF 100%);
}

.promo-card.featured::before {
    content: '⭐ ТОП';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #FFE66D;
    color: #2D3748;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.promo-discount {
    min-width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
}

.promo-discount .value {
    font-size: 32px;
    line-height: 1;
}

.promo-discount .label {
    font-size: 12px;
    opacity: 0.9;
}

.promo-discount.percent {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
}

.promo-content {
    flex: 1;
}

.promo-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F7FAFC;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #4ECDC4;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 8px;
}

.promo-title a {
    color: inherit;
}

.promo-title a:hover {
    color: #4ECDC4;
}

.promo-description {
    font-size: 14px;
    color: #718096;
    margin-bottom: 10px;
}

.promo-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #A0AEC0;
    flex-wrap: wrap;
}

.promo-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.promo-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-show-code {
    background: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 230, 109, 0.4);
    font-family: inherit;
}

.btn-show-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 230, 109, 0.5);
}

.promo-used {
    font-size: 12px;
    color: #A0AEC0;
}

/* === AGGREGATORS === */
.aggregators-section {
    margin-top: 50px;
}

.aggregators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.aggregator-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}

.aggregator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.aggregator-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #F7FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
}

.aggregator-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aggregator-name {
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 5px;
}

.aggregator-count {
    font-size: 14px;
    color: #4ECDC4;
    font-weight: 600;
}

/* === HOW TO === */
.howto-section {
    margin-top: 50px;
    background: linear-gradient(135deg, #fff 0%, #F0FFFE 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.howto-step {
    text-align: center;
    position: relative;
}

.howto-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 30px;
    font-size: 24px;
    color: #4ECDC4;
}

.howto-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 15px;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: #718096;
}

/* === REVIEWS === */
.reviews-section {
    margin-top: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.review-author {
    font-weight: 700;
    color: #2D3748;
}

.review-date {
    font-size: 12px;
    color: #A0AEC0;
}

.review-stars {
    color: #FFE66D;
    font-size: 18px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}

.review-saving {
    margin-top: 15px;
    padding: 10px 15px;
    background: #F0FFFE;
    border-radius: 10px;
    font-size: 14px;
    color: #4ECDC4;
    font-weight: 600;
}

/* === FOOTER === */
.footer {
    background: #2D3748;
    color: #fff;
    margin-top: 60px;
    padding: 50px 40px 30px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-mascot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid #4ECDC4;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
}

.footer-logo span {
    color: #4ECDC4;
}

.footer-desc {
    font-size: 14px;
    color: #A0AEC0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background: #4ECDC4;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #A0AEC0;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #4ECDC4;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #A0AEC0;
    flex-wrap: wrap;
    gap: 15px;
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #A0AEC0;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: #2D3748;
}

.modal-mascot {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid #4ECDC4;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #2D3748;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 14px;
    color: #718096;
    margin-bottom: 25px;
}

.promo-code-display {
    background: linear-gradient(135deg, #F0FFFE 0%, #E8F4FC 100%);
    border: 3px dashed #4ECDC4;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.promo-code-value {
    font-size: 32px;
    font-weight: 800;
    color: #2D3748;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.btn-copy {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-copy:hover {
    transform: scale(1.05);
}

.btn-go-site {
    background: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-go-site:hover {
    transform: scale(1.05);
    color: #2D3748;
}

.modal-note {
    margin-top: 20px;
    font-size: 12px;
    color: #A0AEC0;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #718096;
}

.breadcrumbs a {
    color: #4ECDC4;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #A0AEC0;
}

/* === PAGINATION === */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: #fff;
    border-radius: 10px;
    font-weight: 600;
    color: #2D3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.pagination a:hover {
    background: #4ECDC4;
    color: #fff;
}

.pagination .current {
    background: #4ECDC4;
    color: #fff;
}

/* === SINGLE PROMO PAGE === */
.single-promo-header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
}

.single-promo-discount {
    min-width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.single-promo-discount .value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.single-promo-discount .label {
    font-size: 14px;
    opacity: 0.9;
}

.single-promo-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.single-promo-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.single-promo-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.single-promo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.promo-details {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.promo-details h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 15px;
}

.promo-details p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 20px;
}

.promo-conditions {
    background: #F7FAFC;
    border-radius: 12px;
    padding: 20px;
}

.promo-conditions h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 12px;
}

.promo-conditions ul {
    list-style: none;
}

.promo-conditions li {
    padding: 8px 0;
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.promo-conditions li::before {
    content: '✓';
    color: #4ECDC4;
    font-weight: 700;
}

.promo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.code-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.code-card h3 {
    font-size: 16px;
    color: #718096;
    margin-bottom: 15px;
}

.code-display {
    background: linear-gradient(135deg, #F0FFFE 0%, #E8F4FC 100%);
    border: 3px dashed #4ECDC4;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.code-value {
    font-size: 28px;
    font-weight: 800;
    color: #2D3748;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.similar-promos {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.similar-promos h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 20px;
}

.similar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.similar-item:last-child {
    border-bottom: none;
}

.similar-discount {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.similar-info {
    flex: 1;
}

.similar-title {
    font-size: 14px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 3px;
}

.similar-title:hover {
    color: #4ECDC4;
}

.similar-service {
    font-size: 12px;
    color: #A0AEC0;
}

/* === ARCHIVE PAGE === */
.archive-header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 30px;
    color: #fff;
}

.archive-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.archive-header p {
    font-size: 16px;
    opacity: 0.9;
}

.archive-filters {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.filter-label {
    font-weight: 600;
    color: #2D3748;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #F7FAFC;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4ECDC4;
    color: #fff;
}

/* === SERVICE PAGE === */
.service-header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A8B3 100%);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-logo {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}

.service-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-stats {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.service-stat {
    text-align: center;
}

.service-stat-value {
    font-size: 24px;
    font-weight: 800;
}

.service-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .howto-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .howto-step:nth-child(2)::after {
        display: none;
    }
    
    .single-promo-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-character-wrapper {
        width: 100%;
        max-width: 350px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-promo-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .search-box {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-inner {
        padding: 0 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .nav-menu > li > a {
        padding: 12px 15px;
        border-radius: 8px;
    }
    
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .nav-menu li.active > .sub-menu {
        display: block;
    }
    
    .hero {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .main-content {
        padding: 0 20px 40px;
    }
    
    .promo-card {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-action {
        width: 100%;
    }
    
    .btn-show-code {
        width: 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .aggregators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .howto-steps {
        grid-template-columns: 1fr;
    }
    
    .howto-step::after {
        display: none;
    }
    
    .footer {
        padding: 40px 20px 25px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .archive-filters {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-character-wrapper {
        height: 350px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .promo-discount {
        min-width: 80px;
        height: 80px;
    }
    
    .promo-discount .value {
        font-size: 24px;
    }
    
    .aggregators-grid {
        grid-template-columns: 1fr;
    }
    
    .modal {
        padding: 30px 20px;
    }
    
    .promo-code-value {
        font-size: 24px;
        letter-spacing: 2px;
    }
}
/* === МОБИЛЬНАЯ ОПТИМИЗАЦИЯ ЗАГОЛОВКА СЕРВИСА === */
@media (max-width: 768px) {
    .service-header {
        padding: 25px 20px;
        border-radius: 16px;
        margin-bottom: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .service-logo {
        width: 70px;
        height: 70px;
        border-radius: 14px;
        font-size: 28px;
    }
    
    .service-info h1 {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .service-info p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .service-stats {
        gap: 20px;
        margin-top: 10px;
        justify-content: center;
    }
    
    .service-stat-value {
        font-size: 18px;
    }
    
    .service-stat-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 20px 15px;
        border-radius: 12px;
        margin-bottom: 15px;
        gap: 12px;
    }
    
    .service-logo {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        font-size: 24px;
    }
    
    .service-info h1 {
        font-size: 20px;
        line-height: 1.15;
    }
    
    .service-info p {
        font-size: 13px;
    }
    
    .service-stats {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .service-stat-value {
        font-size: 16px;
    }
    
    .service-stat-label {
        font-size: 10px;
    }
}

