/* Основные стили */
body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.main-container {
    width: 375px;
    margin: 0 auto;
    position: relative;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
    align-items: center;
    gap: 6px;
}

/* Статусы (Online, Connected) */
.status {
    background: #151515;
    padding: 3px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    height: 40px;
    min-width: 90px;
    max-width: 90px;
    text-align: center;
    justify-content: center;
}

/* Online - слева */
.status.online {
    color: white;
    display: flex;
    align-items: center;
}

/* Connected - справа */
.status.connected {
    color: #5feb5e;
    margin-left: auto;
}

/* Разделитель под Online и Connected */
.header::after {
    content: "";
    display: block;
    width: calc(100% - 40px);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px auto 0;
    position: absolute;
    bottom: -5px;
    left: 20px;
}

/* Индикатор онлайн */
.dot {
    width: 7px;
    height: 7px;
    background: #5feb5e;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

/* Подложка */
.background-overlay {
    position: absolute;
    top: 90px;
    left: 1px;
    width: calc(100% - 1px);
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(12px);
    z-index: -1;
}

/* Слайдер */
.slider {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 20px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Контейнер для индикаторов */
.indicators-container {
    display: flex;
    justify-content: center;
    margin-top: -10px; /* Чтобы чуть опустить индикаторы */
    margin-bottom: 10px; /* Для отделения от кнопок */
}

/* Индикаторы слайдера */
.indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #5feb5e;
}

/* Кнопки */
.buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
}

/* RTP Prediction и Bonus Parse */
.btn {
    padding: 5px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100px;
}

/* Большая кнопка - Bonus Predictor */
.predictor {
    grid-column: span 2;
    height: 110px;
    position: relative;
    font-size: 24px;  /* Размер шрифта */
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7); /* 🔥 универсально и просто */
}

/* Последние выигрыши */
.wins {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Увеличение текста "Последние выигрыши" */
.wins h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 5px;
    color: #fff;
}

.win {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.user-info, .win-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user {
    font-weight: 600;
    font-size: 14px;
}

.platform {
    font-size: 12px;
    color: #7c7c7c;
}

.amount {
    color: #0aaf07;
    font-size: 14px;
    font-weight: 600;
}

.time {
    font-size: 12px;
    color: #7c7c7c;
}

.win {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Затемнение фона */
.rtp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 999;
}

/* Окно RTP Prediction - уменьшаем размер */
.rtp-container {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 375px;
    height: 80vh; /* Уменьшил высоту (было 90vh) */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px 20px 0 0;
    transition: bottom 0.5s ease-in-out;
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

.rtp-container.active {
    bottom: 0%; /* Поднял чуть выше */
}

.rtp-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rtp-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.rtp-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Прогнозы */
.rtp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.rtp-item {
    display: flex;
    align-items: center;
    width: 90%;
    background: linear-gradient(90deg, #222, #444);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.rtp-item:hover {
    transform: scale(1.05);
}

.rtp-item img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 15px;
}

.rtp-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.rtp-percentage {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.rtp-status {
    color: #aaa;
    font-size: 16px;
    margin: 5px 0;
}

/* Анимация шкалы RTP */
.rtp-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.rtp-fill {
    height: 100%;
    width: 0;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}
    /* Бонусный контент - в столбик */
.bonus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
 }

    /* Каждая кнопка */
.bonus-item {
    display: flex;
    align-items: center;
    width: 90%;
    background: linear-gradient(90deg, #222, #444);
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.3s ease;
 }

.bonus-item:hover {
    transform: scale(1.05);
 }

    /* Картинка слева */
.bonus-item img {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    border-radius: 10px;
 }

    /* Текстовая часть справа */
.bonus-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    /* Название казино */
.bonus-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    cursor: pointer;
}

    /* Деньги - зеленым */
.bonus-money {
    color: limegreen;
    font-size: 16px;
    font-weight: bold;
    margin: 3px 0;
 }

/* Заголовок "MaxWIN Radar" */
.predictor-title {
    color: white;
    font-size: 38px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0px;
}

.radar-green {
    color: #00ff00;
}

/* Подзаголовок "BETA" */
.predictor-beta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    text-align: center;
    margin-top: 4px;
    font-weight: bold;
}

/* Контейнер предиктора */
.predictor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-top: 10px;
}

/* Область загрузки */
.upload-area {
    width: 90%;
    max-width: 300px;
    height: 180px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.upload-area:hover {
    border-color: white;
}

/* Исправленный размер иконки загрузки */
.upload-icon {
    width: 50px;
    height: 50px;
    opacity: 0.7;
    max-width: 100px;
    max-height: 100px;
}

/* Текст в загрузочной области */
.upload-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
}

/* Область предпросмотра */
.preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    transform: scale(1.3);
}

/* Дополнительно увеличим ширину, чтобы текст влезал */
@media screen and (max-width: 430px) {
    .preview-area.wide-scale {
        width: 100%;
    }
}


/* Контейнер изображения */
.image-container {
    position: relative;
    width: 90%;
    max-width: 300px;
    height: 180px; /* Фиксированный размер */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Размытое изображение (чтобы не распирало рамку) */
.blurred-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    filter: blur(0px);
    transition: filter 1.5s ease-in-out;
}

/* Текст с шансом бонуски */
.predictor-result {
    background: linear-gradient(90deg, #1bf3d6, #c112e4, #7b40e9, #7982ff);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: glow-text 4s ease-in-out infinite;
    font-weight: bold;
    text-align: center;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    white-space: pre-line;
}

@keyframes glow-text {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.predictor-btn {
    width: 90%;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(145deg, #ffb347, #ffcc33);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
}

.predictor-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.5);
}

.predictor-btn:disabled {
    background: linear-gradient(145deg, #888, #999);
    color: #ddd;
    box-shadow: none;
    cursor: not-allowed;
}

/* Контейнер изображения - исправлен скос влево */
.image-container {
    position: relative;
    width: 90%;
    max-width: 300px;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; /* Теперь по центру */
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Размытое изображение */
.blurred-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    filter: blur(0px);
    transition: filter 1.5s ease-in-out;
}

/* Кнопка "Анализ" (более кликабельная область) */
.predictor-btn {
    width: 90%;
    max-width: 250px;
    padding: 14px 20px; /* Увеличил паддинг для удобства */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: white;
    background: linear-gradient(145deg, #ffb347, #ffcc33);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем */
}

.predictor-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.5);
}

.predictor-btn:disabled {
    background: linear-gradient(145deg, #888, #999);
    color: #ddd;
    box-shadow: none;
    cursor: not-allowed;
}

/* Таймер до обновления */
.status.timer {
    color: #ffd966;
    font-size: 13px;
    background: #151515;
    padding: 4px 10px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;         /* 🔥 вертикально */
    align-items: center;
    justify-content: center;
    height: 40px;
    font-family: 'Poppins', sans-serif;
    min-width: 90px;
    line-height: 1;
    text-align: center;
    padding: 3px 8px; /* чуть меньше, для компактности */
}

.status.timer .label {
    font-size: 12px;
    line-height: 1;
}

.status.timer .time {
    color: #00ff84;                 /* ✅ зелёные цифры */
    font-weight: 500;
    font-size: 13px;
    margin-top: 2px;
    line-height: 1;
}

/* === ОВЕРЛЕЙ РЕГИСТРАЦИИ (только визуал) === */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    background: #1a1a1a;
    padding: 25px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    max-width: 280px;  /* 🔥 Сделали уже */
    width: 90%;
}

.overlay-content p {
    color: #fff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.overlay-content .note {
    color: #999;
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.register-btn {
    background-color: #00ff84;
    color: #000;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #00d170;
}

/* Оверлей депозита */
#depositOverlay .overlay-content {
    background: #1a1a1a;
    padding: 25px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    max-width: 280px;
    width: 90%;
}

#depositOverlay .overlay-text {
    color: #fff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    line-height: 1.4;
}

.close-deposit-note {
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
