/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.has-text-light {
    color: #f0f0f0 !important;
}

.has-text-grey-light {
    color: #cccccc !important;
}

.has-background-dark {
    background-color: #1a1a1a !important;
}

.has-background-dark-alt {
    background-color: #222222 !important;
}

.has-background-dark-card {
    background-color: #2c2c2c !important;
    border: 1px solid #444444;
    border-radius: 8px;
}

/* Custom Bulma Overrides */
.button.is-primary {
    background-color: #6a0dad; /* Deep Purple */
    border-color: #6a0dad;
    color: #ffffff;
    transition: all 0.3s ease;
}

.button.is-primary:hover {
    background-color: #7b1fa2;
    border-color: #7b1fa2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button.is-danger {
    background-color: #e53935; /* Red */
    border-color: #e53935;
    color: #ffffff;
    transition: all 0.3s ease;
}

.button.is-danger:hover {
    background-color: #f44336;
    border-color: #f44336;
}

.button.is-outlined.is-light {
    border-color: #cccccc;
    color: #cccccc;
}

.button.is-outlined.is-light:hover {
    background-color: #cccccc;
    color: #1a1a1a;
}

.title {
    font-weight: 700;
}

.subtitle {
    font-weight: 400;
}

.modal-card-body p {
    color: #000 !important;
}

label.has-text-light {
    color: #9e8b8b !important;
}

/* Hero Section */
.hero-background-image {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-body > .container {
    position: relative;
    z-index: 2;
}

.hero-title-gradient {
    background: linear-gradient(90deg, #8a2be2, #00bfff); /* Blue Violet to Deep Sky Blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

@media screen and (max-width: 768px) {
    .hero-title-gradient {
        font-size: 2.5rem;
    }
}

.hero-button-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(106, 13, 173, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(106, 13, 173, 0); }
}

.hero-image-shadow {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-image-shadow:hover {
    transform: translateY(-5px);
}

/* Rating Card Section */
.rating-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.rating-card .card-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.rating-card .card-image img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensures logos fit without cropping */
    padding: 20px; /* Add padding around logos */
    background-color: #3a3a3a; /* Slightly lighter background for the logo area */
    transition: transform 0.3s ease;
}

.rating-card:hover .card-image img {
    transform: scale(1.05);
}

.rating-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rating-card .media-content {
    flex-grow: 1;
}

.rating-badge {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}

.rating-badge-icon {
    vertical-align: middle;
    margin-right: 2px;
}

/* Comparison Table Section */
.comparison-table {
    color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to table */
}

.comparison-table th {
    background-color: #3a3a3a;
    color: #f0f0f0;
    border-color: #444444;
}

.comparison-table td {
    border-color: #444444;
    color: #cccccc;
}

.comparison-table tr:hover {
    background-color: #3a3a3a !important;
}

.comparison-table .material-symbols-outlined {
    vertical-align: middle;
    margin-right: 5px;
}

.comparison-table .has-text-success {
    color: #48c78e !important;
}

.comparison-table .has-text-danger {
    color: #f14668 !important;
}

.comparison-table .has-text-info {
    color: #3273dc !important;
}

/* Editor's Rating Section */
.editor-choice-box {
    border-left: 5px solid #ffdd57; /* Yellow accent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.editor-choice-image-wrapper {
    display: inline-block;
    width: 100%;
    max-width: 250px; /* Limit image size */
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.editor-choice-image-wrapper img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: #3a3a3a;
}

.editor-choice-tag {
    background-color: #ffdd57;
    color: #363636;
    font-weight: 600;
}


.editor-choice-box ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.editor-choice-box ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Rating Criteria Section */
.criteria-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.criteria-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.criteria-box .material-symbols-outlined {
    font-size: 4rem !important;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #6a0dad, #00bfff); /* Gradient for icons */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* User Reviews Section */
.review-box {
    border-left: 5px solid #00bfff; /* Blue accent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.is-rounded-avatar {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #6a0dad;
}

.is-rounded-avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.review-box .material-symbols-outlined.star {
    color: #ffdd57;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #3a0d6a !important; /* Darker purple */
    border-top: 5px solid #ffdd57;
    border-bottom: 5px solid #ffdd57;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.disclaimer-block .title {
    color: #ffdd57 !important;
    text-shadow: 0 0 8px rgba(255, 221, 87, 0.4);
}

.disclaimer-block p {
    color: #f0f0f0;
    font-size: 1.05rem;
}

.disclaimer-block strong {
    color: #ffffff;
}

/* Footer Section */
.footer-custom {
    background-color: #111111 !important;
    color: #cccccc;
}

.footer-logo {
    max-height: 50px;
    filter: brightness(1.2); /* Make logo slightly brighter on dark background */
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bfff;
}

.footer-divider {
    background-color: #444444;
    height: 1px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.footer-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
}

.footer-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Fixed height for better alignment */
}

.footer-logo-item img {
    max-width: 140px; /* Max width for logos */
    max-height: 100%; /* Ensure image fits within item height */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9); /* Slightly dim them to fit dark theme */
    transition: filter 0.3s ease;
}

.footer-logo-item img:hover {
    filter: brightness(1.1); /* Slightly brighten on hover */
}

/* Age Verification Overlay */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-verification-modal {
    max-width: 500px;
    width: 90%;
    background-color: #2c2c2c;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #6a0dad;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3a3a3a;
    color: #f0f0f0;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner .container {
    max-width: 960px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .cookie-banner .buttons {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    .cookie-banner .mb-2-mobile {
        margin-bottom: 0.5rem !important;
    }
}

/* Cookie Modal */
.modal-card {
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #444444;
}

.modal-card-head {
    background-color: #3a3a3a;
    border-bottom: 1px solid #444444;
}

.modal-card-title {
    color: #f0f0f0;
}

.modal-card-body {
    color: #f0f0f0;
}

.modal-card-foot {
    background-color: #3a3a3a;
    border-top: 1px solid #444444;
}

.modal-card-foot .button.is-light {
    background-color: #555555;
    color: #f0f0f0;
    border-color: #555555;
}

.modal-card-foot .button.is-light:hover {
    background-color: #666666;
    border-color: #666666;
}

/* Bulma Switch for cookie categories */
.switch[type="checkbox"] + label::before {
    background-color: #555555;
    border: 1px solid #777777;
}

.switch[type="checkbox"]:checked + label::before {
    background-color: #6a0dad;
    border-color: #6a0dad;
}

.switch[type="checkbox"]:checked + label::after {
    background-color: #ffffff;
}

.switch[type="checkbox"]:disabled + label::before {
    background-color: #444444;
    border-color: #666666;
}

.switch[type="checkbox"]:disabled:checked + label::before {
    background-color: #4a0a7d;
    border-color: #4a0a7d;
}

.switch[type="checkbox"]:disabled:checked + label::after {
    background-color: #aaaaaa;
}

/* General text color for readability */
p, li, td, a:not(.button) {
    color: #f0f0f0; /* Default text color */
}

a.has-text-info {
    color: #00bfff !important; /* Specific color for info links */
}

a.has-text-info:hover {
    text-decoration: underline;
}

.content strong {
    color: #ffffff;
}

.progress.is-primary::-webkit-progress-value {
    background-color: #6a0dad;
}

.progress.is-primary::-moz-progress-bar {
    background-color: #6a0dad;
}

.progress.is-primary::-ms-fill {
    background-color: #6a0dad;
}

.progress.is-info::-webkit-progress-value {
    background-color: #00bfff;
}

.progress.is-info::-moz-progress-bar {
    background-color: #00bfff;
}

.progress.is-info::-ms-fill {
    background-color: #00bfff;
}

.progress.is-warning::-webkit-progress-value {
    background-color: #ffdd57;
}

.progress.is-warning::-moz-progress-bar {
    background-color: #ffdd57;
}

.progress.is-warning::-ms-fill {
    background-color: #ffdd57;
}
/* Styles for content within .dataClauseFrame */
.dataClauseFrame {
    padding-top: 3rem; /* Top padding for the content block */
    padding-bottom: 3rem; /* Bottom padding for the content block */
    padding-left: 1.5rem; /* Left padding for the content block */
    padding-right: 1.5rem; /* Right padding for the content block */
    margin-bottom: 2rem; /* Margin below the content block */
    color: #f0f0f0; /* Default text color for the frame */
}

.dataClauseFrame h1 {
    font-size: 2.25rem; /* H1 font size */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for H1 */
    margin-top: 1.5rem; /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    color: #ffffff; /* H1 text color */
}

.dataClauseFrame h2 {
    font-size: 1.75rem; /* H2 font size */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3; /* Line height for H2 */
    margin-top: 1.25rem; /* Top margin for H2 */
    margin-bottom: 0.75rem; /* Bottom margin for H2 */
    color: #ffffff; /* H2 text color */
}

.dataClauseFrame h3 {
    font-size: 1.5rem; /* H3 font size */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.4; /* Line height for H3 */
    margin-top: 1rem; /* Top margin for H3 */
    margin-bottom: 0.6rem; /* Bottom margin for H3 */
    color: #ffffff; /* H3 text color */
}

.dataClauseFrame h4 {
    font-size: 1.25rem; /* H4 font size */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5; /* Line height for H4 */
    margin-top: 0.8rem; /* Top margin for H4 */
    margin-bottom: 0.5rem; /* Bottom margin for H4 */
    color: #cccccc; /* H4 text color */
}

.dataClauseFrame h5 {
    font-size: 1.1rem; /* H5 font size */
    font-weight: 500; /* Medium font weight */
    line-height: 1.6; /* Line height for H5 */
    margin-top: 0.7rem; /* Top margin for H5 */
    margin-bottom: 0.4rem; /* Bottom margin for H5 */
    color: #cccccc; /* H5 text color */
}

.dataClauseFrame p {
    font-size: 1rem; /* Paragraph font size */
    line-height: 1.7; /* Line height for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
    color: #f0f0f0; /* Paragraph text color */
}

.dataClauseFrame ul {
    list-style: disc; /* Default disc list style */
    margin-left: 1.5rem; /* Indentation for unordered lists */
    margin-top: 1rem; /* Top margin for unordered lists */
    margin-bottom: 1rem; /* Bottom margin for unordered lists */
    color: #f0f0f0; /* Default list item color */
}

.dataClauseFrame ol {
    list-style: decimal; /* Default decimal list style */
    margin-left: 1.5rem; /* Indentation for ordered lists */
    margin-top: 1rem; /* Top margin for ordered lists */
    margin-bottom: 1rem; /* Bottom margin for ordered lists */
    color: #f0f0f0; /* Default list item color */
}

.dataClauseFrame li {
    font-size: 1rem; /* List item font size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for list items */
    color: #f0f0f0; /* List item text color */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .dataClauseFrame h1 {
        font-size: 1.75rem; /* Smaller H1 on mobile */
    }
    .dataClauseFrame h2 {
        font-size: 1.5rem; /* Smaller H2 on mobile */
    }
    .dataClauseFrame h3 {
        font-size: 1.25rem; /* Smaller H3 on mobile */
    }
    .dataClauseFrame h4 {
        font-size: 1.1rem; /* Smaller H4 on mobile */
    }
    .dataClauseFrame h5 {
        font-size: 1rem; /* Smaller H5 on mobile */
    }
    .dataClauseFrame p,
    .dataClauseFrame li {
        font-size: 0.95rem; /* Slightly smaller text on mobile */
    }
    .dataClauseFrame {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


.image.is-4by3{
    padding-top: 0 !important;

    a{
        width: 100%;
        height: 130px;
        display: inline-block;

        img{
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}
.table.is-striped tbody tr:not(.is-selected):nth-child(2n){
    td{
        color: #111 !important;
    }

    .has-text-light{
        color: #111 !important;
    }


}
.table.is-striped tbody tr:not(.is-selected):nth-child(2n):hover{
    td{
        color: #ffffff !important;
    }

    .has-text-light{
        color: #ffffff !important;
    }
}

@media (max-width: 767px){

    .table.is-striped tbody tr:not(.is-selected):nth-child(2n){

    }
    .media {
        flex-direction: column;
        gap: 20px;
    }

    .field.is-grouped.is-grouped-centered{
        flex-direction: column;
    }
}

.media-content{
    overflow-x: inherit !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #333;
}

.table thead th {
    background-color: #222;
    color: #fff;
    text-align: left;
}

.table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

.material-symbols-outlined {
    vertical-align: middle;
    margin-right: 0.3rem;
}

/* Адаптивная таблица */
@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #444;
        padding-bottom: 0.5rem;
    }

    .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 0.5rem;
        font-weight: bold;
        text-align: left;
    }

    .buttons.is-centered-mobile{
        text-align: center !important;
        justify-content: center;
    }
}

.age-verification-overlay{
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.age-verification-overlay.ishidden{
    display: none;
}

.cookie-banner.is-hidden.is-visible{
    display: flex !important;
}

