:root {
    --gap-small: 8px;
    --gap-medium: 16px;
    --radius-small: 12px;
    --radius-medium: 12px;
    --text-orange: #ffa500;
}
body, html { 
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #090d19;
    color: #fff;
}
.webapp-wrapper {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #090d19;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
*, *::before, *::after { 
    box-sizing: border-box; 
}
a { text-decoration: none; }
button { background: none; border: none; font: inherit; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
ol, ul { list-style: none; padding: 0; }
#other-casinos {
    grid-template-columns: 1fr;
}
.container { 
    margin-left: auto; 
    margin-right: auto; 
    padding: 0 var(--gap-medium); 
    width: 100%; 
}
.header {
    background-color: rgba(14, 26, 45, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--gap-medium) 0;
    margin-bottom: var(--gap-medium);
    width: 100%;
}
.header-inner { 
    align-items: center; 
    display: flex; 
    justify-content: space-between; 
}
.logo { 
    display: flex; 
    align-items: center; 
}
.logo-img { 
    height: 48px; 
    width: 48px; 
    margin-right: 12px; 
}
.logo-texts { 
    color: #fff; 
}
.logo-title { 
    font-size: 24px; 
    font-weight: 800; 
    letter-spacing: -1px; 
    line-height: 1.2; 
}
.logo-description { 
    font-size: 10px; 
    font-weight: 500; 
    line-height: 1.2; 
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.telegram-button {
    display: flex;
    align-items: center;
    justify-content: center;
}
.telegram-button img {
    height: 32px;
    width: 32px;
}
.button.support-button {
    background-color: #fff;
    color: #0e1a2d;
    border-radius: var(--radius-small);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 16px;
    text-decoration: none;
    white-space: nowrap;
}
.banner {
    width: 100%;
    height: 300px; 
    background-color: #454d7a;
    background-image: 
        url('assets/banner-info.svg'),
        url('assets/banner-madmax.svg'),
        url('assets/mascot-logo.svg'), 
        linear-gradient(rgba(27, 10, 119, 0.79), rgba(27, 10, 119, 0.79)), 
        url('assets/banner-background.svg');
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 
        150px auto,
        auto 180%, 
        180% auto, 
        100% 100%, 
        auto 140%;
    background-position: 
        top 15px right -10px,
        10% 10%, 
        -40% 25%, 
        center center, 
        35% 10%;
    margin-bottom: var(--gap-medium);
    border-radius: var(--radius-medium);
    position: relative;
    user-select: none;
    -webkit-user-drag: none;
}
.main { 
    flex-grow: 1; 
}
.casino-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-medium);
    margin-bottom: var(--gap-medium);
}
.casino-card {
    background-color: #0a1024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: var(--gap-small);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 700;
}
.card-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 4px;
    margin-top: -10px;
}
.promo-section {
    margin-bottom: var(--gap-medium);
}
.promo-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
}
.promo-code-box {
    background-color: #151c37;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
}
.card-dynamic-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--gap-medium);
    flex-grow: 1;
    color: #fff;
    width: 100%;
    text-align: left;
}
.card-button {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background-color: transparent;
    color: #ffdf00;
    border: 2px solid #ffdf00;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    transition: all 0.2s ease;
}
.card-button:hover {
    background-color: #ffdf00;
    color: #000;
}
.footer {
    padding: var(--gap-medium) 0;
    width: 100%;
}
.footer-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-small);
}
.footer-box {
    background-color: #0a1024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: var(--gap-small);
}
.heading.footer-heading {
    line-height: 1.67;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 700;
}
.footer-text {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}
.footer-text p { min-height: 1em; }
.footer-text ol { list-style-type: decimal; padding-left: 16px; }
.footer-text li:not(:last-child) { margin-bottom: 4px; }
.banner-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.banner-btn {
    width: 110px;
    height: 35px;
    border-radius: 7px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}
.btn-logo {
    width: 16px;
    height: 16px;
    margin-bottom: 2px;
    object-fit: contain;
    flex-shrink: 0;
}
.btn-text {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}
.banner-btn.kick {
    background-color: #008400;
    box-shadow: 0 0 10px 3px rgba(0, 252, 0, 0.4);
    border: 1px solid #00fc00;
}
.banner-btn.kick .btn-logo {
    width: 30px;
    height: 20px;
    margin-bottom: 0px;
}
.banner-btn.youtube {
    background-color: #840000;
    box-shadow: 0 0 10px 3px rgba(255, 0, 0, 0.4);
    border: 1px solid #ff0000;
}
.small-casino-card {
    display: flex;
    align-items: center;
    background-color: #0a1024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-medium);
}
.small-card-logo {
    height: 24px;
    width: auto;
    max-width: 50%;
    object-fit: contain;
    margin-right: auto;
}
.small-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.notify-btn {
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notify-btn img {
    height: 20px;
    width: 20px;
}
.small-card-button-link {
    background-color: #1c2338;
    color: #ffdf00;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.hidden {
    display: none !important;
}
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--gap-medium);
    backdrop-filter: blur(5px);
}
#modal-content {
    background-color: #0e1a2d;
    border-radius: var(--radius-medium);
    padding: var(--gap-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}
#modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}
.modal-logo {
    display: block;
    height: 40px;
    max-width: 150px;
    object-fit: contain;
    margin: 0 auto 16px;
}
.modal-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}
.modal-promo-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.modal-promo-code-box {
    background-color: #ffa500;
    color: #090d19;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
}
.modal-section {
    background-color: #090d19;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.modal-section:last-child {
    margin-bottom: 0;
}
.modal-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
#modal-dynamic-text {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}
.modal-conditions-list {
    list-style: none;
    padding: 0;
}
.modal-conditions-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}
.modal-conditions-list li::before {
    content: '✔';
    color: #ffa500;
    position: absolute;
    left: 0;
    top: 0;
}
.modal-description-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}