/* Základní styly pro Klid do lavic - Herní akademie */

/* Reset a základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
}

/* Hlavní stránka */
.homepage {
    min-height: 100vh;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}
.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
}

.trial-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-preview {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.character-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.level-badge {
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.progress-bar {
    background: rgba(255,255,255,0.2);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    height: 100%;
    transition: width 0.3s ease;
}

/* Sekce jak to funguje */
.how-it-works {
    padding: 80px 5%;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.game-mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mechanic-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.mechanic-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.mechanic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mechanic-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.mechanic-card p {
    color: #666;
    line-height: 1.6;
}
/* Mapa úrovní */
.level-preview {
    padding: 80px 5%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.level-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.level-path {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.level-node {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.level-node.completed {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4caf50;
}

.level-node.current {
    background: rgba(255, 193, 7, 0.3);
    border-color: #ffc107;
    animation: pulse 2s infinite;
}

.level-node.locked {
    background: rgba(0,0,0,0.2);
    opacity: 0.6;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.level-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.level-node h4 {
    margin-bottom: 0.5rem;
}

.level-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.level-connector {
    width: 50px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.level-connector.completed {
    background: #4caf50;
}

/* Živé aktivity */
.live-activities {
    padding: 80px 5%;
    background: white;
}

.live-activities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.activity-card.featured {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.activity-time {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.activity-card h3 {
    margin-bottom: 0.5rem;
}

.activity-info {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.join-button {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.join-button:hover {
    background: #44a08d;
    transform: translateY(-2px);
}
/* Dashboard styly */
.dashboard-body {
    background: #f5f7fa;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
}

.user-level {
    font-size: 0.9rem;
    opacity: 0.8;
}

.user-streak {
    background: #ff6b6b;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 250px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 2rem 0;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    background: #f8f9fa;
}

.menu-item.active {
    background: #e3f2fd;
    border-left-color: #667eea;
    color: #667eea;
}

.menu-icon {
    font-size: 1.2rem;
}

.menu-text {
    font-weight: 500;
}

.dashboard-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-content h2 {
    margin-bottom: 0.5rem;
}

.character-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.character-avatar.large {
    font-size: 3rem;
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 50%;
}

.character-stats {
    min-width: 200px;
}

.stat-bar label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.progress-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.character-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
}

.mini-badge {
    font-size: 1.2rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem;
    border-radius: 50%;
}

.badge-count {
    font-size: 0.8rem;
    opacity: 0.8;
}
/* Denní výzvy */
.daily-challenges {
    margin-bottom: 2rem;
}

.daily-challenges h3 {
    margin-bottom: 1rem;
    color: #333;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.challenge-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
}

.challenge-card.completed {
    border-left-color: #4caf50;
    background: #f1f8e9;
}

.challenge-card.active {
    border-left-color: #ff9800;
    background: #fff3e0;
}

.challenge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.challenge-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.challenge-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.challenge-content p {
    color: #666;
    margin-bottom: 1rem;
}

.challenge-reward {
    font-size: 0.9rem;
    color: #4caf50;
    font-weight: bold;
    margin-bottom: 1rem;
}

.challenge-button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.challenge-button:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

/* Týdenní cíle */
.weekly-goals {
    margin-bottom: 2rem;
}

.weekly-goals h3 {
    margin-bottom: 1rem;
    color: #333;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.goal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.goal-header h4 {
    color: #333;
}

.goal-progress {
    font-weight: bold;
    color: #667eea;
}

.goal-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.goal-fill {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    height: 100%;
    transition: width 0.3s ease;
}

.goal-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Nadcházející aktivity */
.upcoming-activities h3 {
    margin-bottom: 1rem;
    color: #333;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.activity-item.featured {
    border: 2px solid #ff6b6b;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
}

.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.activity-time {
    min-width: 100px;
}

.time-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    margin-bottom: 0.5rem;
}

.activity-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.activity-join-btn {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.activity-join-btn:hover {
    background: #44a08d;
    transform: translateY(-2px);
}

.activity-join-btn.secondary {
    background: rgba(255,255,255,0.2);
    border: 2px solid #4ecdc4;
}

.activity-join-btn.secondary:hover {
    background: #4ecdc4;
}
/* Kamarádi online */
.friends-online {
    margin-bottom: 2rem;
}

.friends-online h3 {
    margin-bottom: 1rem;
    color: #333;
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.friend-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.friend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.friend-avatar {
    font-size: 1.5rem;
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 50%;
}

.friend-info {
    flex: 1;
}

.friend-name {
    font-weight: bold;
    display: block;
}

.friend-status {
    font-size: 0.9rem;
    color: #666;
}

.friend-level {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.view-all-friends {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.view-all-friends:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Pravý sidebar */
.dashboard-right-sidebar {
    width: 300px;
    padding: 2rem;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.quick-actions {
    margin-bottom: 2rem;
}

.quick-actions h4 {
    margin-bottom: 1rem;
    color: #333;
}

.quick-btn {
    display: block;
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.quick-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.daily-stats {
    margin-bottom: 2rem;
}

.daily-stats h4 {
    margin-bottom: 1rem;
    color: #333;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: #333;
}

.motivation-card {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.motivation-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.motivation-card h4 {
    margin-bottom: 1rem;
}

.motivation-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* Finální CTA */
.final-cta {
    padding: 80px 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pricing-preview {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.price-tag {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
}

.price-period {
    font-size: 1.2rem;
    opacity: 0.8;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Mapa úrovní - detailní styly */
.level-map-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.level-map-header {
    margin-bottom: 2rem;
}

.level-map-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.level-map-header p {
    color: #666;
    font-size: 1.1rem;
}

.level-map-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.world-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.world-section.locked {
    opacity: 0.6;
    background: #f5f5f5;
}

.world-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.world-header h3 {
    color: #333;
    font-size: 1.5rem;
}

.world-progress {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.level-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.level-node {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.level-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.level-node.completed {
    border-color: #4caf50;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.level-node.current {
    border-color: #ff9800;
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
    animation: pulse 2s infinite;
}

.level-node.locked {
    background: #f5f5f5;
    opacity: 0.5;
    cursor: not-allowed;
}

.level-node.boss {
    border-width: 4px;
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    color: white;
}

.level-node.boss.completed {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.level-node.boss.locked {
    background: #bdbdbd;
    color: #757575;
}

.level-info h4 {
    margin-bottom: 0.5rem;
    color: inherit;
}

.level-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.level-node.boss .level-info p,
.level-node.boss .level-info h4 {
    color: white;
}

.level-rewards {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.reward {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.level-node.boss .reward {
    background: rgba(255,255,255,0.2);
    color: white;
}

.level-progress {
    margin-top: 1rem;
}

.progress-bar.small {
    height: 6px;
    margin-bottom: 0.5rem;
}

.level-progress span {
    font-size: 0.8rem;
    color: #666;
}

.level-continue-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.level-continue-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

.level-connector {
    width: 60px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    position: relative;
}

.level-connector.completed {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}

.level-connector.current {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.level-connector.locked {
    background: #f5f5f5;
}

/* Pravý sidebar pro detaily úrovně */
.level-details-sidebar {
    width: 350px;
    padding: 2rem;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.level-detail-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff9800;
}

.level-detail-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.level-detail-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.level-requirements h5 {
    color: #333;
    margin-bottom: 1rem;
}

.level-requirements ul {
    list-style: none;
    padding: 0;
}

.level-requirements li {
    padding: 0.5rem 0;
    color: #666;
}

.level-progress-detail {
    margin: 1.5rem 0;
}

.level-progress-detail h5 {
    color: #333;
    margin-bottom: 1rem;
}

.level-activities {
    margin: 1.5rem 0;
}

.level-activities h5 {
    color: #333;
    margin-bottom: 1rem;
}

.activity-item.small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.activity-icon {
    font-size: 1.2rem;
}

.activity-name {
    flex: 1;
    font-size: 0.9rem;
}

.activity-xp {
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: bold;
}

.continue-level-btn {
    background: linear-gradient(45deg, #ff9800, #ffb74d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
}

.continue-level-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.next-reward-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.next-reward-card h4 {
    margin-bottom: 1rem;
}

.reward-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reward-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem;
    border-radius: 50%;
}

.reward-info h5 {
    margin-bottom: 0.5rem;
}

.reward-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.next-reward-card p:last-child {
    text-align: center;
    font-weight: bold;
    margin: 0;
}
/* Kamarádi stránka */
.friends-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.friends-header {
    margin-bottom: 2rem;
}

.friends-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.friends-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.friends-actions {
    display: flex;
    gap: 1rem;
}

.add-friend-btn, .create-team-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-friend-btn:hover, .create-team-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.create-team-btn {
    background: #ff9800;
}

.create-team-btn:hover {
    background: #f57c00;
}

/* Týmové výzvy */
.team-challenges {
    margin-bottom: 3rem;
}

.team-challenges h3 {
    color: #333;
    margin-bottom: 2rem;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.team-card.current-team {
    border: 3px solid #ff9800;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.team-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-rank {
    background: #ff9800;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.team-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.team-challenge-current {
    margin-bottom: 2rem;
}

.team-challenge-current h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-challenge-current p {
    color: #666;
    margin-bottom: 1rem;
}

.challenge-progress {
    margin: 1rem 0;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.challenge-reward {
    background: #e8f5e8;
    color: #4caf50;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.member-avatar {
    font-size: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
}

.member-name {
    flex: 1;
    font-weight: bold;
}

.member-contribution {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Žebříček týmů */
.team-leaderboard {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.team-leaderboard h4 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leaderboard-item.first {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-weight: bold;
}

.leaderboard-item.second {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #333;
    font-weight: bold;
}

.leaderboard-item.third {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
    color: white;
    font-weight: bold;
}

.leaderboard-item.current {
    border: 3px solid #ff9800;
}

.rank {
    font-size: 1.2rem;
    min-width: 40px;
    text-align: center;
}

.team-name {
    flex: 1;
}

.team-points {
    font-weight: bold;
}

/* Seznam kamarádů */
.friends-list-section {
    margin-bottom: 3rem;
}

.friends-list-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.friends-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.friend-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.friend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.friend-card.online {
    border-left: 4px solid #4caf50;
}

.friend-status-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid white;
}

.friend-avatar.large {
    font-size: 3rem;
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    text-align: center;
}

.friend-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.friend-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.friend-level {
    background: #667eea;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.friend-activity {
    color: #666;
    font-size: 0.9rem;
}

.friend-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.friend-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.friend-stats .stat-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.friend-stats .stat-value {
    font-weight: bold;
    color: #333;
}

.friend-actions {
    display: flex;
    gap: 0.5rem;
}

.friend-btn {
    flex: 1;
    background: #667eea;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.friend-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Výzvy mezi kamarády */
.friend-challenges h3 {
    color: #333;
    margin-bottom: 2rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.challenge-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.challenge-card.active {
    border: 3px solid #ff9800;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}

.challenge-card.completed {
    border: 3px solid #4caf50;
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
}

.challenge-header {
    margin-bottom: 1rem;
}

.challenge-header h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.challenge-type {
    background: #667eea;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.challenge-card.completed .challenge-type {
    background: #4caf50;
}

.challenge-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.challenge-progress {
    margin-bottom: 1rem;
}

.challenger {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.challenger-name {
    min-width: 80px;
    font-size: 0.9rem;
}

.challenger-score {
    font-weight: bold;
    color: #333;
}

.challenge-result {
    text-align: center;
    margin-bottom: 1rem;
}

.winner {
    background: #e8f5e8;
    color: #4caf50;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.winner-badge {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.loser {
    color: #666;
    font-size: 0.9rem;
}

.challenge-time {
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.challenge-reward {
    background: #e3f2fd;
    color: #1976d2;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
}

.challenge-action-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
}

.challenge-action-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

/* Pravý sidebar pro kamarády */
.friends-sidebar {
    width: 300px;
    padding: 2rem;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.quick-friend-actions {
    margin-bottom: 2rem;
}

.quick-friend-actions h4 {
    color: #333;
    margin-bottom: 1rem;
}

.quick-action-btn {
    display: block;
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.quick-action-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.friend-suggestions {
    margin-bottom: 2rem;
}

.friend-suggestions h4 {
    color: #333;
    margin-bottom: 1rem;
}

.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: #e3f2fd;
}

.suggestion-avatar {
    font-size: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-weight: bold;
    display: block;
    color: #333;
}

.suggestion-level {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: bold;
}

.suggestion-reason {
    font-size: 0.8rem;
    color: #666;
}

.suggestion-btn {
    background: #4caf50;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

.team-stats {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
}

.team-stats h4 {
    color: #333;
    margin-bottom: 1rem;
}

.team-stats .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.team-stats .stat-label {
    color: #666;
    font-size: 0.9rem;
}

.team-stats .stat-value {
    font-weight: bold;
    color: #333;
}
/* Živá session styly */
.live-session-body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.live-session-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.video-section {
    flex: 1;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.main-video-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-video {
    flex: 1;
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.instructor-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instructor-avatar {
    font-size: 3rem;
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.instructor-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.instructor-title {
    opacity: 0.8;
    font-size: 1rem;
}

.session-info {
    text-align: center;
}

.session-info h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.session-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
}

.activity-progress {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: #4caf50;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
}

.step.completed .step-icon {
    background: #4caf50;
}

.step.active .step-icon {
    background: #ff9800;
    animation: pulse 2s infinite;
}

.step-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.participants-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: 100%;
    overflow-y: auto;
}

.participant-video {
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.participant-video.active-speaker {
    border: 3px solid #4caf50;
}

.participant-stream {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #3a3a3a;
}

.placeholder-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.participant-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participant-name {
    font-weight: bold;
    font-size: 0.9rem;
}

.participant-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.participant-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.control-btn:hover {
    background: rgba(255,255,255,0.3);
}

.control-btn.mic-on, .control-btn.camera-on {
    background: #4caf50;
}

.interactive-tools {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 450px;
    height: calc(100vh - 150px);
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: #333;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.drawing-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.canvas-header h4 {
    color: #333;
    margin: 0;
}

.canvas-timer {
    background: #ff9800;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.drawing-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#drawingCanvas {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: crosshair;
}

.drawing-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.tool-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.tool-group h5 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 0.9rem;
}

.tool-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.tool-btn:hover {
    border-color: #667eea;
}

.tool-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.color-btn {
    width: 30px;
    height: 30px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: #333;
    transform: scale(1.2);
}

.tool-setting {
    margin-bottom: 1rem;
}

.tool-setting label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.tool-setting input[type="range"] {
    width: 100%;
}

.action-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.action-btn:hover {
    border-color: #667eea;
}

.action-btn.primary {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.action-btn.primary:hover {
    background: #45a049;
}

.session-controls {
    background: rgba(0,0,0,0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.controls-left, .controls-center, .controls-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.session-controls .control-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.session-controls .control-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.session-controls .control-btn.active {
    background: #4caf50;
    border-color: #4caf50;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-label {
    font-size: 0.8rem;
    font-weight: bold;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.leave-btn {
    background: #ff4444 !important;
    border-color: #ff4444 !important;
}

.leave-btn:hover {
    background: #cc0000 !important;
    border-color: #cc0000 !important;
}

.chat-panel, .gallery-view, .help-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 200;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
}

.chat-panel {
    width: 400px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header, .gallery-header, .help-header {
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close, .gallery-close, .help-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover, .gallery-close:hover, .help-close:hover {
    background: rgba(255,255,255,0.2);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message-avatar {
    font-size: 1.5rem;
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-author {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.chat-message.instructor .message-author {
    color: #667eea;
}

.message-content p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.8rem;
    color: #999;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
}

.chat-input-field {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-field:focus {
    border-color: #667eea;
}

.chat-send-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

.motivation-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
    z-index: 150;
    text-align: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.motivation-content h3 {
    margin-bottom: 1rem;
}

.motivation-rewards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.reward-icon {
    font-size: 1.2rem;
}

.reward-text {
    font-size: 0.9rem;
    font-weight: bold;
}

.help-overlay {
    width: 600px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.help-sections {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.help-section {
    margin-bottom: 2rem;
}

.help-section h4 {
    color: #333;
    margin-bottom: 1rem;
}

.help-section ul {
    list-style: none;
    padding: 0;
}

.help-section li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.help-section li:before {
    content: "✓ ";
    color: #4caf50;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Responzivní design */
@media (max-width: 1200px) {
    .interactive-tools {
        width: 350px;
    }
    
    .drawing-tools {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        order: 2;
    }
    
    .dashboard-main {
        order: 1;
    }
    
    .dashboard-right-sidebar {
        width: 100%;
        order: 3;
    }
    
    .interactive-tools {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        right: auto;
        margin-top: 1rem;
    }
    
    .video-section {
        flex-direction: column;
    }
    
    .participants-grid {
        grid-template-columns: repeat(3, 1fr);
        max-height: 200px;
    }
    
    .session-controls {
        padding: 1rem;
    }
    
    .controls-left, .controls-center, .controls-right {
        gap: 0.5rem;
    }
    
    .session-controls .control-btn {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-label {
        display: none;
    }
}
/* Styly pro odkazy v menu */
.menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.menu-link:hover {
    color: inherit;
}

/* Nové styly pro live session layout */
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.participants-section {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.participants-section h4 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.drawing-canvas-section {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 1rem;
    color: #333;
    backdrop-filter: blur(10px);
    flex: 1;
}

.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.canvas-header h4 {
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.canvas-timer {
    background: #ff9800;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

.drawing-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#drawingCanvas {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: crosshair;
}

.drawing-tools-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tool-group-inline {
    display: flex;
    gap: 0.3rem;
}

.tool-group-inline .tool-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tool-group-inline .tool-btn:hover {
    border-color: #667eea;
}

.tool-group-inline .tool-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.color-palette-inline {
    display: flex;
    gap: 0.3rem;
}

.color-palette-inline .color-btn {
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-palette-inline .color-btn:hover {
    transform: scale(1.1);
}

.color-palette-inline .color-btn.active {
    border-color: #333;
    transform: scale(1.2);
}

.tool-setting-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.tool-setting-inline label {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.tool-setting-inline input[type="range"] {
    flex: 1;
    min-width: 80px;
}

.action-buttons-inline {
    display: flex;
    gap: 0.3rem;
}

.action-buttons-inline .action-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.action-buttons-inline .action-btn:hover {
    border-color: #667eea;
}

.action-buttons-inline .action-btn.primary {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.action-buttons-inline .action-btn.primary:hover {
    background: #45a049;
}

/* Responzivní úpravy pro nový layout */
@media (max-width: 1200px) {
    .right-panel {
        max-width: 300px;
    }
    
    .participants-grid {
        grid-template-columns: 1fr;
    }
    
    #drawingCanvas {
        width: 280px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .video-section {
        flex-direction: column;
    }
    
    .right-panel {
        max-width: 100%;
        flex-direction: row;
        gap: 1rem;
    }
    
    .participants-section {
        flex: 1;
    }
    
    .drawing-canvas-section {
        flex: 1;
    }
    
    .participants-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .participant-video {
        aspect-ratio: 1;
    }
    
    #drawingCanvas {
        width: 250px;
        height: 180px;
    }
    
    .tool-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tool-setting-inline {
        justify-content: center;
    }
}
/* Kreslící modal */
.drawing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    /* width: 800px;
    height: 600px; */
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    flex: 1;
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.drawing-area-modal {
    flex: 1;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1rem;
}

.drawing-area-modal canvas {
    border: 3px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: crosshair;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.drawing-tools-modal {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.tool-section h5 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
}

.tool-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-buttons .tool-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

.tool-buttons .tool-btn:hover {
    border-color: #667eea;
}

.tool-buttons .tool-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.color-palette-modal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.color-palette-modal .color-btn {
    width: 35px;
    height: 35px;
    border: 3px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-palette-modal .color-btn:hover {
    transform: scale(1.1);
}

.color-palette-modal .color-btn.active {
    border-color: #333;
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.tool-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item label {
    font-size: 0.8rem;
    color: #666;
    font-weight: bold;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    cursor: pointer;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.action-buttons .action-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    text-align: center;
}

.action-buttons .action-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.action-buttons .action-btn.primary {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.action-buttons .action-btn.primary:hover {
    background: #45a049;
    border-color: #45a049;
}

/* Responzivní design pro modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95vw;
        height: 85vh;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .drawing-tools-modal {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }
    
    .tool-section {
        min-width: 150px;
        flex-shrink: 0;
    }
    
    .drawing-area-modal canvas {
        max-width: 100%;
        max-height: 250px;
        width: auto;
        height: auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .canvas-timer {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Animace pro modal */
.drawing-modal {
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Odstranění starých stylů pro right-panel */
.right-panel,
.participants-section,
.drawing-canvas-section,
.drawing-tools-compact,
.tool-row,
.tool-group-inline,
.color-palette-inline,
.tool-setting-inline,
.action-buttons-inline {
    display: none !important;
}

/* Úprava participants-grid pro původní layout */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex: 1;
}

@media (max-width: 768px) {
    .participants-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}