/* ==========================================================================
   Spark Fusion Service - Custom Gaming & Policy Styles
   ========================================================================== */

/* Game Selector Cards */
.game-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.game-policy-card {
    background: linear-gradient(145deg, rgba(26, 31, 55, 0.95), rgba(18, 22, 40, 0.95));
    border: 2px solid rgba(255, 164, 27, 0.2);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.game-policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.game-policy-card:hover {
    transform: translateY(-6px);
    border-color: #ffa41b;
    box-shadow: 0 12px 30px rgba(255, 164, 27, 0.25);
}

.game-policy-card.active {
    border-color: #ff5e1a;
    background: linear-gradient(145deg, rgba(35, 42, 75, 0.98), rgba(22, 27, 50, 0.98));
    box-shadow: 0 14px 35px rgba(255, 94, 26, 0.35);
}

.game-policy-card.active::before {
    background: linear-gradient(90deg, #ffa41b, #ff5e1a);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.game-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: #111425;
}

.game-card-icon.studio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffa41b, #ff5e1a);
    color: #fff;
    font-size: 28px;
}

.game-card-meta {
    flex-grow: 1;
}

.game-card-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    background: rgba(255, 164, 27, 0.15);
    color: #ffa41b;
    margin-bottom: 6px;
}

.game-card-badge.badge-mines {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
}

.game-card-badge.badge-egg {
    background: rgba(255, 64, 129, 0.15);
    color: #ff4081;
}

.game-card-badge.badge-horror {
    background: rgba(229, 57, 53, 0.2);
    color: #ff5252;
    border: 1px solid rgba(229, 57, 53, 0.35);
}

.game-card-badge.badge-dev {
    background: rgba(255, 179, 0, 0.2);
    color: #ffb300;
    border: 1px solid rgba(255, 179, 0, 0.35);
}

.game-card-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.game-card-desc {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.game-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card-action .action-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffa41b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-policy-card.active .game-card-action .action-text {
    color: #ff5e1a;
}

.game-card-action .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.game-policy-card.active .status-indicator {
    background: #00e676;
    box-shadow: 0 0 10px #00e676;
}

/* Policy Content Container */
.policy-content-wrapper {
    background: #0c1022;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

@media (max-width: 768px) {
    .policy-content-wrapper {
        padding: 24px 18px;
    }
}

.policy-pane {
    display: none;
    animation: fadeInPolicy 0.4s ease-in-out forwards;
}

.policy-pane.active {
    display: block;
}

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

.policy-header-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-header-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.policy-last-updated {
    font-size: 13px;
    color: #8a94b0;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
}

.policy-body {
    color: #c4cde0;
    font-size: 15px;
    line-height: 1.8;
}

.policy-body h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-body h3 i {
    color: #ffa41b;
    font-size: 18px;
}

.policy-body p {
    margin-bottom: 16px;
    color: #b0bbd3;
}

.policy-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-body ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: #c4cde0;
}

.policy-highlight-box {
    background: rgba(255, 164, 27, 0.08);
    border-left: 4px solid #ffa41b;
    padding: 18px 22px;
    border-radius: 8px;
    margin: 24px 0;
}

.policy-highlight-box p {
    margin: 0;
    color: #f1f3f9;
}

.policy-highlight-box.green-box {
    background: rgba(0, 230, 118, 0.08);
    border-left-color: #00e676;
}

.policy-contact-box {
    background: linear-gradient(135deg, rgba(255, 164, 27, 0.12), rgba(255, 94, 26, 0.05));
    border: 1px solid rgba(255, 164, 27, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-top: 35px;
}

.policy-contact-box h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.policy-contact-box a {
    color: #ffa41b;
    font-weight: 600;
    text-decoration: underline;
}

.policy-contact-box a:hover {
    color: #ff5e1a;
}

/* Quick Navigation Pills */
.policy-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-nav-pills a {
    font-size: 13px;
    color: #8a94b0;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.policy-nav-pills a:hover {
    color: #fff;
    background: rgba(255, 164, 27, 0.2);
}

/* Game Showcase Carousel / Gallery on Game Details */
.game-screenshot-slider img {
    border-radius: 14px;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #080a14;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-feature-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 25px;
}

.game-feature-badge-list span {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
