/* Manager11 Features Page Styles */

/* Game Screen Navigation */
.game-screens-nav {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 3px solid #ffcc00;
    padding: 20px 0;
    margin-bottom: 40px;
}

.screen-links-wrapper {
    text-align: center;
}

.screen-links-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #ffcc00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.screen-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.screen-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #0066cc;
    border: 2px solid #0066cc;
    color: white;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.screen-link:hover {
    background: #0080ff;
    border-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.screen-icon {
    font-size: 1.5rem;
}

/* Navigation */
.feature-nav {
    margin-top: 20px;
    text-align: center;
}

.nav-link {
    color: var(--retro-yellow);
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    padding: 10px 20px;
    border: 2px solid var(--retro-yellow);
    display: inline-block;
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--retro-yellow);
    color: var(--dark-gray);
}

/* Feature Sections */
.feature-section {
    padding: 60px 0;
    border-bottom: 4px solid var(--dark-gray);
}

.feature-section:nth-child(odd) {
    background: var(--white);
}

.feature-section:nth-child(even) {
    background: #f5f5f5;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

/* Game Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--gray-bg);
    border: 3px solid var(--dark-gray);
    padding: 30px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.mode-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.mode-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--retro-blue);
    margin-bottom: 20px;
}

.mode-icon {
    font-size: 3rem;
    margin: 20px 0;
}

.mode-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.mode-card li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.mode-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--retro-yellow);
}

/* Match Engine */
.match-display {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.commentary-box {
    background: var(--dark-gray);
    color: var(--white);
    padding: 20px;
    border: 3px solid var(--black);
    position: relative;
}

.match-timer {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--retro-yellow);
}

.commentary-feed {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.comment {
    margin: 10px 0;
    padding: 5px;
}

.comment.highlight {
    background: var(--retro-yellow);
    color: var(--dark-gray);
    font-weight: bold;
    animation: blink 1s ease-in-out;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.match-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    background: var(--retro-blue);
    color: var(--white);
    border: none;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--bright-green);
    transform: scale(1.05);
}

.match-stats {
    background: var(--gray-bg);
    padding: 20px;
    border: 3px solid var(--dark-gray);
}

.match-stats h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-family: 'VT323', monospace;
}

.stat-bar {
    flex: 1;
    height: 20px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: var(--retro-blue);
    transition: width 0.5s;
}

/* Stadium Builder */
.stadium-progression {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stadium-stage {
    text-align: center;
}

.stadium-visual {
    margin-bottom: 10px;
}

.ascii-stadium {
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1;
    color: var(--green-field);
}

.stadium-stage h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: var(--retro-blue);
    margin: 10px 0;
}

.price {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--retro-yellow);
}

.arrow {
    font-size: 2rem;
    color: var(--retro-yellow);
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.upgrade-item {
    background: var(--gray-bg);
    padding: 15px;
    text-align: center;
    border: 2px solid var(--dark-gray);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

/* Deep Stats */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.player-radar, .heat-map, .form-graph {
    background: var(--gray-bg);
    padding: 20px;
    border: 3px solid var(--dark-gray);
}

.stats-showcase h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--retro-blue);
}

.radar-chart {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.1) 30%);
    position: relative;
}

.heat-grid {
    display: grid;
    grid-template-columns: repeat(4, 40px);
    grid-template-rows: repeat(3, 40px);
    gap: 5px;
    margin: 0 auto;
    width: fit-content;
}

.heat-cell {
    background: var(--green-field);
    border: 1px solid #333;
}

.heat-cell.warm {
    background: var(--retro-yellow);
}

.heat-cell.hot {
    background: var(--retro-red);
}

.form-display {
    display: flex;
    gap: 10px;
    justify-content: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
}

.form-result {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-gray);
}

.form-result.win {
    background: var(--bright-green);
    color: white;
}

.form-result.draw {
    background: var(--retro-yellow);
}

.form-result.loss {
    background: var(--retro-red);
    color: white;
}

/* World Map */
.world-map {
    text-align: center;
    margin-bottom: 30px;
}

.ascii-map {
    font-family: monospace;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--dark-gray);
    background: var(--gray-bg);
    padding: 20px;
    display: inline-block;
    border: 3px solid var(--dark-gray);
}

.league-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.league-item {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--retro-blue);
}

/* Testimonials */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--gray-bg);
    border: 3px solid var(--dark-gray);
    padding: 30px;
    position: relative;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.story-card:before {
    content: '"';
    font-size: 3rem;
    color: var(--retro-yellow);
    position: absolute;
    top: 10px;
    left: 10px;
}

.story-card footer {
    margin-top: 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: var(--retro-blue);
}

/* Tactical Board */
.tactics-demo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pitch-tactics {
    background: var(--green-field);
    padding: 40px;
    position: relative;
    border: 3px solid var(--white);
    min-height: 400px;
}

.formation-name {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: var(--white);
}

.positions {
    position: relative;
    height: 100%;
}

.player {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 2px solid var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    cursor: move;
}

.player.gk { bottom: 10px; left: 50%; transform: translateX(-50%); background: var(--retro-yellow); }
.player.lb { bottom: 80px; left: 10%; }
.player.cb1 { bottom: 80px; left: 35%; }
.player.cb2 { bottom: 80px; left: 65%; }
.player.rb { bottom: 80px; right: 10%; }
.player.lm { bottom: 200px; left: 10%; }
.player.cm1 { bottom: 200px; left: 35%; }
.player.cm2 { bottom: 200px; left: 65%; }
.player.rm { bottom: 200px; right: 10%; }
.player.st1 { top: 50px; left: 35%; }
.player.st2 { top: 50px; left: 65%; }

.tactics-controls {
    padding: 20px;
}

.tactics-controls h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.formation-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: var(--gray-bg);
    border: 2px solid var(--dark-gray);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.formation-btn:hover {
    background: var(--retro-yellow);
    transform: translateX(5px);
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--dark-gray);
    z-index: 0;
}

.timeline-item {
    background: var(--gray-bg);
    padding: 20px;
    border: 3px solid var(--dark-gray);
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.timeline-item.completed {
    background: var(--bright-green);
}

.timeline-item.current {
    background: var(--retro-yellow);
    animation: pulse 2s infinite;
}

.timeline-date {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: var(--retro-blue);
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    margin: 10px 0;
}

/* Hall of Fame */
.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.record-card {
    background: var(--dark-gray);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border: 3px solid var(--retro-yellow);
    position: relative;
    overflow: hidden;
}

.record-card:before {
    content: '🏆';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    opacity: 0.1;
}

.record-card h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: var(--retro-yellow);
    margin-bottom: 20px;
}

.record-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: var(--bright-green);
    margin: 20px 0;
}

.record-card footer {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    opacity: 0.8;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-bg);
    border: 2px solid var(--dark-gray);
    margin: 10px 0;
    transition: all 0.3s;
}

.faq-item[open] {
    background: var(--white);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.faq-item summary {
    padding: 20px;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary:before {
    content: '▶';
    position: absolute;
    left: 20px;
    transition: transform 0.3s;
}

.faq-item[open] summary:before {
    transform: rotate(90deg);
}

.faq-item p {
    padding: 0 20px 20px 40px;
    font-family: 'Share Tech Mono', monospace;
}

/* Penalty Game */
.penalty-game {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.goal-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 80px);
    gap: 5px;
    margin: 0 auto 20px;
    background: var(--green-field);
    padding: 10px;
    border: 3px solid var(--white);
}

.goal-zone {
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--white);
}

.goal-zone:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.penalty-info {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
}

.score {
    font-family: 'Press Start 2P', cursive;
    color: var(--retro-yellow);
    margin-top: 10px;
}

/* Screenshot Gallery */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot {
    aspect-ratio: 16/9;
    background: var(--dark-gray);
    border: 3px solid var(--black);
    overflow: hidden;
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screen-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.screen-placeholder p {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.fake-screen {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    color: var(--retro-yellow);
}

/* Mock Screens */
.mock-screens {
    background: var(--dark-gray);
    color: var(--white);
}

.mock-screen {
    background: #222;
    border: 4px solid var(--retro-blue);
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.screen-title {
    background: var(--retro-blue);
    padding: 15px 30px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--white);
    border-bottom: 2px solid var(--white);
}

.screen-content {
    padding: 30px;
}

/* Transfer Screen */
.transfer-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--retro-yellow);
}

.budget-display, .wage-display {
    text-align: center;
}

.label {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--retro-yellow);
    margin-bottom: 5px;
}

.value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--bright-green);
}

.transfer-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px 20px;
    background: #444;
    border: 2px solid #666;
    color: var(--white);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--retro-blue);
    border-color: var(--white);
}

.player-search {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.search-input,
.filter-select {
    flex: 1;
    padding: 10px;
    background: #333;
    border: 2px solid #666;
    color: var(--white);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.data-table th {
    background: var(--retro-blue);
    padding: 10px;
    text-align: left;
    border: 1px solid var(--white);
}

.data-table td {
    padding: 10px;
    border: 1px solid #444;
}

.data-table tr:hover {
    background: rgba(255,255,255,0.1);
}

.action-btn.small {
    padding: 5px 15px;
    font-size: 0.9rem;
}

.transfer-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.retro-button.small {
    padding: 10px 20px;
    font-size: 0.7rem;
}

/* Finance Screen */
.finance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.finance-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    border: 2px solid #666;
}

.finance-card h4 {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--retro-yellow);
    margin-bottom: 15px;
}

.finance-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin: 10px 0;
}

.finance-value.positive {
    color: var(--bright-green);
}

.finance-value.negative {
    color: var(--retro-red);
}

.finance-trend {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    opacity: 0.8;
}

.revenue-breakdown {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.revenue-breakdown h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--retro-yellow);
    margin-bottom: 20px;
}

.revenue-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.revenue-bar {
    flex: 1;
    height: 25px;
    background: #333;
    margin: 0 20px;
    border: 1px solid #666;
}

.revenue-fill {
    height: 100%;
    background: linear-gradient(to right, var(--retro-blue), var(--bright-green));
}

.finance-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Stadium Screen */
.stadium-info {
    text-align: center;
    margin-bottom: 30px;
}

.stadium-info h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.3rem;
    color: var(--retro-yellow);
    margin-bottom: 10px;
}

.stadium-info p {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.stadium-visual-large {
    margin: 30px 0;
    text-align: center;
}

.stadium-visual-large .stadium-ascii {
    font-size: 0.7rem;
    color: var(--bright-green);
    background: rgba(45, 80, 22, 0.3);
    padding: 20px;
    display: inline-block;
}

.stadium-upgrades {
    margin: 40px 0;
}

.stadium-upgrades h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--retro-yellow);
    margin-bottom: 20px;
}

.upgrade-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upgrade-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border: 1px solid #666;
}

.upgrade-info h5 {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--bright-green);
    margin-bottom: 5px;
}

.upgrade-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.upgrade-cost {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upgrade-cost span {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--retro-yellow);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.facility-status {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border: 1px solid #444;
}

.facility-status span {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.level {
    color: var(--retro-yellow);
}

/* Feature Detail Cards */
.feature-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-detail-card {
    background: var(--gray-bg);
    border: 3px solid var(--dark-gray);
    padding: 30px;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.feature-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-detail-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-detail-card h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--retro-blue);
    margin-bottom: 10px;
}

.feature-detail-card p {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    margin: 8px 0;
    padding-left: 5px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .screen-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .screen-link {
        width: 250px;
        justify-content: center;
    }
    
    .match-display,
    .tactics-demo {
        grid-template-columns: 1fr;
    }
    
    .stadium-progression {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .timeline:before {
        display: none;
    }
    
    .transfer-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .player-search {
        flex-direction: column;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 5px;
    }
    
    .feature-details-grid {
        grid-template-columns: 1fr;
    }
}