a {text-decoration: none;}
body { max-width:1120px; margin: 0 auto; background-color: #111a29; font-family: Roboto, sans-serif; text-align: left; line-height: 1.4;}
header {
    background: #0c111c;
    background-size: cover;
    height: 290px;
    padding: 30px 0;
    position: relative;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.header-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.logo {background: url(./logo.svg) no-repeat; width:200px;height: 50px;display:block;     background-size: contain;}
.hbutton {background:#181f31; padding:13px 20px; font-size:18px;color:#fff;display:table;border-radius:15px; position: relative;  
}
.hbutton-reg {background:linear-gradient(149deg,#41c6ff 8.4%,#1a64fc 80.38%); box-shadow:0 0 25px 0 #3a7cffab; padding:13px 20px; font-size:18px;color:#fff;display:table;border-radius:15px; position: relative; margin-right: 20px;
}

article {margin:30px 0; background-color:#0c111c; padding: 30px; border-radius: 10px; color: #fff; box-shadow: 0 12px 19.2px .8px #26374d0d;}

.banner1 {margin-bottom:20px;  background: url(/bnr.jpg); width: 100%; height: 330px; margin: 30px 0; border-radius: 10px; position:relative; overflow:hidden; padding: 20px; box-sizing: border-box;}
.banner1 p {color:#fff; font-size: 36px; font-weight:bold; max-width:600px; padding: 0 0 0 30px;}

.banner-btn {
    background: linear-gradient(149deg,#41c6ff 8.4%,#1a64fc 80.38%);
    box-shadow: 0 0 25px 0 #3a7cffab;
    padding: 15px 20px;
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    border-radius: 15px;
    margin: 30px;
    z-index: 11;
    position: relative;
    display: table;
    animation: pulseBorder 1.5s infinite ease-in-out;
}

@keyframes pulseBorder {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.flextop {display: flex; justify-content:space-between; align-items:center; position: relative; margin-top: -200px;}

.tabletop { width: 38%; height:230px; color:#fff; background:#003c7c; border-radius: 10px; padding:20px; box-sizing: border-box;}
.tabletop > div {
    margin-bottom:15px;
    display:flex; align-items: center; gap: 10px;
}
.daxil {background-color:#2765a7; padding:10px 30px; border-radius:18px;}
.app {background:linear-gradient(to top,#0a9e4f,#41b175); padding:13px 20px; border-radius:18px;}

img {width:80%; margin:auto; display:table; border-radius:10px;}

table {
    width: 100%;
    border: none;
    margin:0;
    padding:0;
}

th, td {
    border: none;
    padding: 4px 10px;
    border-radius:30px;
}

tr:nth-child(even) {
    background-color: #172233;
}

.table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin-top:15px;
}

.table-item {
    flex: 1 1 calc(50% - 10px);
    background: #f9f9f9;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.table-item.green {
    background: #d4edda;
}

.login-block {background-color: #003c7c; padding:20px; border-radius:15px; color:#Fff;}

.author img{width: 30px; height: 30px; border-radius: 50%; display: inline-table; margin-bottom:-9px}
.author p {margin: 0; font-size: 18px; font-weight: bold;}
.author span {font-size: 16px; font-weight: normal;}

.author-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-top: 40px;
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #003c7c;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.author-info {
    flex-grow: 1;
}

.author-info h3 {
    margin: 0 0 10px 0;
    color: #003c7c;
    font-size: 1.8rem;
}

.author-title {
    color: #666;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.author-bio {
    color: #444;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    body {margin: 0 10px;}
    header {height: 200px; padding: 15px 0;}
    .header-content {padding: 0 15px;}
    .logo {width: 155px; height: 40px;}
    .hbutton {padding:10px 15px; font-size:14px;}
    .hbutton-reg {padding:10px 15px; font-size:14px; margin-right: 10px;}
    .flextop {display:block; margin-top: -150px;}
    .banner1 {width: 100%; height:auto; margin: 15px 0;}
    .banner1 p {max-width: 220px; padding:15px 15px 0 15px; font-size:18px;}
    .banner-btn {margin:15px; padding:10px 15px; font-size:16px;}
    .tabletop {display:flex; padding:12px; width:100%; height:auto; justify-content:space-between; gap:10px;}
    .tabletop > div {flex-direction: column; font-size:15px; max-width: 100%; margin-bottom:0; padding:10px; }
    article {margin:20px 0; padding:16px;}
    img {width:100%;}
    .table-container {flex-direction: column; gap:10px;}
    .table-item {flex: 1 1 100%; padding:12px;}
    .author-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .author-image img {
        width: 100px;
        height: 100px;
    }

    .author-info h3 {
        font-size: 1.5rem;
    }
}

.button {
    position: relative;
    padding: 10px 20px;
    background-color: red;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
}

.button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    animation: pulseBorder 1.5s infinite ease-in-out;
    pointer-events: none; /* Обводка не мешает взаимодействию с кнопкой */
}


.footer {
    border-top: 1px solid #222f44;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

quote {background: green;}

.age-restriction {
    background-color: #1f2b3f;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    flex: 1;
}

.payment-methods img {
    height: 30px;
    width: auto;
}


.footer-legal {
    margin-bottom: 30px;
}

.copyright {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 15px;
}

.license-info {
    margin-bottom: 20px;
}

.gcb-logo {
    height: 30px;
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.license-info p {
    font-size: 11px;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 10px;
}

.policy-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.policy-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.policy-links a:hover {
    color: #439dff;
}


@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 20px;
    }
    
    .footer-middle {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .policy-links {
        justify-content: center;
        gap: 15px;
    }
    
}
