:root {
    --orange-primary: #ff8c42;
    --orange-dark: #e67a2e;
    --orange-light: #ffb085;
    --orange-glow: rgba(255, 140, 66, 0.3);

    --blue-primary: #3a6ea5;
    --blue-dark: #2c5290;
    --blue-light: #6c9bd2;
    --blue-glow: rgba(58, 110, 165, 0.3);

    --dark-bg: #0a0f1a;
    --darker-bg: #05080f;
    --card-bg: rgba(20, 30, 45, 0.7);
    --text-primary: #e5e9f0;
    --text-secondary: #a0b3d9;
    --text-muted: #6c7a96;

    --gradient-orange: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    --gradient-blue: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    --gradient-mixed: linear-gradient(135deg, var(--orange-primary), var(--blue-primary));

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-orange: 0 8px 24px var(--orange-glow);
    --shadow-blue: 0 8px 24px var(--blue-glow);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 30%, #1a2538, var(--dark-bg), var(--darker-bg));
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ДЕКОР ========== */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.rune {
    position: absolute;
    font-size: 200px;
    font-weight: bold;
    color: rgba(255, 140, 66, 0.05);
    white-space: nowrap;
    animation: floatRune 30s infinite linear;
}

.rune-1::before { content: 'ᚠ'; }
.rune-2::before { content: 'ᚢ'; }
.rune-3::before { content: 'ᚦ'; }
.rune-4::before { content: 'ᚨ'; }

.rune-1 { top: 10%; left: 5%; animation-delay: 0s; }
.rune-2 { top: 40%; right: 10%; animation-delay: -5s; }
.rune-3 { bottom: 20%; left: 15%; animation-delay: -10s; }
.rune-4 { bottom: 50%; right: 20%; animation-delay: -15s; }

.mist {
    position: absolute;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, rgba(58, 110, 165, 0.1), transparent);
    filter: blur(40px);
    animation: mistMove 20s infinite alternate;
}

.mist-1 { top: 0; left: -10%; width: 120%; }
.mist-2 { bottom: 0; right: -10%; width: 120%; animation-direction: reverse; }

.ancient-symbol {
    position: absolute;
    font-size: 300px;
    color: rgba(58, 110, 165, 0.03);
    transform: rotate(-15deg);
}

.symbol-1 { top: 20%; right: 5%; }
.symbol-2 { bottom: 10%; left: 5%; transform: rotate(20deg); }
.symbol-3 { top: 60%; left: 20%; }
.symbol-4 { bottom: 30%; right: 15%; }

@keyframes floatRune {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes mistMove {
    0% { transform: translateX(0) scale(1); opacity: 0.3; }
    100% { transform: translateX(30px) scale(1.2); opacity: 0.6; }
}

/* ========== ШАПКА (копируем из profile.css) ========== */
.header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(10, 15, 26, 0.7);
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 8px var(--orange-primary));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 8px var(--orange-primary)); }
    50% { filter: drop-shadow(0 0 16px var(--orange-primary)); }
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-mixed);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-orange);
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--orange-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
}

.btn-outline:hover {
    background: rgba(255, 140, 66, 0.1);
    border-color: var(--orange-light);
    color: var(--orange-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========== СТРАНИЦА О ПРОЕКТЕ ========== */
.about {
    padding: 40px 0 60px;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--orange-primary);
}

/* ========== HERO ========== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, var(--orange-glow), transparent);
    opacity: 0.1;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid var(--orange-primary);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-light);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.creator-block {
    background: rgba(255, 140, 66, 0.1);
    border-left: 4px solid var(--orange-primary);
    padding: 20px;
    border-radius: var(--border-radius-md);
}

.creator-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.creator-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--orange-primary);
    text-shadow: 0 0 10px var(--orange-glow);
}

.about-hero-image {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-runes {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 40px;
    color: var(--orange-primary);
    opacity: 0.3;
    animation: rotateRunes 30s infinite linear;
}

.floating-runes span {
    animation: floatRune 4s infinite alternate;
}

.dragon-silhouette {
    width: 300px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q40,20 60,20 Q80,20 80,40 Q80,60 60,70 Q40,80 30,70 Q20,60 20,50" fill="none" stroke="%23ff8c42" stroke-width="2" opacity="0.5"/></svg>') center/contain no-repeat;
    animation: flyDragon 8s infinite alternate;
}

@keyframes rotateRunes {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes flyDragon {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    100% { transform: translateY(-20px) scale(1.05); opacity: 0.8; }
}

/* ========== ФИЛОСОФИЯ ========== */
.philosophy {
    margin-bottom: 60px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.philosophy-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    transition: all 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
}

.philosophy-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.philosophy-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

/* ========== ОСОБЕННОСТИ ========== */
.features {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--orange-primary));
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== СПЕЦИАЛЬНЫЕ ФИЧИ (БАНК И ФОРУМ) ========== */
.special-features {
    margin-bottom: 60px;
}

.special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.special-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.special-card.bank-card {
    border-color: var(--orange-primary);
}

.special-card.forum-card {
    border-color: var(--blue-primary);
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.special-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px var(--orange-primary));
}

.special-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.special-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.special-list {
    list-style: none;
    margin-bottom: 30px;
}

.special-list li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== СООБЩЕНИЕ СОЗДАТЕЛЯ ========== */
.creator-message {
    margin-bottom: 60px;
}

.message-container {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(58, 110, 165, 0.1));
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 60px;
    position: relative;
    backdrop-filter: blur(10px);
    text-align: center;
}

.message-quote {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: var(--orange-primary);
    opacity: 0.2;
    font-family: serif;
}

.message-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.message-author {
    position: relative;
    z-index: 1;
}

.author-name {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--orange-glow);
}

.author-title {
    font-size: 16px;
    color: var(--text-muted);
}

/* ========== СТАТИСТИКА ========== */
.stats {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--orange-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ========== CTA ========== */
.cta {
    margin-bottom: 40px;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: var(--orange-primary);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--orange-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.creator-highlight {
    color: var(--orange-primary);
    font-weight: 600;
}

.magic-signature {
    color: var(--orange-primary);
    font-style: italic;
}

/* ========== АДАПТАЦИЯ ========== */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        height: 200px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .special-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 26, 0.95);
        backdrop-filter: blur(12px);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 140, 66, 0.2);
        z-index: 99;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .message-container {
        padding: 40px 20px;
    }

    .message-quote {
        font-size: 80px;
        top: 10px;
        left: 15px;
    }

    .message-text {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .creator-name {
        font-size: 20px;
    }

    .author-name {
        font-size: 22px;
    }

    .special-card {
        padding: 25px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.philosophy-card,
.feature-card,
.special-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out forwards;
}