body {
    background-color: #001220;
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 18, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.site-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.site-name span {
    color: #00aaff;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

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

.theory-title {
    color: #00aaff;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.theory-subtitle {
    color: #0066cc;
    font-size: 1.2rem;
    font-weight: 600;
}

.theory-image-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.theory-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.theory-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.1);
}

.theory-content h2 {
    color: #00aaff;
    border-bottom: 2px solid rgba(0, 170, 255, 0.3);
    padding-bottom: 10px;
    margin-top: 30px;
}

.theory-content p {
    margin-bottom: 20px;
}

.formula {
    background: rgba(0, 170, 255, 0.05);
    border-left: 4px solid #00aaff;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    margin: 20px 0;
    color: #66ccff;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.back-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.simulation-link {
    display: block;
    text-align: center;
    background: #00aaff;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
}

.simulation-link:hover {
    background: #0066cc;
    box-shadow: 0 8px 20px rgba(0, 170, 255, 0.5);
    transform: translateY(-2px);
}
