.home-container {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--secondary-color);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    padding: 20px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Content */
.content {
    flex: 1;
    padding: 20px;
    overflow: auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

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

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

/* Difficulty Selector */
.difficulty-selector {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.difficulty-selector h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.difficulty-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.diff-btn {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.diff-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.diff-btn.selected {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.2);
}

.diff-icon {
    font-size: 2.5rem;
}

.diff-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.start-btn {
    padding: 20px 60px;
    font-size: 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.3s;
}

.start-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

/* Props Grid */
.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.prop-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.prop-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.prop-card.selected {
    border-color: var(--accent-color);
}

.prop-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.prop-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.prop-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Milestones */
.milestone-list {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.milestone-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.milestone-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.milestone-item.unlocked {
    border: 2px solid var(--accent-color);
}

.milestone-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.milestone-icon.locked {
    opacity: 0.5;
}

.milestone-info {
    flex: 1;
}

.milestone-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.milestone-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.milestone-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.milestone-progress-bar {
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .difficulty-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .diff-btn {
        padding: 15px;
    }

    .diff-icon {
        font-size: 2rem;
    }

    .props-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .prop-card {
        padding: 15px;
    }

    .prop-icon {
        font-size: 2rem;
    }
}
