:root {
    --bg-color: #0a0f1d;
    --primary: #306998;
    --secondary: #ffd43b;
    --accent: #00ffcc;
    --text: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Декоративные размытые неоновые круги на фоне */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.15;
}

.blob-1 {
    top: 20%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: var(--primary);
}

.blob-2 {
    bottom: 20%;
    right: 20%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
}

/* Основной контейнер (Стеклянный эффект Glassmorphism) */
.container {
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Имитация кода Python */
.code-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Современная интерактивная кнопка */
.btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary), #234f75);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 105, 152, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 105, 152, 0.5);
}

/* Эффект микро-сжатия при нажатии */
.btn:active {
    transform: translateY(1px);
}

/* Эффект клика (активная волна / Ripple) */
.ripple {
    position: absolute;
    background: rgba(255, 212, 59, 0.4); /* Желтый цвет Python */
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Всплывающее уведомление */
.toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.toast.show {
    bottom: 30px;
}
