:root {
    --primary-color: #6C5CE7;
    --primary-light: #A29BFE;
    --secondary-color: #00CEC9;
    --secondary-light: #81ECEC;
    --accent-color: #FD79A8;
    --accent-light: #FAB1A0;
    --success-color: #00b894;
    --danger-color: #d63031;
    --background-color: #1A1A2E;
    --card-bg: #FFFFFF;
    --text-main: #E8E4D9;
    --text-muted: #A0A0A0;
    --shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 30px rgba(108, 92, 231, 0.15);
    --border-radius: 20px;
    --transition-speed: 0.3s;
    
    /* Reading Specific Extensions */
    --primary-bg: #1A1A2E; 
    --accent-glow: linear-gradient(135deg, #6C5CE7 0%, #00CEC9 50%, #FD79A8 100%);
    --star-gold: #fbbf24;
    --radius-xl: 32px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(108, 92, 231, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(253, 121, 168, 0.15), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(0, 206, 201, 0.1), transparent 20%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    direction: rtl;
}

.view {
    display: none;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.view.active-view {
    display: block;
    animation: viewEnter 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes viewEnter {
    from { opacity: 0; transform: scale(0.98) translateY(20px); filter: blur(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.app-header {
    background: linear-gradient(135deg, #E8E4D9, #DCD0FF);
    color: #2D1500;
    padding: 2rem 5%;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 10px 30px rgba(220, 208, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 30px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.user-profile {
    font-size: 1.8rem;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-name {
    font-weight: 800;
    color: #2D1500;
    font-size: 1.1rem;
}

.header-spacer { width: 150px; }

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.logo h1 { font-size: 2.2rem; font-weight: 800; color: #2D1500; margin: 0; }

.user-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D1500;
}

.progress-container {
    margin-top: 1.5rem;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.progress-branch {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 8px;
    background: #8B5A2B;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}
.butterfly-indicator {
    position: absolute;
    right: 10px;
    font-size: 2rem;
    transition: right 1s ease-in-out;
    filter: drop-shadow(0 0 10px #DCD0FF);
    z-index: 2;
    transform: scaleX(-1);
}
.lantern-end {
    position: absolute;
    left: 10px;
    font-size: 2rem;
    z-index: 2;
    filter: drop-shadow(0 0 15px #FFD700);
}

.lesson-path-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.lesson-path-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    border-left: 4px dashed #FFD700;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 8px #FFD700);
    z-index: 0;
}

.wavy-lesson-item {
    position: relative;
    z-index: 1;
    width: 250px;
}

.wavy-lesson-item:nth-child(odd) { transform: translateX(120px); }
.wavy-lesson-item:nth-child(even) { transform: translateX(-120px); }

.lesson-card {
    background: linear-gradient(145deg, #2D1500, #4A2511);
    border-radius: 10px 25px 25px 10px;
    padding: 2rem; text-align: center;
    cursor: pointer; box-shadow: -5px 10px 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255,215,0,0.1);
    transition: all var(--transition-speed);
    border: none; border-right: 15px solid #D2B48C; border-left: 8px solid #1A0D00;
    min-height: 200px; display: flex; flex-direction: column; justify-content: center;
    position: relative;
}
.lesson-card::after {
    content: ''; position: absolute; bottom: -20px; left: -15px; right: -25px; height: 15px;
    background: linear-gradient(to right, #3E2723, #5D4037); border-radius: 5px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.6); z-index: -1;
}
.lesson-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: -5px 15px 30px rgba(255, 215, 0, 0.3), inset 0 0 15px rgba(255,215,0,0.3); border-right-color: #FFD700; }
.lesson-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #FFD700; font-weight: 800; text-shadow: 0 0 5px rgba(255,215,0,0.5); }
.lesson-card .meta { color: #E8E4D9; font-weight: 700; }
.lesson-card .icon { font-size: 4rem; margin-bottom: 1rem; display: block; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5)); transition: transform 0.3s; }
.lesson-card:hover .icon { transform: scale(1.1) rotate(5deg); }
.lesson-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    border: 2px solid #FFD700;
    z-index: 2;
}

/* --- Lesson View Navigation --- */
.lesson-header-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.back-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.back-btn:hover { background: rgba(255,255,255,0.1); transform: translateX(5px); }

#lesson-title-display {
    flex-grow: 1;
    font-size: 1.5rem;
}

.lesson-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-trigger {
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.tab-trigger:hover { background: rgba(255,255,255,0.1); }

.tab-trigger.active {
    background: var(--accent-glow);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* --- Tab Content Switching --- */
.lesson-body {
    position: relative;
}

.tab-content {
    display: none; /* All tabs hidden by default */
    animation: tabSlideIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-content.active {
    display: block;
}

@keyframes tabSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.text-display {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    padding: 3rem;
    border-radius: var(--radius-xl);
    font-size: 2.2rem;
    line-height: 2.5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    text-align: center;
    border: 8px solid rgba(255,255,255,0.05);
}

.reading-line {
    display: inline-block;
    padding: 0 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
    border: 2px solid transparent;
}

.reading-line:hover { 
    background: #f1f5f9; 
    border-color: #cbd5e1;
}

.reading-line.playing { 
    background: #4f46e5; 
    color: white; 
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* --- Vocabulary --- */
.vocab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vocab-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
}

.vocab-item:hover { 
    transform: rotateY(10deg); 
    border-color: #a855f7;
}

.vocab-word {
    font-size: 2.2rem;
    font-weight: 900;
    color: #a855f7;
    margin-bottom: 1rem;
}

.vocab-meaning {
    color: var(--text-dim);
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

.vocab-item.flipped .vocab-meaning {
    opacity: 1;
    transform: translateY(0);
}

/* --- Game - Sentence Ordering & Memo --- */
.game-board, .memo-game {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.slots-container, .memo-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    min-height: 50px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
}

.drop-slot {
    min-width: 80px;
    height: 45px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.drop-slot.filled {
    border-style: solid;
    background: var(--accent-glow);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.words-bank, .memo-words {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.memo-word, .order-word {
    padding: 10px 20px;
    background: #f8fafc;
    color: #1e293b;
    border-radius: 15px;
    cursor: grab;
    user-select: none;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
    border: 2px solid transparent;
}

.memo-word:hover, .order-word:hover {
    transform: scale(1.1);
    background: #fff;
    border-color: #6366f1;
}

.memo-word.selected, .order-word.active {
    background: #6366f1;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* --- Writing Canvas --- */
.writing-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 300px; /* Prevent collapsing to a line */
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

#write-canvas {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 4px solid #6366f1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    cursor: crosshair;
    width: 100%; /* Responsive display */
    max-width: 900px;
    height: 400px;
    display: block;
}

.canvas-controls {
    display: flex;
    gap: 15px;
}

.check-btn {
    background: var(--accent-glow);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    margin-top: 2rem;
    transition: 0.3s;
}

.check-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.6);
}

.hidden { display: none !important; }

/* --- Success Modal --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--primary-bg);
    border: 2px solid #a855f7;
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.4);
    animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.celebration-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 2s infinite ease-in-out;
}

.reward-stars {
    font-size: 2rem;
    letter-spacing: 5px;
    margin: 1.5rem 0;
}

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

.primary-btn {
    background: var(--accent-glow);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

/* --- Checklist Styles --- */
.checklist-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    cursor: pointer;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.checklist-item.completed {
    background: rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.checklist-item.completed .checklist-title {
    color: #2ecc71;
    text-decoration: line-through;
    opacity: 0.8;
}

.checklist-checkbox {
    width: 25px;
    height: 25px;
    margin-left: 15px;
    cursor: pointer;
    accent-color: #2ecc71;
}

.checklist-title {
    font-size: 1.2rem;
    font-weight: bold;
    flex-grow: 1;
    transition: 0.3s;
}

.completed-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #2ecc71;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 3;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.top-buttons-container {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

.top-left-btn, .top-right-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.top-left-btn {
    background-color: #6C5CE7;
}

/* --- Responsiveness Media Queries --- */

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .view {
        padding: 1rem;
    }
    
    .main-header {
        padding: 3rem 1rem;
    }
    
    .text-display {
        font-size: 1.8rem;
        padding: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .lessons-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .lesson-card {
        padding: 1.5rem 1rem;
    }
    
    .lesson-card .icon {
        font-size: 3.5rem;
    }
    
    .text-display {
        font-size: 1.5rem;
        padding: 1.5rem;
        line-height: 2;
    }
    
    .lesson-tabs {
        gap: 8px;
    }
    
    .tab-trigger {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .vocab-word {
        font-size: 1.8rem;
    }
    
    .vocab-meaning {
        font-size: 1.1rem;
    }
    
    #write-canvas {
        height: 300px;
    }
}

/* Very small screens (Phones) */
@media (max-width: 480px) {
    .main-header {
        padding: 2rem 0.5rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .user-stats {
        padding: 0.5rem 1rem;
    }
    
    .stat-item {
        font-size: 1.2rem;
    }
    
    .lesson-header-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .back-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .text-display {
        font-size: 1.3rem;
        padding: 1rem;
        border-width: 4px;
    }
    
    .reading-line {
        padding: 0 8px;
        margin: 3px;
    }
    
    .tab-trigger {
        flex-grow: 1;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .celebration-icon {
        font-size: 3.5rem;
    }
    
    #write-canvas {
        height: 250px;
    }
    .top-buttons-container {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .top-left-btn, .top-right-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* --- Kinetic Games CSS --- */
.game-menu h3 { text-align: center; color: #FFD700; font-size: 2rem; margin-bottom: 2rem; }
.game-options-grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.game-card-btn { background: var(--card-bg); border: 2px solid var(--primary-light); border-radius: 20px; padding: 2rem; width: 200px; cursor: pointer; transition: 0.3s; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--text-main); }
.game-card-btn:hover { transform: translateY(-10px); border-color: var(--primary-color); box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4); }
.game-icon { font-size: 4rem; display: block; }
.game-card-btn h4 { font-size: 1.2rem; font-family: 'Cairo'; margin: 0; }
.game-arena { background: rgba(0,0,0,0.2); border-radius: 20px; padding: 3rem 2rem 2rem 2rem; border: 2px solid var(--border-color); position: relative; overflow: hidden; min-height: 400px; margin-top: 1rem; }

.mini-btn { background: var(--primary-color); color: white; border: none; border-radius: 20px; padding: 0.5rem 1rem; font-size: 1rem; font-weight: bold; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.3); transition: 0.3s; position: absolute; top: 10px; right: 10px; z-index: 10; }
.mini-btn:hover { background: var(--primary-light); transform: translateY(-2px); }

/* Racing Game */
.timer-bar { width: 100%; height: 10px; background: #333; border-radius: 5px; margin-bottom: 2rem; overflow: hidden; }
.timer-fill { width: 100%; height: 100%; background: #00b894; transition: width 0.1s linear, background-color 0.3s; }
.racing-track { width: 100%; height: 150px; border-bottom: 5px solid #6C5CE7; position: relative; margin-bottom: 2rem; }
.runner-character { position: absolute; bottom: 0; right: 10px; font-size: 4rem; transition: right 0.5s ease-out, bottom 0.3s; z-index: 1; transform: scaleX(-1); }
.runner-character.jumping { bottom: 80px; }
.obstacle { position: absolute; bottom: 0; left: 20%; background: rgba(0, 0, 0, 0.8); padding: 1rem 1.5rem; border-radius: 10px; border: 2px solid #FD79A8; font-weight: bold; color: #FFFFFF; box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3); z-index: 3; min-width: 150px; text-align: center; }
.racing-answers { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.racing-ans-btn { padding: 1rem 2rem; font-size: 1.2rem; font-weight: bold; background: var(--primary-color); color: white; border: none; border-radius: 30px; cursor: pointer; transition: 0.2s; }
.racing-ans-btn:hover { background: var(--primary-light); transform: scale(1.05); }

/* Shooting Game */
.shooting-title { text-align: center; color: #FFD700; margin-bottom: 2rem; font-size: 1.8rem; }
.shooting-area { position: relative; width: 100%; height: 400px; overflow: hidden; }
.moving-target { position: absolute; padding: 1rem 1.5rem; background: radial-gradient(circle, #FD79A8, #e84393); color: white; font-weight: bold; font-size: 1.2rem; border-radius: 30px; cursor: crosshair; user-select: none; box-shadow: 0 0 15px rgba(253, 121, 168, 0.6); border: 2px solid white; transition: 0.2s; }
.moving-target.hit { transform: scale(0); opacity: 0; pointer-events: none; }

/* Jumping Game */
.jumping-title { text-align: center; color: #FFD700; margin-bottom: 2rem; font-size: 1.8rem; }
.jumping-sky { position: relative; width: 100%; height: 400px; background: linear-gradient(to top, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.2)); border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 2rem; overflow: hidden;}
.jumper-character { font-size: 4rem; position: absolute; bottom: 20px; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1; }
.clouds-container { width: 100%; display: flex; justify-content: space-around; position: absolute; bottom: 120px; z-index: 3; }
.cloud-platform { background: white; color: var(--primary-color); padding: 1rem 2rem; border-radius: 30px; font-weight: bold; font-size: 1.2rem; cursor: pointer; box-shadow: 0 10px 15px rgba(0,0,0,0.1); border: 2px solid #81ECEC; transition: 0.2s; position: relative; }
.cloud-platform::before { content: '☁️'; position: absolute; left: -20px; top: -10px; font-size: 2rem; }
.cloud-platform:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,206,201,0.3); }
