/* ==========================================
   Buba Trainer - Styles
   ========================================== */

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

#app {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ==========================================
   Background decorations
   ========================================== */

.background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud-1 {
    width: 120px;
    height: 40px;
    top: 8%;
    left: 10%;
    animation: float-cloud 25s ease-in-out infinite;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.cloud-1::after {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 55px;
}

.cloud-2 {
    width: 150px;
    height: 50px;
    top: 15%;
    right: 15%;
    animation: float-cloud 30s ease-in-out infinite reverse;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 30px;
}

.cloud-2::after {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 75px;
}

.cloud-3 {
    width: 100px;
    height: 35px;
    top: 5%;
    left: 50%;
    animation: float-cloud 20s ease-in-out infinite;
    animation-delay: -5s;
}

.cloud-3::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 15px;
}

.cloud-3::after {
    width: 35px;
    height: 35px;
    top: -18px;
    left: 45px;
}

@keyframes float-cloud {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
}

/* Stars */
.star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fef08a;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 { top: 12%; left: 5%; animation-delay: 0s; }
.star-2 { top: 8%; left: 85%; animation-delay: 0.5s; }
.star-3 { top: 20%; left: 30%; animation-delay: 1s; width: 15px; height: 15px; }
.star-4 { top: 6%; left: 60%; animation-delay: 1.5s; width: 12px; height: 12px; }
.star-5 { top: 18%; right: 25%; animation-delay: 0.7s; width: 18px; height: 18px; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ==========================================
   Screens
   ========================================== */

.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

/* Start screen */
#start-screen {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.9) 0%, rgba(14, 165, 233, 0.9) 100%);
}

.start-content {
    text-align: center;
    padding: 20px;
}

.start-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    color: white;
    text-shadow: 3px 3px 0 #0369a1, 5px 5px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    animation: bounce-title 2s ease-in-out infinite;
}

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

.start-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: white;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.big-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: clamp(150px, 40vw, 200px);
    height: clamp(150px, 40vw, 200px);
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulse-button 2s ease-in-out infinite;
}

.big-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.big-button:active {
    transform: scale(0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 10px 50px rgba(34, 197, 94, 0.5), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
}

.button-icon {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

.button-text {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Main screen
   ========================================== */

#main-screen {
    padding: 20px;
}

/* Speech bubble */
.speech-bubble {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 20px 30px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #1e293b;
    text-align: center;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 15px solid transparent;
    border-top-color: white;
}

.speech-bubble.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
}

/* Topic icon (legacy, hidden) */
.topic-icon {
    display: none;
}

/* ==========================================
   Center Card - большая карточка по центру
   ========================================== */

.center-card {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: clamp(250px, 40vw, 400px);
    height: clamp(280px, 45vw, 450px);
    background: white;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.center-card.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    pointer-events: none;
}

.center-card.visible {
    animation: card-appear 0.5s ease-out;
}

@keyframes card-appear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotate(-10deg);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.05) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.center-card .card-icon {
    width: 80%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-card .card-icon svg {
    width: 100%;
    height: 100%;
    max-width: 280px;
    max-height: 280px;
}

.center-card .card-label {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.center-card .card-sound {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #6366f1;
    font-weight: 600;
    animation: sound-pulse 1s ease-in-out infinite;
}

@keyframes sound-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Buba сдвигается вправо когда карточка видна */
.buba-container.card-visible {
    transform: translateX(25%);
    transition: transform 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .center-card {
        left: 50%;
        top: 25%;
        width: clamp(200px, 60vw, 300px);
        height: clamp(230px, 65vw, 350px);
    }

    .buba-container.card-visible {
        transform: translateX(0) translateY(30%);
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .center-card {
        left: 25%;
        width: clamp(180px, 30vw, 280px);
        height: clamp(200px, 50vh, 300px);
    }

    .buba-container.card-visible {
        transform: translateX(40%);
    }
}

/* ==========================================
   Buba Character
   ========================================== */

.buba-container {
    position: relative;
    width: clamp(250px, 60vw, 400px);
    height: clamp(300px, 70vh, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.buba {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

/* ==========================================
   Buba Animations
   ========================================== */

/* Hidden elements */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- SLEEPING state --- */
.buba.sleeping {
    animation: breathing 3s ease-in-out infinite;
}

.buba.sleeping #eyes {
    animation: none;
}

.buba.sleeping #left-eye .eye-white,
.buba.sleeping #left-eye .eye-pupil,
.buba.sleeping #left-eye .eye-highlight,
.buba.sleeping #right-eye .eye-white,
.buba.sleeping #right-eye .eye-pupil,
.buba.sleeping #right-eye .eye-highlight {
    opacity: 0;
}

.buba.sleeping #closed-eyes {
    opacity: 1;
    visibility: visible;
}

.buba.sleeping #zzz {
    opacity: 1;
    visibility: visible;
    animation: float-zzz 2s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(5px) scale(1.02); }
}

@keyframes float-zzz {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-15px); opacity: 1; }
}

/* --- WAKE UP state --- */
.buba.wakeup {
    animation: wakeup-bounce 0.8s ease-out;
}

.buba.wakeup #sparkles {
    opacity: 1;
    visibility: visible;
}

.buba.wakeup .sparkle {
    animation: sparkle-appear 1s ease-out forwards;
}

.buba.wakeup .sparkle-1 { animation-delay: 0s; }
.buba.wakeup .sparkle-2 { animation-delay: 0.15s; }
.buba.wakeup .sparkle-3 { animation-delay: 0.3s; }
.buba.wakeup .sparkle-4 { animation-delay: 0.45s; }

@keyframes wakeup-bounce {
    0% { transform: scale(0.9) translateY(20px); }
    50% { transform: scale(1.1) translateY(-30px); }
    70% { transform: scale(0.95) translateY(10px); }
    100% { transform: scale(1) translateY(0); }
}

@keyframes sparkle-appear {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); opacity: 0; }
}

/* --- LISTENING state --- */
.buba.listening {
    animation: listening-sway 2s ease-in-out infinite;
}

.buba.listening #right-ear {
    animation: ear-perk 1.5s ease-in-out infinite;
    transform-origin: center bottom;
}

.buba.listening .eye-pupil {
    animation: look-around 3s ease-in-out infinite;
}

@keyframes listening-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes ear-perk {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-15deg) scale(1.1); }
}

@keyframes look-around {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* --- SPEAKING state --- */
.buba.speaking {
    animation: speaking-gesture 0.5s ease-in-out infinite;
}

.buba.speaking #smile {
    opacity: 0;
}

.buba.speaking #open-mouth {
    opacity: 1;
    visibility: visible;
}

.buba.speaking #left-arm {
    animation: arm-gesture-left 0.8s ease-in-out infinite;
    transform-origin: right center;
}

.buba.speaking #right-arm {
    animation: arm-gesture-right 0.8s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes speaking-gesture {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Анимация языка при разговоре */
.buba.speaking #open-mouth ellipse:last-child {
    animation: tongue-move 0.2s ease-in-out infinite alternate;
}

@keyframes tongue-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(3px); }
}

@keyframes arm-gesture-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg); }
}

@keyframes arm-gesture-right {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
}

/* --- HAPPY state --- */
.buba.happy {
    animation: happy-jump 0.5s ease-in-out infinite;
}

.buba.happy #sparkles {
    opacity: 1;
    visibility: visible;
}

.buba.happy .sparkle {
    animation: sparkle-rotate 0.8s linear infinite;
}

.buba.happy #confetti {
    opacity: 1;
    visibility: visible;
}

.buba.happy .confetti-piece {
    animation: confetti-fall 2s ease-out infinite;
}

.buba.happy .cp-1 { animation-delay: 0s; }
.buba.happy .cp-2 { animation-delay: 0.2s; }
.buba.happy .cp-3 { animation-delay: 0.4s; }
.buba.happy .cp-4 { animation-delay: 0.1s; }
.buba.happy .cp-5 { animation-delay: 0.3s; }
.buba.happy .cp-6 { animation-delay: 0.5s; }
.buba.happy .cp-7 { animation-delay: 0.25s; }
.buba.happy .cp-8 { animation-delay: 0.35s; }

.buba.happy #left-arm,
.buba.happy #right-arm {
    animation: clap 0.3s ease-in-out infinite alternate;
}

@keyframes happy-jump {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes sparkle-rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes clap {
    0% { transform: rotate(-30deg); }
    100% { transform: rotate(30deg); }
}

/* --- IDLE state --- */
.buba.idle {
    animation: idle-shift 3s ease-in-out infinite;
}

.buba.idle #wave-hand {
    opacity: 1;
    visibility: visible;
    animation: wave 1s ease-in-out infinite;
}

.buba.idle #right-arm {
    opacity: 0;
}

.buba.idle #left-leg,
.buba.idle #right-leg {
    animation: foot-tap 1s ease-in-out infinite alternate;
}

@keyframes idle-shift {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes wave {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(20deg); }
}

@keyframes foot-tap {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* --- THINKING state --- */
.buba.thinking {
    animation: thinking-tilt 2s ease-in-out infinite;
}

.buba.thinking #thinking-dots {
    opacity: 1;
    visibility: visible;
}

.buba.thinking .dot {
    animation: thinking-dot 1.5s ease-in-out infinite;
}

.buba.thinking .dot-1 { animation-delay: 0s; }
.buba.thinking .dot-2 { animation-delay: 0.3s; }
.buba.thinking .dot-3 { animation-delay: 0.6s; }

.buba.thinking #thinking-finger {
    opacity: 1;
    visibility: visible;
}

.buba.thinking .eye-pupil {
    animation: look-up 3s ease-in-out infinite;
}

@keyframes thinking-tilt {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes thinking-dot {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes look-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==========================================
   Mic indicator
   ========================================== */

.mic-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.mic-icon {
    width: 30px;
    height: 30px;
    color: #64748b;
    transition: color 0.3s ease;
}

.mic-indicator.active .mic-icon {
    color: #22c55e;
}

.mic-indicator.listening .mic-icon {
    color: #ef4444;
    animation: mic-pulse 1s ease-in-out infinite;
}

@keyframes mic-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mic-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
}

.wave {
    width: 4px;
    height: 10px;
    background: #94a3b8;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.mic-indicator.active .wave {
    background: #22c55e;
}

.mic-indicator.listening .wave {
    background: #ef4444;
    animation: wave-bounce 0.5s ease-in-out infinite;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 0.1s; }
.wave-3 { animation-delay: 0.2s; }

@keyframes wave-bounce {
    0%, 100% { height: 10px; }
    50% { height: 25px; }
}

/* ==========================================
   Connection status
   ========================================== */

.connection-status {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #64748b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fbbf24;
    animation: status-pulse 1.5s ease-in-out infinite;
}

.connection-status.connected .status-dot {
    background: #22c55e;
    animation: none;
}

.connection-status.disconnected .status-dot {
    background: #ef4444;
}

.connection-status.error .status-dot {
    background: #ef4444;
    animation: status-pulse 0.5s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==========================================
   Camera indicator
   ========================================== */

.camera-indicator {
    position: absolute;
    top: 15px;
    left: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #64748b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.camera-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.camera-indicator.active {
    color: #22c55e;
}

.camera-indicator.active .camera-icon {
    animation: camera-pulse 2s ease-in-out infinite;
}

.camera-icon {
    font-size: 1.2rem;
}

@keyframes camera-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .camera-indicator {
        left: auto;
        right: 60px;
        top: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ==========================================
   Fullscreen button
   ========================================== */

.fullscreen-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.fullscreen-button:hover {
    transform: scale(1.1);
    background: white;
}

.fullscreen-button:active {
    transform: scale(0.95);
}

.fullscreen-button svg {
    width: 100%;
    height: 100%;
    color: #64748b;
}

/* ==========================================
   Author badge
   ========================================== */

.author-badge {
    position: fixed;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1000;
}

.author-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.author-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.author-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
    .speech-bubble {
        top: 3%;
        padding: 15px 20px;
    }

    .topic-icon {
        top: 12%;
        right: 5%;
    }

    .mic-indicator {
        bottom: 20px;
        padding: 10px 15px;
    }

    .connection-status {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .fullscreen-button {
        width: 40px;
        height: 40px;
    }

    .author-badge {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
    }

    .author-logo {
        width: 30px;
        height: 30px;
    }

    .author-text {
        font-size: 0.75rem;
    }
}

@media (max-height: 500px) {
    .buba-container {
        height: 60vh;
    }

    .speech-bubble {
        top: 2%;
    }

    .mic-indicator {
        bottom: 10px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .buba-container {
        width: 40vw;
        height: 80vh;
    }

    .topic-icon {
        top: 5%;
        right: 3%;
        width: 50px;
        height: 50px;
    }

    .speech-bubble {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* TV / Large screens */
@media (min-width: 1400px) {
    .buba-container {
        width: 500px;
        height: 600px;
    }

    .speech-bubble {
        font-size: 2.5rem;
        padding: 30px 50px;
    }

    .topic-icon {
        width: 120px;
        height: 120px;
    }
}
