.p-hero {
    padding: 140px 40px 0;
    position: relative;
    overflow: hidden;
}

.p-hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.p-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.p-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.p-back:hover {
    color: #fff;
}

.p-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.p-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.p-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
}

.p-icon svg {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.p-hero-left h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
}

.p-subtitle {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.p-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.p-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
}

.p-platforms {
    display: flex;
    gap: 4px 12px;
    font-size: 11px;
    color: #444;
}

.p-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.p-platform-badge .p-plat-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.p-platform-badge.status-online .p-plat-dot { background: #22c55e; }
.p-platform-badge.status-updating .p-plat-dot { background: #f59e0b; }
.p-platform-badge.status-offline .p-plat-dot { background: #ef4444; }

.p-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 32px;
}

.p-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-stat-label {
    font-size: 12px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.p-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
}

.p-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
}

.p-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 100px;
}

.p-body-inner {
    max-width: 100%;
}

.p-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.p-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.p-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.p-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-card-header i {
    color: #dc2626;
    font-size: 14px;
}

.p-media-container {
    position: relative;
}

.p-media-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.p-media-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.p-media-arrow-left {
    left: 8px;
}

.p-media-arrow-right {
    right: 8px;
}

.p-media {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.p-media::-webkit-scrollbar {
    height: 4px;
}

.p-media::-webkit-scrollbar-track {
    background: transparent;
}

.p-media::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.p-media-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    scroll-snap-align: center;
}

.p-media-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1;
}

.p-media-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: mediaSpin 0.8s linear infinite;
}

@keyframes mediaSpin {
    to { transform: rotate(360deg); }
}

.p-media-item {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform 0.2s;
}

.p-media-item:hover {
    transform: scale(1.01);
}

.p-media-notice {
    padding: 0 24px 4px;
    font-size: 11px;
    color: #444;
    font-style: italic;
    text-align: center;
}

.p-media-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.p-media-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.p-media-lightbox video,
.p-media-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
    display: block;
}

.p-media-lightbox video {
    cursor: default;
}

.p-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.p-media-lightbox-inner:hover .p-player-controls {
    opacity: 1;
}

.p-player-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.p-player-btn:hover {
    color: #dc2626;
}

.p-player-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.p-player-progress-bar {
    height: 100%;
    background: #dc2626;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.p-player-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 70px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.p-player-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    z-index: 1;
}

.p-player-close:hover {
    background: rgba(220, 38, 38, 0.6);
}

.p-player-overlay-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    z-index: 2;
}

.p-player-big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.85);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.2s;
    padding-left: 4px;
}

.p-player-big-play:hover {
    background: rgba(220, 38, 38, 1);
    transform: translate(-50%, -50%) scale(1.08);
}

.p-media-empty {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #222;
    font-size: 13px;
}

.p-media-empty i {
    font-size: 28px;
    color: #1a1a1a;
}

.p-features {
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #aaa;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.p-feature:last-child {
    border-bottom: none;
}

.p-feature:hover {
    background: rgba(255, 255, 255, 0.03);
}

.p-feature i {
    color: #dc2626;
    font-size: 10px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-feature.disabled {
    opacity: 0.45;
}

.p-feature.disabled i {
    color: #555;
    background: rgba(255, 255, 255, 0.06);
}

.p-feature-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    flex-shrink: 0;
}

.p-badge-enabled {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.p-badge-disabled {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.p-feature-tooltip {
    position: relative;
    color: #555;
    font-size: 13px;
    cursor: help;
    flex-shrink: 0;
    margin-left: 4px;
}

.p-feature-tooltip::after {
    content: 'This feature is temporarily disabled';
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.p-feature-tooltip:hover::after {
    opacity: 1;
}

.p-feature-filters {
    display: flex;
    gap: 4px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 3px;
}

.p-filter-tab {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
    font-family: inherit;
}

.p-filter-tab:hover {
    color: #888;
    background: rgba(255, 255, 255, 0.04);
}

.p-filter-tab.active {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.p-features-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.p-features-toggle:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.04);
}

.p-features-toggle i {
    font-size: 11px;
    transition: transform 0.2s;
}

.p-features-all {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.p-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 92px;
}

.p-pricing {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.p-pricing-top {
    padding: 20px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p-tier-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 18px;
}

.p-tier-tab {
    flex: 1;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: 1px solid transparent;
}

.p-tier-tab:hover {
    color: #888;
    background: rgba(255, 255, 255, 0.03);
}

.p-tier-tab.active {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
}

.p-price {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.p-price.free {
    color: #22c55e;
}

.p-price-period {
    font-size: 13px;
    color: #444;
    margin-top: 2px;
}

.p-price-period.hidden {
    display: none;
}

.p-pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 20px 0;
    padding: 14px 24px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.p-pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.p-pricing-btn.disabled {
    background: rgba(255, 255, 255, 0.06);
    color: #444;
    cursor: not-allowed;
    pointer-events: none;
}

.p-pricing-perks {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.p-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.p-perk i {
    color: #dc2626;
    font-size: 10px;
    width: 14px;
    text-align: center;
}

.p-perk-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 0;
}

.p-perk-label {
    font-size: 11px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: -4px;
}

.p-discord-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.p-discord-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.p-discord-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.p-discord-left > i {
    font-size: 20px;
    color: #dc2626;
}

.p-discord-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.p-discord-sub {
    display: block;
    font-size: 12px;
    color: #555;
}

.p-discord-card > i {
    color: #333;
    font-size: 12px;
}

@media (max-width: 768px) {
    .p-hero {
        padding: 120px 24px 0;
    }

    .p-hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .p-hero-left h1 {
        font-size: 26px;
    }

    .p-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .p-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .p-body {
        padding: 32px 24px 60px;
    }

    .p-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .p-side {
        position: static;
    }

    .p-screenshot-img {
        width: 260px;
        height: 146px;
    }
}
