/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* STAKING STAR'S Color Scheme */
    --cyber-teal: #2EB9B1;
    --vector-violet: #8762B8;
    --stealth-black: #0F172A;
    --target-yellow: #FBBF24;
    --hud-white: #F1F5F9;
    --altimeter-grey: #94A3B8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--stealth-black);
    color: var(--hud-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('pictures/main_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: -2;
}

.background-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(46, 185, 177, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 185, 177, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.background-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(46, 185, 177, 0.03) 2px,
        rgba(46, 185, 177, 0.03) 4px
    );
    pointer-events: none;
}

/* Background Grid and Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(46, 185, 177, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 185, 177, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.background-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(46, 185, 177, 0.03) 2px,
        rgba(46, 185, 177, 0.03) 4px
    );
    pointer-events: none;
}

/* HUD Elements (Frame Corners) - Tighter to content */
.hud-corner {
    position: absolute;
    width: 96px;
    height: 96px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 20;
    animation: hudAppear 0.8s ease-out;
}
.hud-top-left {
    top: 0;
    left: 0;
    border-left: 2px solid var(--cyber-teal);
    border-top: 2px solid var(--cyber-teal);
    animation-delay: 0.5s;
}
.hud-top-right {
    top: 0;
    right: 0;
    border-right: 2px solid var(--vector-violet);
    border-top: 2px solid var(--vector-violet);
    animation-delay: 0.6s;
}
.hud-bottom-left {
    bottom: 0;
    left: 0;
    border-left: 2px solid var(--cyber-teal);
    border-bottom: 2px solid var(--cyber-teal);
    animation-delay: 0.7s;
}
.hud-bottom-right {
    bottom: 0;
    right: 0;
    border-right: 2px solid var(--vector-violet);
    border-bottom: 2px solid var(--vector-violet);
    animation-delay: 0.8s;
}

/* Remove all pseudo-element extensions for corners */
.hud-top-left::before, .hud-top-left::after,
.hud-top-right::before, .hud-top-right::after,
.hud-bottom-left::before, .hud-bottom-left::after,
.hud-bottom-right::before, .hud-bottom-right::after {
    display: none;
}

@keyframes hudAppear {
    from {
        scale: 0;
        rotate: -90deg;
    }
    to {
        scale: 1;
        rotate: 0deg;
    }
}

/* Card Corners for feature-card */
.card-corner-tl, .card-corner-br {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none !important;
    z-index: 2;
}
.card-corner-tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--star-teal, #3fa3ac);
    border-left: 2px solid var(--star-teal, #3fa3ac);
}
.card-corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--star-teal, #3fa3ac);
    border-right: 2px solid var(--star-teal, #3fa3ac);
}
.card-corner {
    position: relative;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-700, #374151);
    border-radius: 0;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.card-corner:hover {
    border-color: var(--star-teal, #3fa3ac);
    box-shadow: 0 10px 25px rgba(63, 163, 172, 0.2);
    transform: translateY(-5px);
}
.card-corner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(63, 163, 172, 0.05), rgba(138, 104, 199, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none !important;
}
.card-corner:hover::before {
    opacity: 1;
}
.card-corner .feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white, #fff);
    transition: color 0.3s ease;
}
.card-corner:hover .feature-title {
    color: var(--star-teal, #3fa3ac);
}
.card-corner .feature-description {
    color: var(--gray-400, #9ca3af);
    line-height: 1.6;
}

/* Header (from v19) */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 16px 0;
}
.header.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 2000px;
    margin: 0 auto;
    width: 100%;
    gap: 0;
    padding: 0 32px;
    position: relative;
}
@media (max-width: 768px) {
    .header-content {
        padding: 0 12px;
    }
    .nav {
        display: none;
        position: static;
        transform: none;
        left: auto;
        top: auto;
        bottom: auto;
        height: auto;
    }
}
@media (max-width: 600px) {
    .header {
        padding: 8px 0;
        left: 0;
        right: 0;
        width: 100vw;
        min-width: 0;
    }
    .header-content {
        padding: 0 6px;
    }
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.logo {
    width: 48px;
    height: 48px;
}
.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--cyber-teal);
}
.nav {
    display: flex;
    gap: 32px;
    flex: none;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    align-items: center;
    height: 100%;
}
.nav-link {
    color: var(--altimeter-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--cyber-teal);
}
.cta-button {
    background: var(--target-yellow);
    color: var(--stealth-black);
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0;
    margin-right: 0;
    text-decoration: none;
}
.cta-button:hover {
    background: rgba(251, 191, 36, 0.9);
    transform: scale(1.05);
}
@media (max-width: 1024px) {
    .header-content {
        gap: 0;
        max-width: 98vw;
    }
    .cta-button {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .nav {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    flex: 1 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    /* position: relative;  No longer needed for corners */
}

.framed-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 6rem 2rem 6rem;
    margin: 0 auto;
    background: transparent;
}

.framed-content .hero-badge {
    margin-top: -2.2rem;
    margin-bottom: 0.5rem;
}
.framed-content .hero-title {
    margin-bottom: 0.5rem;
}
.framed-content .hero-description {
    margin-bottom: 1rem;
}
.framed-content .hero-buttons {
    margin-bottom: 0.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    background: rgba(135, 98, 184, 0.2);
    color: var(--vector-violet);
    border: 1px solid rgba(135, 98, 184, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyber-teal), var(--vector-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--altimeter-grey);
    max-width: 48rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.primary-button {
    background: var(--target-yellow);
    color: var(--stealth-black);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.primary-button:hover {
    background: rgba(251, 191, 36, 0.9);
    transform: translateY(-2px);
}

.primary-button.join-short {
    padding: 0.7rem 1.2rem;
    max-width: 280px;
    white-space: nowrap;
}

.secondary-button {
    background: transparent;
    color: var(--hud-white);
    border: 1px solid rgba(46, 185, 177, 0.3);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--cyber-teal), var(--vector-violet));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

.secondary-button:hover {
    border-color: var(--cyber-teal);
    color: var(--cyber-teal);
    transform: translateY(-2px);
}

/* Icons */
.icon {
    flex-shrink: 0;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scanline Animation */
.scanline-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--cyber-teal), transparent);
    animation: scanline 3s linear infinite;
    opacity: 0.6;
    z-index: 10;
}

@keyframes scanline {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Advanced Features Section (from v14) */
.features-section {
    flex-shrink: 0;
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, rgba(16, 16, 32, 0.5), var(--background-card, #181830));
}

.features-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyber-teal), var(--vector-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.section-description {
    margin-bottom: 2.5rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--background-card, #181830);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color, rgba(46, 185, 177, 0.2));
    border-radius: 0;
    padding: 2rem 2rem;
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
    min-height: 180px;
    width: 100%;
}

.feature-card:hover {
    border-color: rgba(46, 185, 177, 0.4);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cyber-teal, #2EB9B1);
}

.feature-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.25rem; /* Было 0.75rem, стало меньше */
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hud-white, #F1F5F9);
    margin-bottom: 0; /* Убираю нижний отступ */
}

.feature-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(46, 185, 177, 0.2);
    color: var(--cyber-teal, #2EB9B1);
    border: 1px solid rgba(46, 185, 177, 0.3);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-description {
    color: var(--altimeter-grey, #94A3B8);
    line-height: 1.6;
    margin-top: 0; /* Убираю верхний отступ, если был */
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .feature-card .feature-badge {
        display: none;
    }
}

/* Mission Control Section */
.about {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    width: 100%;
}
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mission-img {
    max-width: 640px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(46,185,177,0.15);
    border-radius: 0 !important;
}
.mission-title {
    text-align: center;
}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-content,
    .about-visual {
        align-items: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .about {
        padding: 3rem 0.5rem;
    }
    .about-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .about {
        padding: 2rem 0.25rem !important;
    }
    .about-content {
        padding: 0 0.5rem !important;
    }
    .about-visual {
        padding: 0 0.25rem !important;
    }
    .about-grid {
        padding: 0 !important;
    }
    
    /* Восстанавливаем отступы для других секций */
    .container,
    .main-container,
    .section-content,
    .features-section,
    .faq-section,
    .footer,
    .hero-section,
    .hero-container,
    .framed-content,
    .newsletter,
    .footer-content,
    .features-grid,
    .stats-bar {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }
    
    .feature-card,
    .faq-item,
    .card-corner,
    .newsletter.card-corner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .footer-bottom {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    .mission-img {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .visual-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
}

.about-text {
    color: var(--altimeter-grey);
    line-height: 1.6;
    width: 100%;
    text-align: justify;
}

.about-content .icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
}

/* Compact JOIN THE SQUADRON button */
.btn.btn-primary.btn-large.glow-effect {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    min-width: 0;
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.visual-container {
    width: 100%;
    max-width: 420px;
    background: none;
    aspect-ratio: unset;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter.card-corner:hover {
    border-color: var(--gray-700, #374151);
    box-shadow: none;
    transform: none;
}

.faq-section {
    flex-shrink: 0;
    padding: 5rem 1rem 5rem 1rem;
    background: linear-gradient(to bottom, rgba(16, 16, 32, 0.5), var(--background-card, #181830));
}
.faq-section .section-content {
    max-width: 900px;
    margin: 0 auto;
}
.faq-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.faq-item {
    background: var(--background-card, #181830);
    border: 1px solid var(--border-color, rgba(46, 185, 177, 0.2));
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(46,185,177,0.07);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open {
    border-color: var(--cyber-teal);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--hud-white);
    font-family: 'Orbitron', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    padding: 1.2rem 1.5rem;
    padding-right: 3.5rem; /* Add space for the plus icon */
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--cyber-teal);
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(46,185,177,0.07);
    color: var(--altimeter-grey);
    font-size: 1rem;
    padding: 0 1.5rem;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.2rem 1.5rem;
}
@media (max-width: 900px) {
    .faq-section .section-content {
        max-width: 98vw;
    }
}

/* Mobile FAQ adjustments */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.2rem;
        padding-right: 3rem;
    }
    
    .faq-question::after {
        right: 1.2rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
        padding-right: 2.8rem;
        line-height: 1.4;
    }
    
    .faq-question::after {
        right: 1rem;
        font-size: 1.2rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
    
    .faq-item.open .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}

/* === Footer from v9 === */
.footer {
    position: relative;
    /* background: linear-gradient(135deg, #0A0A2A 0%, #1A1A3A 50%, #2A2A4A 100%); */
    background: transparent;
    color: var(--hud-white);
    padding: 4rem 0 0 0;
    margin-top: 0;
    overflow: hidden;
}
.footer .star-field {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.footer-brand {
    max-width: 380px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-logo-img {
    width: 2.5rem;
    height: 2.5rem;
}
.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cyber-teal);
    font-family: 'Orbitron', monospace;
}
.footer-description {
    color: var(--altimeter-grey);
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(42, 42, 74, 0.5);
    border-radius: 50%;
    color: var(--altimeter-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: rgba(0, 206, 209, 0.2);
    color: var(--cyber-teal);
    transform: scale(1.1);
}
.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.social-icon {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    filter: brightness(1.2);
    transform: scale(1.1);
}
.footer-links {
    display: flex;
    gap: 3rem;
}
.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cyber-teal);
    font-family: 'Orbitron', monospace;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin-bottom: 0.5rem;
}
.footer-column a {
    color: var(--hud-white);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-column a:hover {
    color: var(--cyber-teal);
}
.newsletter {
    margin: 1.5rem 0 0 0;
    background: rgba(42, 42, 74, 0.3);
    padding: 2rem 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-content {
    text-align: center;
}
.newsletter h3 {
    font-size: 1.25rem;
    font-family: 'Orbitron', monospace;
    color: var(--cyber-teal);
    margin-bottom: 0.5rem;
}
.newsletter p {
    color: var(--altimeter-grey);
    margin-bottom: 1rem;
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}
.newsletter-input {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--altimeter-grey);
    background: rgba(17,24,39,0.5);
    color: var(--hud-white);
    font-size: 1.125rem;
    outline: none;
    min-width: 220px;
    max-width: 340px;
    height: auto;
    box-sizing: border-box;
}
.newsletter-input::placeholder {
    color: var(--altimeter-grey);
    opacity: 0.7;
}
.newsletter-input:focus {
    border-color: var(--cyber-teal);
}
.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.5rem 0 0.5rem 0;
    border-top: 1px solid rgba(46,185,177,0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--altimeter-grey);
    font-size: 0.95rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: var(--altimeter-grey);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--cyber-teal);
}
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    .newsletter {
        padding: 1.5rem 1rem;
    }
}
@media (max-width: 600px) {
    .footer {
        padding: 2rem 0 0 0;
    }
    .newsletter {
        padding: 1rem 0.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .card-corner,
    .newsletter.card-corner {
        padding: 1.25rem 1rem;
        max-width: 100%;
    }
    .newsletter.card-corner {
        margin-top: 1rem;
    }
    .card-corner-tl, .card-corner-br {
        width: 18px;
        height: 18px;
    }
}

/* Stats Bar (from v5) */
.stats-metrics {
    margin: 4rem auto 0 auto;
    max-width: 900px;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
}
.stats-metrics .card-corner-tl,
.stats-metrics .card-corner-br {
    /* уголки уже стилизованы глобально */
}
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 2rem;
    margin-bottom: 0.5rem;
}
.stat-item {
    text-align: center;
    animation: statAppear 0.8s ease-out both;
}
.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
@keyframes statAppear {
    from {
        scale: 0;
        opacity: 0;
    }
    to {
        scale: 1;
        opacity: 1;
    }
}
.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px currentColor;
    transition: transform 0.3s ease;
}
.stat-item:hover .stat-value {
    transform: scale(1.1);
}
.stat-cyber { color: var(--cyber-teal); }
.stat-violet { color: var(--vector-violet); }
.stat-yellow { color: var(--target-yellow); }
.stat-label {
    color: var(--altimeter-grey);
    margin-top: 0.5rem;
}
@media (max-width: 600px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.5rem 0.5rem;
    }
    .stats-bar .stat-item:nth-child(3) {
        grid-column: 1 / span 2;
    }
    .stats-bar .stat-value {
        font-size: 1.2rem;
    }
    .stats-bar .stat-label {
        font-size: 0.85rem;
    }
}

.newsletter-form .btn-primary {
    background: var(--target-yellow);
    color: var(--stealth-black);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    min-width: 180px;
    max-width: 260px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.newsletter-form .btn-primary:hover {
    background: rgba(251, 191, 36, 0.9);
    transform: translateY(-2px);
}

.staking-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.75);
    padding: 32px 8px;
    /* Убираем flex-центрирование */
}
.staking-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 0;
}
.staking-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #181830;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(46,185,177,0.15);
    padding: 2.5rem 2rem;
    max-width: 540px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}
.staking-modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cyber-teal);
    margin-bottom: 0.5rem;
    text-align: center;
}
.staking-modal-desc {
    color: var(--altimeter-grey);
    text-align: center;
    margin-bottom: 1rem;
}
.staking-modal-widget {
    width: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
    border: none;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}
.staking-modal-widget iframe {
    width: 100%;
    max-width: 100%;
    display: block;
}
.staking-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--altimeter-grey);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}
.staking-modal-close:hover {
    color: var(--cyber-teal);
}
@media (max-width: 600px) {
    .staking-modal {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        overflow: hidden;
    }
    .staking-modal-backdrop {
        min-height: 100vh;
        height: 100vh;
    }
    .staking-modal-content {
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        padding: 0;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }
    .staking-modal-widget {
        display: flex;
    }
    .staking-modal-widget iframe {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        height: 100%;
        min-height: unset;
        display: block;
    }
}

@media (max-width: 600px) {
    .staking-modal-content {
        padding: 0 !important;
    }
    .staking-modal-title,
    .staking-modal-desc {
        font-size: 1rem;
        margin: 0.5rem 0 0.25rem 0;
        padding: 0 0.5rem;
    }
    .staking-modal-title {
        margin-top: 1rem;
    }
    .staking-modal-widget {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
    }
    .staking-modal-widget iframe {
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        display: block;
    }
    
    /* Улучшенные стили для мобильного скролла в manual staking modal */
    .manual-staking-content {
        padding-top: 1.5rem !important;
        padding-bottom: 3rem !important;
    }
    
    .manual-staking-steps {
        margin-bottom: 2rem;
    }
    
    .staking-step {
        margin-bottom: 0.5rem;
    }
}

/* Manual Staking Guide Modal Styles */
.manual-staking-content {
    max-width: 500px;
    padding: 2rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar for manual staking modal */
.manual-staking-content::-webkit-scrollbar {
    width: 8px;
}

.manual-staking-content::-webkit-scrollbar-track {
    background: rgba(46, 185, 177, 0.1);
    border-radius: 4px;
}

.manual-staking-content::-webkit-scrollbar-thumb {
    background: rgba(46, 185, 177, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.manual-staking-content::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 185, 177, 0.5);
}

.manual-staking-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.staking-step {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem;
    background: rgba(46, 185, 177, 0.05);
    border: 1px solid rgba(46, 185, 177, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.staking-step:hover {
    background: rgba(46, 185, 177, 0.08);
    border-color: rgba(46, 185, 177, 0.2);
    transform: translateX(5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--cyber-teal);
    color: var(--stealth-black);
    border-radius: 50%;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    align-self: center;
}

.step-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cyber-teal);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-content p {
    color: var(--altimeter-grey);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.validator-address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 185, 177, 0.1);
    border: 1px solid rgba(46, 185, 177, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.validator-address-container:hover {
    background: rgba(46, 185, 177, 0.15);
    border-color: rgba(46, 185, 177, 0.3);
}

.validator-address {
    font-family: 'Courier New', monospace;
    color: var(--cyber-teal);
    font-size: 0.75rem;
    word-break: break-all;
    flex: 1;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.copy-button {
    background: rgba(46, 185, 177, 0.2);
    border: 1px solid rgba(46, 185, 177, 0.3);
    border-radius: 4px;
    color: var(--cyber-teal);
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.copy-button:hover {
    background: rgba(46, 185, 177, 0.3);
    border-color: var(--cyber-teal);
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: var(--cyber-teal);
    color: var(--stealth-black);
    border-color: var(--cyber-teal);
}

@media (max-width: 600px) {
    .manual-staking-content {
        padding: 1rem !important;
        max-width: 100vw;
        width: 100vw;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: auto;
        scroll-behavior: smooth;
        padding-bottom: 2rem;
    }
    
    .staking-step {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }
    
    .step-content h3 {
        font-size: 0.75rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .validator-address {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}



@media (max-width: 900px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .newsletter-form .newsletter-input,
    .newsletter-form .btn-primary {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .about-content {
        text-align: justify;
    }
}

@media (max-width: 600px) {
    .hero-badge {
        display: none;
    }
}

@media (max-width: 600px) {
    .logo-text {
        display: none;
    }
    .logo {
        width: 38px;
        height: 38px;
    }
    
    /* Remove hard line breaks on mobile */
    .footer-description br,
    .newsletter-content br {
        display: none;
    }
}



