/* content/global.css */

:root {
    --playchi-primary: hsl(330, 70%, 75%); /* Light Raspberry */
    --playchi-accent: hsl(330, 80%, 50%); /* Deeper Raspberry */
    --playchi-dark: hsl(210, 10%, 20%); /* Dark Charcoal */
    --playchi-light-bg: hsl(0, 0%, 98%); /* Off-white */
    --playchi-neutral-gray: hsl(210, 5%, 50%);
    --playchi-success: hsl(120, 50%, 45%);
    --playchi-danger: hsl(0, 70%, 60%);
    --playchi-text-color: var(--playchi-dark);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--playchi-text-color);
    background-color: var(--playchi-light-bg);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--playchi-dark);
}
.btn-block{
    padding: 10px 30px;
}
.custom-heading {
    background: linear-gradient(90deg, var(--playchi-accent) 0%, var(--playchi-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Required for text-fill-color to work correctly */
    padding-bottom: 5px;
    position: relative;
}
.custom-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--playchi-accent) 0%, var(--playchi-primary) 100%);
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--playchi-accent);
    border-color: var(--playchi-accent);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--playchi-primary);
    border-color: var(--playchi-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
    color: var(--playchi-neutral-gray);
    border-color: var(--playchi-neutral-gray);
}

.btn-outline-secondary:hover {
    color: var(--playchi-light-bg);
    background-color: var(--playchi-neutral-gray);
    border-color: var(--playchi-neutral-gray);
}

.section-bg-light {
    background-color: var(--playchi-light-bg);
}

.section-bg-dark {
    background-color: var(--playchi-dark);
    color: var(--playchi-light-bg);
}

.section-bg-dark .custom-heading {
    -webkit-text-fill-color: unset;
    color: var(--playchi-light-bg);
}

.section-bg-dark .custom-heading::after {
    background: var(--playchi-primary);
}

/* Header Styles */
header {
    background-color: var(--playchi-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1030;
}

.header-disclaimer {
    color: var(--playchi-primary);
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 051) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Platform Card Styles */
.platform-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.star-rating i {
    color: gold;
    margin-right: 2px;
}

.platform-card .badge {
    white-space: break-spaces;
    font-size: 0.9em;
    padding: 0.5em 0.8em;
    background-color: var(--playchi-accent) !important;
}

.platform-card ul li i {
    font-size: 1.1em;
}

/* Comparison Table */
.comparison-table {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    border-color: rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background-color: var(--playchi-accent);
    color: var(--playchi-dark);
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

/* User Reviews */
.review-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--playchi-primary);
}

.report-review-btn {
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playchi-danger);
    border-color: var(--playchi-danger);
}

.report-review-btn:hover {
    background-color: var(--playchi-danger);
    color: #fff;
}

/* Rating Criteria */
.criteria-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.criteria-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.criteria-item i {
    color: var(--playchi-primary);
}

/* Bonus List */
.bonus-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bonus-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* FAQ Section */
.accordion-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion-button {
    background-color: transparent;
    color: var(--playchi-light-bg);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--playchi-dark);
    background-color: var(--playchi-primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: var(--playchi-light-bg);
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Section */
.form-container {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 600;
    color: var(--playchi-dark);
}

.form-control:focus {
    border-color: var(--playchi-primary);
    box-shadow: 0 0 0 0.25rem hsla(330, 70%, 75%, 0.25);
}

/* Disclaimer Block */
.disclaimer-section {
    background-image: linear-gradient(135deg, var(--playchi-dark) 0%, rgba(var(--playchi-dark-rgb), 0.9) 100%);
    background-color: var(--playchi-dark);
    padding: 60px 0;
}

.disclaimer-content {
    max-width: 900px;
    background-color: rgba(var(--playchi-dark-rgb), 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid var(--playchi-danger) !important;
    box-shadow: 0 0 20px rgba(var(--playchi-danger-rgb), 0.5);
    position: relative;
}

.disclaimer-content .text-danger {
    color: var(--playchi-danger) !important;
}

.age-restriction-icon {
    background-color: var(--playchi-danger);
    border-radius: 50%;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(var(--playchi-danger-rgb), 0.7);
}

/* Footer Styles */
.footer-section {
    background-color: var(--playchi-dark);
    color: var(--playchi-light-bg);
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-section .navbar-brand .h4 {
    color: var(--playchi-light-bg) !important;
}

.footer-links a {
    color: var(--playchi-light-bg);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--playchi-primary);
}

.footer-rating-switch .btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.footer-rating-switch .btn.active {
    background-color: var(--playchi-primary);
    border-color: var(--playchi-primary);
    color: var(--playchi-dark);
}

.footer-rating-switch .btn:hover {
    background-color: rgba(var(--playchi-primary-rgb), 0.2);
    border-color: var(--playchi-primary);
    color: var(--playchi-light-bg);
}

.footer-logos {
    gap: 20px; /* Spacing between logos */
}

.footer-logos img {
    max-width: 140px; /* Limit width as requested */
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1); /* Slight adjustment for dark background */
    transition: transform 0.3s ease;
}

.footer-logos img:hover {
    transform: scale(1.05);
}

/* Modal Styles (Age Verification & Cookie Consent) */
.modal-content {
    background-color: var(--playchi-light-bg);
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: none;
}

.modal-body p {
    color: var(--playchi-dark);
}

.form-check-input:checked {
    background-color: var(--playchi-accent);
    border-color: var(--playchi-accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem hsla(330, 70%, 75%, 0.25);
}

#denyAgeBtn, #rejectCookiesBtn {
    color: var(--playchi-danger);
    border-color: var(--playchi-danger);
}

#denyAgeBtn:hover, #rejectCookiesBtn:hover {
    background-color: var(--playchi-danger);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .header-disclaimer {
        font-size: 0.75rem;
    }

    .custom-heading {
        font-size: 2rem;
    }

    .platform-logo {
        height: 50px;
        max-width: 100px;
    }

    .footer-rating-switch .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .footer-logos img {
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .custom-heading {
        font-size: 1.75rem;
    }
    .hero-section {
        min-height: 60vh;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 0.9rem;
    }
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .disclaimer-content {
        padding: 2rem !important;
    }
    .footer-section .navbar-brand {
        justify-content: center;
    }
    .footer-rating-switch {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .footer-rating-switch .btn {
        flex: 1;
    }
}
/* content/global.css */

/* Base styles for the legal content block */
.legalDomeBlock {
    padding-top: 40px; /* Top padding for the block */
    padding-bottom: 40px; /* Bottom padding for the block */
    padding-left: 20px; /* Left padding for the block */
    padding-right: 20px; /* Right padding for the block */
    max-width: 960px; /* Optional: Max width for better readability */
    margin-left: auto; /* Center the block */
    margin-right: auto; /* Center the block */
    color: var(--playchi-text-color); /* Inherit text color from global */
}

/* Heading 1 styles within legalDomeBlock */
.legalDomeBlock h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    margin-top: 2rem; /* Top margin for separation */
    margin-bottom: 1.5rem; /* Bottom margin for separation */
    line-height: 1.3; /* Line height for readability */
    color: var(--playchi-dark); /* Ensure dark color for headings */
}

/* Heading 2 styles within legalDomeBlock */
.legalDomeBlock h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    margin-top: 1.8rem; /* Top margin for separation */
    margin-bottom: 1.2rem; /* Bottom margin for separation */
    line-height: 1.4; /* Line height for readability */
    color: var(--playchi-dark);
}

/* Heading 3 styles within legalDomeBlock */
.legalDomeBlock h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    margin-top: 1.5rem; /* Top margin for separation */
    margin-bottom: 1rem; /* Bottom margin for separation */
    line-height: 1.5; /* Line height for readability */
    color: var(--playchi-dark);
}

/* Heading 4 styles within legalDomeBlock */
.legalDomeBlock h4 {
    font-size: 1.3rem; /* Moderate font size for H4 */
    margin-top: 1.2rem; /* Top margin for separation */
    margin-bottom: 0.8rem; /* Bottom margin for separation */
    line-height: 1.5; /* Line height for readability */
    color: var(--playchi-dark);
}

/* Heading 5 styles within legalDomeBlock */
.legalDomeBlock h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1rem; /* Top margin for separation */
    margin-bottom: 0.6rem; /* Bottom margin for separation */
    line-height: 1.6; /* Line height for readability */
    color: var(--playchi-dark);
}

/* Paragraph styles within legalDomeBlock */
.legalDomeBlock p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1rem; /* Bottom margin for paragraph separation */
}

/* Unordered list styles within legalDomeBlock */
.legalDomeBlock ul {
    list-style-type: disc; /* Default disc bullet */
    margin-top: 1rem; /* Top margin for list separation */
    margin-bottom: 1rem; /* Bottom margin for list separation */
    padding-left: 25px; /* Indentation for list items */
}

/* List item styles within legalDomeBlock */
.legalDomeBlock li {
    font-size: 1rem; /* Font size for list items */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for separation between list items */
}

/* Responsive adjustments for legalDomeBlock padding */
@media (max-width: 768px) {
    .legalDomeBlock {
        padding-left: 15px;
        padding-right: 15px;
    }
    .legalDomeBlock h1 { font-size: 2rem; }
    .legalDomeBlock h2 { font-size: 1.6rem; }
    .legalDomeBlock h3 { font-size: 1.3rem; }
    .legalDomeBlock h4 { font-size: 1.1rem; }
    .legalDomeBlock h5 { font-size: 1rem; }
    .legalDomeBlock p, .legalDomeBlock li { font-size: 0.95rem; }


}

@media (max-width: 576px) {
    .legalDomeBlock {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .legalDomeBlock h1 { font-size: 1.8rem; margin-top: 1.5rem; margin-bottom: 1rem;}
    .legalDomeBlock h2 { font-size: 1.4rem; margin-top: 1.2rem; margin-bottom: 0.8rem;}
    .legalDomeBlock h3 { font-size: 1.2rem; margin-top: 1rem; margin-bottom: 0.7rem;}
    .legalDomeBlock h4 { font-size: 1.05rem; margin-top: 0.8rem; margin-bottom: 0.6rem;}
    .legalDomeBlock h5 { font-size: 0.95rem; margin-top: 0.7rem; margin-bottom: 0.5rem;}
    .legalDomeBlock p, .legalDomeBlock li { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.8rem;}
    .legalDomeBlock ul { padding-left: 20px; }
}



#hero{
    .col-md-7{
        flex-grow: 1;
    }
}

@media (max-width: 991px){
        header .container-fluid{
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center;
        gap: 6px;

        p{
            text-align: center !important;
        }
    }
}

#disclaimerBanner{
    p{
        margin-right: 30px;
    }
}

@media (max-width: 768px) {
  .comparison-table {
    display: none;
  }
  .comparison-cards {
    display: block;
  }
}

/* Прячем карточки на десктопах */
@media (min-width: 769px) {
  .comparison-cards {
    display: none;
  }
}