* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #602f3b 0%, #338abc 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: rgb(208, 204, 204);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.language-card {
    background: rgba(243, 240, 240, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.language-card:hover {
    background: rgba(23, 19, 19, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 55, 55, 0.2);
}

.language-card.active {
    border-color: #4CAF50;
    background: rgba(76,175,80,0.2);
}

.language-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.java { background: #0d2879; }
.cpp { background: #7e7e02; }
.c { background: #aa0c3b; }
.python { background: #3776ab; }
.javascript { background: #a15911; color: #f5f3f3; }
.csharp { background: #239120; }

.language-name {
    color: rgb(18, 16, 16);
    font-weight: 600;
    font-size: 1.1rem;
}

.syntax-display {
    background: rgba(100, 137, 170, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(49, 35, 35, 0.1);
    min-height: 400px;
}

.syntax-header {
    border-bottom: 2px solid #161313;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.syntax-title {
    font-size: 1.8rem;
    color: #0c0b0b;
    margin-bottom: 5px;
}

.syntax-description {
    color: #0c0b0b;
    font-style: italic;
}

.code-section {
    margin-bottom: 25px;
}

.code-section h3 {
    color: #0c0b0b;
    margin-bottom: 10px;
    font-size: 1.2rem;
    border-left: 4px solid #4CAF50;
    padding-left: 10px;
}

.code-block {
    background: #181818;
    color: #888787;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    margin-bottom: 10px;
    border-left: 4px solid #4CAF50;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.code-number {
    color: #b5cea8;
}

.welcome-message {
    text-align: center;
    color: #2c2929;
    font-size: 1.2rem;
    margin-top: 100px;
}

@media (max-width: 768px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .syntax-display {
        padding: 20px;
    }
}