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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* === АКЦИДЕНТНЫЙ ЗАГОЛОВОК === */
.hero {
    text-align: center;
    padding: 100px 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Black Ops One', 'Orbitron', 'Anton', Impact, sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0a0a0a;
    text-shadow: 
        -3px -3px 0 #ff003c,
        3px 3px 0 #0066ff;
    line-height: 0.9;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    
    background: linear-gradient(45deg, #8B0000, #B22222, #DC143C, #FF0033);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: metalShift 6s ease-in-out infinite;
}

.main-title {
    font-family: 'Black Ops One', 'Orbitron', 'Anton', Impact, sans-serif;
    font-size: clamp(3rem, 11.25vw, 9rem); /* уменьшил на 1/4 */
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0a0a0a;
    text-shadow: 
        -3px -3px 0 #ff003c,
        3px 3px 0 #0066ff;
    line-height: 0.9;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    
    background: linear-gradient(45deg, #8B0000, #B22222, #DC143C, #FF0033);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: metalShift 6s ease-in-out infinite;
}

.main-title::before {
    content: 'THEFRODESDID';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Orbitron', 'Black Ops One', 'Anton', Impact, sans-serif;
    font-size: clamp(2.4rem, 9vw, 7.2rem); /* уменьшил на 2/5 */
    color: transparent;
    text-shadow: 
        -4px -4px 0 #0066ff,
        4px 4px 0 #00ff88,
        0 0 30px rgba(0, 102, 255, 0.5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    background: linear-gradient(45deg, #00BFFF, #1E90FF, #0066ff, #0044cc);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 300% 300%;
    animation: neonShift 4s ease-in-out infinite;
}

.title-container:hover .main-title::before {
    opacity: 1;
    transform: scale(1.05) rotate(1deg);
    letter-spacing: 0.08em;
}

.title-container:hover .main-title {
    text-shadow: 
        -2px -2px 0 transparent,
        2px 2px 0 transparent;
    transform: scale(0.95);
}

@keyframes metalShift {
    0%, 100% { 
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-position: 100% 50%;
        filter: hue-rotate(20deg);
    }
}

@keyframes neonShift {
    0%, 100% { 
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-position: 100% 50%;
        filter: hue-rotate(45deg);
    }
}

.title-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, transparent 30%, rgba(255, 0, 60, 0.1) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.title-container:hover::after {
    opacity: 1;
    animation: sparkPulse 2s ease-in-out infinite;
}

@keyframes sparkPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.title-container:hover ~ .tagline {
    color: #ff003c;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

/* === ПАРАЛЛАКС ЭЛЕМЕНТЫ === */
.visual-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.chain, .crack {
    position: absolute;
    opacity: 0.1;
    transition: transform 0.1s ease-out;
    font-size: 1.5rem;
}

.chain { 
    color: #ff003c; 
    font-size: 2rem; 
    opacity: 0.07; 
    transform: rotate(-45deg); 
}

.crack { 
    color: #0066ff; 
    font-size: 3rem; 
    opacity: 0.05; 
    letter-spacing: -0.5em; 
}

.chain-1 { top: 15%; left: 5%; }
.chain-2 { bottom: 20%; right: 8%; }
.crack-1 { top: 40%; left: 10%; transform: rotate(15deg); }

}

/* === СЕКЦИЯ МАНИФЕСТА === */
.manifesto {
    position: relative;
    padding: 150px 0;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    overflow: hidden;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.manifesto-text {
    position: relative;
    z-index: 2;
}

.manifesto-title {
    font-family: 'Black Ops One', 'Orbitron', 'Anton', Impact, sans-serif;
    font-size: 5rem;
    color: transparent;
    background: linear-gradient(45deg, #ff003c, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 0.9;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-scroll {
    position: relative;
}

.text-block {
    margin-bottom: 40px;
}

.manifesto-line {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #888;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding-left: 20px;
    border-left: 2px solid transparent;
}

.manifesto-line.visible {
    opacity: 1;
    transform: translateY(0);
    color: #e0e0e0;
    border-left-color: #ff003c;
}

.manifesto-line:nth-child(even).visible {
    border-left-color: #0066ff;
}

.manifesto-line::before {
    content: '▶';
    position: absolute;
    left: -15px;
    color: #ff003c;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manifesto-line.visible::before {
    opacity: 1;
}

.manifesto-visual {
    position: relative;
    z-index: 2;
}

.cyber-portrait {
    position: relative;
    width: 100%;
    height: 500px;
    background: #111;
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.portrait-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.base-layer {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 0, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.glow-layer {
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 0, 60, 0.05) 50%, transparent 70%);
    animation: glowMove 8s ease-in-out infinite;
}

.scan-line {
    background: repeating-linear-gradient(
        to bottom,
        transparent 0%,
        transparent 95%,
        rgba(0, 255, 136, 0.1) 95%,
        rgba(0, 255, 136, 0.1) 100%
    );
    background-size: 100% 20px;
    animation: scanMove 2s linear infinite;
}

.data-stream {
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(0, 102, 255, 0.1) 50%, 
            transparent 100%);
    animation: dataStream 4s linear infinite;
    transform: skewX(-20deg);
}

@keyframes glowMove {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes scanMove {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes dataStream {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(100%) skewX(-20deg); }
}

.manifesto-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #ff003c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 60, 0.2);
}

.stat-number {
    font-family: 'Broken Knight', 'Impact', sans-serif;
    font-size: 3rem;
    color: #ff003c;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.manifesto-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #ff003c, transparent);
    height: 1px;
    opacity: 0.1;
}

.line-1 {
    top: 30%;
    left: 0;
    width: 100%;
    animation: lineGlow 3s ease-in-out infinite;
}

.line-2 {
    bottom: 30%;
    left: 0;
    width: 100%;
    animation: lineGlow 3s ease-in-out infinite 1.5s;
}

.binary-stream {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 136, 0.3);
    white-space: nowrap;
    animation: binaryScroll 20s linear infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

@keyframes binaryScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 968px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .manifesto-title {
        font-size: 3rem;
    }
    
    .manifesto-line {
        font-size: 1.2rem;
    }
    
    .cyber-portrait {
        height: 300px;
    }
    
    .stat-number {
        font-size: 2rem;
    }

}
    
/* === СЕКЦИЯ АРСЕНАЛ === */
.arsenal {
    position: relative;
    padding: 150px 0;
    background: 
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    overflow: hidden;
}

.arsenal-header {
    text-align: center;
    margin-bottom: 80px;
}

.arsenal-title {
    font-family: 'Black Ops One', 'Orbitron', 'Anton', Impact, sans-serif;
    font-size: 4rem;
    color: transparent;
    background: linear-gradient(45deg, #ff003c, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.arsenal-subtitle {
    font-size: 1.2rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Общие стили для элементов арсенала */
.arsenal-item {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Для НЕ-медиа элементов добавляем hover эффекты */
.arsenal-item:not(.music-item):not(.video-item):hover {
    transform: translateY(-10px);
    border-color: #ff003c;
    box-shadow: 0 20px 50px rgba(255, 0, 60, 0.3);
}

.item-media {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.media-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.arsenal-item:not(.music-item):not(.video-item):hover .media-content {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.arsenal-item:hover .media-overlay {
    opacity: 1;
}

.media-badge {
    font-family: 'Broken Knight', 'Impact', sans-serif;
    font-size: 0.8rem;
    color: #ff003c;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.media-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.media-overlay p {
    font-size: 0.9rem;
    color: #ccc;
}

/* === ИСПРАВЛЕННЫЙ МУЗЫКАЛЬНЫЙ ПЛЕЕР === */
.music-item {
    cursor: default !important;
}

.music-item:hover {
    transform: none !important;
    border-color: #222 !important;
}

.music-container {
    display: flex;
    height: 100%;
    background: #1a1a1a;
    position: relative;
    z-index: 3; /* Повышаем z-index */
}

.album-art {
    position: relative;
    flex: 0 0 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Кнопка поверх обложки */
.play-overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #ff003c;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.album-art:hover .play-overlay-btn {
    opacity: 1;
}

.play-overlay-btn:hover {
    background: rgba(255, 0, 60, 0.2);
    color: #fff;
}

.play-icon {
    filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.8));
}

.track-details {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.track-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #fff;
}

.track-details p {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Кастомные контролы */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.control-btn {
    background: #ff003c;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ff003c;
    border-radius: 50%;
    cursor: pointer;
}

.current-time {
    font-size: 0.8rem;
    color: #888;
    min-width: 40px;
}

/* Пульсация при воспроизведении */
.play-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #ff003c;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
    z-index: 2;
}

.audio-element:playing ~ .track-details .play-pulse,
.audio-element[data-playing="true"] ~ .track-details .play-pulse {
    opacity: 1;
}

/* Исправляем overlay */
.music-item .media-overlay {
    z-index: 2; /* Понижаем z-index overlay */
    pointer-events: none; /* Отключаем клики на overlay */
}

.music-item .media-overlay .media-badge {
    pointer-events: auto; /* Но бейдж кликабелен */
}

/* === СТИЛИ ДЛЯ VK ВИДЕО === */
.video-item iframe {
    border-radius: 10px;
    background: #000;
}

.video-item .item-media {
    position: relative;
    overflow: hidden;
}

/* Чтобы overlay правильно работал с iframe */
.video-item .media-overlay {
    z-index: 2;
    pointer-events: none;
}

/* Дополнительные стили если понадобятся */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-play-overlay {
    opacity: 1;
}

.play-btn {
    background: #ff003c;
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #ff3366;
    transform: scale(1.1);
}

/* === КОЛЛАЖ === */
.collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    gap: 2px;
    background: #000;
}

.collage-cell {
    overflow: hidden;
    position: relative;
}

.collage-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.collage-cell:hover .collage-img {
    transform: scale(1.1);
}

/* === ИНТЕРАКТИВНЫЙ ЭЛЕМЕНТ === */
.interactive-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.interactive-ui {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.interactive-ui h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
}

.interactive-ui p {
    color: #888;
    margin-bottom: 25px;
}

.control-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.control-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff003c;
    color: #ff003c;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.control-btn:hover {
    background: #ff003c;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.visualizer {
    display: flex;
    gap: 3px;
    height: 40px;
    align-items: end;
}

.viz-bar {
    width: 8px;
    background: linear-gradient(to top, #ff003c, #0066ff);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.viz-bar:nth-child(1) { height: 20%; animation: vizPulse 1s infinite 0.1s; }
.viz-bar:nth-child(2) { height: 40%; animation: vizPulse 1s infinite 0.2s; }
.viz-bar:nth-child(3) { height: 60%; animation: vizPulse 1s infinite 0.3s; }
.viz-bar:nth-child(4) { height: 80%; animation: vizPulse 1s infinite 0.4s; }
.viz-bar:nth-child(5) { height: 100%; animation: vizPulse 1s infinite 0.5s; }

@keyframes vizPulse {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* === ТЕКСТОВЫЙ МАНИФЕСТ === */
.text-manifesto {
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-manifesto h3 {
    font-size: 1.6rem;
    color: #ff003c;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-content p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

.text-content blockquote {
    border-left: 3px solid #0066ff;
    padding-left: 20px;
    margin: 25px 0;
    color: #888;
    font-style: italic;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .arsenal-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .arsenal-title {
        font-size: 2.5rem;
    }
    
    .music-container {
        flex-direction: column;
    }
    
    .album-art {
        flex: 0 0 200px;
    }
}

/* === СЕКЦИЯ ПРИВАЛА === */
.campfire {
    position: relative;
    padding: 200px 0 150px 0;
    background: 
        radial-gradient(circle at 50% 20%, rgba(255, 100, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 100%, rgba(255, 0, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #1a0f0a 30%, #0a0a0a 100%);
    overflow: hidden;
    border-top: 1px solid #332211;
}

.campfire-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.campfire-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 3; /* Заголовок над костром */
    margin-top: 180px; /* Отступ от костра */
}

.campfire-title {
    font-family: 'Black Ops One', 'Orbitron', 'Anton', Impact, sans-serif;
    font-size: 4rem;
    color: transparent;
    background: linear-gradient(45deg, #ff5500, #ff003c, #ff5500);
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 85, 0, 0.3);
}

.campfire-subtitle {
    font-size: 1.3rem;
    color: #cc8844;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* Сетка частот */
.frequency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.frequency-item {
    background: rgba(20, 10, 5, 0.6);
    border: 1px solid #442211;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.frequency-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 85, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.frequency-item:hover {
    transform: translateY(-10px);
    border-color: #ff5500;
    box-shadow: 
        0 20px 40px rgba(255, 85, 0, 0.2),
        inset 0 0 50px rgba(255, 85, 0, 0.1);
}

.frequency-item:hover::before {
    left: 100%;
}

.signal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.5));
}

.frequency-item h3 {
    font-size: 1.4rem;
    color: #ff9933;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.frequency-item p {
    color: #cc8844;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Кнопки сигналов */
.signal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #ff5500;
    color: #ff9933;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff5500;
    border-radius: 50%;
    opacity: 0;
    animation: signalPulse 2s infinite;
}

.signal-btn:hover {
    background: #ff5500;
    color: #0a0a0a;
    box-shadow: 
        0 0 30px rgba(255, 85, 0, 0.5),
        0 0 60px rgba(255, 85, 0, 0.3);
    transform: scale(1.05);
}

.signal-btn:hover .btn-pulse {
    opacity: 1;
}

@keyframes signalPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Шифрованное сообщение */
.encryption-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.encryption-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff5500, transparent);
    opacity: 0.5;
}

.note-text {
    color: #cc8844;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    font-style: italic;
}

.fire-animation {
    position: absolute;
    top: -200px;     /* ← МАЛЕНЬКОЕ число = ВЫШЕ! */
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 150px;
    z-index: 2;
}

.flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 20% 20%;
    background: linear-gradient(180deg, #ff5500, #ff3300, #ff0000);
    opacity: 0.7;
    filter: blur(5px);
}

.flame-1 {
    width: 80px;
    height: 120px;
    animation: fireFlicker 2s ease-in-out infinite;
}

.flame-2 {
    width: 60px;
    height: 90px;
    animation: fireFlicker 1.5s ease-in-out infinite 0.5s;
    background: linear-gradient(180deg, #ff9933, #ff5500, #ff3300);
}

.flame-3 {
    width: 40px;
    height: 60px;
    animation: fireFlicker 1s ease-in-out infinite 1s;
    background: linear-gradient(180deg, #ffff00, #ff9933, #ff5500);
}

.embers {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255, 85, 0, 0.3) 0%, transparent 70%);
    animation: emberGlow 3s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { 
        transform: translateX(-50%) scaleY(1) scaleX(1); 
        opacity: 0.7; 
    }
    25% { 
        transform: translateX(-48%) scaleY(1.1) scaleX(0.9); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateX(-52%) scaleY(0.9) scaleX(1.1); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateX(-50%) scaleY(1.05) scaleX(0.95); 
        opacity: 0.75; 
    }
}

@keyframes emberGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Парящие частицы над костром - УЗКАЯ ВЕРСИЯ */
.fire-animation::before {
    content: '';
    position: absolute;
    top: -60px; /* Понижаем (было -80px) */
    left: 50%;
    transform: translateX(-50%);
    width: 120px; /* В 2 раза уже (было 240px) */
    height: 160px;
    background: 
        radial-gradient(ellipse at 30% 80%, rgba(255, 85, 0, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 153, 51, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 60%, rgba(255, 255, 0, 0.2) 0%, transparent 80%);
    animation: smokeRise 4s ease-in-out infinite;
    filter: blur(12px); /* Немного уменьшаем размытие */
    border-radius: 20% 20% 50% 50%;
    mask-image: linear-gradient(to top,
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 50%,
        rgba(0,0,0,0) 100%
    );
}

@keyframes smokeRise {
    0% { 
        transform: translateX(-50%) translateY(0) scale(0.8); 
        opacity: 0; 
    }
    20% { 
        transform: translateX(-50%) translateY(-15px) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateX(-50%) translateY(-40px) scale(1.2); 
        opacity: 0.4; 
    }
    80% { 
        transform: translateX(-50%) translateY(-70px) scale(1.5); 
        opacity: 0.2; 
    }
    100% { 
        transform: translateX(-50%) translateY(-100px) scale(1.8); 
        opacity: 0; 
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .campfire {
        padding: 100px 0;
    }
    
    .campfire-title {
        font-size: 2.5rem;
    }
    
    .frequency-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .encryption-note {
        flex-direction: column;
        gap: 10px;
    }
    
    .encryption-line {
        width: 100%;
    }
    
    .fire-animation {
        width: 150px;
        height: 100px;
    }
}
