/* Casino pages: layout and casino list cards. Moved from the legacy kuvaton.com casino wrapper. */
    #container {
        margin: 0 auto;
        min-width: unset;

        * {
            box-sizing: border-box;
        }
    }

    #content {
        width: auto;
        max-width: 1280px;
        margin: 0 auto;
        background-color: #f7f7f7;
    }

    .kuvanavi {
        text-align: left;
        padding: 0 15px;

        @media (min-width: 968px) {
            padding: 0 30px;

            > *:not(.casino-list):not(h1) {
                margin-left: 200px;
                margin-right: 200px;
            }
        }

        > p {
            margin: 0;
        }

        div {
            padding: 0; /* need this to override base styles */
        }

        img {
            max-width: 100%;
            height: auto;
        }
    }

    h1, h2, h3, h4, h5, h6 {
        text-transform: uppercase;
        letter-spacing: -1px;
    }

    h1 {
        text-align: center;
        font-size: 28px;
        line-height: 32px;
        font-weight: 900;
        margin-bottom: 40px;

        @media (min-width: 968px) {
            font-size: 36px;
            line-height: 40px;
        }
    }

    h2 {
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;

        @media (min-width: 968px) {
            font-size: 28px;
            line-height: 32px;
        }
    }

    .casino-list {
        list-style-type: none;
        padding: 25px 0 15px;
        margin: 0;

        li {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
    }

    .card {
        background: white;
        border-radius: 16px;
        padding: 0;
        margin-bottom: 15px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;

        &.orange .gradient-bar {
            background: linear-gradient(90deg, #FF7A45 0%, #FFA366 20%, #E97BC6 50%, #B87FE8 70%, #8B7FEC 100%);
        }

        &.green .gradient-bar {
            background: linear-gradient(90deg, #2DD881 0%, #3BC4D8 40%, #1E9CD8 100%);
        }

        &.blue .gradient-bar {
            background: linear-gradient(90deg, #6B7BED 0%, #5BA1F0 50%, #4FC3F7 100%);
        }
    }

    .gradient-bar {
        height: 10px;
        width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .card-inner {
        padding: 20px 15px 25px 15px !important;

        @media (min-width: 1200px) {
            padding: 35px 50px 40px 50px !important;
        }
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 25px;

        @media (min-width: 968px) {
            flex-direction: row;
            align-items: center;
            gap: 40px;
        }

        @media (min-width: 1200px) {
            gap: 20px;
        }
    }

    .logo {
        font-size: 38px;
        font-weight: 900;
        min-width: 180px;
        flex-shrink: 0;
        align-self: center;

        &.orange-text {
            color: #FF7A45;
        }

        &.black-text {
            color: #000;
        }

        img {
            @media (min-width: 968px) {
                margin: 0 auto;
            }
        }

        @media (min-width: 968px) {
            width: 100%;
        }

        @media (min-width: 1110px) {
            margin: 0 0 8px 0;
        }

        @media (min-width: 1200px) {
            width: auto;
            min-width: 200px;
            font-size: 44px;
        }
    }

    .bonus-wrapper, .free-spins-wrapper {
        display: flex;
        gap: 10px;
        
        @media (min-width: 968px) {
            display: contents;
        }
    }

    .info-icon {
        width: 42px;
        height: 42px;
        background-color: #FF8B66;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 22px;
        flex-shrink: 0;
    }

    .bonus-section {
        min-width: 220px;

        @media (min-width: 968px) {
            margin-left: 20px;
            max-width: 220px;
        }
    }

    .bonus-label {
        font-weight: 700;
        font-size: 17px;
        color: #000;
        margin-bottom: 4px;
    }

    .bonus-value {
        font-size: 17px;
        color: #999;
    }

    .checkmark {
        width: 42px;
        height: 42px;
        background-color: #2DD881;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 24px;
        flex-shrink: 0;

        @media (min-width: 968px) {
            margin-left: 40px;
        }
    }

    .free-spins-section {
        min-width: 220px;

        @media (min-width: 968px) {
            margin-left: 20px;
            max-width: 220px;
        }
    }

    .free-spins-label {
        font-weight: 700;
        font-size: 17px;
        color: #000;
        margin-bottom: 4px;
    }

    .free-spins-value {
        font-size: 17px;
        color: #999;
    }

    .play-button {
        padding: 16px 50px !important;
        border: none;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 700;
        color: white;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        flex-shrink: 0;
        transition: transform 0.2s;
        text-decoration: none;
        width: 100%;
        margin-left: 0;
        text-align: center;

        &:hover {
            transform: scale(1.03);
        }

        &.blue {
            background: linear-gradient(90deg, #6B9FED, #7B8EED);
        }

        &.purple {
            background: linear-gradient(90deg, #E89B89, #CE7ACF, #9F7AE8);
        }

        &.orange {
            background: linear-gradient(90deg, #FF9966, #FFA876);
        }

        @media (min-width: 968px) {
            margin-left: auto;
        }

        @media (min-width: 1110px) {
            width: auto;
        }

        @media (min-width: 1200px) {
            padding: 16px 20px !important;
        }

        @media (min-width: 1260px) {
            padding: 16px 50px !important;
        }
    }

    .quote {
        margin-top: 25px;
        font-style: italic;
        color: #B0B0B0;
        font-size: 16px;
        position: relative;
        text-align: center;
        padding: 0 20px !important;

        &::before {
            content: '\1F4AC';
            font-style: normal;
            font-size: 18px;
        }
    }

/* FAQ accordion */
.faq-block {
	border-bottom-width: 1px;
	margin: 20px 0;
	overflow: hidden;

	.faq-title {
		color: #202020;
		font-size: 20px;
		font-weight: 800;
		margin-bottom: 15px;
	}

	.fading-box {
		max-height: 300px;
		position: relative;
		overflow: hidden;

		&.collapsed { max-height: 0; }
	}

	.accordion-item {
		.question {
			cursor: pointer;
			position: relative;
			padding: 18px 18px 18px 0;
			margin: 0;
			font-weight: 400;
			color: #202020;
			font-size: 15px;
			line-height: 1.2;
			font-weight: 700;
			border-bottom: 1px solid #e9e9e9;

			&::after {
				display: block;
				content: '';
				position: absolute;
				right: 2px;
				top: 22px;
				width: 7px;
				height: 7px;
				transform: rotate(45deg);
				border-right: 2px solid #202020;
				border-bottom: 2px solid #202020;
				transition: transform 0.3s ease;
			}

			&.btn-fd-on {
				&::after {
					transform: rotate(-135deg);
				}

				img {
					transform: rotateX(180deg);
				}
			}

			img {
				height: 18px;
				margin: auto 0;
			}
		}

		.collapsed {
			&.active {
				border-bottom: 1px solid #e9e9e9;
			}
		}

		.description {
			font-size: 18px;
			padding-bottom: 15px;

			p:last-child {
				margin-bottom: 0;
			}
		}
	}

	.btn-fd-strip > .lazyload, .caret {
		transition: all 0.2s;
	}

	.btn-fd-strip {
		.info-arrow {
			transition: transform 0.2s;
		}

		&.btn-fd-off {
			.show-more { display: inline; }
			.show-less { display: none; }
		}
		&.btn-fd-on {
			.show-more { display: none; }
			.show-less { display: inline; }
			.css-chevron,
			.info-arrow { // must be obliterated and switched entirely to css-chevron
				transform: rotateX(180deg);
			}
		}
	}
}

/* Marketing card */
	.marketing-card {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: calc(100% - 40px);
		border-radius: 12px;
		border: 1px solid #e5e5e5;
		background: white;
		box-shadow:
			0 1px 2px 0 rgba(0, 0, 0, 0.05),
			inset 0 -2px 0 0 rgba(0, 0, 0, 0.05),
			inset 0 0 0 1px rgba(0, 0, 0, 0.18);
		overflow: hidden;
		box-sizing: border-box;
		margin: auto;
	}

	.marketing-card:has(+.kuvanavi) {
		margin: 0 auto 24px;
	}

	.marketing-card__content {
		display: flex;
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
		padding: 16px;
		width: 100%;
		box-sizing: border-box;
	}

	.marketing-card__text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		width: 100%;
	}

	.marketing-card__title {
		font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
		font-weight: 600;
		font-size: 16px;
		line-height: 24px;
		color: #171717;
		margin: 0;
	}

	.marketing-card__button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 8px 16px;
		border-radius: 9999px;
		border: 1.5px solid #d4d4d4;
		background: white;
		font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
		font-weight: 600;
		font-size: 14px;
		line-height: 20px;
		letter-spacing: 0.56px;
		color: #404040;
		text-decoration: none;
		white-space: nowrap;
		transition: border-color 0.2s, box-shadow 0.2s;
	}

	.marketing-card__button:hover {
		border-color: #a3a3a3;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
		color: #404040;
		text-decoration: none;
	}

	.marketing-card__button svg {
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}

	@media (min-width: 768px) {
		.marketing-card {
			flex-direction: row;
			align-items: center;
			gap: 20px;
			padding: 24px;
			max-width: 980px;
        		margin: 24px auto 0;
		}

		.marketing-card__content {
			flex-direction: row;
			align-items: center;
			gap: 20px;
			padding: 0;
			width: 100%;
		}

		.marketing-card__text {
			flex: 1;
			min-width: 0;
			width: auto;
		}

		.marketing-card__button {
			flex-shrink: 0;
		}
	}
