* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
    color: #d4af37;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: auto;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.ascii-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.donut-container {
    position: fixed;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}
#donut-ascii {
    width: 100%;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 8px;
    line-height: 1;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    white-space: pre;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
@media (max-width: 768px) {
    .donut-container {
        width: 200px;
        height: 200px;
        left: 5%;
    }
    #donut-ascii {
        font-size: 6px;
    }
}
.ascii-art {
    position: absolute;
    top: 60%;
    left: 75%;
    transform: translate(-50%, -50%);
    white-space: pre;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    line-height: 1.2;
    color: #ffd700;
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    will-change: transform, opacity, text-shadow;
    user-select: none;
    animation: brightnessPulse 4s ease-in-out infinite;
}
@keyframes brightnessPulse {
    0%, 100% {
        opacity: 0.28;
        text-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
    }
    50% {
        opacity: 0.32;
        text-shadow: 0 0 22px rgba(255, 215, 0, 0.65);
    }
}
@media (max-width: 1200px) {
    .ascii-art {
        font-size: 12px;
        left: 70%;
    }
}
@media (max-width: 768px) {
    .ascii-art {
        font-size: 8px;
        left: 65%;
    }
}

@media (hover: hover) and (pointer: fine) {
    body {
        cursor: default;
    }
    
    .button {
        cursor: pointer !important;
    }
}
.container {
    text-align: center;
    padding: 20px;
    padding-top: 60px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.logo:hover {
    transform: rotate(5deg) scale(1.05) translateZ(0);
}

.logo.spin {
    animation: spinLogo 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinLogo {
    0% { transform: rotate(0deg) translateZ(0); opacity: 1; }
    48% { opacity: 0.1; }
    52% { opacity: 0.1; }
    100% { transform: rotate(360deg) translateZ(0); opacity: 1; }
}

.title {
    font-size: 3em;
    margin: 20px 0;
    color: #ffd700;
    position: relative;
    animation: titlePulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.title:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.2);
}
@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    }
}

.content {
    font-size: 1.2em;
    color: #ffd700;
    margin-bottom: 30px;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.3s ease;
}

.content.rainbow {
    animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
    0% { color: #ff0000; }
    20% { color: #ffd700; }
    40% { color: #00ff00; }
    60% { color: #0000ff; }
    80% { color: #ff00ff; }
    100% { color: #ff0000; }
}
.buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.service-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.expand-button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: rgba(212, 175, 55, 0.9);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}
.expand-button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 200, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.35);
    color: #ffd700;
    transform: translateY(-2px);
}
.expand-button::after {
    content: '▼';
    font-size: 0.7em;
}
.expanded-buttons {
    display: none;
}
    @keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.expanded-buttons .button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: rgba(212, 175, 55, 0.9);
    padding: 12px 24px;
    font-size: 0.95em;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 48px;
    white-space: nowrap;
    justify-content: center;
}
.expanded-buttons .button.special {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 180, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 6px 28px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 215, 0, 0.15);
    animation: none;
}
.expanded-buttons .button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 200, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    color: #ffed4a;
}
.expanded-buttons .button.special:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 180, 0, 0.25));
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 12px 48px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 60px rgba(255, 215, 0, 0.3);
}
.alerts-box {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0;
}
.alerts-title {
    color: #d4af37;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.02em;
}
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.alert-item {
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.04), rgba(212, 175, 55, 0.02));
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 215, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.alert-item:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.04));
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(4px);
    box-shadow: 
        0 4px 16px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.alert-title {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 6px;
}
.alert-message {
    color: #f6d87f;
    font-size: 0.95em;
    margin-bottom: 6px;
}
.alert-date {
    font-size: 0.8em;
    color: rgba(255, 215, 0, 0.7);
}
.alerts-empty {
    color: rgba(255, 215, 0, 0.7);
    font-size: 0.95em;
}
.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
  
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.12));
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    color: #ffd700;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    min-height: 48px;
    box-sizing: border-box;
}
.button.icon-only {
    padding: 12px 12px;
    min-width: 48px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 50%;
}
.button.special {
    padding: 12px 24px;
    min-height: 48px;
}
.button.round {
    padding: 10px 10px !important;
    min-width: 50px !important;
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 50% !important;
}
.button.special.round {
    padding: 10px 10px;
    min-width: 50px;
    width: 50px;
    height: 50px;
    min-height: 50px;
    border-radius: 50%;
}
.button.telegram-button {
    padding: 12px 20px 12px 12px;
    min-width: auto;
    width: auto;
    height: 50px;
    min-height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.more-wrapper {
    position: relative;
    display: inline-block;
}
.more-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100%;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding-top 0.4s ease;
    pointer-events: none;
    z-index: 100;
    background: transparent;
}
.more-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}
.more-wrapper:hover .more-dropdown,
.more-dropdown:hover {
    opacity: 1;
    max-height: 500px;
    padding-top: 12px;
    pointer-events: all;
}
.more-dropdown .button {
    white-space: nowrap;
    width: auto;
    justify-content: flex-start;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.12)) !important;
    border-radius: 50px !important;
}
.more-wrapper:hover .more-dropdown .button,
.more-dropdown:hover .button {
    transform: translateY(0);
}
.more-dropdown .button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 200, 0, 0.2)) !important;
}
.more-dropdown .button:nth-child(1) {
    transition-delay: 0.05s;
}
.more-dropdown .button:nth-child(2) {
    transition-delay: 0.1s;
}
.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%,
        transparent 100%
    );
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 215, 0, 0.05) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}
.button:hover::before {
    left: 100%;
}
.button:hover::after {
    opacity: 1;
}

.button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 200, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    color: #ffed4a;
}
.button.special {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 180, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 6px 28px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 215, 0, 0.15);
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 6px 28px rgba(255, 215, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 30px rgba(255, 215, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 8px 40px rgba(255, 215, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 50px rgba(255, 215, 0, 0.25);
    }
}
.button.special:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 180, 0, 0.25));
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 12px 48px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 70px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}
.button img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(78%) sepia(68%) saturate(683%) hue-rotate(359deg) brightness(102%) contrast(98%);
    transition: filter 0.3s ease;
}
.button:hover img {
    filter: brightness(0) saturate(100%) invert(92%) sepia(98%) saturate(1449%) hue-rotate(316deg) brightness(106%) contrast(103%);
}
.team {
    margin: 50px 0;
    padding: 0;
    width: 100%;
    max-width: 600px;
}
.team-title {
    font-size: 1.4em;
    margin-bottom: 24px;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.team-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    width: 100%;
}
.team-links a {
    color: rgba(212, 175, 55, 0.9);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 14px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05));
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    font-size: 1em;
    font-weight: 600;
    width: 100%;
    max-width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}
.team-links a:nth-child(1) { animation-delay: 0.1s; }
.team-links a:nth-child(2) { animation-delay: 0.2s; }
.team-links a:nth-child(3) { animation-delay: 0.3s; }
.team-links a:nth-child(4) { animation-delay: 0.4s; }
.team-links a:nth-child(5) { animation-delay: 0.5s; }
.team-links a:nth-child(6) { animation-delay: 0.6s; }
.team-links a:nth-child(7) { animation-delay: 0.7s; }
.team-links a:nth-child(8) { animation-delay: 0.8s; }
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.team-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}
.team-links a:hover::before {
    left: 100%;
}
.team-links a:hover {
    color: #ffd700;
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 200, 0, 0.12));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 12px 32px rgba(255, 215, 0, 0.25),
        0 0 40px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.team-links a:active {
    transform: translateY(-4px) scale(0.98);
}
.footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    z-index: 2;
    box-sizing: border-box;
    margin-top: auto;
    flex-shrink: 0;
    background: transparent;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.copyright {
    font-size: 0.9em;
    opacity: 0.8;
    color: #ffd700;
}

.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #ffd700;
    pointer-events: none;
    z-index: 9999;
    animation: confettiFall 3s ease-out forwards;
}
@keyframes confettiFall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
        opacity: 0;
    }
}
.donate-box {
    margin: 50px 0;
    padding: 0;
    width: 100%;
    max-width: 800px;
}
.donate-title {
    font-size: 1.4em;
    margin-bottom: 24px;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.ton-address {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(212, 175, 55, 0.03));
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 16px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    word-break: break-all;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ton-address:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05));
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 
        0 4px 16px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ton-label {
    color: #ffd700;
    font-weight: bold;
    white-space: nowrap;
}
.copy-wrapper {
    margin-left: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.matrix-column {
    position: absolute;
    top: -120px;
    color: #ffd700;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1em;
    text-align: center;
    animation: matrixFall linear infinite;
    white-space: nowrap;
    opacity: 0.7;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

@keyframes matrixFall {
    to {
        transform: translateY(120vh);
        opacity: 0;
    }
}

/* Pobeda page */
.victory-page .container {
    gap: 24px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    padding: 60px 24px 60px;
}

.victory-page .logo {
    margin-top: 0;
}

.victory-subtitle {
    max-width: 640px;
    margin: 0 auto;
}

.victory-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.victory-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-size: 1.4em;
    margin: 30px auto;
}

.victory-button {
    min-width: 300px;
    padding: 18px 32px;
    font-size: 1.05em;
    margin-bottom: 26px;
}

.victory-scroll-card {
    height: 360px;
    overflow: hidden;
    margin: 30px auto;
}

.victory-scroll {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: victoryScroll 60s linear infinite;
}

@keyframes victoryScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.victory-year-section h2 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #ffd700;
}

.victory-year-section p {
    font-size: 0.95em;
    color: rgba(255, 215, 0, 0.85);
}

.victory-videos {
    width: 100%;
    max-width: 760px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.victory-video-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.victory-video {
    width: 100%;
    border-radius: 16px;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .victory-scroll-card {
        height: 300px;
    }

    .victory-subtitle {
        padding: 0 20px;
    }
}
.copy-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-left: 0;
    width: 20px;
    height: 20px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAACXBIWXMAAAsTAAALEwEAmpwYAAACRUlEQVR4nO2cMW7UUBCGPwWUpQgcIKFG4gLpKGiQiHKNdIQtOQiIi6TICUKUiuQMkIoqSqKQapC1ptv1OvvsN+P3/k/6S6+ev5039o61BiGEEEKIknkBzIEL4A6wDHkEzoB9KuE1cJVJ7rI8AB+ooJKvHCVXI3seQHIVsi8CCK5C9q2T0PvaZJtT3q35kv8ChxSEOYXaZJuj6Kpkm7PoamRbANFVyLYgoouXbYFEFy3bgokuVrYFFB1edteoc2qiG95H/AW5btQ5RdHhZPcZdU5VdF/Z+1FGndFE7w4su3lSE2LUGU30lw3Os0t281gsxKgzmujHVvaQlT06fU4s5VibSCQaica7ClXR+ItT68Bfqno0Eq27jlRStpUVlNGRaCTaVNELvLe7Wgf+4tSj8ZeqiyESvRQrKKOTsggrKBKNRONdhapo/MWpdeAvVT0aidZdRyop28oKyuhINBJtqugF3ttdrQN/cerR+EvVxRCJXooVlNFJWYQVFIlGovGuwuIq+mWwF6PYwLmJIvrNRF71YxvmPIrojyuO/RxA0hD5FEX0txXHzoDLAKJS8hPYjiL6F/C841+3lxOWvJdDcl/RTY46PmMGHLe9LvoFslnfj7ZdZKnk//Rd4HXH3YfowVOq4RR4Jqub8dSt9xXYkuzxRRtwAryS7PFFG/CnfTPCqrsRMZBoa/Mb+A4cAG+BHRketqItYELjLcck2l+clVTR0X/JWaRRZwoadWZCo85MaNSZEY06M6JRpxBCCCGEEEJQAP8AvaVTEW6O4O8AAAAASUVORK5CYII=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(79%) sepia(81%) saturate(436%) hue-rotate(359deg) brightness(103%) contrast(105%) opacity(50%);
}
.copy-button:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.copy-toast {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -120%);
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(117, 100, 0, 0.65);
    color: #ffd700;
    font-weight: 600;
    font-size: 0.75em;
    letter-spacing: 0.4px;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.copy-toast.show {
    opacity: 1;
    transform: translate(-50%, -150%);
}
.ton-balance {
    font-size: 0.85em;
    color: #ffd700;
    opacity: 0.85;
    margin-top: 12px;
    font-family: 'Courier New', monospace;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(212, 175, 55, 0.03));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    letter-spacing: 0.03em;
}
@media (max-width: 768px) {
    .title {
        font-size: 2em;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .buttons {
        gap: 15px;
    }
      .service-buttons,
    .social-buttons {
        gap: 10px;
    }
    
    .button {
        padding: 10px 20px;
    }
}
.flying-element {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    animation: elementFloat 1s ease-out forwards;
    background-size: contain;
    background-repeat: no-repeat;
}
.flying-element.rocket {
    background-image: url('static/emojis/rocket.png');
}
.flying-element.like {
    background-image: url('static/emojis/like.png');
}
.flying-element.snowman {
    background-image: url('static/emojis/snowman.png');
}
.flying-element.gift {
    background-image: url('static/emojis/gift.png');
}
.flying-element.snowflake {
    background-image: url('static/emojis/snowflake.png');
}
    @keyframes elementFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1);
        opacity: 0;
    }
}
      .hosting-box {
    margin: 50px 0;
    padding: 0;
    width: 100%;
    max-width: 800px;
}

.hosting-title {
    font-size: 1.4em;
    margin-bottom: 28px;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.hosting-title a {
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.65em;
    font-weight: 400;
}

.hosting-packages {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hosting-package {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(212, 175, 55, 0.06));
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(255, 215, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    min-width: 280px;
    max-width: 320px;
}

.hosting-package:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 200, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 12px 48px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.package-name {
    font-size: 1.2em;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: bold;
}

.package-specs {
    width: 100%;
    margin-bottom: 20px;
}

.spec-item {
    margin: 0px 0;
    color: #ffd700;
    text-align: center;
    font-size: 1em;
}

.spec-value {
    font-weight: bold;
    font-size: 1.2em;
}

.package-price {
    font-size: 1.4em;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: bold;
}

.reserve-button {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reserve-button:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hosting-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #ffd700;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: #ffed4a;
    transform: scale(1.1);
}

.modal-title {
    color: #ffd700;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}
.modal-specs {
    color: #ffd700;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.modal-description {
    color: #ffd700;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.reserve-now-button {
    display: block;
    width: 80%;
    margin: 0 auto;
    background: none;
    color: #ffd700;
    border: 1px solid #ffd700;
    text-align: center;
    padding: 12px 0;
    border-radius: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reserve-now-button:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hosting-packages {
        flex-direction: column;
        align-items: center;
    }
    
    .hosting-package {
        width: 90%;
        max-width: 250px;
    }
    
    .modal-content {
        width: 90%;
        margin: 30% auto;
    }
}

