/* Provably Fair Page Styles */
.pf-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pf-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pf-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pf-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pf-card {
    background: var(--color-bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Tabs */
.pf-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--color-border);
}

.pf-tab {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    outline: none;
}

.pf-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pf-tab.active {
    color: var(--color-accent-gold);
}

.pf-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent-gold);
}

.pf-tab-content {
    display: none;
    padding: 2.5rem;
    animation: fadeIn 0.4s ease-out;
}

.pf-tab-content.active {
    display: block;
}

/* Overview Tab */
.pf-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pf-info-item h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pf-info-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pf-visual {
    background: rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px dashed var(--color-border);
}

.pf-formula {
    font-family: 'Inter', monospace;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.formula-box {
    background: var(--color-surface);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #fff;
    border: 1px solid var(--color-border);
}

.formula-box.highlight {
    background: var(--color-accent-gold);
    color: #000;
    font-weight: 800;
}

/* Forms & Inputs */
.pf-seed-section {
    max-width: 600px;
    margin: 0 auto;
}

.pf-section-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.pf-input-group {
    margin-bottom: 1.5rem;
}

.pf-input-group label {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pf-input-row {
    display: flex;
    gap: 0.5rem;
}

.pf-input {
    flex: 1;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.pf-input:focus {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
    outline: none;
}

.pf-input[readonly] {
    opacity: 0.7;
    cursor: default;
}

.pf-btn {
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid var(--color-accent-gold);
    background: transparent;
    color: var(--color-accent-gold);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: none !important;
}

.pf-btn-save {
    background: rgba(245, 166, 35, 0.1);
}

.pf-btn-save:hover {
    background: var(--color-accent-gold);
    color: #000;
}

.pf-btn-copy {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.pf-btn-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.pf-btn-rotate {
    background: rgba(245, 166, 35, 0.1);
    margin-top: 1rem;
}

.pf-btn-rotate:hover {
    background: var(--color-accent-gold);
    color: #000;
}

.pf-btn-verify {
    background: rgba(245, 166, 35, 0.1);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.pf-btn-verify:hover {
    background: var(--color-accent-gold);
    color: #000;
}

.pf-verify-result {
    margin-top: 2rem;
    background: rgba(56, 239, 125, 0.1);
    border: 1px solid #38ef7d;
    padding: 1.5rem;
    border-radius: 12px;
    animation: slideUp 0.3s ease-out;
}

.pf-res-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #38ef7d;
    margin-bottom: 0.3rem;
}

.pf-res-val {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    word-break: break-all;
    margin-bottom: 1rem;
}

.pf-res-val:last-child {
    margin-bottom: 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #38ef7d;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .pf-container {
        padding: 1rem;
    }
    .pf-header h1 {
        font-size: 2.2rem;
    }
    .pf-tabs {
        overflow-x: auto;
    }
    .pf-tab {
        padding: 1rem;
        min-width: 120px;
    }
    .pf-input-row {
        flex-direction: column;
    }
    .pf-btn {
        width: 100%;
    }
}
