/* Power Players Page Styles */
/* Clean, punchy, easy to navigate */

/* Hero Section */
.power-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.power-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.power-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    max-width: 150px;
}

/* Tab Navigation */
.quick-nav-section {
    background: #f8f9fa;
    padding: 1.5rem 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-navigation {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.tab-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.tab-btn .tab-icon {
    font-size: 1.1rem;
}

/* Tab Content */
.tab-content-section {
    padding: 3rem 0;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.panel-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.panel-intro h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.panel-intro p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Player Grid */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Player Cards */
.player-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.player-card.highlight-card {
    border: 2px solid #e74c3c;
    position: relative;
}

.smoking-gun-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

/* Avatar colors by player */
.player-avatar.rinehart { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.player-avatar.pratt { background: linear-gradient(135deg, #2980b9, #3498db); }
.player-avatar.triguboff { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.player-avatar.palmer { background: linear-gradient(135deg, #d35400, #e67e22); }
.player-avatar.aha { background: linear-gradient(135deg, #16a085, #1abc9c); }
.player-avatar.walker { background: linear-gradient(135deg, #2c3e50, #34495e); }
.player-avatar.pelligra { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.player-avatar.raytheon { background: linear-gradient(135deg, #1a1a2e, #16213e); }

.player-title {
    flex-grow: 1;
}

.player-title h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.player-subtitle {
    font-size: 0.8rem;
    color: #666;
}

.net-worth {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f39c12;
}

/* Quick Facts */
.player-quick-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
}

.fact {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
}

.fact-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.fact-value.donation-amount {
    color: #e74c3c;
}

.fact.sa-highlight {
    background: #fff3cd;
    padding: 0.5rem;
    border-radius: 6px;
    grid-column: span 2;
}

.fact.warning {
    background: #fde8e8;
    padding: 0.5rem;
    border-radius: 6px;
}

/* The Loop Summary (AHA card) */
.the-loop-summary {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fdf2f2, #fff);
    border-top: 1px solid #eee;
}

.the-loop-summary h4 {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #e74c3c;
}

.loop-steps {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.loop-step {
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    border-left: 3px solid #ddd;
}

.loop-step.highlight {
    border-left-color: #e74c3c;
    background: #fde8e8;
}

.loop-arrow {
    text-align: center;
    color: #999;
    font-size: 0.75rem;
}

/* Expand Button */
.expand-btn {
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: none;
    border-top: 1px solid #eee;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.expand-btn:hover {
    background: #f8f9fa;
}

.expand-btn .arrow {
    transition: transform 0.2s ease;
}

.expand-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

/* Player Details (expanded content) */
.player-details {
    padding: 1.25rem;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.detail-section {
    margin-bottom: 1.25rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
    color: #1a1a2e;
}

.detail-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #444;
}

.detail-section ul {
    margin: 0;
    padding-left: 1.25rem;
}

.detail-section li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #444;
}

.sa-connection {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.conflict-box, .warning-box, .scandal-box {
    background: #fde8e8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.impact-box {
    background: #e8f4f8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.player-quote {
    font-style: italic;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
    margin: 0;
    font-size: 0.9rem;
    color: #444;
}

.player-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.8rem;
    color: #666;
}

/* Cash for Access Section */
.access-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .access-comparison {
        grid-template-columns: 1fr;
    }
}

.access-entity {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.labor-entity .entity-header {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.liberal-entity .entity-header {
    background: linear-gradient(135deg, #1a5276, #2980b9);
}

.entity-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.entity-header h3 {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.entity-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.entity-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.entity-tagline {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.what-you-buy {
    padding: 1.5rem;
}

.what-you-buy h4 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: #1a1a2e;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.access-list li:last-child {
    border-bottom: none;
}

.access-item {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
}

.access-desc {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.pricing-section {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
}

.pricing-section h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.tier-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tier {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tier.platinum { background: #e5e4e2; color: #333; }
.tier.gold { background: #ffd700; color: #333; }
.tier.silver { background: #c0c0c0; color: #333; }
.tier.bronze { background: #cd7f32; color: white; }

.disclosed-amounts {
    padding: 1rem 1.5rem;
}

.disclosed-amounts h4 {
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
}

.donation-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.donation-year {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.85rem;
}

.donation-year .year {
    color: #666;
}

.donation-year .amount {
    font-weight: 700;
    color: #e74c3c;
}

.smoking-gun-box, .scandal-box {
    margin: 1rem 1.5rem;
    padding: 1rem;
    background: #fde8e8;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.smoking-gun-box h4, .scandal-box h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #c0392b;
}

.smoking-gun-box p, .scandal-box p {
    font-size: 0.85rem;
    margin: 0;
    color: #444;
}

/* ICAC Callout */
.icac-callout {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    color: white;
}

.icac-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.icac-header h3 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.icac-header cite {
    font-style: italic;
    opacity: 0.8;
}

.icac-finding {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.icac-failures {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.icac-failures li {
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.icac-result {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: #f39c12;
}

.icac-recommendations {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Slush Funds Section */
.slush-funds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .slush-funds-grid {
        grid-template-columns: 1fr;
    }
}

.slush-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid;
}

.liberal-slush h3 {
    border-color: #2980b9;
}

.labor-slush h3 {
    border-color: #e74c3c;
}

.slush-fund-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.slush-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.slush-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.slush-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e74c3c;
}

.slush-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.slush-badge.icac-exposed {
    background: #e74c3c;
    color: white;
}

.slush-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.slush-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slush-stat {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.slush-stat .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e74c3c;
}

.slush-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.how-it-works {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.how-it-works h5 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
}

.how-it-works p {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
}

.scandals-list h5 {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.scandals-list ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: #444;
}

.scandals-list li {
    margin-bottom: 0.5rem;
}

.icac-finding-box {
    background: #fde8e8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #e74c3c;
}

.icac-finding-box h5 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #c0392b;
}

.icac-finding-box blockquote {
    margin: 0;
    font-size: 0.85rem;
    font-style: italic;
    color: #444;
}

.consequence {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1rem;
}

.who-knew {
    font-style: italic;
    padding: 0.75rem;
    background: #fff3cd;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #856404;
    margin: 0;
}

.loophole-box {
    background: #fde8e8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.loophole-box h5 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #c0392b;
}

.loophole-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
}

.other-entities {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.other-entities h5 {
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}

.other-entities ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
}

.other-entities li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* Dark Money Callout */
.dark-money-callout {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    color: white;
}

.dark-money-callout h3 {
    text-align: center;
    margin: 0 0 1rem;
}

.dark-money-stat {
    font-size: 1.25rem;
    text-align: center;
    color: #f39c12;
    margin-bottom: 1.5rem;
}

.how-they-hide h4 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.how-they-hide ul {
    margin: 0;
    padding-left: 1.5rem;
}

.how-they-hide li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Revolving Door Section */
.revolving-door-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.rd-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-width: 150px;
}

.rd-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #6366f1;
}

.rd-stat .stat-desc {
    display: block;
    font-size: 0.8rem;
    color: #666;
    max-width: 120px;
    margin: 0 auto;
}

.revolving-cases {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.revolving-case {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.revolving-case.highlight {
    border: 2px solid #6366f1;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.case-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.party-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.party-badge.liberal {
    background: #2980b9;
}

.party-badge.labor {
    background: #e74c3c;
}

.case-header .role {
    font-size: 0.85rem;
    color: #666;
}

.case-what-he-did, .case-where-he-went, .case-timing, .case-math, .case-who-is {
    margin-bottom: 1rem;
}

.case-what-he-did h4, .case-where-he-went h4, .case-timing h4, .case-math h4, .case-who-is h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    color: #1a1a2e;
}

.case-what-he-did p, .case-where-he-went p, .case-timing p, .case-math p {
    font-size: 0.9rem;
    margin: 0;
    color: #444;
}

.case-where-he-went ul, .case-who-is ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #444;
}

.case-detail {
    font-weight: 700;
    color: #e74c3c;
}

.transparency-quote {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin: 1rem 0 0;
    color: #666;
}

.case-details {
    font-size: 0.9rem;
    color: #444;
}

.case-details p {
    margin: 0 0 0.5rem;
}

.case-note {
    font-style: italic;
    color: #666 !important;
}

.case-exit {
    font-size: 0.85rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-radius: 6px;
    margin-top: 1rem;
    color: #856404;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
}

.cta-box {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cta-box h2 {
    text-align: center;
    margin: 0 0 2rem;
    font-size: 1.75rem;
}

.cta-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta-actions {
        grid-template-columns: 1fr;
    }
}

.cta-action {
    text-align: center;
}

.cta-action h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.cta-action p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.cta-action ul {
    text-align: left;
    font-size: 0.85rem;
    margin: 0;
    padding-left: 1.25rem;
    color: #444;
}

.cta-action li {
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #4f46e5;
}

.cta-button.secondary {
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.cta-button.secondary:hover {
    background: #f8f9fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .power-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat .stat-number {
        font-size: 2rem;
    }
    
    .tab-navigation {
        justify-content: flex-start;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .tab-btn .tab-text {
        display: none;
    }
    
    .tab-btn .tab-icon {
        font-size: 1.25rem;
    }
    
    .player-grid {
        grid-template-columns: 1fr;
    }
    
    .player-quick-facts {
        grid-template-columns: 1fr;
    }
    
    .slush-stats {
        flex-direction: column;
    }
    
    .revolving-door-stats {
        gap: 1rem;
    }
    
    .rd-stat {
        min-width: calc(50% - 0.5rem);
    }
}

/* ================================
   CONSULTANT TAB STYLES
   ================================ */

.consultant-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
}

.section-subhead {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e74c3c;
    color: #1a1a2e;
}

/* Big 4 Avatar Colors */
.player-avatar.pwc {
    background: linear-gradient(135deg, #dc6900 0%, #b85400 100%);
    font-size: 0.9rem;
}

.player-avatar.deloitte {
    background: linear-gradient(135deg, #86bc25 0%, #6a9a1d 100%);
    font-size: 0.8rem;
}

.player-avatar.kpmg {
    background: linear-gradient(135deg, #00338d 0%, #002a73 100%);
    font-size: 0.75rem;
}

.player-avatar.ey {
    background: linear-gradient(135deg, #ffe600 0%, #d4bf00 100%);
    color: #1a1a2e;
}

/* Timeline Phases */
.timeline-section {
    margin: 2rem 0 3rem;
}

.timeline-phase {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.phase-header {
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
}

.phase-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.phase-header.labor-phase {
    background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
}

.phase-header.liberal-phase {
    background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
}

.phase-header.sa-phase {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

.phase-content {
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
}

.phase-culprit {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.5;
}

.phase-culprit:last-child {
    border-bottom: none;
}

.phase-culprit strong {
    color: #1a1a2e;
}

/* Consultant Callout */
.consultant-callout {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.consultant-callout .icac-header h3 {
    color: #f39c12;
}

.big-quote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin: 1.5rem 0;
    padding: 0 1rem;
    border-left: none;
    color: rgba(255,255,255,0.95);
}

.consultant-callout .icac-result {
    font-size: 1.1rem;
    color: #e74c3c;
    margin: 1.5rem 0;
}

.cta-link {
    margin-top: 1.5rem;
}

.inline-link {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.inline-link:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Responsive for Consultant Tab */
@media (max-width: 768px) {
    .consultant-stats {
        gap: 1rem;
    }

    .consultant-stats .rd-stat {
        min-width: calc(50% - 0.5rem);
    }

    .big-quote {
        font-size: 1.1rem;
    }

    .phase-header h4 {
        font-size: 1rem;
    }
}

/* ================================
   WHO GUTTED ICAC TAB STYLES
   ================================ */

/* Accountability Sections */
.accountability-section {
    margin-bottom: 3rem;
}

.accountability-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e74c3c;
    color: #1a1a2e;
}

.section-intro {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Missing Protections Grid */
.missing-protections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.missing-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #e74c3c;
}

.missing-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.missing-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.missing-card p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.who-benefits {
    font-size: 0.85rem;
    color: #e74c3c;
    font-style: italic;
    margin-top: 0.5rem;
}

/* State Comparison Grid */
.state-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.state-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.state-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.state-card.nsw, .state-card.qld {
    border-top: 4px solid #27ae60;
}

.state-card.sa {
    border-top: 4px solid #e74c3c;
    background: #fef5f5;
}

.state-card .scandal {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.75rem;
}

.state-card .result {
    font-size: 0.9rem;
    color: #27ae60;
}

.state-card.sa .result {
    color: #e74c3c;
}

/* Timeline Events */
.timeline-event {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
    border-left: 3px solid #ddd;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 50%;
}

.timeline-event.major-event {
    border-left-color: #e74c3c;
    background: #fef5f5;
    padding: 1.5rem;
    padding-left: 2.5rem;
    border-radius: 0 12px 12px 0;
    margin-left: -1rem;
}

.timeline-event.major-event::before {
    background: #e74c3c;
    width: 16px;
    height: 16px;
    left: -10px;
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.timeline-event.major-event .timeline-year {
    color: #e74c3c;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

/* Party Badges */
.responsible-party {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
}

.responsible-parties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.party-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.party-badge.small {
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
}

.responsible-party.labor .party-badge,
.party-badge.labor {
    background: #c0392b;
    color: white;
}

.responsible-party.liberal .party-badge,
.party-badge.liberal {
    background: #2980b9;
    color: white;
}

.responsible-party.sabest .party-badge,
.party-badge.sabest {
    background: #e67e22;
    color: white;
}

.responsible-party.greens .party-badge,
.party-badge.greens {
    background: #27ae60;
    color: white;
}

.speed-warning {
    background: #fff3cd;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Vote Breakdown */
.vote-breakdown {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.vote-breakdown h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.votes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.vote-for, .vote-against {
    padding: 1rem;
    border-radius: 8px;
}

.vote-for {
    background: #fde8e8;
}

.vote-against {
    background: #e8f8e8;
}

.vote-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vote-for .vote-label {
    color: #c0392b;
}

.vote-against .vote-label {
    color: #27ae60;
}

.vote-for ul, .vote-against ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.vote-for li, .vote-against li {
    margin-bottom: 0.25rem;
}

/* Powers Removed */
.powers-removed {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.powers-removed h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #e74c3c;
}

.powers-removed ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #444;
}

.powers-removed li {
    margin-bottom: 0.5rem;
}

/* Context Box */
.context-box {
    background: #fff3cd;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.context-box h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.context-box ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.context-box li {
    margin-bottom: 0.5rem;
}

/* Commissioner Quotes */
.commissioner-quotes {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.commissioner-quotes h4 {
    color: #f39c12;
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.commissioner-quote {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    margin: 0;
}

.commissioner-quote p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.commissioner-quote cite {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-style: normal;
}

/* Judges Statement */
.judges-statement {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid #6366f1;
}

.judges-statement h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #6366f1;
}

.signatories {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.judges-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1a1a2e;
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
    margin: 0;
    font-style: italic;
}

.judges-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9rem;
    color: #666;
}

/* Recommendations List */
.recommendations-list {
    background: #f8f9fa;
    padding: 1rem 1rem 1rem 2rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.recommendations-list li {
    margin-bottom: 0.5rem;
}

/* FOI Box */
.foi-box {
    background: #fde8e8;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.foi-box h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #c0392b;
}

.foi-box p {
    margin: 0;
    font-size: 0.9rem;
}

.consequence {
    font-size: 0.95rem;
    margin-top: 1rem;
    color: #1a1a2e;
}

/* Summary Table */
.summary-table-container {
    overflow-x: auto;
}

.accountability-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.accountability-table th {
    background: #1a1a2e;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.accountability-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.accountability-table tr:nth-child(even) {
    background: #f8f9fa;
}

.accountability-table .major-row {
    background: #fef5f5;
}

.accountability-table .positive-row {
    background: #e8f8e8;
}

/* Pattern Callout */
.pattern-callout {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: white;
}

.pattern-callout .icac-header h3 {
    color: #f39c12;
}

.pattern-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.pattern-list p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.pattern-list ol {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 1rem;
}

.pattern-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.party-tag {
    font-size: 0.8rem;
    opacity: 0.8;
}

.party-tag.labor {
    color: #e74c3c;
}

.party-tag.both {
    color: #9b59b6;
}

.pattern-callout .cta-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* Pangallo Nuance Section */
.pangallo-nuance {
    background: #f0f4ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #6366f1;
}

.pangallo-nuance h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #6366f1;
}

.nuance-content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.nuance-content > ul {
    margin: 0 0 1rem 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.nuance-content > ul li {
    margin-bottom: 0.5rem;
}

.but-box {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #e67e22;
}

.but-box h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #d35400;
}

.but-box ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
}

.but-box li {
    margin-bottom: 0.5rem;
}

.real-question {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #e74c3c;
}

.real-question h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #c0392b;
}

.real-question p {
    margin-bottom: 0.5rem;
}

.pattern-highlight {
    background: #fde8e8;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

/* Conviction Section - The Smoking Gun */
.conviction-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem;
    border-radius: 12px;
    color: white;
}

.conviction-section h3 {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.conviction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.conviction-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
}

.conviction-card.guilty {
    border-left-color: #e74c3c;
}

.conviction-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.conviction-header h4 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.conviction-card .status {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.conviction-card .outcome {
    font-size: 1.1rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.conviction-card .sentence {
    font-size: 1.1rem;
    color: #f39c12;
    background: rgba(243, 156, 18, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.conviction-card .note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.conviction-summary {
    text-align: center;
    font-size: 1.1rem;
    color: #f39c12;
    margin-top: 1rem;
}

/* Responsible Parties Large Layout */
.responsible-parties-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.responsible-parties-large .responsible-party {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.vote-indicator {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.vote-indicator.for {
    background: #fde8e8;
    color: #c0392b;
}

.vote-indicator.against {
    background: #e8f8e8;
    color: #27ae60;
}

/* Pangallo Simple */
.pangallo-simple {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
    margin-top: 1.5rem;
}

.pangallo-simple p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Pattern Summary */
.pattern-summary {
    text-align: center;
    padding: 1rem 0;
}

.big-pattern {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.pattern-detail {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

/* Responsive for ICAC Tab */
@media (max-width: 768px) {
    .missing-protections-grid {
        grid-template-columns: 1fr;
    }

    .state-comparison-grid {
        grid-template-columns: 1fr;
    }

    .votes-grid {
        grid-template-columns: 1fr;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .timeline-event {
        padding-left: 1.5rem;
    }

    .timeline-event.major-event {
        padding: 1rem;
        padding-left: 1.5rem;
    }

    .responsible-parties {
        flex-direction: column;
    }

    .accountability-table {
        font-size: 0.8rem;
    }

    .accountability-table th,
    .accountability-table td {
        padding: 0.75rem 0.5rem;
    }
}
