/* CPU tooltip styles */
.cpu-tooltip-word {
    position: relative;
    cursor: pointer;
    color: #b36aff;
    border-bottom: 1px dotted #b36aff;
}

.cpu-tooltip-word .cpu-tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 300px;
    background: #222;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: opacity 0.2s;
    font-size: 0.95rem;
    pointer-events: none;
}

.cpu-tooltip-word:hover .cpu-tooltip-text,
.cpu-tooltip-word:focus .cpu-tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
/* Docker tooltip styles */
.docker-tooltip-word {
    position: relative;
    cursor: pointer;
    color: #b36aff;
    border-bottom: 1px dotted #b36aff;
}

.docker-tooltip-word .docker-tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 260px;
    background: #222;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: opacity 0.2s;
    font-size: 0.95rem;
    pointer-events: none;
}

.docker-tooltip-word:hover .docker-tooltip-text,
.docker-tooltip-word:focus .docker-tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
/* Doomsday Modal Styles */
.doomsday-modal-theme {
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    max-height: 95vh;
    margin: 2.5vh auto;
    display: flex;
    flex-direction: column;
}

.doomsday-body {
    padding: 1.5rem 2rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.doomsday-body section {
    background: #242424;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid #333;
    transition: transform 0.2s ease;
}

.doomsday-body section:hover {
    transform: translateY(-2px);
}

.doomsday-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
}

.doomsday-hero-icon {
    font-size: 2.5rem;
    color: #b36aff;
    background: rgba(179, 106, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(179, 106, 255, 0.2);
}

.doomsday-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-top: 0.5rem;
}

.doomsday-specs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.spec-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
}

.spec-block span {
    background: rgba(179, 106, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.spec-block i {
    color: #b36aff;
}

.feature-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(179, 106, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #b36aff;
}

.feature-row h4 {
    margin: 0 0 0.75rem;
    color: #fff;
}

.feature-row ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #ccc;
}

.feature-row li {
    margin-bottom: 0.5rem;
}

.code-snippet {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border: 1px solid #333;
    font-family: 'Monaco', 'Consolas', monospace;
    position: relative;
}

.code-snippet code {
    color: #b36aff;
}

.command-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
    font-style: italic;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.tools-list span {
    background: #2a2a2a;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: block;
}

.doomsday-optimizations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.optim-card {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
}

.optim-card h4 {
    margin-top: 0;
    color: #b36aff;
}

.usecase-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.usecase-list div {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.usecase-list i {
    color: #b36aff;
    font-size: 1.2rem;
}

.doomsday-future ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.doomsday-future li {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.doomsday-future li::before {
    content: "→";
    color: #b36aff;
    margin-right: 0.5rem;
}

/* Entertainment Section */
.entertainment-block {
    background: #242424;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.entertainment-block .feature-row {
    margin-bottom: 1rem;
}

.legal-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-note i {
    color: #b36aff;
}

/* Scrollbar styling */
.doomsday-body::-webkit-scrollbar {
    width: 8px;
}

.doomsday-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.doomsday-body::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

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

.doomsday-body section {
    animation: fadeIn 0.3s ease-out forwards;
}

.doomsday-body section:nth-child(2) { animation-delay: 0.1s; }
.doomsday-body section:nth-child(3) { animation-delay: 0.2s; }
.doomsday-body section:nth-child(4) { animation-delay: 0.3s; }
.doomsday-body section:nth-child(5) { animation-delay: 0.4s; }
