.container {
width: 100%;
max-width: 1200px;
display: flex;
flex-direction: column;
margin-top: 1rem;
}
.casino-card {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background-color: var(--card-bg-color);
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
color: #333;
flex-wrap: nowrap;
position: relative;
}
.casino-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.card-number-badge {
position: absolute;
top: 10px;
left: 10px;
font-size: 0.9rem;
font-weight: 700;
color: #fff;
background-color: var(--card-number-color);
padding: 0.1rem 0.6rem;
border-radius: 6px;
} .logo-info-row {
flex-basis: 35%;
display: flex;
align-items: center;
gap: 1rem;
}
.card-logo-section {
flex-basis: auto;
display: flex;
justify-content: left;
padding-right: 1rem;
}
.card-info-section {
display: flex;
flex-direction: column;
justify-content: left;
gap: 0.25rem;
}
.card-bonus-section {
flex-basis: 45%;
display: flex;
align-items: center;
justify-content: center;
padding: 0 1rem;
box-sizing: border-box;
text-align: center;
}
.card-cta-section {
flex-basis: 20%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 0.5rem;
padding-left: 1rem;
cursor: pointer;
}
.card-cta-section a {
text-decoration: none;
color: #fff;
}
.card-cta-section a:hover {
color: #fff;
}
.card-image {
width: 100px;
height: 100px;
border-radius: 8px;
overflow: hidden;
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.card-title {
font-size: 1.2rem;
font-weight: 600;
margin: 0;
padding-bottom: 5px;
}
.card-rating {
font-size: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.rating-number {
font-weight: 600;
color: #333;
}
.stars-container {
position: relative;
display: inline-block;
font-size: 16px;
line-height: 1;
width: 80px;
height: 16px;
}
.stars-background,
.stars-filled {
display: flex;
align-items: center; height: 100%;
margin: 0;
}
.stars-background {
color: #ddd;
position: absolute;
top: 0;
left: 0;
}
.stars-filled {
color: #f5c400;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
white-space: nowrap;
}
.bonus-amount {
font-size: 1.25rem;
font-weight: 700;
color: var(--card-text-color);
margin: 0;
}
.card-button {
display: block;
width: 100%;
padding: 0.75rem 1.5rem;
background-color: var(--card-CTA-color);
color: #fff;
text-align: center;
border-radius: 8px;
font-weight: 600;
transition: background-color 0.3s ease, border-color 0.3s ease;
text-decoration: none;
white-space: nowrap;
border: 2px solid transparent;
box-sizing: border-box;
}
.read-review-button {
background-color: transparent;
color: #4a90e2;
border-color: #4a90e2;
}
.read-review-button:hover {
background-color: #4a90e2;
color: #fff;
}
.card-disclaimer {
font-size: 12px;
color: #777;
padding: 0.5rem 1rem;
} @media (max-width: 800px) {
.casino-card {
flex-direction: column;
align-items: stretch;
padding: 1rem;
}
.logo-info-row {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.card-logo-section {
padding: 0;
}
.card-bonus-section,
.card-cta-section {
flex-basis: auto;
width: 100%;
padding: 0;
justify-content: center;
align-items: center; }
.card-bonus-section {
margin-bottom: 1rem;
}
.card-cta-section {
align-items: center;
}
.card-button {
width: 100%;
}
}