body{line-height: 1.5;}
p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.suika-text h2, .faq h2{color:#005000}
.suika-text h3{
    font-size: 1.75rem;
    color:#C93;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.suika-text ul {margin-top: 0;margin-bottom: 1rem; padding: revert;}
.suika-text ul li{margin-bottom: 5px;}
.game-sidebar{width:320px;}
.headline h2 a{color:#C93}
.collections {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}
.collection-item {
    width: 200px;
    margin: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
    text-decoration: none;
}
.collection-item__info {
    padding: 10px;
}
.collection-item__info{
    text-align: center;
}
.collection-item__title {
    color: #13141c;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
}



/* Tabs Section */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab {
    padding: 5px 15px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #666;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tab:hover {
    border-color: #C93;
    color: #C93;
}

.tab.active {
    background-image: linear-gradient(to right, #f46b45 0%, #eea849  51%, #f46b45  100%)
    color: #fff;
    border-color: transparent;
}



.tab.active {background-image: linear-gradient(to right, #f46b45 0%, #eea849  51%, #f46b45  100%)}
.tab.active {
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   box-shadow: 0 0 20px #eee;
   border-radius: 10px;
   display: block;
 }

 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

 /* Games Grid */
 .games-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeIn 0.3s ease;
}

.games-grid.active {
    display: grid;
}

.game-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

.game-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.game-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #dfe6e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.5em;
}

.game-content {
    padding: 15px;
}

.game-name {
    font-size: 1.1em;
    margin-top: 0px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.game-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 12px;
}

.play-btn {
    padding: 6px 16px;
    background: #005000;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85em;
    transition: background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.play-btn:hover {
    background: #C93;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }
    .subtitle {
        font-size: 1.1em;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
}


/* Table Styles */
.game-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.game-table thead {
    background: linear-gradient(135deg, #005000, #C93);
}

.game-table th {
    color: #fff;
    padding: 5px 10px;
}

.game-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.game-table tbody tr:last-child {
    border-bottom: none;
}

.game-table tbody tr:hover {
    background: #f9f9f9;
    transform: translateX(5px);
}

.game-table td {
    padding: 10px 10px;
    vertical-align: middle;
}

/* Image Column */
.game-image-cell {
    width: 120px;
}

.game-image {
    width: 100px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name Column */
.game-name-cell {
    min-width: 180px;
}

.game-name {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}


.game-name a{
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-name:hover {
    color: #C93;
}

/* Genre Column */
.game-genre-cell {
    min-width: 120px;
}

/* Description Column */
.game-description {
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .game-table thead {
        display: none;
    }

    .game-table tbody {
        display: block;
    }

    .game-table tbody tr {
        display: block;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        transform: none !important;
    }

    .game-table tbody tr:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .game-table td {
        display: block;
        padding: 8px 0;
        border: none;
    }

    .game-table td:before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 80px;
        color: #005000;
    }

    .game-image-cell:before {
        content: none !important;
    }

    .game-image {
        width: 100%;
        height: auto;
    }
}

/* Alternative List View Button */
.view-toggle {
    text-align: center;
    margin-bottom: 20px;
}

.toggle-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #666;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 5px;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #005000, #C93);
    color: #fff;
    border-color: transparent;
}

.toggle-btn:hover:not(.active) {
    border-color: #C93;
    color: #C93;
}