@font-face {
    font-family: 'Marlin Soft Regular';
    src: url("../fonts/MarlinSoft-Regular.otf") format("opentype");
}

/* CSS Custom Properties for search page improvements only */
:root {
    --search-accent-pink: rgba(255, 187, 234, 1);
    --search-accent-light-pink: rgba(255, 180, 203, 1);
    --search-glow-purple: rgba(240, 180, 255, .6);
    --search-radius-md: 15px;
    --search-radius-lg: 20px;
    --search-transition: 0.3s ease;
    --search-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

body::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 15px 0 white;
}

::-webkit-scrollbar-thumb {
    background: #2702c2;
    transition: background .3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d0185;
}

.textCenter {
    text-align: center;
}

.text, .textReverse, .littleText, .link, .btnStats, ::placeholder, #redirectionSteam, .title, .linkBtn {
    font-family: "Marlin Soft Regular", sans-serif;
    font-weight: 400;
}

.text, .title, .littleText, .linkBtn:hover, footer, footer a, .btnStats:hover, #redirectionSteam:hover {
    color: white;
}

.title {
    font-weight: 700;
}

.textReverse {
    color: black;
}

.littleText, .link {
    font-size: 0.8em;
}

#titleGames, #faqBigTitle {
    margin: 2% 0;
}

.link, .linkBtn, .linkInText, footer a, #redirectionSteam {
    text-decoration: none;
}

.linkBtn {
    font-weight: 800;
    color: rgba(255,187,234, 1);
    background-color: white;
    padding: 4%;
    border-radius: 10px;
    transition: color .3s, background-color .3s, box-shadow .3s;
    margin: -8% 0 20% 0;
}

.linkBtn:hover {
    background-color: rgba(255, 187, 234, 1);
    box-shadow: 0 0 90px 10px rgba(255, 255, 255, .6);
}

.linkInText {
    color: rgba(255, 180, 203, 1);
    transition: color .3s;
}

.linkInText:hover {
    color: rgba(255, 180, 203, .8);
}

.faqLink {
    font-size: 1em;
    color: rgba(255, 187, 234, 1);
    transition: color .3s;
}

.faqLink:hover {
    color: rgba(255, 187, 234, .5);
}

#faqBigTitle {
    font-size: 3.2em;
}

.faqTitle, .textFaq {
    width: 65%;
    margin: 0 0 2% 16%;
}

.hover-effect, .offcanvas a {
    text-shadow: none;
    transition: text-shadow .2s;
}

.hover-effect:hover {
    text-shadow: 2px 2px 2px rgba(240,180,255, .6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    background-color: rgb(37, 44, 225);
}

footer {
    background-color: #2702c2;
}

footer li, #searchContent ul {
    list-style-type: none;
}

.bg-body-tertiary, .background-nav-css {
    background-color: transparent !important;
}

.navbar-brand {
    margin-top: 2%;
    width: 15%;
}

.navbar-toggler, .btnStats, #gamesStatsTable tr {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("../img/burgermenu.svg");
    width: 1.35em;
}

.offcanvas a {
    color: #2702c2;
}

.offcanvas a:hover {
    color: rgba(255, 180, 203, 1);
    text-shadow: 2px 2px 2px white;
}

.btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230000ff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    opacity: 1;
}

.offcanvas.offcanvas-end {
    background-color: white;
    width: 70%;
}

.shadow-top {
    height: 0;
    position: absolute;
    top: 0;
    box-shadow: 2px 1px 83px 16px rgba(240,180,255,.6);
}

.shadow-bottom {
    height: 0;
    box-shadow: 2px 25px 83px 8px rgba(240,180,255,.6);
    rotate: 180deg;
}

#logoFooter {
    width: 50%;
    margin: 0 32%;
}

.background-main, .background-search, .background-faq, .background-stats, .background-404, .background-legal {
    width: 100vw;
    background-image: url("../img/noise-light.png");
    z-index: -1;
}

.a-background, .linkBtn {
    box-shadow: 0 0 90px 10px rgba(255, 180, 203, .6);
}

.c-1, .c-1-404 {
    padding: 2vh 2vh 8vh 2vh;
}

#tableContent {
    overflow-x: auto;
    margin: 2% 2%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 1rem;
}

#tableContent #gamesStatsTable tbody tr:nth-child(odd) {
    background-color: rgba(255, 187, 234, 0.08);
}

#graphContent, #titleStats {
    justify-content: center;
    margin-top: 5%;
}

#graphContent div, #searchGameTitle {
    margin-bottom: 2%;
}

table::-webkit-scrollbar {
    width: 0;
}

#buttonChangeStats {
    margin-right: 2%;
    margin-top: 10%;
}

.btnStats {
    padding: 1%;
    border-radius: 10px;
    background-color: white;
    color: rgba(255, 180, 203, 1);
    transition: background-color .3s, color .3s;
}

.btnStats:hover, #redirectionSteam:hover {
    background-color: rgba(255, 180, 203, 1);
}

#tableBtn {
    margin-right: 2%;
}

#gamesStatsTable, #redirectionSteam {
    margin-top: 2%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-collapse: separate;
    border-spacing: 0;
}

#gamesStatsTable th, #gamesStatsTable td, #redirectionSteam {
    padding: 1.5rem 1rem;
}

#gamesStatsTable th {
    background: linear-gradient(135deg, rgba(255, 187, 234, 0.1), rgba(255, 180, 203, 0.1));
    color: #2702c2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
    border-bottom: 2px solid rgba(255, 187, 234, 0.3);
}

#gamesStatsTable td {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

#gamesStatsTable tr:hover td {
    background-color: rgba(255, 187, 234, 0.05);
}

#gamesStatsTable tr:last-child td {
    border-bottom: none;
}

#gamesStatsTable td a {
    color: #2702c2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

#gamesStatsTable td a:hover {
    color: rgba(255, 180, 203, 1);
    text-decoration: underline;
}

#topContent, #titleContent, #aboutUs, #needHelp, #graphContent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#titleContent h2, #aboutUs h2, #needHelp h2 {
    width: 70%;
}

#titleContent p, #aboutUs p, #needHelp p {
    margin-top: 4%;
}

#mainImage, #searchContent ul {
    margin-left: 2%;
}

#searchbarContent {
    margin-bottom: 10%;
}

#searchbarContent form, #buttonChangeStats, #redirectionSteam {
    display: flex;
    justify-content: center;
}

::placeholder {
    padding-left: 2%;
}

#inputSearchGames {
    width: 50vh;
    padding: 1%;

}

/* =================================
   COMPLETE SEARCH PAGE REDESIGN
   ================================= */

/* Game Page Container */
.background-search .game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Game Title */
.background-search .game-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
}

.background-search .game-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
    border-radius: 2px;
}

/* Main Game Card */
.background-search .game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 80px rgba(255, 187, 234, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.background-search .game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
}

/* Game Header (Image + Video) */
.background-search .game-header {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.background-search .game-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.background-search .game-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.background-search .game-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.background-search .game-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Game Description */
.background-search .game-description {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.background-search .game-description p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* Game Info Grid */
.background-search .game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Info Cards */
.background-search .info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.background-search .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 0.8), rgba(255, 180, 203, 0.8));
}

.background-search .info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
}

.background-search .info-card h3 {
    color: rgba(255, 187, 234, 1);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.background-search .info-card p {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Rating Badges */
.background-search .rating-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.background-search .rating-excellent { background: #4ade80; color: white; }
.background-search .rating-very-positive { background: #22c55e; color: white; }
.background-search .rating-positive { background: #84cc16; color: white; }
.background-search .rating-mixed { background: #f59e0b; color: white; }
.background-search .rating-negative { background: #ef4444; color: white; }
.background-search .rating-very-negative { background: #dc2626; color: white; }

/* Price */
.background-search .price {
    color: #4ade80 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Metacritic Score */
.background-search .metacritic-score {
    color: #fbbf24 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Platform Badges */
.background-search .platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.background-search .platform-badge {
    background: linear-gradient(135deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.background-search .platform-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 187, 234, 0.4);
}

.background-search .platforms-card .platforms {
    margin-top: 0;
}

/* Charts Section */
.background-search .charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.background-search .chart-card {
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.background-search .chart-card div {
    border-radius: 15px;
    overflow: hidden;
}

/* Steam Button */
.background-search .steam-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.background-search .steam-button {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #66c0f4;
    border: 2px solid #66c0f4;
    border-radius: 15px;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.background-search .steam-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 192, 244, 0.2), transparent);
    transition: left 0.5s;
}

.background-search .steam-button:hover {
    background: linear-gradient(135deg, #66c0f4, #4fc3f7);
    color: #1b2838;
    border-color: #4fc3f7;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 192, 244, 0.4);
}

.background-search .steam-button:hover::before {
    left: 100%;
}

.background-search .steam-button i {
    font-size: 1.3rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .background-search .game-container {
        padding: 1rem;
    }
    
    .background-search .game-card {
        padding: 1.5rem;
    }
    
    .background-search .game-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .background-search .charts-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .background-search .steam-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .background-search .game-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .background-search .game-header {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
    
    .background-search .game-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =================================
   END OF SEARCH PAGE REDESIGN
   ================================= */

/* =================================
   HOMEPAGE COMPLETE REDESIGN
   ================================= */

/* Homepage Container */
.background-main .homepage-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.background-main .hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.background-main .hero-content {
    text-align: center;
    max-width: 600px;
}

.background-main .logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.background-main .hero-logo {
    width: clamp(120px, 20vw, 200px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.background-main .hero-logo:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(255, 187, 234, 0.4));
}

.background-main .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    /* text-shadow: 2px 2px 10px rgba(0,0,0,0.5); */
    background: linear-gradient(135deg, white, rgba(255, 187, 234, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.background-main .hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* CTA Button */
.background-main .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 187, 234, 0.3);
}

.background-main .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.background-main .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 187, 234, 0.5);
    color: white;
}

.background-main .cta-button:hover::before {
    left: 100%;
}

/* Search Section */
.background-main .search-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.background-main .search-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.background-main .search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
}

.background-main .search-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.background-main .search-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.background-main .search-form {
    position: relative;
}

.background-main .search-input-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.background-main .search-input-container:hover,
.background-main .search-input-container:focus-within {
    border-color: rgba(255, 187, 234, 0.8);
    box-shadow: 0 0 20px rgba(255, 187, 234, 0.2);
    transform: translateY(-2px);
}

.background-main .search-icon {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 1rem;
}

.background-main .search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: white;
    outline: none;
}

.background-main .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.background-main .search-button {
    background: linear-gradient(135deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.background-main .search-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 187, 234, 0.4);
}

/* Features Section */
.background-main .features-section {
    padding: 4rem 0;
}

.background-main .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.background-main .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.background-main .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 0.8), rgba(255, 180, 203, 0.8));
}

.background-main .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
}

.background-main .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 187, 234, 0.2), rgba(255, 180, 203, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: rgba(255, 187, 234, 1);
    transition: all 0.3s ease;
}

.background-main .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(255, 187, 234, 0.3), rgba(255, 180, 203, 0.3));
    transform: scale(1.1);
}

.background-main .feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.background-main .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.background-main .help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 187, 234, 1);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 187, 234, 0.3);
    transition: all 0.3s ease;
}

.background-main .help-link:hover {
    background: rgba(255, 187, 234, 0.1);
    color: rgba(255, 187, 234, 1);
    transform: translateY(-2px);
}

/* Stats Preview Section */
.background-main .stats-preview-section {
    padding: 4rem 0 6rem;
    display: flex;
    justify-content: center;
}

.background-main .stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.background-main .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
}

.background-main .stats-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.background-main .stats-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.background-main .stats-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.background-main .stats-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.background-main .stats-feature:hover {
    background: rgba(255, 187, 234, 0.2);
    transform: translateY(-3px);
}

.background-main .stats-feature i {
    font-size: 1.3rem;
    color: rgba(255, 187, 234, 1);
}

.background-main .stats-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 187, 234, 1), rgba(255, 180, 203, 1));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 187, 234, 0.3);
}

.background-main .stats-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.background-main .stats-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 187, 234, 0.5);
    color: white;
}

.background-main .stats-button:hover::before {
    left: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .background-main .homepage-container {
        padding: 0 0.5rem;
    }
    
    .background-main .hero-section {
        min-height: 70vh;
    }
    
    .background-main .search-card,
    .background-main .stats-card {
        padding: 2rem 1.5rem;
    }
    
    .background-main .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .background-main .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .background-main .search-input-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 20px;
    }
    
    .background-main .search-input {
        text-align: center;
        padding: 1rem;
    }
    
    .background-main .search-button {
        width: 100%;
        height: 50px;
        border-radius: 15px;
    }
    
    .background-main .stats-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .background-main .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .background-main .stats-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .background-main .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .background-main .stats-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =================================
   END OF HOMEPAGE REDESIGN
   ================================= */

#searchContent {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.25);
}

#searchContent img, #column_chart_div, #gamesStatsTable, .shadow-bottom, .shadow-top {
    width: 100%;
}

#searchContent {
    margin-top: 1%;
}

#searchContent video {
    padding: 1% 0;
}

#searchDescription {
    text-align: justify;
    padding: 0 2%;
}

.gamesContent {
    padding-left: 4%;
}

#redirectionSteam {
    border-radius: 10px;
    color: rgba(255, 180, 203, 1);
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, .5);
    transition: color .3s, background-color .3s, box-shadow .3s;
}

#redirectionSteam:hover {
    box-shadow: 0 0 20px 10px rgba(255, 180, 203, .6);
}

#text404 {
    margin: 10% 0 10%;
    font-size: 2em;
}

#text404 span {
    font-size: 5em;
}

.c-1-404 a {
    margin: 20% 0;
}

@media screen and (min-width: 425px) {
    .title {
        font-size: 2.8rem;
    }

    .offcanvas.offcanvas-end {
        width: 50%;
    }

    .offcanvas a, #titleContent p, #aboutUs p, #gamesStatsContent p, #needHelp p {
        font-size: 1.2rem;
    }

    .navbar-toggler-icon {
        width: 2.5em;
    }

    #mainImage {
        margin-left: 4%;
    }

    .linkBtn {
        padding: 3%;
    }

    .c-1 {
        padding: 0 10vh 8vh;
    }

    #buttonChangeStats {
        justify-content: flex-end;
        margin-top: 5%;
    }

    #titleContent, #aboutUs, #gamesStatsContent, #needHelp {
        margin-top: 8%;
    }

    #titleContent p, #aboutUs p, #gamesStatsContent p, #needHelp p {
        margin-top: 2%;
    }

    #LogoFooter {
        margin: 0 28%;
    }

}

@media screen and (min-width: 768px) {

    #logoFooter {
        width: 40%;
        margin: 0 33%;
    }

    .text {
        font-size: 1.2rem;
    }

    #topContent {
        margin-top: 2%;
    }

    .linkBtn {
        margin: -2% 0 14% 0;
    }

    .navbar-brand {
        padding-bottom: 0;
        margin-top: 0;
        width: 10%;
    }

    .navbar {
        --bs-navbar-padding-y: 0;
        --bs-navbar-brand-padding-y: 0;
    }

    #redirectionSteam {
        margin: 2% 25% 0;
    }

    #searchContent {
        margin: 0 10%;
    }
}

@media screen and (min-width: 992px) {
    .offcanvas a {
        color: white;
    }
}

@media screen and (min-width: 1024px) {
    #logoFooter {
        width: 20%;
        margin: 0 42%;
    }

    .navbar-brand {
        width: 5%;
    }

    .linkBtn {
        padding: 2% 4%;
    }

    #mainImage {
        margin-left: 2%;
    }
}