* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #eef6ff;
    background:
        linear-gradient(rgba(5, 22, 44, 0.38), rgba(5, 22, 44, 0.38)),
        var(--page-background) center center / cover fixed no-repeat;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

.player-page {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    z-index: 1;
}

.player-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(55, 166, 255, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(4, 13, 24, 0.08), rgba(4, 13, 24, 0.18));
    pointer-events: none;
}

.player-shell {
    position: relative;
    width: min(1120px, calc(100% - 12px));
    margin: 0 auto;
}

.player-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.player-card {
    position: relative;
    padding: 28px 28px 26px;
    border: 1px solid rgba(125, 196, 255, 0.36);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(20, 77, 122, 0.82), rgba(11, 54, 95, 0.88));
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(180, 230, 255, 0.08);
    overflow: hidden;
}

.player-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(162, 219, 255, 0.14);
    border-radius: 12px;
    pointer-events: none;
}

.player-card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 26px;
}

.player-eyebrow {
    margin: 0 0 4px;
    color: #b8dcff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.player-card-header h1 {
    margin: 0;
    color: #f2f7ff;
    font-size: clamp(36px, 3vw, 54px);
    line-height: 1;
    font-weight: 700;
}

.player-card-header p {
    margin: 12px 0 0;
    color: #dfeeff;
    font-size: 14px;
    line-height: 1.6;
}

.player-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.player-form h2 {
    margin: 0;
    color: #f4f8ff;
    font-size: 22px;
    line-height: 1.2;
}

.player-section-text {
    margin: -4px 0 4px;
    color: #ebf3ff;
    font-size: 15px;
    line-height: 1.55;
}

.player-info-box {
    padding: 16px 18px;
    border: 1px solid rgba(239, 220, 151, 0.45);
    border-radius: 14px;
    background: rgba(255, 247, 215, 0.10);
    color: #fff2c8;
    font-size: 15px;
    line-height: 1.5;
}

.player-form input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(190, 226, 255, 0.30);
    border-radius: 6px;
    background: rgba(244, 249, 255, 0.92);
    color: #24384b;
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-form input:focus {
    border-color: rgba(107, 198, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(89, 187, 255, 0.16);
}

.action-button,
.action-link {
    min-height: 56px;
    padding: 14px 22px;
    border: 1px solid rgba(121, 202, 255, 0.48);
    border-radius: 11px;
    background:
        linear-gradient(180deg, rgba(83, 173, 255, 0.90), rgba(31, 103, 175, 0.95));
    color: #f3fbff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(220, 241, 255, 0.32),
        0 8px 16px rgba(6, 30, 61, 0.22);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.action-button:hover,
.action-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.player-bottom-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    body::before,
    body::after {
        width: 90px;
    }

    .player-page {
        padding: 24px 12px 30px;
    }

    .player-panels {
        grid-template-columns: 1fr;
    }

    .player-bottom-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .player-card {
        padding: 22px 18px 20px;
    }

    .player-card-header h1 {
        font-size: 34px;
    }

    .action-button,
    .action-link {
        min-height: 52px;
        font-size: 17px;
    }
}
