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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #fff;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/flagjak.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

/* Заголовок */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    font-family: 'Bangers', cursive;
    font-size: 6rem;
    font-weight: 400;
    background: linear-gradient(135deg, #ffd700, #ff6b6b, #4ecdc4, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    letter-spacing: 4px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.tagline {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

/* Контент */
.content {
    max-width: 700px;
    width: 100%;
}

/* Секция контракта */
.contract-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contract-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.contract-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.contract-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    gap: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: border-color 0.3s ease;
}

.contract-box:hover {
    border-color: rgba(255, 215, 0, 0.6);
}

.contract-address {
    flex: 1;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 1.05rem;
    font-weight: 600;
    word-break: break-all;
    color: #fff;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

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

.copy-notification {
    text-align: center;
    margin-top: 15px;
    color: #4ecdc4;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
}

.copy-notification.show {
    opacity: 1;
}

/* Социальные ссылки */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    font-family: 'Fredoka', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Анимированные флаги */
.flags-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.flag {
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: floatFlag 20s infinite ease-in-out;
}

.flag-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.flag-2 {
    top: 70%;
    left: 85%;
    animation-delay: 4s;
}

.flag-3 {
    top: 40%;
    left: 5%;
    animation-delay: 8s;
}

.flag-4 {
    top: 20%;
    left: 80%;
    animation-delay: 12s;
}

.flag-5 {
    top: 80%;
    left: 20%;
    animation-delay: 16s;
}

/* Анимации появления */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-up:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatFlag {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 20px) rotate(3deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Hover эффект для логотипа */
.logo:hover {
    transform: rotate(2deg) scale(1.05);
    filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.8));
}

/* Адаптивность */
@media (max-width: 768px) {
    .logo {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .contract-section {
        padding: 25px;
    }

    .contract-address {
        font-size: 0.85rem;
    }

    .social-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .flag {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .contract-box {
        flex-direction: column;
        gap: 15px;
    }

    .copy-btn {
        width: 100%;
        padding: 12px;
    }
}

