﻿
body {
    background-color: #1a1a1d;
    color: #f5f5f5;
    font-family: 'Bebas-Neue', sans-serif;
}

.setups-section {
    background: #111;
}
section {
    padding: 20px;
    margin-top: 20px;
}
section.insights{
    padding: 4px;
    background-color:transparent;
}

header h1 {
    font-weight: bold;
    font-size: 2em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 20px;
}
.top-section {
    margin-top: 30px;
}
.top-section h1, .top-section h2 {
    position: relative;
    z-index: 10;
    text-align: center;
    text-shadow: 0px 0px 20px purple;
    margin-bottom: 0px;
    color: aliceblue;
}
.top-section h2 {
    text-shadow: 0px 0px 15px lightgreen;
    color:white;
}

.image-container {
    position: absolute;
    top: 3%;
    left: 0;
    width: 100%;
    height: 23%; /* Fixed top 40vh */
    overflow: hidden;
    z-index:-1;
}
    .image-container.Setups50 {
        position: absolute;
        top: 2%;
        left: 0;
        width: 100%;
        height: 435px; /* Fixed top 40vh */
        overflow: hidden;
        z-index: -10;
    }
    .image-container.Setups100 {
        position: absolute;
        top: 2%;
        left: 0;
        width: 100%;
        height: 435px; /* Fixed top 40vh */
        overflow: hidden;
        z-index: -10;
    }

/* The background image */
.backdrop-image {
    width: 200%;
    height: 200%;
    object-fit: cover; /* Always cover, no stretching */
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%); /* anchor to middle */
    z-index: 0;
}

.backdrop-image.Setups20 {
    width: 200%;
    height: 200%;
    object-fit: cover; /* Always cover, no stretching */
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%); /* anchor to middle */
    z-index: 0;
}

    .backdrop-image.Setups50 {
        width: 200%;
        height: 200%;
        object-fit: cover; /* Always cover, no stretching */
        position: absolute;
        top: 33%;
        left: 50%;
        transform: translate(-50%, -50%); /* anchor to middle */
        z-index: 0;
    }

    .backdrop-image.Setups100 {
        width: 200%;
        height: 200%;
        object-fit: cover; /* Always cover, no stretching */
        position: absolute;
        top: 33%;
        left: 50%;
        transform: translate(-50%, -50%); /* anchor to middle */
        z-index: 0;
    }

/* Dark tint */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.52);
    z-index: 1;
}

/* Bottom fade gradient */
.image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33%;
    background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% );
    z-index: 2;
}

.image-container.Setups20::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 66%;
    background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% );
    z-index: 2;
}

.image-container.Setups50::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% );
    z-index: 2;
}

.image-container.Setups100::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% );
    z-index: 2;
}

/* Ensure text and UI are above everything */
.user-header,
.search-container {
    position: relative;
    z-index: 5; /* guaranteed above background */
    color: #fff; /* so it stands out on dark bg */
}
.search-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ccc;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .search-input:focus {
        border-color: orange;
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
        color:white;
    }
    .search-input:hover {
        border-color:orange;
    }

    .search-input::placeholder {
        color: #999;
        opacity: 0.8;
    }

.search-icon {
    position: absolute;
    right: 15px;
    top: 35%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

section {
    background: linear-gradient(173deg, rgba(26, 26, 27, 0.8) 5%, 
    rgb(26, 26, 27) 47% 
    );
    position: relative;
    border-radius: 15px;
    
}
section::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(173deg, rgb(0, 255, 0) 0%, 
    rgba(24, 24, 24, 0) 35%
    );
    z-index: -1;
    border-radius: 15px; 
    pointer-events: none;

}
    section.purple::before {
        background: linear-gradient(173deg, rgb(255, 0, 255) 0%, rgba(26, 26, 27, 0) 35% );
    }
    section.orange::before {
        background: linear-gradient(173deg, rgb(255, 92, 0) 0%, rgba(26, 26, 27, 0) 35% );
    }

.section-header {
    font-family: Bebas-Neue;
    display: inline-block;
    font-size: 40px;
    position: relative;
    font-style: italic;
}

    .section-header span {
        display: inline-block;
        position: relative;
    }

.header-bar {
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.view-all {
    text-align: center;
    background-color: transparent;
    border-radius: 10px;
    transition: background 0.3s;
    color:silver;
    margin-top: -20px;
}

    .view-all:hover {
        color: white;
    }


.setup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.setup-card {
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    background-color: #2c2c2e;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(128, 22, 122, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-height: 175px;
}

    .setup-card:hover {
        box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
        cursor: pointer;
    }
    .setup-card.green:hover {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    }
    .setup-card.orange:hover {
        box-shadow: 0 0 10px rgba(255, 92, 0, 0.7);
    }

.green {
    box-shadow: 0 0 10px rgba(0, 122, 0, 0.5);
}
.setup-card.orange {
    box-shadow: 0 0 10px rgba(230, 52, 0, 0.5);
}

.title-block {
    text-align: center;
    min-width: 100%;
    max-height: 75px;
    overflow-y:auto;
    scrollbar-color:green transparent;
}

.button-bar {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
}

.sim-logo {
    width: 40px;
    height: auto;
}

.download-button {
    display: block;
    color: purple;
    font-size: 14px;
    border-bottom: 2px purple solid;
    min-width: 60px;
    border-radius: 15px;
    min-height: 40px;
    background: #222;
}

    .download-button:hover {
        transform: scale(1.05);
    }
   
.middle-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.middle-block a {
    font-family: Arial;
    color: silver;
}
.middle-block a:hover {
    color:lightgreen;
}

h6 {
    font-family: Bebas-Neue;
}

p {
    font-family: Arial;
}

.button-bar button {
    pointer-events: auto;
}

.setup-card * {
    pointer-events: none;
}

.setup-card button {
    pointer-events: auto;
}
.setup-card a {
    pointer-events: auto;
}

@media (max-width: 1120px) {
    .setup-cards {
        grid-template-columns: 1fr;
    }

    .backdrop-image {
        height: 140%;
    }

    .image-container {
        top: 2%;
    }
}
@media (max-width: 820px) {
    .top-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width:800px) {
    .backdrop-image {
        width: 200% !important;
        height: 200% !important;
        object-fit: cover !important; /* Always cover, no stretching */
        position: absolute !important;
        top: 33% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; /* anchor to middle */
        z-index: 0 !important;
    }

    .image-container {
        position: absolute !important;
        top: 1% !important;
        left: 0 !important;
        width: 100% !important;
        height: 510px !important; /* Fixed top 40vh */
        overflow: hidden !important;
        z-index: -10 !important;
    }

        .image-container::after {
            content: '' !important;
            position: absolute !important;
            bottom: -200px !important;
            left: 0 !important;
            width: 100% !important;
            height: 70% !important;
            background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% ) !important;
            z-index: 2 !important;
        }
}

@media (max-width: 640px) {
    .top-section h1 { 
        font-size: 2rem;
    }
    .section-header {
        font-size: 24px;
    }
    .view-all {
        margin-top: 0px;
    }
}

@media (max-width:500px) {
    .backdrop-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Always cover, no stretching */
        position: absolute !important;
        top: 60% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; /* anchor to middle */
        z-index: 0 !important;
    }

    .image-container {
        position: absolute !important;
        top: -0.8% !important;
        left: 0 !important;
        width: 100% !important;
        height: 620px !important; /* Fixed top 40vh */
        overflow: hidden !important;
        z-index: -10 !important;
    }

        .image-container::after {
            content: '' !important;
            position: absolute !important;
            bottom: -700px !important;
            left: 0 !important;
            width: 100% !important;
            height: 70% !important;
            background: linear-gradient( to top, rgba(26,26,26,1) 23%, rgba(0,0,0,0) 100% ) !important;
            z-index: 2 !important;
        }
}

@media (max-width: 475px) {
    .top-section h1 {
        font-size: 1.9rem;
    }
}

.terms-section h1, .terms-section h2, .terms-section h3, .terms-section h4 {
    font-family: Bebas-Neue,sans-serif;
}

.terms-section ul {
    font-family: Arial;
}