* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:linear-gradient(180deg, #0f1c12 0%, #0e121c 20%);
    color: #c7d5e0;
    min-height: 100vh;
}

.my-store-data-page{
    max-width: 1200px;
    margin:auto;
    width: 100%;
    
}
.header {
    background: rgba(0, 0, 0, 0.5);
    height:60px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #5ae07e;
}

.logo {
    padding-left:10px;
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg,#5ae07e, #49b666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

    .nav a {
        color: #c7d5e0;
        text-decoration: none;
        transition: color 0.3s;
        font-weight: 500;
    }

        .nav a:hover {
            color: #66c0f4;
        }

.user-section {
    display: flex;
    gap: 15px;
    align-items: center;
}
.dropdown-wrapper {
    position: relative;  /* anchor for the dropdown */
    display: inline-block;  /* shrink-wrap around button */
    overflow: visible;    /* important */
   
}
.dropdown {
    position: absolute;
    top: 100%;     /* directly below the button */
    right: 0;
    margin-top: 5px;
    width: 150px;  
    padding-top: 10%;
    padding-bottom: 20%;
    background: rgb(21, 23, 34);
    border: 1px solid #06001e;
    /*display: inline-block;*/
    position: absolute;
    z-index: 9999;


    /* Start hidden */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    /* Animation */
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.dropdown-button{
    width: 100%;   
    white-space: nowrap; /* prevent text from wrapping */
    background-color: transparent;
    padding:5%;
    border: none;
    display: block; 
    cursor: pointer;
    color: white;  /* text color*/

}
.dropdown-button:hover {
    background-color: rgba(0, 0, 0, 0.2); /* black with 50% opacity */
}
.dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-signin{
    padding: 10px;
    height:100%;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(102, 192, 244, 0.2);
    background: linear-gradient(45deg,#5ae07e, #49b666);   
    color: #2e7340;
}
.btn-signin:hover {
        background: linear-gradient(45deg,#68ff90, #41ff73);   
    }
.btn-nextgame{
    padding: 1%;
    padding-left:2%;
    padding-right:2%;
    height:100%;
    margin-top:auto;
    margin-bottom:auto;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(102, 192, 244, 0.2);
    background: linear-gradient(45deg,#5a90e0, #4992b6);   
    color: #2e5373;
    /*font-size: clamp(1px, 1.5vw, 20px);*/
}
.btn-nextgame:hover {
        background: linear-gradient(45deg,#54acff, #3fc9ff);
    }
.btn-submit-url{
    padding: 1%;
    padding-left:2%;
    padding-right:2%;
    height:100%;
    margin-top:auto;
    margin-bottom:auto;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(102, 192, 244, 0.2);
    background: linear-gradient(45deg,#5a90e0, #4992b6);   
    color: #2e5373;
    font-size: clamp(1px, 1.5vw, 20px);
}
.btn-submit-url:hover {
        background: linear-gradient(45deg,#54acff, #3fc9ff);
    }
.btn {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(90deg, #5c7cfa, #7950f2);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(92, 124, 250, 0.4);
    }

.btn-secondary {
    background: rgba(102, 192, 244, 0.2);
    color: #66c0f4;
    border: 1px solid #66c0f4;
}
    .btn-secondary:hover {
        background: rgba(102, 192, 244, 0.3);
    }
.btn-collumn{
      display: flex;
    flex-direction: column;     /* stack buttons vertically */
    flex: 1;  
}
.btn-option {
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    border:none;
    width: 100%;  
    background-color: rgba(0,0,0,0);
    color: #66c0f4;
    

}
    .btn-option:hover {
        background: rgba(102, 192, 244, 0.3);
    }
.btn-correct{
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    border:none;
    width: 100%;  
    background: rgba(119, 244, 102, 0.5);
    color: #66f466;
}
   .btn-wrong{
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    border:none;
    width: 100%;  
    background: rgba(244, 102, 102, 0.5);
    color: #f46666;
} 
.btn-trinary {
    background: rgba(102, 192, 244, 0.2);
    color: rgb(244, 102, 102);
    border: 1px solid rgb(235, 24, 24);
    
}

    .btn-trinary:hover {
        background: rgba(60, 113, 144, 0.2);
    }
.review-container{
    background: linear-gradient(45deg,#395c8f, #2f5f76);
    color: #152235;
    margin-top: 20px;
    padding-top:5px;
    font-weight: bold;      /* makes text bold */
    text-transform: uppercase; /* makes text uppercase */
}
.profile{
    display: flex;
    align-items: center;
    gap: 5px; 
    margin-right:10px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    /*background: rgba(60, 113, 144, 0.2);    */
    
}
.cart-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

    .cart-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.hero {
    padding: 60px 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    margin: 20px;
    border-radius: 10px;
}

    .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #fff, #66c0f4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero p {
        font-size: 18px;
        color: #a4b8c4;
    }

.section-title {
    padding: 30px 30px 20px;
    font-size: 24px;
    font-weight: bold;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 30px 50px;
}

.game-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(102, 192, 244, 0.3);
    }

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


.game-title {
    font-size: 20px;
    font-weight: bold;
    padding-left:10px;
    color: #fff;
}
.game-info-container{
    display: flex;
    /*margin-right: auto;  */

    
}
.game-info{
    margin-left: 10%;
}
.game-info-text-releasedate{
    font-size: 12px;
    color: #afafaf;
    margin-bottom: 20px;
}
.game-info-text{
    font-size: 12px;
    color: #afafaf;
}

.game-info-text-releasedate-input{
    font-size: 13px;
    color: #d2d2d2;
    margin-bottom: 18px;
    
}
.game-info-text-input{
    font-size: 13px;
    color: #67c1f5;
}

.game-description {
    color: #e0effc;
    margin-bottom: 15px;
    font-size: 14px;
    padding-top: 1%;
    padding-bottom: 1%;
}

.game-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(102, 192, 244, 0.2);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    color: #66c0f4;
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.discount-badge {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    width: fit-content;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #aaff00;
}

.original-price {
    text-decoration: line-through;
    color: #8f98a0;
    font-size: 14px;
}

.rating {
    color: #ffd700;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1b2838;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
}

    .modal-content h2 {
        margin-bottom: 20px;
        color: #fff;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #c7d5e0;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #444;
        border-radius: 5px;
        background: #2a475e;
        color: #fff;
    }

.close-modal {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #8f98a0;
}

    .close-modal:hover {
        color: #fff;
    }

.cart-modal {
    max-width: 600px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    border-radius: 5px;
}

.cart-total {
    text-align: right;
    font-size: 24px;
    margin-top: 20px;
    color: #aaff00;
}
.about-this-game{
    color: #fff; 
    font-size: 14px; 
    margin-top: 30px; 
    margin-bottom: 15px; 
    overflow: hidden; 
    width: auto; 
    max-width: 100%; 
    font-family: "Motiva Sans", Sans-serif;
    font-weight: normal
}
.url-submit{
    width: 100%; 
    height: 100%; 
    text-align: center; 
    /*font-size: 16px;*/
   font-size: clamp(1px, 1.5vw, 20px);
    /*margin: 0 auto;*/
    
}
.submit-form{
    width: 70%; 
   /* height: 50%; */
   aspect-ratio: 16 / 0.8;
    text-align: center; 
    font-size: 16px;
    margin: auto;
}

.url-submit-success{
    
    background-color: rgba(173, 255, 47,0.8);
}
.url-submit-fail{
    
    background-color: rgba(255, 0, 0,0.8);
}

  .hidden { display: none; }

  .spinner {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    margin-right:10px; 
    border: 4px solid rgba(0,0,0,0.1);     /* faint track */
    border-top-color: #007bff;             /* moving "line" color */
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .my-store-data{
    display:flex;
    border : 1px solid white;
    border-radius:  6px;
    margin: 20px;
  }
  .my-store-data-chart{
    width: 50%;
    height:100%;
    display: block;
  }
  .store-front{
           
            width: 100%;
            height: 40%;
            display: flex;
            /*justify-content: space-between;*/
            /*flex-direction: row;    */
            flex-direction: row-reverse;
}

 .store-info{
           
           float: right;
           align-items: right;
           margin-left: 1%;
        }
 .store-name{
            /*
            display: flex;
            justify-content: space-between;
            */
            display: flex;
            flex-direction: row;      /* or leave default */
            justify-content: space-between; 
            align-items: center;      /* vertical centering */
            border-bottom: 2px solid #5a90e0;
        }
.trailer-carousel {
            width: 70%;
            height: 40%;
            margin: auto;
            float: left;
           align-items: left;
            /*position: flex;*/
        }

    /* When screen is small */
        @media (max-width: 900px) {
            .store-front {
                flex-direction: column; /* stack vertically */
            }
            .trailer-carousel{
                width: 100%;
            }
            .store-info{
                margin-left: 0%;
                margin-bottom: 1%;
            }
            .submit-form{
                height: 100%;
                /*font-size: 10px;*/
            }
            .my-store-data{
                flex-direction: column; /* stack vertically */  
            }
            .my-store-data-chart{
                width: 100%;
            }
            .url-submit{
                /*font-size: 10px;*/
            }
        }
       