.spl-z-container {
    padding: 0;
}

.spl-hidden {
    display: none !important;
}

.spl-layout {
    display: flex;
    gap: 24px;
}

.spl-main {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.spl-share-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.spl-modal-dialog {
    background: #1a1a28;
    border: 1px solid #2a2a3e;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    margin: 16px;
}

.spl-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.spl-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0ea;
}

.spl-close-btn {
    font-size: 28px;
    color: #6b6b80;
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.spl-close-btn:hover {
    color: #fff;
}

.spl-social-row {
    display: flex;
    gap: 8px;
}

.spl-social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.spl-social-btn:hover {
    opacity: 0.8;
}

.spl-social-btn .material-icons-round {
    font-size: 22px;
    color: #fff;
}

.spl-social-facebook {
    background: #1877f2;
}

.spl-social-twitter {
    background: #1da1f2;
}

.spl-social-pinterest {
    background: #e60023;
}

.spl-social-telegram {
    background: #0088cc;
}

.spl-copy-row {
    display: flex;
    margin-top: 24px;
}

.spl-copy-input {
    flex: 1;
    padding: 10px 14px;
    background: #111118;
    border: 1px solid #2a2a3e;
    border-right: none;
    color: #9d9db5;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.spl-copy-input:focus {
    border-color: #6c5ce7;
}

.spl-copy-btn {
    padding: 10px 16px;
    background: #6c5ce7;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.spl-copy-btn:hover {
    background: #5a4bd1;
}

.spl-copy-btn .material-icons-round {
    font-size: 20px;
    color: #fff;
}

.spl-report-form {
    display: flex;
    flex-direction: column;
}

.spl-report-textarea {
    width: 100%;
    padding: 14px;
    background: #111118;
    border: 1px solid #2a2a3e;
    color: #e0e0ea;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    min-height: 120px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.spl-report-textarea:focus {
    border-color: #6c5ce7;
}

.spl-report-submit {
    width: 100%;
    padding: 12px;
    background: #6c5ce7;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.spl-report-submit:hover {
    background: #5a4bd1;
}

.spl-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a10;
    overflow: hidden;
}

.spl-player-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a30 50%, #0f0f1a 100%);
    z-index: 2;
}

.spl-player-preview-inner {
    text-align: center;
    padding: 0 20px;
}

.spl-player-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
}

.spl-player-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 48px;
    background: #6c5ce7;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.spl-player-play:hover {
    background: #5a4bd1;
    transform: scale(1.04);
}

.spl-player-play .material-icons-round {
    font-size: 24px;
}

.spl-player-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.spl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 16px;
}

.spl-toolbar-left {
    flex: 1;
    min-width: 0;
}

.spl-game-title {
    font-size: 22px;
    font-weight: 800;
    color: #e0e0ea;
    margin: 0 0 6px 0;
    word-wrap: break-word;
}

.spl-game-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.spl-cat-link {
    font-size: 13px;
    font-weight: 600;
    color: #6c5ce7;
    transition: color 0.2s;
}

.spl-cat-link:hover {
    color: #a29bfe;
}

.spl-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b6b80;
}

.spl-stat .material-icons-round {
    font-size: 16px;
}

.spl-toolbar-right {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.spl-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #1a1a28;
    border: 1px solid #2a2a3e;
    color: #9d9db5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.spl-tool-btn .material-icons-round {
    font-size: 18px;
}

.spl-tool-btn:nth-child(1) {
    border-color: rgba(255, 107, 107, 0.2);
}

.spl-tool-btn:nth-child(1) .material-icons-round {
    color: #ff6b6b;
}

.spl-tool-btn:nth-child(1):hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
    color: #ff6b6b;
}

.spl-tool-btn:nth-child(2) {
    border-color: rgba(116, 185, 255, 0.2);
}

.spl-tool-btn:nth-child(2) .material-icons-round {
    color: #74b9ff;
}

.spl-tool-btn:nth-child(2):hover {
    border-color: #74b9ff;
    background: rgba(116, 185, 255, 0.08);
    color: #74b9ff;
}

.spl-tool-btn:nth-child(3) {
    border-color: rgba(253, 203, 110, 0.2);
}

.spl-tool-btn:nth-child(3) .material-icons-round {
    color: #fdcb6e;
}

.spl-tool-btn:nth-child(3):hover {
    border-color: #fdcb6e;
    background: rgba(253, 203, 110, 0.08);
    color: #fdcb6e;
}

.spl-tool-btn:nth-child(4) {
    border-color: rgba(0, 206, 201, 0.2);
}

.spl-tool-btn:nth-child(4) .material-icons-round {
    color: #00cec9;
}

.spl-tool-btn:nth-child(4):hover {
    border-color: #00cec9;
    background: rgba(0, 206, 201, 0.08);
    color: #00cec9;
}

.spl-tabs-wrap {
    background: #13131d;
    border: 1px solid #1c1c2e;
    margin-bottom: 28px;
}

.spl-tabs-nav {
    display: flex;
    border-bottom: 1px solid #1c1c2e;
}

.spl-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #6b6b80;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-family: inherit;
}

.spl-tab-btn:hover {
    color: #9d9db5;
}

.spl-tab-btn.spl-tab-active {
    color: #e0e0ea;
    border-bottom-color: #6c5ce7;
}

.spl-tab-btn .material-icons-round {
    font-size: 18px;
}

.spl-tab-panel {
    display: none;
    padding: 24px;
}

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

.spl-tab-panel p {
    font-size: 14px;
    color: #9d9db5;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

.spl-tab-panel p:last-child {
    margin-bottom: 0;
}

.spl-tab-panel strong {
    color: #e0e0ea;
    font-weight: 700;
}

.spl-publisher {
    margin-bottom: 28px;
}

.spl-heading {
    font-size: 18px;
    font-weight: 800;
    color: #e0e0ea;
    margin: 0 0 16px 0;
}

.spl-publisher-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #13131d;
    border: 1px solid #1c1c2e;
    padding: 16px;
}

.spl-publisher-avatar {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.spl-publisher-info {
    flex: 1;
    min-width: 0;
}

.spl-publisher-name {
    font-size: 14px;
    font-weight: 700;
    color: #6c5ce7;
    display: block;
    margin-bottom: 4px;
}

.spl-publisher-text {
    font-size: 14px;
    color: #9d9db5;
    line-height: 1.6;
    margin: 0;
}

.spl-hr {
    border: none;
    border-top: 1px solid #1c1c2e;
    margin: 28px 0;
}

.spl-similar {
    margin-bottom: 28px;
}

.spl-similar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.spl-similar-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    min-width: 0;
}

.spl-similar-card:hover {
    transform: translateY(-4px);
}

.spl-similar-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #111;
}

.spl-similar-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.spl-similar-card:hover .spl-similar-img img {
    transform: scale(1.05);
}

.spl-similar-info {
    padding: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spl-similar-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: #b0b0c0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    margin: 0;
}

.spl-similar-card:hover .spl-similar-info h3 {
    color: #fff;
}

.spl-similar-cat {
    font-size: 11px;
    font-weight: 600;
    color: #6c5ce7;
}

.spl-similar-plays {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #4a4a60;
}

.spl-similar-plays .material-icons-round {
    font-size: 14px;
}

.spl-aside {
    width: 300px;
    flex-shrink: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spl-ad-box {
    width: 100%;
    height: 250px;
    background: #111118;
    border: 1px dashed #1c1c2e;
}

.spl-aside-games {
    display: flex;
    flex-direction: column;
}

.spl-aside-title {
    font-size: 16px;
    font-weight: 800;
    color: #e0e0ea;
    margin: 0 0 16px 0;
}

.spl-aside-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a28;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.spl-aside-item:last-child {
    border-bottom: none;
}

.spl-aside-item:hover {
    background: rgba(108, 92, 231, 0.04);
}

.spl-aside-item > img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s;
}

.spl-aside-item:hover > img {
    transform: scale(1.06);
}

.spl-aside-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.spl-aside-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #b0b0c0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.spl-aside-item:hover .spl-aside-item-name {
    color: #fff;
}

.spl-aside-item-cat {
    font-size: 11px;
    font-weight: 600;
    color: #6c5ce7;
}

.spl-aside-item-plays {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #4a4a60;
}

.spl-aside-item-plays .material-icons-round {
    font-size: 13px;
}

@media (max-width: 1200px) {
    .spl-aside {
        width: 260px;
    }

    .spl-similar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .spl-layout {
        flex-direction: column;
    }

    .spl-aside {
        width: 100%;
    }

    .spl-aside-games {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .spl-aside-item {
        flex-direction: row;
        gap: 12px;
        padding: 0;
        border-bottom: none;
        align-items: center;
        background: #13131d;
        border: 1px solid #1c1c2e;
    }

    .spl-aside-item > img {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .spl-aside-item-info {
        padding: 12px 12px 12px 0;
    }

    .spl-ad-box {
        height: 150px;
    }

    .spl-similar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .spl-player-title {
        font-size: 20px;
        padding: 0 16px;
    }

    .spl-player-play {
        padding: 12px 36px;
        font-size: 16px;
    }

    .spl-game-title {
        font-size: 18px;
    }

    .spl-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .spl-toolbar-left {
        width: 100%;
    }

    .spl-toolbar-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .spl-tool-btn {
        justify-content: center;
        padding: 10px 8px;
        width: 100%;
    }

    .spl-similar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .spl-aside-games {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .spl-tabs-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .spl-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .spl-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .spl-tab-panel {
        padding: 16px;
    }

    .spl-modal-dialog {
        padding: 20px;
        margin: 12px;
    }

    .spl-social-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 550px) {
    .spl-similar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .spl-aside-games {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .spl-aside-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        border-bottom: 1px solid #1c1c2e;
        border-left: none;
        border-right: none;
        border-top: none;
        background: none;
    }

    .spl-aside-item:last-child {
        border-bottom: none;
    }

    .spl-aside-item > img {
        width: 60px;
        height: 60px;
    }

    .spl-aside-item-info {
        padding: 0;
    }

    .spl-tool-btn {
        padding: 10px 6px;
        font-size: 11px;
        gap: 4px;
    }

    .spl-tool-btn .material-icons-round {
        font-size: 16px;
    }

    .spl-game-title {
        font-size: 16px;
    }

    .spl-heading {
        font-size: 16px;
    }

    .spl-player-title {
        font-size: 18px;
    }

    .spl-player-play {
        padding: 10px 28px;
        font-size: 14px;
    }

    .spl-similar-info h3 {
        font-size: 12px;
    }

    .spl-similar-cat {
        font-size: 10px;
    }

    .spl-similar-plays {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .spl-toolbar-right {
        grid-template-columns: repeat(4, 1fr);
    }

    .spl-tool-btn {
        padding: 10px 4px;
        gap: 3px;
        font-size: 10px;
    }

    .spl-similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .spl-aside-item > img {
        width: 52px;
        height: 52px;
    }

    .spl-aside-item {
        padding: 10px 0;
        gap: 10px;
    }

    .spl-aside-item-name {
        font-size: 12px;
    }

    .spl-aside-item-cat {
        font-size: 10px;
    }

    .spl-tab-btn {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .spl-game-title {
        font-size: 15px;
    }

    .spl-heading {
        font-size: 15px;
    }

    .spl-player-title {
        font-size: 16px;
    }

    .spl-player-play {
        padding: 10px 24px;
        font-size: 13px;
    }

    .spl-publisher-card {
        padding: 12px;
    }

    .spl-tab-panel {
        padding: 14px;
    }

    .spl-tab-panel p {
        font-size: 13px;
        line-height: 1.7;
    }

    .spl-hr {
        margin: 20px 0;
    }

    .spl-similar-info {
        padding: 6px 0 0;
    }

    .spl-similar-info h3 {
        font-size: 11px;
    }

    .spl-similar-cat {
        font-size: 9px;
    }
}

@media (max-width: 340px) {
    .spl-toolbar-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .spl-tool-btn {
        padding: 10px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .spl-player-title {
        font-size: 14px;
    }

    .spl-player-play {
        padding: 8px 20px;
        font-size: 12px;
    }

    .spl-game-title {
        font-size: 14px;
    }

    .spl-aside-item > img {
        width: 48px;
        height: 48px;
    }

    .spl-aside-item-name {
        font-size: 11px;
    }
}