/* Ad Container Styles */
.ad-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ad-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.countdown {
    position: absolute;
    top: -30px;
    right: 0;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.ad-frame {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

/* Simulation Styles */
.simulation-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.simulation-title {
    color: #333;
    margin-bottom: 15px;
}

.simulation-description {
    color: #666;
    margin-bottom: 20px;
}

.controls {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.controls button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Canvas Styles */
#waveCanvas {
    width: 100%;
    height: 300px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Molecule Viewer Styles */
#moleculeViewer {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Circuit Board Styles */
#circuitBoard {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ad-content {
        width: 95%;
    }
    
    .simulation-container {
        padding: 15px;
    }
    
    .controls button {
        width: 100%;
        margin-right: 0;
    }
} 