@font-face {
    font-family: 'Minecraft Rus';
    src: url('https://static.meowsmp.ru/fonts/minecraft.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Minecraft Ten';
    src: url('https://static.meowsmp.ru/fonts/minecraftten.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('https://static.meowsmp.ru/fonts/interregular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('https://static.meowsmp.ru/fonts/interitalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #1a1a1a;
    color: white;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg/morning.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: -2;
    transition: background-image 1s ease-in-out;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #CDCFFF, #6C4BFF);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #CDCFFF;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.signin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6C4BFF, #CDCFFF);
    border: none;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.signin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 75, 255, 0.4);
}

.arrow-icon {
    display: inline-block;
    width: 28px;
    height: 30px;
    background-image: url('assets/icon/Group 401.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.arrow {
    font-size: 1.2rem;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 5rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards, pulse 3s ease-in-out infinite;
    animation-delay: 0.5s, 2s;
    display: flex;
    align-items: flex-end; /* Изменено: flex-end вместо baseline */
    justify-content: center;
    gap: 0;
    line-height: 1;
    margin-top: -140px;
}

.meow {
    text-transform: none;
    font-variant: normal;
    font-family: 'Minecraft Rus', cursive; /* Исправлено: Minecraft Rus вместо Minecraft */
    background: linear-gradient(to right, #CDCFFF, #6C4BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(108, 75, 255, 0.5));
    display: inline-block;
    line-height: 1;
    font-size: 5rem;
    padding-bottom: 0; /* Добавлено */
}

.smp {
    font-family: 'Minecraft Ten', cursive;
    color: white;
    -webkit-text-fill-color: white;
    display: inline-block;
    line-height: 1;
    font-size: 5rem;
    padding-bottom: 2px; /* Добавлено: компенсируем разницу baseline */
}

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

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

.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    margin-top: -20vh;
    min-height: 100vh;
}

.content-section {
    min-height: 100vh;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    width: 100%;
    background: rgba(20, 20, 25, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 6px;
    padding: 40px;
    border: 2px solid rgba(108, 75, 255, 0.3);
    position: relative;
    z-index: 1;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8) inset,
        0 0 0 2px rgba(60, 60, 70, 0.5) inset,
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(108, 75, 255, 0.08);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.container:hover {
    border-color: rgba(108, 75, 255, 0.5);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8) inset,
        0 0 0 2px rgba(60, 60, 70, 0.5) inset,
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(108, 75, 255, 0.15);
}

/* Декоративные пиксельные уголки в стиле Minecraft */
.container::before,
.container::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #6C4BFF;
    z-index: 2;
}

.container::before {
    top: -2px;
    left: -2px;
    box-shadow: 
        calc(100% + 100% - 12px) 0 0 #6C4BFF,
        0 calc(100% + 100% - 12px) 0 #6C4BFF,
        calc(100% + 100% - 12px) calc(100% + 100% - 12px) 0 #6C4BFF;
}

.container::after {
    bottom: -2px;
    right: -2px;
    box-shadow: 
        calc(-100% - 100% + 12px) 0 0 #6C4BFF,
        0 calc(-100% - 100% + 12px) 0 #6C4BFF,
        calc(-100% - 100% + 12px) calc(-100% - 100% + 12px) 0 #6C4BFF;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.geo-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  will-change: transform;
}

.geo-shape-1 {
  background: #323232;
  clip-path: polygon(0 0, 100% 10%, 0 26%);
  transform: translateY(0);
}

.geo-shape-2 {
  background: #222222;
  clip-path: polygon(0 24%, 100% 10%, 100% 41%);
  transform: translateY(0);
}

.geo-shape-3 {
  background: #171717;
  clip-path: polygon(0 23%, 100% 40%, 100% 100%, 0 100%);
  transform: translateY(0);
}

.geo-shape-4 {
  display: none;
}


.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-svg-icon {
    width: 88px;
    height: 94px;
    background-image: url('assets/icon/Group 404.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.footer-left {
    padding-left: 100px;
}

/* ИЗМЕНЕНО: Красивое оформление "Скопировать" */
.copy-hint {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.ip-copy:hover .copy-hint {
    color: #CDCFFF;
    background: rgba(108, 75, 255, 0.15);
    border-color: rgba(108, 75, 255, 0.4);
    box-shadow: 0 0 15px rgba(108, 75, 255, 0.2);
}

.ip-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ip-copy:hover {
    transform: scale(1.05);
}

.ip-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.ip-address {
    font-size: 0.9rem;
    color: #C0B2FE;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.footer-links-group-left {
    grid-column: 2;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.footer-links-group-right {
    grid-column: 3;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 8px 0;
}

.footer-link:hover {
    color: #CDCFFF;
    transform: translateY(-2px);
}

.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #6C4BFF, #CDCFFF);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 15px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-section {
        gap: 15px;
    }

    .footer-svg-icon {
        width: 60px;
        height: 64px;
        left: 10px;
    }

    .footer-left {
        padding-left: 70px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-links-group-left,
    .footer-links-group-right {
        grid-column: 1;
        justify-content: center;
        gap: 20px;
    }
}