/* ---------------- NAV ---------------- */
.radio-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.radio-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.radio-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

.radio-btn.active {
    background: linear-gradient(135deg, rgba(120, 160, 255, 0.35), rgba(70, 110, 230, 0.35));
    border-color: rgba(120, 160, 255, 0.8);
    box-shadow: 0 0 0 1px rgba(120, 160, 255, 0.5), 0 0 12px rgba(120, 160, 255, 0.35);
}

.radio-icon {
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ---------------- CURRENT CODE ---------------- */
.current-code {
    font-size: 28px;
    text-align: center;
    margin: 40px 0 15px;
}

.current-code span {
    color: #ffd800;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 216, 0, 0.6);
}

/* ---------------- CODES BLOCK ---------------- */
.codes-wrapper {
    position: relative;
    max-width: 600px;
    width: 95%;
    margin: auto;
}

.radio-codes {
    margin: 30px auto 40px;
    padding: 30px 70px 30px 40px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* месяц */
.codes-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* сетка кодов */
.codes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 60px;
}

.codes-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* строки */
.code-row {
    font-family: monospace;
    font-size: 20px;
    color: #e6e9ff;
}

.code-row.active {
    color: #ffd800;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 216, 0, 0.7);
}

/* ---------------- COPY BUTTON ---------------- */
.copy-wrap {
    position: absolute;
    right: 15px;
    top: 15px;
}

.copy-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #2c3e75;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: .2s;
}

.copy-btn:hover {
    background: #3c53a1;
}

/* уведомление */
.copy-toast {
    position: absolute;
    top: -40px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1c2b55;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: .25s;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-toast span {
    color: #4cff8f;
    font-weight: 700;
}

/* ---------------- IMAGE ---------------- */
.image-wrapper {
    position: relative;
    max-width: 820px;
    margin: 45px auto 0;
}

.radio-month-img {
    display: block;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: .25s;
}

.radio-month-img:hover {
    transform: scale(1.02);
}

/* ---------------- DOWNLOAD BUTTON ---------------- */
.download-btn {
    position:static;
    display:block;
    margin:15px auto 15px;
    background: #2c3e75;
    padding: 10px 18px;
    width:max-content;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: .2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    background: #3c53a1;
    transform: translateY(-2px);
}



/* ---------------- MOBILE ---------------- */
@media (max-width: 900px){

.radio-codes{
padding:22px 16px;
}

.codes-title{
font-size:22px;
margin-bottom:18px;
}

/* остаются 2 колонки */

.codes-grid{
grid-template-columns:1fr 1fr;
gap:6px 20px;
}

.code-row{
font-size:16px;
}

/* кнопка копирования */

.copy-wrap{
right:10px;
top:10px;
}

/* изображение */

.image-wrapper{
margin-top:30px;
}

/* кнопка скачать */

.download-btn{

position:static;
display:block;

margin:15px auto 15px;

width:max-content;

}

}

/* ---------------- SMALL MOBILE ---------------- */
@media (max-width: 450px) {
    .current-code {
        font-size: 22px;
    }

    .codes-title {
        font-size: 20px;
    }

    .code-row {
        font-size: 16px;
    }

    .radio-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .radio-icon {
        width: 50px;
        height: 50px;
    }
}

