/* ==========================================
   Base styles
   ========================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    background: linear-gradient(180deg, #0088FF 0%, #252525 35%, #111111 100%);
    background-attachment: fixed;
    color: #FFFFFF;
    margin: 0;
    padding: 20px 10px;
    font-size: 13pt;
    min-height: 100vh;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
}

/* ==========================================
   Block 1: Top Image
   ========================================== */
.image-block {
    background-color: #000000;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #222;
}

.main-banner {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   Block 2: Text and Interactive Buttons
   ========================================== */
.text-block {
    background-color: #000000;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 20px 15px;
    margin-bottom: 20px;
    border: 1px solid #222;
}

.text-center {
    text-align: center;
}

.colortext {
    color: #FF0000;
    font-size: 14pt;
}

.colorup {
    color: #FF00FF;
    font-size: 14pt;
}

.colornew {
    color: #00FF00;
    font-size: 14pt;
}

.date-table {
    margin: 0 auto 10px;
    text-align: center;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #252525 0%, #111111 100%);
    color: #00E5FF !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    border-radius: 8px;
    border: 1.5px solid #00A2FF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-link:hover {
    background: linear-gradient(180deg, #00D2FF 0%, #0066FF 100%);
    color: #000000 !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 255, 0.6), 
                0 0 10px rgba(0, 229, 255, 0.5);
}

.btn-link:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   Block 3: Banners Grid & Information Notice
   ========================================== */
.banners-block {
    background-color: #000000;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 16px 12px;
    width: 100%;
    border: 1px solid #222;
}

/* Стили для перенесенного блока информации */
.info-notice {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.attention-title {
    color: #FF2A2A;
    font-weight: bold;
    font-size: 14pt;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.notice-text {
    color: #FF00FF; /* Цвет идентичен классу .colorup (дате из 2-го блока) */
    font-size: 11pt;
    margin: 4px 0;
    line-height: 1.3;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); 
    gap: 6px;
    width: 100%;
}

.banner-item {
    display: flex !important;
    align-items: center !important;     
    justify-content: center !important; 
    text-align: center !important;      
    
    width: 100%;
    aspect-ratio: 2 / 1; 
    padding: 0 2px !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 6px;
    
    background: linear-gradient(180deg, #252525 0%, #111111 100%);
    border: 1.5px solid #00A2FF;
    color: #00E5FF !important;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1 !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-item:hover {
    background: linear-gradient(180deg, #00D2FF 0%, #0066FF 100%);
    color: #000000 !important;
    border-color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
    z-index: 10;
}

/* ==========================================
   Footer Link Styles ("Add Your site")
   ========================================== */
.footer-link {
    color: #00E5FF; /* Цвет надписи "More" */
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: #00FF00; /* Цвет надписи "HAS BEEN UPDATED!!!" */
}

/* ==========================================
   Media Queries (Адаптивность)
   ========================================== */
@media (max-width: 768px) {
    .banner-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .btn-link {
        font-size: 14px;
        padding: 12px 10px;
    }

    .banner-item {
        font-size: 10px;
    }

    .notice-text {
        font-size: 10pt;
    }
}

@media (max-width: 400px) {
    body {
        padding: 10px 5px;
    }

    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}