.brands-section {
    margin: 2rem 0;
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-item {
    display: grid;
    grid-template-columns: 40px 1fr 2fr 1fr 1fr;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    gap: 1rem;
}


.brand-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 50%;
    font-weight: bold;
}

.brand-image {
    display: flex;
    align-items: center;
    max-height: 160px;
    overflow: hidden;
}

.brand-image img {
    max-width: 100%;
    height: auto;
    max-height: 160px;
}

.brand-content {
    display: flex;
    flex-direction: column;
}

.block-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
    color: #333;
}

.brand-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.brand-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.brand-action {
    text-align: center;
}

.play-now-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.play-now-btn:hover {
    background-color: #45a049;
    color: white;
    text-decoration: none;
}


.brand-image img {
    max-width: 100%;
    border-radius: 8px;
    height: 45px !important;
    width: 160px !important;
    object-fit: contain;
}

.brand-content {
    display: flex;
    flex-direction: column;
}

.block-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
    color: #333;
}

.brand-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.brand-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-content .block-title {
    margin: 0 0 10px;
	font-size: 20px !important;
    font-weight: bold;
}

.brand-rating {
	flex-basis: 25%;
    background-color: #84435e13;
    padding: 4px;
    border-radius: 8px;
    text-align: center;
    margin-left: 15px;
	margin-right: 30px;
}

.rating-number {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.brand-action {
    text-align: center;
}

.play-now-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.play-now-btn:hover {
    background-color: #45a049;
    color: white;
    text-decoration: none;
}

/* Show More Button Styles */
.brand-hidden {
    display: none!important;
}

.brands-show-more-container {
    text-align: center;
    margin: 20px 0;
}

.brands-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background-color: #81c0e3;
    color: white;
    border-radius: 30px;
    border-color: #81c0e3;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    box-shadow: none;
    border: none;
}

.brands-show-more:hover {
    background-color: #81c0e3;
    color: white;
    text-decoration: none;
}

.brands-show-more svg {
    margin-left: 8px;
}

/* Animation for showing brands */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-item.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.brands-section {
    margin: 2rem 0;
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
        
.brand-content .block-title {
    margin: 0 0 10px;
	font-size: 20px !important;
    font-weight: bold;
}

.brand-content .block-title a {
	text-decoration: none!important;
	color: #000!important;
}

.brand-rating {
	flex-basis: 25%;
    background-color: #84435e13;
    padding: 4px;
    border-radius: 8px;
    text-align: center;
    margin-left: 15px;
	margin-right: 30px;
}

        
.brand-action {
 	flex-basis: 25%;
    display: flex;
    justify-content: end;
    align-items: center;
}
        
.play-now-btn {
	width: 100%;
	display: inline-block;
	padding: 15px 25px;
    background: #81c0e3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
	border: none;
}
        
.play-now-btn:hover {
	color: #ddd;
	background: #0088d0;
}

.brands-section .brands-heading {
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-indent: 1%;
    font-size: 2.4em;
    padding-bottom: .15em;
    margin: 1.25em 0 .75em;
    border-bottom: 5px solid #dcdcdc;
    color: #333;
}

.brands-section .brand-features {
	text-align: left;
	margin-right: 25px;
}

.brands-section .brand-features ul li {
	position: relative;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    list-style: none;
	padding-left: 16px;
	margin-bottom: 8px;
}


.brand-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 50%;
    font-weight: bold;
}

.brand-image {
    display: flex;
    align-items: center;
	justify-content: center;
    max-height: 160px;
    overflow: hidden;
}

.brand-image img {
    max-width: 100%;
    height: auto;
    max-height: 160px;
}

.brand-content {
    display: flex;
    flex-direction: column;
}

.block-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
    color: #333;
}

.brand-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.brand-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-weight: bold;
    margin-bottom: 0.25rem;
	color: #000;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.brand-action {
    text-align: center;
}

.play-now-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.play-now-btn:hover {
    background-color: #45a049;
    color: white;
    text-decoration: none;
}

/* Show More/Less Button Styles */
.brand-hidden {
    display: none;
}

.brands-show-more-container,
.brands-show-less-container {
    text-align: center;
    margin: 20px 0;
}

.brands-show-more,
.brands-show-less {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #8BC34A;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

.brands-show-less {
    background-color: #FFB74D; /* Different color for "Show less" button */
}

.brands-show-more:hover,
.brands-show-less:hover {
    background-color: #7CB342;
    color: white;
    text-decoration: none;
}

.brands-show-less:hover {
    background-color: #FFA726; /* Different hover color for "Show less" button */
}

.brands-show-more svg,
.brands-show-less svg {
    margin-left: 8px;
}

/* Animation for showing brands */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for hiding brands */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.brand-item.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.brand-item.fade-out {
    animation: fadeOut 0.4s ease forwards;
}


@media (max-width: 768px) {
	
	
    .brand-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto auto;
		text-align: center
    }
    
    .brand-number {
        grid-row: 1 / 5;
    }
    
    .brand-image {
        grid-column: 2;
        grid-row: 1;
    }
    
    .brand-content {
        grid-column: 2;
        grid-row: 2;
    }
    
    .brand-rating {
        grid-column: 2;
        grid-row: 3;
		max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }
    
    .brand-action {
        grid-column: 2;
        grid-row: 4;
    }
}