@font-face {
    font-family: "Moderustic";
    src:
        url("/src/Moderustic.woff2") format("woff2"),
        url("/src/Moderustic.woff") format("woff");
}

:root {
    --primary-color: #7e57c2;
    --primary-light: #b085f5;
    --primary-dark: #4d2c91;
    --accent-color: #ff6b9d;
    --accent-light: #ff9ec0;
    --gradient-primary: linear-gradient(135deg, #7e57c2 0%, #b085f5 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b9d 0%, #ff9ec0 100%);
    --gradient-bg: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
    --background-color: #f5f5f7;
    --surface-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --primary-color: #9575cd;
    --primary-light: #c7a4ff;
    --primary-dark: #65499c;
    --accent-color: #ff6b9d;
    --accent-light: #ff9ec0;
    --gradient-primary: linear-gradient(135deg, #9575cd 0%, #c7a4ff 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b9d 0%, #ff9ec0 100%);
    --gradient-bg: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    --gradient-card: linear-gradient(135deg, #1e1e1e 0%, #252235 100%);
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.moderustic {
    font-family: "Moderustic", 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

/* Общие стили для кнопок */
.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}