/* ============================================
   Demiurgix · Shared CSS Framework
   Version: 1.0.0
   ============================================ */

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

body {
    background: linear-gradient(135deg, #f8f6f2 0%, #edeae4 100%);
    min-height: 100vh;
    font-family: system-ui, 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    padding: 2rem;
}

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

.logo-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 3rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.site-name {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1e293b;
    text-transform: lowercase;
    font-family: monospace;
    cursor: pointer;
    transition: opacity 0.2s;
}

.site-name:hover {
    opacity: 0.7;
}

.icons-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    row-gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #d4cec3;
}

.icon-block {
    text-align: center;
    min-width: 90px;
}

.icon-wrapper {
    display: inline-block;
    width: 72px;
    height: 72px;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
}

.icon-wrapper:active {
    transform: scale(0.96);
}

.icon-wrapper.spin {
    animation: spinOnce 0.5s ease-in-out;
}

@keyframes spinOnce {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.icon-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-block:nth-child(1) .icon-svg { stroke: #8b1e3f; fill: none; stroke-width: 1.5; }
.icon-block:nth-child(2) .icon-svg { stroke: #2d6a4f; fill: none; stroke-width: 1.5; }
.icon-block:nth-child(3) .icon-svg { stroke: #b45309; fill: none; stroke-width: 1.5; }
.icon-block:nth-child(4) .icon-svg { stroke: #1e3a5f; fill: none; stroke-width: 1.5; }

.icon-label {
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #334155;
}

.full-tagline {
    text-align: center;
    font-size: 1rem;
    color: #334155;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.full-tagline span {
    font-weight: 700;
    color: #1e293b;
}

.page-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.page-content h1 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1rem;
    border-left: 4px solid #8b1e3f;
    padding-left: 1rem;
}

.page-content h2 {
    font-size: 1.3rem;
    color: #334155;
    margin: 1.5rem 0 0.75rem 0;
}

.page-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
    margin: 1rem 0 1rem 2rem;
    color: #475569;
    line-height: 1.6;
}

.footer-links {
    text-align: center;
    font-size: 0.75rem;
    border-top: 1px solid #d4cec3;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: #5c6a7a;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 0.5rem;
    cursor: pointer;
}

.footer-links a:hover {
    color: #8b1e3f;
    text-decoration: underline;
}

.footer-links span {
    color: #cbd5e1;
    font-size: 0.7rem;
}

@media (max-width: 550px) {
    body { padding: 1rem; }
    .logo-container { padding: 2rem 1.25rem; border-radius: 2rem; margin-bottom: 1rem; }
    .site-name { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .icons-row { gap: 1.5rem; }
    .icon-wrapper { width: 60px; height: 60px; }
    .icon-label { font-size: 0.75rem; margin-top: 0.5rem; }
    .full-tagline { font-size: 0.85rem; }
    .footer-links { font-size: 0.65rem; }
    .page-content { padding: 1.5rem; }
    .page-content h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .icon-wrapper {
        width: 70px;
        height: 70px;
        padding: 8px;
        margin: -8px;
    }
}