﻿#game-container {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: rgb(139, 201, 243);
    padding: 0px;
    margin: 0px;
    position: relative;
    box-sizing: border-box;
    background: url("../Assets/stock-photo-sunny-day-on-the-taiga-river-2450111973 1.png") no-repeat center center/cover;
}

.Overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 50;
    margin: auto;
    padding: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.video-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    z-index: 0;
    box-sizing: border-box;
}

.OverTitle {
    width: 30%;
    position: absolute;
    top: 50%;
    left: 5%;
    height: auto;
    text-align: left;
    transform: translatey(-50%);
}
.OverTitle h1 {
    font: bold 60px poppins, arial; color: white; text-align: left;
    line-height: 100%;
}
    #Product1 {
    position: absolute;
    bottom: -20%;
    left: 30%;
    width: 40%;
    aspect-ratio: 1 / 1;
    z-index: 10;
    transform: rotate(-10deg);
    background: url("../Assets/24SWM0130 ABC Spring 2025 LTO Pouch Golden_Front_sgw 1.png") no-repeat bottom center/contain;
}

#Product2 {
    position: absolute;
    bottom: 10%;
    left: 45%;
    width: 40%;
    aspect-ratio: 1 / 1;
    z-index: 9;
    background: url("../Assets/24SWM0130 ABC Spring 2025 LTO Pouch Original_Front_SGW 1.png") no-repeat bottom center/contain;
}

#Product3 {
    position: absolute;
    bottom: -25%;
    left: 60%;
    width: 40%;
    aspect-ratio: 1 / 1;
    z-index: 11;
    transform: rotate(10deg);
    background: url("../Assets/24SWM0130 ABC Spring 2025 LTO Pouch Silver_Front_SGW 2.png") no-repeat bottom center/contain;
}

#Title1 {
    width: 100%;
    margin: 10px;
    border: 0px;
}

#Playbutton {
    width: 150px;
    height: auto;
    border: 0px;
    margin-top: 20px;
}

#score-board {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    padding-top: 30px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translatex(-50%);
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 10px;
    opacity: 0;
    z-index: 10;
}

.score-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: black;
    opacity: .6;
    z-index: 10;
}

.score-slot {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid #aaa;
    position: relative;
    border-radius: 50%;
    z-index: 11;
    font: normal 16px arial;
    color: #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .score-slot img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
    }

#game-area {
    width: 100%;
    height: 90%;
    margin-top: 10%;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

    #game-area:hover {
        cursor: url('../Assets/Hook2.png'), auto;
    }

#bobber {
    position: absolute;
    width: 70px;
    height: 140px;
    display: none;
    z-index: 5;
}

#bobberin1 {
    width: 100%;
    height: 40%;
    margin: 0px;
    padding: 0px;
    position: relative;
    opacity: 0;
    
}

#bobberin2 {
    width: 100%;
    height: 60%;
    margin: 0px;
    padding: 0px;
    position: relative;
    animation: bobsway 5s linear infinite;
}

.hidden {
    display: none;
}

.mypopups {
    width: 100%;
    height: 60%;
    max-width: 600px;
    position: absolute;
    display: none;
    z-index: 100;
}

.catch {
    width: 100%;
    height: 180px;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}
.catchCont {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: white;
    z-index: 6;
}

.ContBack {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 0px;
    background-color: black;
    border: 2px solid black;
    border-radius: 3px;
    opacity: .6;
    z-index: 5;
}
.ContBack1 {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 0px;
    background-color: black;
    border: 2px solid black;
    border-radius: 3px;
    opacity: .6;
    z-index: 5;
}
.ContBack2 {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 0px;
    background-color: black;
    border: 2px solid black;
    border-radius: 3px;
    opacity: .6;
    z-index: 5;
}
.ContBack3 {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 0px;
    background-color: black;
    border: 2px solid black;
    border-radius: 3px;
    opacity: .6;
    z-index: 5;
}

.FishSize1 { 
    width:100%; height: auto; padding: 2px 5px; text-align:center;
    font: bold 16px poppins; color: white;
}
.FishSize2 {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.FishSize3 {
    height: auto; width: 100%; padding: 2px 5px;
}
.FishSize4 {
    width: 100%;
    height: auto;
    padding: 2px 5px;
    text-align: center;
    font: bold 24px poppins;
    color: white;
}

.FishSizeInSmall {
    height: 25%; width: auto;
}
.FishSizeInMed {
    height: 50%;
    width: auto;
}
.FishSizeInLrg {
    height: 80%;
    width: auto;
}
.FishSizeInTRY {
    height: 100%;
    width: auto;
}

.pts {
    font: bold 50px poppins;
    color: #FFcF5E;
}
.ptsTag {
    font: normal 14px poppins;
    color: #ffffff;
}

.catch2 {
    width: 100%;
    max-width: 250px;
    margin: auto;
    height: auto;
    position: relative;
    font: bold 18px poppins;
    text-align: center;
    color: #fff;
    padding: 20px;
    border: 2px solid #fff;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
}

#FishParticles {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    display: none;
    z-index: 2;
}

.fishies {
    width: 5px;
    height: 5px;
    opacity: .6;
    position: absolute;
    animation: fishmove1 5s linear infinite;
}

    .fishies.reverse {
        animation-name: fishmoveReverse;
    }

.fishiesBite {
    width: 60px;
    height: 40px;
    opacity: .6;
    display: none;
    z-index: 3;
    position: absolute;
}

    .fishiesBite.flip {
        transform: scaleX(-1);
    }

.finalScore {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translatex(-50%);
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 2px solid black;
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
}

.scoreIt {
    width: 100%;
    position: relative;
    height: auto;
}

.fish-list {
    display: grid;
    width: 100%;
    margin: 0px;
    padding: 0px;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

    .fish-list li {
        display: grid;
        grid-template-columns: 20px 60px 30px auto 60px;
        gap: 1px;
        padding: 5px;
        margin: 0;
        text-align: left;
        font: bold 12px Arial;
        color: white;
        border-bottom: 1px solid #999;
        background-color: #333;
    }

        .fish-list li span {
            display: block;
        }

    .fish-list .number {
        text-align: left;
    }

    .fish-list .name {
        text-align: left;
    }
    .fish-list .name2 {
        text-align: left;
    }
    .fish-list .scIcon {
        text-align: left;
    }
        .fish-list .scIcon img {
            height: 20px; width: auto;
        }
        .fish-list .points {
            text-align: right;
        }

.play-again-line {
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 30% auto auto 25%; /* Adjust column widths as needed */
    gap: 10px; /* Adjust gap between columns as needed */
}

    .play-again-line span {
        display: block;
    }

    .play-again-line .play-1 {
        text-align: left;
        font: bold 20px arial;
        color: white;
    }

    .play-again-line .play-2 {
        text-align: right;
        font: bold 30px arial;
        color: #ffcc00;
        margin-top: -10px;
    }

    .play-again-line .play-3 {
        text-align: left;
        font: normal 16px arial;
        color: white;
    }

    .play-again-line .play-4 {
        text-align: left;
    }

        .play-again-line .play-4 img {
            height: auto;
            width: 100%;
        }

.finalRankingTitle {
    width: 100%;
    padding: 20px 20px 0px 20px;
    text-align: center;
    font: bold 18px arial;
    color: white;
    position: relative;
}

.finalRanking {
    width: 100%;
    padding: 0px 20px;
    text-align: center;
    font: bold 30px arial;
    color: #ffcc00;
    position: relative;
}

.gameRules {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 450px;
    height: auto;
    border: 2px solid black;
    border-radius: 25px;
    padding: 20px 40px;
    text-align: center;
    color: white;
    overflow: hidden;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
}

.gameBackground {
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: .6;
    z-index: -1;
}

.gameRules h1 {
    font: bold 24px arial;
    color: white;
    text-align: center;
}

.gameRules h2 {
    font: bold 16px arial;
    color: yellow;
    text-align: center;
}

.gameRules p {
    font: normal 16px arial;
    color: white;
    text-align: left;
}

.ABCLogo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 150px;
    height: 50px;
    display: none;
    background: url("../Assets/ABC_white_logo_stack.png") no-repeat top center/contain;
}

.CastIcon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 50px;
    display: none;
    animation: ButtonMove 3s linear infinite;
    background: url("../Assets/action_Cast.png") no-repeat top center/contain;
}

.ReelIcon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 50px;
    display: none;
    animation: ButtonMove 3s linear infinite;
    background: url("../Assets/action_Reel.png") no-repeat top center/contain;
}

#bobber2 {
    position: absolute;
    display: none;
    background-color: red; /* Just for visibility */
    border-radius: 50%;
}

.ripple {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}

.rippleIn1 {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translatex(-50%);
    animation: ripple 5s linear infinite;
    transform-origin: center;
}

.rippleIn2 {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translatex(-50%);
    animation: ripple 5s linear infinite;
    transform-origin: center;
    animation-delay: -2.5s;
}



@keyframes ripple {
    0% {
        transform: scale(0.4);
        opacity: 0; /* Start fully transparent */
    }

    25% {
        opacity: 1; /* Fade in */
    }

    75% {
        opacity: 1; /* Stay fully visible */
    }

    100% {
        transform: scale(1);
        opacity: 0; /* Fade out */
    }
}

@keyframes arc {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(0, -200px) scale(0.7); /* Adjust the arc height and scale */
    }

    100% {
        transform: translate(var(--finalX), var(--finalY)) scale(0.5);
    }
}

@keyframes ButtonMove {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes bobsway {
    0% {
        transform: translateY(0) scaleY(1);
    }

    50% {
        transform: translateY(5px) scaleY(0.9);
    }

    100% {
        transform: translateY(0) scaleY(1);
    }
}

@keyframes fishmove1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(calc(75px - 5px), calc(75px - 5px)) rotate(45deg);
    }

    50% {
        transform: translate(calc(150px - 5px), calc(50px - 5px)) rotate(0deg);
    }

    75% {
        transform: translate(calc(225px - 5px), calc(150px - 5px)) rotate(45deg);
    }

    100% {
        transform: translate(calc(150px - 5px), calc(250px - 5px)) rotate(180deg);
    }
}

@keyframes fishmoveReverse {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(calc(-75px + 5px), calc(75px + 5px)) rotate(-45deg);
    }

    50% {
        transform: translate(calc(-150px + 5px), calc(50px + 5px)) rotate(0deg);
    }

    75% {
        transform: translate(calc(-225px + 5px), calc(100px + 5px)) rotate(-45deg);
    }

    100% {
        transform: translate(calc(-275px + 5px), calc(125px + 5px)) rotate(-45deg);
    }
}


.AssetBox {
    width: 100%;
    max-width: 650px;
    padding: 10px;
    margin: auto;
    text-align: left;
    box-sizing: border-box;
    font: normal 18px arial;
    color: #555;
}

    .AssetBox h1 {
        font: bold 18px arial;
        color: #777;
        text-align: left;
    }

@media (max-width: 800px) {
    .OverTitle {
        width: 90%;
        position: absolute;
        top: 5%;
        left: 5%;
        height: auto;
        text-align: left;
        transform: translatey(0);
        max-width: 300px;
    }
        .OverTitle h1 {
            font: bold 40px poppins, arial;
            color: white;
            text-align: left;
            line-height: 100%;
        }


    #score-board {
        display: flex;
        justify-content: center;
        gap: 5px;
        padding: 5px;
        padding-top: 5px;
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translatex(-50%);
        background-color: transparent;
        border: 0px solid #000;
        border-radius: 0px;
        opacity: 0;
        z-index: 10;
    }

    .CastIcon {
        top: 50px;
        width: 100px;
    }

    .ABCLogo {
        top: 50px;
        width: 100px;
    }

    .ReelIcon {
        top: 50px;
        width: 100px;
    }

    .gameRules {
        width: 90%;
        padding: 10px 20px;
    }

    #Product1 {
        position: absolute;
        bottom: 0px;
        left: -10%;
        width: 70%;
        aspect-ratio: 1 / 1;
        z-index: 10;
        transform: rotate(-5deg);

    }

    #Product2 {
        position: absolute;
        bottom: 15%;
        left: 15%;
        width: 70%;
        aspect-ratio: 1 / 1;
        z-index: 9;
    }

    #Product3 {
        position: absolute;
        bottom: 0px;
        left: 40%;
        width: 70%;
        aspect-ratio: 1 / 1;
        z-index: 11;
        transform: rotate(5deg);
    }
    .fish-list {
        display: grid;
        width: 100%;
        margin: 0px;
        padding: 0px;
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .catch {
        width: 80%;
        height: auto;
        max-width: 600px;
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-left: 10%;
    }

    .catchCont {
        flex: 1;
        padding: 10px;
        text-align: center;
        width: 100%;
        color: white;
        z-index: 6;
    }
    .catchCont img {
        width: 50%; height: auto;
    }
        .ContBack {
        height: 100%; top: 0px;
    }
    .ContBack1 {
        height: 100%;
        top: 0px;
    }

    .ContBack2 {
        height: 100%;
        top: 0px;
    }

    .ContBack3 {
        height: 100%;
        top: 0px;
    }

    .FishSizeInSmall {
        height: 25% !important;
        width: auto !important;
    }

    .FishSizeInMed {
        height: 50% !important;
        width: auto !important;
    }

    .FishSizeInLrg {
        height: 80% !important;
        width: auto !important;
    }

    .FishSizeInTRY {
        height: 100% !important;
        width: auto !important;
    }

}
