html {
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    background-attachment: fixed;
    overflow-y: auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    body {
        padding-top: 100px;
    }
}

.shell {
    max-width: 380px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .shell {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .shell {
        max-width: 1280px;
    }
}

h1 {
    margin-bottom: 24px;
    text-align: left;
    font-size: 32px;
    font-weight: 800;
    color: #1a3c5e;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 48px;
        margin-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 64px;
    }
}

.perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #1a3c5e;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .perks {
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 48px;
    }
}

@media (min-width: 1024px) {
    .perks {
        gap: 32px;
        margin-bottom: 56px;
    }
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.8);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .perk-item {
        gap: 16px;
        padding: 16px;
    }
}

.perk-item img {
    align-self: center;
    max-height: 24px;
}

.cta-link {
    position: absolute;
    width: 100%;
    height: 100%;
}

.details-box {
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e0e0e0;
    color: #1a3c5e;
    overflow: hidden;
    margin-bottom: 48px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.details-header {
    display: flex;
    justify-content: space-between;
    text-transform: capitalize;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #4a90e2, #50c9c3);
}

.details-content {
    display: grid;
    background: #c0c0c0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .details-content {
        grid-template-columns: 240px 1fr;
    }
}

@media (min-width: 1024px) {
    .details-content {
        grid-template-columns: 280px 1fr 280px;
    }
}

.details-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

@media (min-width: 1024px) {
    .details-column {
        padding: 32px;
    }
}

.details-column > img {
    max-height: 100px;
}

.details-column:first-of-type {
    border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .details-column:first-of-type {
        border-right: 1px solid #e0e0e0;
        border-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .details-column:first-of-type {
        border-bottom: 1px solid #e0e0e0;
    }
}

.details-column:nth-of-type(2) {
    align-items: flex-start;
}

.details-column:last-of-type {
    border-top: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .details-column:last-of-type {
        grid-column: 1 / 3;
        border-left: 1px solid #e0e0e0;
    }
}

@media (min-width: 1024px) {
    .details-column:last-of-type {
        grid-column: auto;
        border-left: 0;
        border-top: 0;
        border-right: 1px solid #e0e0e0;
    }
}

.rating-box {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .rating-box {
        margin-top: 32px;
        justify-content: space-between;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .rating-box {
        margin-top: 40px;
        gap: 24px;
    }
}

.rating-box-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 1024px) {
    .rating-box-num {
        font-size: 48px;
    }
}

.rating-box-num span {
    color: #785d23;
    font-size: 18px;
}

@media (min-width: 1024px) {
    .rating-box-num span {
        font-size: 24px;
    }
}

.votes-count {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.votes-count p {
    margin-top: 8px;
}

.votes-count img {
    margin: 0 auto;
    width: 64px;
}

@media (min-width: 1024px) {
    .votes-count img {
        width: 88px;
    }
}

.details-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 16px;
    text-transform: capitalize;
}

@media (min-width: 1024px) {
    .details-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }
}

.bonus-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    color: #1a3c5e;
}

@media (min-width: 768px) {
    .bonus-list {
        grid-template-columns: 1fr 1fr;
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .bonus-list {
        font-size: 16px;
        gap: 8px 20px;
    }
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deposit-info {
    color: #785d23;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 60px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    background: linear-gradient(to right, #4a90e2, #50c9c3);
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.action-button:hover {
    background: linear-gradient(to right, #357abd, #3ba8a2);
    transform: scale(1.05);
}

.age-check {
    color: #1a3c5e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 64px;
}

.page-footer {
    margin-top: auto;
    text-align: center;
    align-items: center;
}

.page-footer-controller {
    background: #878787;
    padding: 32px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.page-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.page-footer-content img {
    max-height: 50px;
}

.legal-terms .page-footer-content {
    justify-content: space-around;
}

.legal-terms {
    background: #e0f7fa;
    padding: 40px 0;
}

.legal-terms-link {
    color: #1a3c5e;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-transform: uppercase;
}

.terms h1 {
    margin-bottom: 32px;
    color: #785d23;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: capitalize;
}

.terms h2 {
    margin-bottom: 24px;
    color: #1a3c5e;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.terms p,
.terms a {
    color: #2e4b6a;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .terms p,
    .terms a {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .terms p,
    .terms a {
        font-size: 20px;
    }
}

.terms p + p,
.terms a + p {
    margin-bottom: 16px;
}

.terms p:last-of-type,
.terms p:not(:last-child):has(+ :not(p)),
.terms a:last-of-type,
.terms a:not(:last-child):has(+ :not(p)) {
    margin-bottom: 32px;
}

.terms p:not(:last-child):has(+ ul),
.terms a:not(:last-child):has(+ ul) {
    margin-bottom: 8px;
}

.terms ul {
    list-style-type: circle;
    padding-inline-start: 24px;
    margin-bottom: 32px;
}

.terms ul li {
    color: #2e4b6a;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

@media (min-width: 768px) {
    .terms ul li {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .terms ul li {
        font-size: 20px;
    }
}

.terms .compact {
    margin-bottom: 32px;
}

.terms .compact p {
    margin-bottom: 0;
}

.terms .domainLink {
    color: #785d23;
}

.terms a.accentLink {
    display: block;
    color: #785d23;
    margin-bottom: 0 !important;
}

#cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 360px;
    background: rgba(255,255,255,0.95);
    color: #1a3c5e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

#cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#cookie-banner a {
    color: #4a90e2;
    text-decoration: none;
    border-bottom: 1px solid #4a90e2;
}

#cookie-banner button {
    margin-top: 16px;
    display: inline-block;
    background: linear-gradient(to right, #4a90e2, #50c9c3);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
}

#cookie-banner button:hover {
    background: linear-gradient(to right, #357abd, #3ba8a2);
}