/* Game page specific styles */
.game-feature-card {
    background: var(--main-black-background);
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.game-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.game-feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(154, 205, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 20px;
    color: var(--color-primary);
}

.game-feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-white);
}

.game-feature-card p {
    color: var(--color-body);
    margin-bottom: 20px;
}

.gameplay-screenshot {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.gameplay-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.gameplay-screenshot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(154, 205, 50, 0.3);
    pointer-events: none;
}

.gameplay-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 15px;
    background: rgba(20, 20, 28, 0.8);
    border-radius: 5px;
    color: var(--color-white);
    font-size: 14px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(154, 205, 50, 0.3);
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(154, 205, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--color-primary);
}

.feature-list-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-white);
}

.feature-list-content p {
    color: var(--color-body);
    margin-bottom: 0;
}

.lore-panel {
    background: var(--main-black-background);
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.lore-panel h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.lore-timeline {
    position: relative;
    padding-left: 30px;
}

.lore-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(154, 205, 50, 0.3);
}

.lore-event {
    position: relative;
    left: -5px;
    margin-bottom: 30px;
}

.lore-event:last-child {
    margin-bottom: 0;
}

.lore-event::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid var(--background-color-1);
    box-shadow: 0 0 0 4px rgba(154, 205, 50, 0.1);
}

.lore-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.lore-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 5px;
}

.lore-description {
    color: var(--color-body);
    font-size: 14px;
}

.resource-card {
    display: flex;
    background: var(--main-black-background);
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.resource-icon {
    width: 80px;
    flex-shrink: 0;
    background: rgba(154, 205, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-primary);
}

.resource-content {
    padding: 15px;
}

.resource-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 5px;
}

.resource-description {
    color: var(--color-body);
    font-size: 13px;
    margin-bottom: 10px;
}

.resource-value {
    display: flex;
    align-items: center;
}

.resource-icon-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(154, 205, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 10px;
    color: var(--color-primary);
}

.resource-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.resource-trend {
    font-size: 12px;
    margin-left: 5px;
}

.resource-trend.up {
    color: #4CAF50;
}

.resource-trend.down {
    color: #F44336;
}

.cta-section {
    background: radial-gradient(circle at center, rgba(139, 69, 19, 0.15) 0%, transparent 70%);
    padding: 80px 0;
    text-align: center;
}

.cta-panel {
    background: var(--main-black-background);
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-description {
    color: var(--color-body);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.player-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

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

.player-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.player-stat-label {
    color: var(--color-body);
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .game-feature-card,
    .faction-card,
    .lore-panel,
    .cta-panel {
        padding: 20px;
    }

    .game-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .game-feature-card h3 {
        font-size: 20px;
    }

    .faction-image {
        height: 180px;
    }

    .faction-name {
        font-size: 18px;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-description {
        font-size: 16px;
    }

    .player-stat-value {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .faction-description {
        height: auto;
    }

    .cta-panel {
        padding: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .player-stats {
        gap: 20px;
    }

    .player-stat-value {
        font-size: 24px;
    }

    .player-stat-label {
        font-size: 14px;
    }
}

.faction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faction-card {
    background: var(--main-black-background);
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.faction-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faction-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.faction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.faction-card:hover .faction-image img {
    transform: scale(1.05);
}

.faction-emblem {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    z-index: 2;
}

.faction-emblem img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.faction-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    z-index: 1;
}

.faction-name {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.faction-location {
    color: var(--color-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.faction-location i {
    margin-right: 5px;
}

.faction-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.faction-motto {
    font-style: italic;
    color: var(--color-body);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.faction-description {
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.faction-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.faction-stat {
    flex: 1;
    min-width: 80px;
    background: var(--background-colour-1);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--color-body);
}

.faction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.faction-alignment {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.alignment-neutral {
    background: rgba(158, 158, 158, 0.1);
    color: #9e9e9e;
}

.alignment-hostile {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.alignment-allied {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.faction-link {
    background: var(--background-color-1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.faction-link i {
    margin-left: 5px;
}

.faction-link:hover {
    background: rgba(154, 205, 50, 0.1);
}

@media (max-width: 991px) {
    .faction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .faction-grid {
        grid-template-columns: 1fr;
    }

    .intro-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}