@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;500;700&family=Roboto+Mono:wght@300;400;500&display=swap');

:root {
    --bg-color: #030303;
    --text-primary: #f0f0f0;
    --text-secondary: #aaaaaa;
    --border-dim: #222222;
    --border-active: #ffffff;
    --panel-bg: rgba(10, 10, 10, 0.85);
    --accent-glow: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Roboto Mono', monospace;
    overflow-x: hidden;
    position: relative;
    perspective: 1500px;
    overflow-y: auto;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateZ(-50px);
    }

    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

.video-header,
.manifesto-section,
.section-header,
.links-section,
.requisites-section {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transform-style: preserve-3d;
}

.video-header {
    animation-delay: 0.1s;
}

.manifesto-section {
    animation-delay: 0.3s;
}

.section-header {
    animation-delay: 0.5s;
}

.links-section {
    animation-delay: 0.7s;
}

.requisites-section {
    animation-delay: 0.9s;
}

.video-header {
    width: 100%;
    max-width: 500px;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    transform: translateZ(40px);
}

.logo-video {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.manifesto-section {
    width: 100%;
    max-width: 700px;
    margin-bottom: 5rem;
    padding: 2.5rem;
    border-left: 2px solid var(--border-dim);
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.8), transparent);
    transform: translateZ(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.manifesto-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.manifesto-text:last-child {
    margin-bottom: 0;
}

.section-header {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-dim);
    line-height: 0.1em;
    margin: 0 0 4rem;
    transform: translateZ(30px);
}

.section-header span {
    background: transparent;
    padding: 0 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.links-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    perspective: 800px;
}

.link-item {
    background: var(--panel-bg);
    border: 1px solid var(--border-dim);
    padding: 3.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.link-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px var(--accent-glow);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.link-item:hover {
    border-color: var(--border-active);
    background: #0f0f0f;
    transform: translateY(-5px) scale(1.02);
}

.link-item:hover::after {
    opacity: 1;
}

.link-icon {
    font-size: 2.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    transition: 0.4s;
    transform: translateZ(25px);
}

.link-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    transition: 0.4s;
    transform: translateZ(15px);
}

.link-item:hover .link-icon {
    color: var(--text-primary);
    transform: translateZ(40px) scale(1.1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.link-item:hover .link-title {
    letter-spacing: 0.3em;
    transform: translateZ(25px);
}

.requisites-section {
    width: 100%;
    padding: 3rem 1rem;
    border-top: 1px solid var(--border-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateZ(10px);
    background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.8));
}

.req-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.crypto-row {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.crypto-label {
    font-size: 0.8rem;
    color: var(--border-active);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.crypto-addr {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: #080808;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-dim);
    transition: 0.3s;
    user-select: all;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.crypto-addr:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    cursor: copy;
    background: #111;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.req-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 300;
    max-width: 600px;
}

.req-footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.req-footer p {
    margin-bottom: 1rem;
}

.req-footer a {
    color: var(--border-active);
    text-decoration: none;
    border-bottom: 1px dotted var(--border-active);
    transition: 0.3s;
}

.req-footer a:hover {
    color: #fff;
    border-bottom-style: solid;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.glory-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.sign-off {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    opacity: 0.8;
}

@media (max-width: 650px) {
    .links-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .section-header span {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .container,
    .video-header,
    .manifesto-section,
    .section-header,
    .links-section,
    .requisites-section,
    .link-icon,
    .link-title {
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }

    .link-item {
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid var(--border-dim);
    }

    .link-item:hover {
        transform: translateY(-2px) !important;
    }

    .manifesto-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .link-item {
        padding: 2rem 1rem;
    }

    .crypto-addr {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
        width: 100%;
        text-align: center;
        word-break: break-all;
    }
}