/* ==========================================================================
   AQUARIUM WIDGET (РЫБКА ЛЮБЫ) — БАР «МОДЕЛЬНЫЙ ПОКЕР»
   Стиль: Salon Aquarium & Brushed Brass
   ========================================================================== */

.aquarium-card {
    background: rgba(18, 14, 25, 0.85);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 800px;
    margin: 30px auto 0;
    box-shadow: var(--shadow-md);
    position: relative;
    backdrop-filter: blur(10px);
}

/* Water Tank Visual */
.tank-visual {
    position: relative;
    height: 140px;
    background: radial-gradient(ellipse at center bottom, rgba(28, 45, 66, 0.6) 0%, rgba(10, 15, 25, 0.9) 80%);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.18);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Gentle Water Caustics */
.tank-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    opacity: 0.6;
}

/* Swimming Fish */
.swimming-fish {
    position: absolute;
    top: 40%;
    left: 45%;
    width: 52px;
    height: 36px;
    transition: transform 0.4s ease, top 0.6s ease, left 0.8s ease;
    cursor: pointer;
    z-index: 5;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    animation: fishWiggle 2s infinite alternate ease-in-out;
}

@keyframes fishWiggle {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(2deg); }
    100% { transform: translateY(3px) rotate(-1deg); }
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    bottom: -10px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(212, 175, 55, 0.2));
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    animation: riseBubble 4.5s infinite linear;
}

@keyframes riseBubble {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-160px);
        opacity: 0;
    }
}

/* Food Flake */
.food-flake {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
    pointer-events: none;
    animation: fallFood 1.5s forwards ease-in;
    z-index: 4;
}

@keyframes fallFood {
    0% {
        top: 0;
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: 130px;
        opacity: 0;
        transform: scale(0.6);
    }
}

/* Info and Controls */
.aquarium-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fish-info {
    text-align: left;
    flex: 1;
    min-width: 260px;
}

.fish-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.fish-title svg {
    color: var(--gold);
    flex-shrink: 0;
}

.fish-status {
    font-size: 0.88rem;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-style: italic;
    min-height: 22px;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

/* Satiety Gauge */
.satiety-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.satiety-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.satiety-bar-bg {
    width: 130px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.satiety-bar-fill {
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: var(--radius-pill);
    transition: width 0.4s ease;
}

.satiety-percent {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
}

/* Feed Button */
.fish-btn {
    background: var(--gold-muted);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fish-btn svg {
    color: currentColor;
}

.fish-btn:hover {
    background: var(--gold);
    color: #0c0a11;
    border-color: var(--gold);
}
