/* Темная тема */
:root {
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --dark-card: #2d2d2d;
    --dark-text: #e0e0e0;
    --dark-text-secondary: #a0a0a0;
    --accent: #ff6b00;
    --gradient: linear-gradient(135deg, #1a2a6c 0%, #2a4d8e 100%);
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://maksk1x.github.io/w/img/baksc.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

header {
    background: var(--gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: white;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contacts-header {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-phone {
    font-size: 1.4rem;
    font-weight: bold;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    display: block;
    margin-bottom: 5px;
}

.contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

nav {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    text-align: center;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero {
    background: rgba(30, 30, 30, 0.7);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    color: #ccc;
}

.contact {
    padding: 2rem;
    background: rgba(30, 30, 30, 0.7);
    text-align: center;
    border-radius: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    margin-top: 2rem;
}

/* Плавающая кнопка телефона */
.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Плавающая кнопка доната */
.donate-button {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #FFD700, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B7500;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.donate-button::before {
    content: "💎";
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Монетки вокруг кнопки */
.coin-float {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, #FFD700, #D4AF37);
    border-radius: 50%;
    animation: coin-float 4s infinite ease-in-out;
    box-shadow: 0 0 4px gold;
}

.coin-float:nth-child(1) {
    top: -10px;
    left: 15px;
    animation-delay: 0s;
}

.coin-float:nth-child(2) {
    top: 10px;
    right: -10px;
    animation-delay: 0.5s;
}

.coin-float:nth-child(3) {
    bottom: -10px;
    left: 25px;
    animation-delay: 1s;
}

.coin-float:nth-child(4) {
    bottom: 15px;
    left: -10px;
    animation-delay: 1.5s;
}

@keyframes coin-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

footer {
    background: rgba(30, 30, 30, 0.8);
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
