/* ronri.day - Maximalist Logic Playground */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --deep-sapphire: #1A1A4E;
    --soft-white: #F1FAEE;
    --emerald: #2EC4B6;
    --ruby: #E63946;
    --amethyst: #A89BC4;
    --lavender: #F0E6FF;
    --amber: #FFB703;
}
body {
    background: var(--deep-sapphire);
    color: var(--soft-white);
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

/* Logic Pattern Background */
#logic-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext x='10' y='30' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%E2%88%80%3C/text%3E%3Ctext x='50' y='30' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%E2%88%83%3C/text%3E%3Ctext x='90' y='30' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%E2%86%92%3C/text%3E%3Ctext x='30' y='70' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%E2%88%A7%3C/text%3E%3Ctext x='70' y='70' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%E2%88%A8%3C/text%3E%3Ctext x='10' y='110' font-size='16' fill='%23F0E6FF' font-family='serif'%3E%C2%AC%3C/text%3E%3C/svg%3E");
}

/* Frosted Panels */
.frosted-panel {
    background: rgba(26,26,78,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(168,155,196,0.2);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.frosted-panel.amethyst { background: rgba(168,155,196,0.15); border-color: rgba(168,155,196,0.3); }
.frosted-panel.emerald { background: rgba(46,196,182,0.08); border-color: rgba(46,196,182,0.2); }
.frosted-panel.ruby { background: rgba(230,57,70,0.08); border-color: rgba(230,57,70,0.2); }
.frosted-panel.amber { background: rgba(255,183,3,0.08); border-color: rgba(255,183,3,0.2); }

/* Hero */
#hero {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem 3rem;
    text-align: center;
}
.hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--soft-white);
}
.hero-sub {
    font-size: 1rem;
    color: var(--amethyst);
    margin-top: 0.5rem;
}

/* Content */
#content {
    position: relative;
    z-index: 1;
    padding: 0 2rem 3rem;
}
.logic-section {
    margin: 2.5rem 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.logic-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1rem;
}
.body-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--soft-white);
    opacity: 0.85;
}

/* Truth Table */
.truth-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
}
.truth-table th {
    padding: 0.6rem 1rem;
    text-align: center;
    color: var(--amber);
    border-bottom: 2px solid rgba(255,183,3,0.3);
    font-weight: 400;
}
.truth-table td {
    padding: 0.6rem 1rem;
    text-align: center;
}
.row-true { background: rgba(46,196,182,0.1); }
.row-false { background: rgba(230,57,70,0.08); }

/* Logic Notation */
.logic-notation {
    margin: 1rem 0 1.5rem;
}
.notation-line {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: var(--lavender);
    text-align: center;
    margin: 0.75rem 0;
}

/* Footer */
#footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
}
.footer-text {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--amethyst);
    opacity: 0.3;
}

@media (max-width: 600px) {
    .frosted-panel { padding: 1.5rem; }
    #hero { padding: 4rem 1.5rem 2rem; }
}
