:root {
    --primary-color: #FF6700;
    --secondary-color: #333333;
    --text-color-light: #F0F0F0;
    --text-color-dark: #1a1a1a;
    --background-dark: #121212;
    --background-light-gray: #1E1E1E;
    --border-color: #444444;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.panel-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: #FF8C42;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5em;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

h3 {
    font-size: 1.8em;
    color: var(--text-color-light);
}

/* Улучшенный анимированный курсор */
* {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: 
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        width 0.3s ease,
        height 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
    transform: translate(-50%, -50%) scale(1);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.8);
    background-color: rgba(255, 103, 0, 0.3);
    border-color: #FF8C42;
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.5);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: rgba(255, 103, 0, 0.4);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: 
        width 0.3s ease,
        height 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 103, 0, 0.5);
}

.cursor-dot.hover {
    width: 8px;
    height: 8px;
    background-color: #FF8C42;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимации для боковых панелей */
.slide-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-left: 3px solid var(--primary-color);
    box-shadow: -5px 0 30px rgba(255, 103, 0, 0.2);
}

.slide-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 103, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 103, 0, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(255, 103, 0, 0.05) 50%, transparent 100%);
    opacity: 0.6;
    animation: panelBackgroundShift 15s infinite linear;
}

@keyframes panelBackgroundShift {
    0% { background-position: 0% 0%, 100% 100%, 0 0; }
    100% { background-position: 100% 100%, 0% 0%, 100% 100%; }
}

.panel-content {
    animation: panelSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateX(50px) rotate(2deg);
}

@keyframes panelSlideIn {
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.close-btn {
    animation: closeBtnPulse 2s infinite ease-in-out;
    background: rgba(255, 103, 0, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@keyframes closeBtnPulse {
    0%, 100% { transform: scale(1); background: rgba(255, 103, 0, 0.1); }
    50% { transform: scale(1.1); background: rgba(255, 103, 0, 0.2); }
}

.close-btn:hover {
    animation: none;
    transform: scale(1.2) rotate(90deg);
    background: rgba(255, 103, 0, 0.3);
}
.bubble {
    position: absolute;
    bottom: -50px;
    width: 30px;
    height: 30px;
    background: rgba(255, 103, 0, 0.15);
    border-radius: 50%;
    opacity: 0;
    animation: bubble-float 6s infinite ease-in;
}

/* Анимации для элементов в панелях */
.feature-item, .donate-option, .contact-method, .rules-summary {
    animation: cardAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--item-index) * 0.15s);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid rgba(255, 103, 0, 0.2);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 103, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before, .donate-option::before, .contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 103, 0, 0.1), transparent);
    transition: left 0.7s ease;
}

.feature-item:hover::before, .donate-option:hover::before, .contact-method:hover::before {
    left: 100%;
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-item:hover, .donate-option:hover, .contact-method:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 103, 0, 0.2);
}

.feature-item i, .contact-method i {
    animation: iconPulse 3s infinite ease-in-out;
    background: linear-gradient(45deg, var(--primary-color), #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-item h3, .donate-option h3, .contact-method h3 {
    background: linear-gradient(45deg, var(--primary-color), #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.feature-item h3::after, .donate-option h3::after, .contact-method h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), #FF8C42);
    transition: width 0.4s ease;
}

.feature-item:hover h3::after, .donate-option:hover h3::after, .contact-method:hover h3::after {
    width: 100%;
}

/* Анимация для цен в донате */
.price {
    animation: priceGlow 2s infinite alternate;
    font-size: 1.8em;
    background: linear-gradient(45deg, var(--primary-color), #FF8C42, #FF6700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes priceGlow {
    0% { text-shadow: 0 0 10px rgba(255, 103, 0, 0.3); }
    100% { text-shadow: 0 0 20px rgba(255, 103, 0, 0.6); }
}

/* Анимация для списков */
.rules-summary li, .donate-option li {
    animation: listItemSlide 0.6s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes listItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rules-summary li:before, .donate-option li:before {
    animation: bulletPulse 2s infinite ease-in-out;
}

@keyframes bulletPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Анимация для кнопок в панелях */
.slide-panel .btn {
    animation: btnBounce 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: scale(0.8);
    position: relative;
    overflow: hidden;
}

@keyframes btnBounce {
    0% { opacity: 0; transform: scale(0.8); }
    60% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.slide-panel .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.slide-panel .btn:hover::before {
    left: 100%;
}

/* Анимация для кнопки "Начать играть" */
.hero-section .btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.hero-section .btn-secondary:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 103, 0, 0.5);
}

.hero-section .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 103, 0, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.hero-section .btn-secondary:hover::before {
    left: 100%;
}

/* Анимированные шарики на фоне при наведении на кнопку */
.hero-section {
    position: relative;
}

.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1; /* Измените с 0 на 1 */
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -50px;
    width: 30px;
    height: 30px;
    background: rgba(255, 103, 0, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: bubble-float 6s ease-in forwards;
    z-index: 2;
}

@keyframes bubble-float {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Анимации для боковых панелей */
.slide-panel {
    background: linear-gradient(135deg, var(--background-light-gray) 0%, #2a2a2a 100%);
}

.slide-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,103,0,0.03)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.panel-content {
    animation: panelFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateX(20px);
}

@keyframes panelFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item, .donate-option, .contact-method {
    animation: itemFadeIn 0.6s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
    transform: translateY(20px);
}

@keyframes itemFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.btn-primary:hover {
    background-color: #E65C00;
    color: var(--text-color-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.main-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color-light);
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
    cursor: pointer;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width var(--transition-speed) ease-in-out;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 0.9em;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/gmod_background.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light);
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Добавьте эту строку */
}

.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.4;
}

.section-padding {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.text-center {
    text-align: center;
}

.features-section,
.about-section,
.rules-section,
.donate-section,
.contact-section {
    position: relative;
    z-index: 1;
    border-top: none;
    border-bottom: none;
}

.features-section,
.rules-section,
.contact-section {
    background-color: var(--background-light-gray);
}

.about-section,
.donate-section {
    background-color: var(--background-dark);
}

.wave-divider {
    position: relative;
    width: 100%;
    height: 120px;
    line-height: 0;
    overflow: hidden;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: scaleY(-1);
    transform-origin: center center;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave-top-dark .shape-fill {
    fill: var(--background-light-gray);
}

.wave-bottom-dark .shape-fill {
    fill: var(--background-dark);
}

.wave-top-light .shape-fill {
    fill: var(--background-light-gray);
}

.wave-bottom-light .shape-fill {
    fill: var(--background-dark);
}

.wave-top-contact .shape-fill {
    fill: var(--background-light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed) ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95em;
    color: #b0b0b0;
}

.about-section h2 {
    color: var(--text-color-light);
}

.about-section p {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1em;
}

.about-section .btn {
    margin-top: 20px;
}

.rules-section h2 {
    color: var(--text-color-light);
}
.rules-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.donate-section h2 {
    color: var(--text-color-light);
}
.donate-offers {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.offer-item {
    background-color: var(--background-light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    flex: 1;
    max-width: 350px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease;
}

.offer-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.offer-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}
.offer-item p {
    font-size: 0.95em;
    color: #b0b0b0;
    min-height: 40px;
}
.donate-section .btn {
    margin-top: 30px;
}

.contact-section h2 {
    color: var(--text-color-light);
}
.contact-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #7289DA;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
}

.discord-btn:hover {
    background-color: #677BC4;
    color: white;
}

.email-info {
    margin-top: 20px;
    font-size: 1em;
    color: #b0b0b0;
}

.email-info a {
    color: var(--primary-color);
    font-weight: bold;
}

.main-footer {
    background-color: var(--background-dark);
    color: #888;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.main-footer p {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-links a {
    color: #888;
    margin: 0 15px;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Стили для выдвижных панелей */
.slide-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    height: 100vh;
    background-color: var(--background-light-gray);
    z-index: 2000;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.slide-panel.active {
    right: 0;
}

.panel-content {
    padding: 80px 40px 40px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--text-color-light);
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Стили для контента внутри панелей */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-list .feature-item {
    background-color: var(--background-dark);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feature-list .feature-item i {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.rules-summary {
    margin-top: 30px;
    background-color: var(--background-dark);
    padding: 20px;
    border-radius: 8px;
}

.rules-summary ul {
    list-style-type: none;
    margin-left: 20px;
}

.rules-summary li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.rules-summary li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.donate-option {
    background-color: var(--background-dark);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease;
}

.donate-option:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.donate-option h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donate-option ul {
    list-style-type: none;
    margin-bottom: 20px;
    text-align: left;
}

.donate-option li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.donate-option li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-method {
    background-color: var(--background-dark);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.contact-method i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    margin-bottom: 10px;
}

.support-text {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 20px;
    }
    .hero-section h1 {
        font-size: 3.5em;
    }
    h2 {
        font-size: 2.2em;
    }
    .slide-panel {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    .main-nav {
        margin-top: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li {
        margin: 5px 10px;
    }
    .header-actions {
        margin-top: 15px;
    }
    .hero-section h1 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.2em;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .donate-offers {
        flex-direction: column;
        align-items: center;
    }
    .offer-item {
        max-width: 90%;
    }
    .section-padding {
        padding: 60px 0;
    }
    .slide-panel {
        max-width: 100%;
    }
    .panel-content {
        padding: 70px 20px 30px;
    }
    .feature-list,
    .donate-options,
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .main-nav ul li a {
        font-size: 1em;
    }
    .logo a {
        font-size: 1.8em;
    }
    .panel-content h2 {
        font-size: 2em;
    }
}
/* Исправление для корректного отображения анимаций */
.slide-panel.active .panel-content {
    animation: panelSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slide-panel.active .feature-item,
.slide-panel.active .donate-option,
.slide-panel.active .contact-method,
.slide-panel.active .rules-summary {
    animation: cardAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slide-panel.active .btn {
    animation: btnBounce 0.8s ease forwards;
}

.slide-panel.active .rules-summary li,
.slide-panel.active .donate-option li {
    animation: listItemSlide 0.6s ease forwards;
}
/* Стили для кнопок доната */
.donate-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 103, 0, 0.4);
}

.donate-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.donate-btn:hover::after {
    left: 100%;
}

/* Адаптивность для опций доната */
@media (max-width: 768px) {
    .donate-options {
        grid-template-columns: 1fr;
    }
    
    .donate-option {
        max-width: 100%;
    }
}
/* Стили для модального окна бета-теста */
.beta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.beta-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 103, 0, 0.3);
}

.beta-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: var(--text-color-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.beta-close-btn:hover {
    color: var(--primary-color);
}

.beta-step h2 {
    margin-bottom: 20px;
    text-align: center;
}

.beta-step p {
    margin-bottom: 20px;
    text-align: center;
}

.beta-step input,
.beta-step textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-dark);
    color: var(--text-color-light);
    font-size: 16px;
}

.beta-step input:focus,
.beta-step textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 103, 0, 0.3);
}

.beta-step button {
    width: 100%;
    margin-top: 10px;
}

.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-message i {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.loading {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.modal-open {
    overflow: hidden;
}
/* Стили для модального окна бета-теста */
.beta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.beta-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 103, 0, 0.3);
}

.beta-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: var(--text-color-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.beta-close-btn:hover {
    color: var(--primary-color);
}

.beta-step h2 {
    margin-bottom: 20px;
    text-align: center;
}

.beta-step p {
    margin-bottom: 20px;
    text-align: center;
}

.beta-step input,
.beta-step textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-dark);
    color: var(--text-color-light);
    font-size: 16px;
}

.beta-step input:focus,
.beta-step textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 103, 0, 0.3);
}

.beta-step button {
    width: 100%;
    margin-top: 10px;
}

.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-message i {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.loading {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.modal-open {
    overflow: hidden;
}
/* Добавьте эти стили в конец файла */
#beta-test-btn {
    position: relative;
    z-index: 10;
}

.beta-modal {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.beta-step {
    transition: all 0.3s ease;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
html {
    scroll-behavior: smooth;
}
/* R.E.P.O. STYLE - ТОЧНАЯ КОПИЯ */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

.repo-input-container {
    position: relative;
    margin: 25px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff6700;
    border-radius: 3px;
}

.repo-input-label {
    color: #ff6700;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 103, 0, 0.7);
}

.repo-input-field {
    width: 100%;
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    padding: 10px 5px;
    outline: none;
    letter-spacing: 1px;
}

.repo-input-field::placeholder {
    color: #666;
    font-style: italic;
}

.repo-code-input {
    font-size: 24px !important;
    letter-spacing: 10px !important;
    text-align: center;
    font-weight: bold;
}

/* Анимация тряски как в R.E.P.O. */
@keyframes repo-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.repo-input-error {
    animation: repo-shake 0.5s ease-in-out;
    border-color: #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.repo-error-message {
    color: #ff0000;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    margin-top: 8px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Сканирующая линия как в R.E.P.O. */
@keyframes repo-scan {
    0% { 
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        transform: translateY(200%);
        opacity: 0;
    }
}

.repo-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6700, transparent);
    opacity: 0;
}

.repo-scan-active {
    animation: repo-scan 1.5s ease-in-out;
}

/* Мигающий курсор */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.repo-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 1s infinite;
}

/* Стили для модального окна в стиле R.E.P.O. */
.beta-modal-content {
    background: #111 !important;
    border: 3px solid #ff6700 !important;
    border-radius: 5px !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.beta-modal-content h2 {
    color: #ff6700 !important;
    font-family: 'Share Tech Mono', monospace !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 103, 0, 0.7);
    border-bottom: 2px solid #ff6700;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.beta-step p {
    color: #ccc !important;
    font-family: 'Share Tech Mono', monospace !important;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Кнопки в стиле R.E.P.O. */
.repo-btn {
    background: #222 !important;
    border: 2px solid #ff6700 !important;
    color: #ff6700 !important;
    font-family: 'Share Tech Mono', monospace !important;
    padding: 12px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.repo-btn:hover {
    background: #ff6700 !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 103, 0, 0.5);
    transform: translateY(-2px);
}

/* Индикатор шагов */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #ff6700;
    box-shadow: 0 0 10px rgba(255, 103, 0, 0.7);
    transform: scale(1.2);
}