/*
Theme Name: Megahalf
Theme URI: https://megahalf.com
Author: Megahalf Team
Author URI: https://megahalf.com
Description: A cyberpunk-styled theme for discount and deals website featuring 50% off sales, half price promotions, and sitewide discounts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: megahalf
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready

Megahalf WordPress Theme, Copyright 2026 Megahalf
Megahalf is distributed under the terms of the GNU GPL
*/

/* 
    MEGAHALF - cyberpunk deals theme
    author: frontend dev  
    last update: jan 2026
*/

:root {
    --void: #0a0a0f;
    --void-light: #14141f;
    --neon: #d4ff00;
    --magenta: #ff0066;
    --cyan: #00f5ff;
    --white: #e8e8e8;
    --gray: #666;
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Syne', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { 
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon) var(--void);
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--neon); }

body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    cursor: crosshair;
}

body.modal-open {
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* glitch effect */
.glitch {
    position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--magenta);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--cyan);
    animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); transform: skew(0.5deg); }
    20% { clip: rect(70px, 9999px, 71px, 0); transform: skew(0.4deg); }
    40% { clip: rect(29px, 9999px, 24px, 0); transform: skew(0.6deg); }
    60% { clip: rect(45px, 9999px, 56px, 0); transform: skew(0.2deg); }
    80% { clip: rect(62px, 9999px, 78px, 0); transform: skew(0.1deg); }
    100% { clip: rect(11px, 9999px, 98px, 0); transform: skew(0.3deg); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); transform: skew(0.3deg); }
    25% { clip: rect(22px, 9999px, 45px, 0); transform: skew(0.6deg); }
    50% { clip: rect(78px, 9999px, 32px, 0); transform: skew(0.2deg); }
    75% { clip: rect(13px, 9999px, 87px, 0); transform: skew(0.5deg); }
    100% { clip: rect(56px, 9999px, 19px, 0); transform: skew(0.4deg); }
}
@keyframes glitch-skew {
    0%, 20% { transform: skew(0deg); }
    21% { transform: skew(2deg); }
    22% { transform: skew(-1deg); }
    23%, 100% { transform: skew(0deg); }
}

/* header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--void) 0%, transparent 100%);
    transition: background 0.3s;
}
.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 255, 0, 0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -1px;
}
.logo span:first-child { color: var(--white); }
.logo span:last-child { color: var(--neon); }
.logo-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    background: var(--magenta);
    color: var(--white);
    padding: 4px 8px;
    transform: rotate(3deg);
    margin-left: 4px;
}
.logo-img {
    height: 40px;
    width: auto;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--neon); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--neon);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.header-cta {
    background: var(--neon);
    color: var(--void);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}
.header-cta:hover {
    background: var(--white);
    transform: scale(1.05);
}
.header-phone {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-phone::before { content: '📞'; }
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 10px;
}
.menu-toggle span {
    width: 25px; height: 2px;
    background: var(--neon);
}

/* hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}
.hero-shape--1 {
    top: 15%; right: 10%;
    width: 300px; height: 300px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.hero-shape--2 {
    bottom: 20%; left: 5%;
    width: 150px; height: 150px;
    background: linear-gradient(45deg, var(--magenta), transparent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: spin-slow 20s linear infinite;
}
.hero-shape--3 {
    top: 40%; right: 25%;
    width: 80px; height: 80px;
    border: 2px solid var(--neon);
    animation: float 6s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon);
    border: 1px solid var(--neon);
    padding: 8px 16px;
    margin-bottom: 30px;
    animation: blink-border 2s infinite;
}
@keyframes blink-border {
    0%, 100% { border-color: var(--neon); }
    50% { border-color: var(--cyan); }
}
.hero-tag::before {
    content: '●';
    animation: pulse-dot 1s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 120px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.hero-title-line { display: block; }
.hero-title-line:nth-child(1) {
    color: var(--white);
    transform: translateX(-5px);
}
.hero-title-line:nth-child(2) {
    color: var(--neon);
    -webkit-text-stroke: 2px var(--neon);
    -webkit-text-fill-color: transparent;
}
.hero-title-line:nth-child(3) {
    color: var(--magenta);
    font-size: 0.6em;
    margin-top: 10px;
}
.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-desc strong { color: var(--white); }
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn--primary {
    background: var(--neon);
    color: var(--void);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn--primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 255, 0, 0.3);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--void);
}
.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { position: relative; }
.stat::before {
    content: '';
    position: absolute;
    left: -25px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--neon);
}
.stat:first-child::before { display: none; }
.stat-num {
    font-family: var(--font-mono);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--neon);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.hero-big-number {
    position: absolute;
    right: -5%; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(200px, 35vw, 500px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 255, 0, 0.15);
    line-height: 1;
    pointer-events: none;
}

/* ticker */
.ticker {
    background: var(--neon);
    padding: 15px 0;
    overflow: hidden;
    transform: rotate(-1deg) scale(1.02);
    margin: -20px 0 60px;
}
.ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--void);
    text-transform: uppercase;
}
.ticker-item span { color: var(--magenta); }
.ticker-sep {
    width: 12px; height: 12px;
    background: var(--void);
    transform: rotate(45deg);
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* countdown */
.countdown-wrap { padding: 80px 0; }
.countdown-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    background: var(--void-light);
    border: 1px solid rgba(255, 0, 102, 0.3);
    padding: 50px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}
.countdown-inner::before, .countdown-inner::after {
    content: '';
    position: absolute;
    width: 30px; height: 30px;
    border: 2px solid var(--magenta);
}
.countdown-inner::before { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.countdown-inner::after { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.countdown-text h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.countdown-text h2 span { color: var(--magenta); }
.countdown-text p { color: var(--gray); font-size: 16px; }
.countdown-timer { display: flex; gap: 15px; }
.countdown-unit { text-align: center; min-width: 80px; }
.countdown-num {
    font-family: var(--font-mono);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--neon);
    background: var(--void);
    padding: 15px 20px;
    border: 1px solid var(--neon);
    position: relative;
}
.countdown-num::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px);
    pointer-events: none;
}
.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-top: 10px;
}

/* deals section */
.deals-section { padding: 100px 0; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}
.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.section-tag::before { content: '//'; color: var(--magenta); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    text-transform: uppercase;
    line-height: 1;
}
.section-title span { color: var(--neon); }
.view-all {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}
.view-all:hover { gap: 20px; }

/* bento grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.deal-card {
    background: var(--void-light);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deal-card:hover {
    border-color: var(--neon);
    transform: translateY(-10px);
    z-index: 10;
}
.deal-card--large { grid-column: span 7; grid-row: span 2; }
.deal-card--medium { grid-column: span 5; }
.deal-card--small { grid-column: span 4; }
.deal-img {
    height: 200px;
    background: linear-gradient(135deg, var(--void) 0%, #1a1a2e 100%);
    position: relative;
}
.deal-card--large .deal-img { height: 100%; min-height: 400px; }
.deal-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--magenta), var(--cyan), var(--neon));
    opacity: 0;
    transition: opacity 0.4s;
}
.deal-card:hover .deal-img::before { opacity: 0.1; }
.deal-badge {
    position: absolute;
    top: 20px; left: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    background: var(--magenta);
    color: var(--white);
    padding: 8px 15px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.deal-timer {
    position: absolute;
    top: 20px; right: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(10, 10, 15, 0.9);
    color: var(--neon);
    padding: 6px 12px;
    border: 1px solid var(--neon);
    display: flex;
    align-items: center;
    gap: 6px;
}
.deal-timer::before { content: '⏱'; }
.deal-content { padding: 25px; }
.deal-card--large .deal-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, var(--void) 0%, transparent 100%);
    padding: 40px;
}
.deal-store {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.deal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}
.deal-card--large .deal-title { font-size: 24px; }
.deal-cta {
    width: 100%;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 14px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.deal-cta:hover {
    background: var(--neon);
    border-color: var(--neon);
    color: var(--void);
}

/* categories */
.categories-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--void) 0%, var(--void-light) 50%, var(--void) 100%);
}
.categories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-card {
    flex: 0 0 280px;
    background: var(--void);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
    opacity: 0;
    transition: opacity 0.4s;
}
.category-card:hover {
    border-color: var(--cyan);
    transform: translateY(-10px);
}
.category-card:hover::before { opacity: 0.05; }
.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.category-name {
    font-family: var(--font-display);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.category-deal {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon);
    position: relative;
    z-index: 1;
}
.category-count {
    font-size: 13px;
    color: var(--gray);
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

/* contact section */
.contact-section {
    padding: 80px 0;
    background: var(--void);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--void-light);
    border: 1px solid var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.contact-text { font-family: var(--font-mono); }
.contact-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.contact-value {
    font-size: 20px;
    color: var(--neon);
    font-weight: 700;
}
.contact-value a {
    color: var(--neon);
    transition: color 0.2s;
}
.contact-value a:hover { color: var(--cyan); }

/* promo section */
.promo-section {
    padding: 120px 0;
    position: relative;
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.promo-box {
    background: linear-gradient(135deg, var(--magenta) 0%, #990040 100%);
    padding: 80px;
    position: relative;
    clip-path: polygon(0 5%, 95% 0, 100% 95%, 5% 100%);
}
.promo-number {
    font-family: var(--font-display);
    font-size: clamp(100px, 15vw, 180px);
    line-height: 0.9;
    text-align: center;
}
.promo-number span {
    display: block;
    font-size: 0.4em;
    color: var(--neon);
}
.promo-float {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 10px 15px;
    background: var(--void);
    border: 1px solid var(--neon);
}
.promo-float--1 { top: -20px; right: 20%; animation: float 4s ease-in-out infinite; }
.promo-float--2 { bottom: 10%; left: -10%; animation: float 5s ease-in-out infinite 1s; }
.promo-float--3 { top: 40%; right: -15%; animation: float 6s ease-in-out infinite 0.5s; }
.promo-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 25px;
}
.promo-content h2 span { color: var(--neon); }
.promo-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 35px;
}
.promo-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}
.promo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.promo-feature::before {
    content: '✓';
    color: var(--neon);
    font-weight: bold;
}

/* social proof */
.social-section {
    padding: 100px 0;
    background: var(--void-light);
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.stat-box {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 3px;
    background: var(--neon);
}
.stat-box-num {
    font-family: var(--font-mono);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 10px;
}
.stat-box-label {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial {
    background: var(--void);
    padding: 35px;
    border-left: 3px solid var(--magenta);
    position: relative;
}
.testimonial-quote {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.testimonial-info strong { display: block; margin-bottom: 3px; }
.testimonial-info span { font-size: 13px; color: var(--gray); }
.testimonial-stars {
    position: absolute;
    top: 35px; right: 35px;
    color: var(--neon);
    font-size: 14px;
    letter-spacing: 3px;
}

/* newsletter */
.newsletter-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: -10%; right: -10%; bottom: 0;
    background: linear-gradient(135deg, var(--magenta) 0%, #660033 100%);
    transform: skewY(-3deg);
    z-index: 0;
}
.newsletter-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon);
    background: var(--void);
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 30px;
}
.newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.newsletter-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
}
.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    background: var(--void);
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--white);
    outline: none;
}
.newsletter-input::placeholder { color: var(--gray); }
.newsletter-input:focus { box-shadow: 0 0 0 2px var(--neon); }
.newsletter-btn {
    background: var(--neon);
    color: var(--void);
    padding: 18px 35px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.newsletter-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}
.newsletter-note {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 20px;
}

/* footer */
.site-footer {
    background: var(--void);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 20px 0 25px;
    max-width: 300px;
}
.footer-phone {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--neon);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-phone::before { content: '📞'; }
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--neon);
    background: var(--neon);
    color: var(--void);
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: 14px;
    color: var(--gray);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--neon); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy { font-size: 13px; color: var(--gray); }
.footer-legal { display: flex; gap: 30px; }
.footer-legal a {
    font-size: 13px;
    color: var(--gray);
    transition: color 0.2s;
    cursor: pointer;
}
.footer-legal a:hover { color: var(--white); }

/* cookie consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--void-light);
    border-top: 1px solid var(--neon);
    padding: 20px;
    z-index: 9999;
    display: none;
}
.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1;
    min-width: 300px;
}
.cookie-text h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cookie-text h4::before { content: '🍪'; }
.cookie-text p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}
.cookie-text a {
    color: var(--cyan);
    text-decoration: underline;
    cursor: pointer;
}
.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.cookie-btn--accept {
    background: var(--neon);
    color: var(--void);
}
.cookie-btn--accept:hover { background: var(--white); }
.cookie-btn--settings {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray);
}
.cookie-btn--settings:hover { border-color: var(--white); }

/* modal styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal-overlay.show {
    display: flex;
    opacity: 1;
}
.modal {
    background: var(--void-light);
    border: 1px solid var(--neon);
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s;
}
.modal-overlay.show .modal {
    transform: scale(1);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-title {
    font-family: var(--font-display);
    font-size: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}
.modal-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--neon);
}
.modal-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--white);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.modal-close:hover {
    border-color: var(--magenta);
    color: var(--magenta);
}
.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}
.modal-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--neon);
    margin: 25px 0 15px;
    text-transform: uppercase;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}
.modal-body ul {
    list-style: none;
    margin-bottom: 15px;
}
.modal-body ul li {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}
.modal-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
}
.modal-body a {
    color: var(--cyan);
}
.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: flex-end;
}
.modal-footer-info {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray);
}

/* responsive */
@media (max-width: 1024px) {
    .deal-card--large { grid-column: span 12; }
    .deal-card--medium { grid-column: span 6; }
    .deal-card--small { grid-column: span 6; }
    .promo-grid { grid-template-columns: 1fr; gap: 60px; }
    .promo-visual { order: -1; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-stats { flex-direction: column; gap: 25px; }
    .hero-big-number { display: none; }
    .countdown-inner { grid-template-columns: 1fr; text-align: center; padding: 30px; }
    .countdown-timer { justify-content: center; flex-wrap: wrap; }
    .deal-card--large, .deal-card--medium, .deal-card--small { grid-column: span 12; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; }
    .stats-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .contact-inner { flex-direction: column; gap: 30px; }
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-buttons { justify-content: center; }
    .modal { max-height: 90vh; }
    .modal-header { padding: 20px; }
    .modal-body { padding: 20px; }
}
