        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .app-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            padding: 15px 20px;
            background: linear-gradient(135deg, #4e7ae6, #7c4ee6);
            color: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);}
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-square {
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;        
        }

        .logo-square img{
            width: 60px;
            height: 60px;
        }
        .app-title {
          font-size: 1.8rem;
          margin: 0;
          text-decoration: none;
          color: white;
        }
        .app-header a {
          text-decoration: none !important;
        }
        .unit-step-counter {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .input-section {
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        
        textarea {
            width: 100%;
            min-height: 200px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            margin-bottom: 20px;
            resize: vertical;
            transition: border-color 0.3s;
        }
        
        textarea:focus {
            border-color: #4e7ae6;
            outline: none;
        }
        
        button {
            background: linear-gradient(to bottom, #4e7ae6, #3a5bbf);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        .btn-primary {
            background: linear-gradient(to bottom, #4e7ae6, #3a5bbf);
        }
        
        .btn-secondary {
            background: linear-gradient(to bottom, #6c757d, #5a6268);
        }
        
        .btn-success {
            background: linear-gradient(to bottom, #28a745, #218838);
        }
        
        .btn-danger {
            background: linear-gradient(to bottom, #dc3545, #c82333);
        }
        
        .btn-warning {
            background: linear-gradient(to bottom, #ff7e5f, #feb47b);
        }
        
        .btn-info {
            background: linear-gradient(to bottom, #17a2b8, #138496);
        }
        
        .units-container {
            display: none;
            margin-bottom: 30px;
        }
        
        .units-bar {
            display: flex;
            margin-bottom: 20px;
            overflow-x: auto;
            padding: 5px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .unit-indicator {
            flex: 1;
            min-width: 40px;
            height: 10px;
            background-color: #ddd;
            margin: 0 2px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .unit-indicator.active {
            background: linear-gradient(to right, #4e7ae6, #7c4ee6);
        }
        
        .step-container {
            display: none;
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        
        .step-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .step-title {
            font-size: 1.5rem;
            color: #4e7ae6;
            font-weight: 600;
        }
        
        .step-counter {
            font-size: 1rem;
            color: #777;
            background-color: #f0f4ff;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 500;
        }
        
        .content-area {
            min-height: 200px;
            margin-bottom: 20px;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 8px;
            line-height: 1.8;
            font-size: 18px;
            background-color: #fafbff;
        }
        
        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .control-group {
            display: flex;
            gap: 10px;
        }
        
        .speaker-btn {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .ticker-container {
            margin-bottom: 20px;
            overflow: hidden;
            white-space: nowrap;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 10px;
            background-color: #f8f9fa;
        }
        
        .ticker-content {
            display: inline-block;
            padding-left: 100%;
            animation: ticker-scroll 30s linear infinite;
        }
        
        .ticker-controls {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .speed-btn.active {
            box-shadow: 0 0 0 2px #4e7ae6;
        }
        
        @keyframes ticker-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
        
        .consonant {
            color: #333;
        }
        
        .vowel-placeholder {
            color: #ccc;
            text-decoration: underline;
        }
        
        .word-bubble {
            display: inline-block;
            margin: 5px;
            padding: 10px 15px;
            border-radius: 25px;
            background-color: #e9ecef;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
        }
        
        .word-bubble.revealed {
            box-shadow: 0 0 0 3px #28a745;
            cursor: default;
        }
        
        .word-bubble:hover:not(.revealed) {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .word-options {
            position: absolute;
            display: flex;
            flex-direction: column;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            z-index: 10;
            min-width: 150px;
        }
        
        .word-option {
            padding: 10px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .word-option:hover {
            background-color: #f0f4ff;
        }
        
.covered-container {
  position: relative;
  width: 100%;
  height: auto;       /* Magasság auto-ra állítása, hogy ne legyen fix levágás */
  max-height: 300px;  /* Ha szeretnéd, hogy legyen felső határ */
  overflow-y: auto;   /* Görgetősáv megjelenítése, ha a szöveg hosszabb */
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
}

        
        .text-content {
            padding: 10px 20px;
            font-size: 18px;
            line-height: 1.4;
            white-space: pre-wrap;
        }
        
        .cover-box {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #e0e0e0;
            transition: transform 0.3s ease;
        }


        
        
        
        .first-letter .other-letters {
            display: none;
        }
        
        .first-letter.revealed .other-letters {
            display: inline;
        }
        
        .first-letter.revealed {
            box-shadow: 0 0 0 3px #28a745;
            cursor: default;
        }
        
        /* Reszponzív design */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            .app-header {
                flex-direction: column;
                text-align: center;
                gap: 10px;
                padding: 15px;
            }
            
            .logo {
                justify-content: center;
            }
            
            .app-title {
                font-size: 1.5rem;
            }
            
            .input-section, .step-container {
                padding: 20px;
            }
            
            .content-area {
                font-size: 16px;
                padding: 15px;
            }
            
            .controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .control-group {
                width: 100%;
                justify-content: center;
            }
            
            .control-group button {
                flex: 1;
            }
            
            .step-header {
                flex-direction: column;
                gap: 10px;
                align-items: flex-start;
            }
            
            .ticker-controls {
                justify-content: center;
            }
            
            .covered-container {
                height: 250px;
            }
        }
        
        @media (max-width: 480px) {
            .text-content {
            line-height: 2;
        }
            
            
            .app-title {
                font-size: 1.3rem;
            }
            
            .step-title {
                font-size: 1.3rem;
            }
            
            button {
                padding: 10px 15px;
                font-size: 14px;
            }
            
            .ticker-controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .covered-container {
                height: 200px;
            }
            
            .text-content {
                padding: 15px;
                font-size: 16px;
            }
            
            .unit-step-counter {
                font-size: 0.8rem;
                padding: 4px 10px;
            }
        }
        
        /* Modal stílusok */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            width: 100%;
            text-align: center;
        }
        
        .modal-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .language-selector {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f0f4ff;
    border-radius: 8px;
}

.language-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.language-selector input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

        