﻿body {
    overflow-x: hidden;
}

.winner-page {
    position: relative;
    min-height: 100vh;
    padding: 60px 4px;
    background: linear-gradient(rgba(3, 10, 22, 0.82), rgba(3, 10, 22, 0.90)), url('../../images/race-category-bg.jpg') center/cover no-repeat fixed;
}

.winner-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1980px;
    margin: 0 auto;
    padding: 0 4px;
}

.winner-container {
    width: 90%;
    max-width: 1950px;
    margin: 0 auto;
    padding-left: 4px;
    padding-right: 4px;
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    color: #fff;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 8px 25px rgba(0,0,0,.45);
    font-style: italic;
}

.category-tabs {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
    display: flex;
    flex-wrap: wrap;
}

    .category-tabs .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }

    .category-tabs .nav-link {
        color: #fff;
        font-weight: 900;
        padding: 15px 16px;
        border-radius: 0;
        text-transform: uppercase;
        font-size: 15px;
        transition: .3s;
        white-space: nowrap;
    }

        .category-tabs .nav-link i {
            margin-right: 8px;
            color: #c20e49;
            font-size: 18px;
        }

        .category-tabs .nav-link.active,
        .category-tabs .nav-link:hover {
            background: #c20e49;
            color: #fff;
        }

            .category-tabs .nav-link.active i,
            .category-tabs .nav-link:hover i {
                color: #fff;
            }

.tab-content {
    width: 100%;
}

.prize-row {
    width: 100%;
    max-width: 1950px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.custom-col {
    width: 14.285%;
    padding: 4px;
}

.prize-card {
    position: relative;
    height: 100%;
    min-height: 245px;
    width: 100%;
    padding: 18px 8px;
    text-align: center;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 28px rgba(0,0,0,.30);
    overflow: hidden;
    transition: .35s ease;
}

    .prize-card:hover {
        transform: translateY(-6px);
    }

.rank-icon {
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 40px;
    font-weight: 900;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.55), 0 10px 22px rgba(0,0,0,.25);
}

.gold {
    background: linear-gradient(135deg,#aaa16e,#ffeaab,#a17f54);
}

/*  .silver {
            background: linear-gradient(135deg,#f2f4f7,#9aa4b2,#5c6673,#2f3742);
            color: #fff;
        }*/

.bronze {
    background: linear-gradient(135deg,#ffd1a5,#ffceaa,#9e3d00);
}

/*.blue {
            background: #c6d2ff;
        }

        .green {
            background: #67ae80;
        }

        .purple {
            background: #ead7ff;
        }

        .cyan {
            background: #13b8c7;
        }

        .orange {
            background: linear-gradient(135deg,#ffe7a3,#ffa800,#c36a00);
        }*/

.winner-title {
    background: #000;
    color: #fff;
    padding: 10px 8px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 12px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}



.prize-amount {
    font-size: 30px;
    font-weight: 900;
    color: #c20e49;
    line-height: 1.15;
    word-break: break-word;
}

.feature-section {
    margin-top: 38px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.feature-box {
    text-align: center;
    padding: 12px;
    height: 100%;
}

.feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #c20e49;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #fff;
}

.feature-title {
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-desc {
    color: #555;
    font-size: 14px;
}

.bottom-line {
    text-align: center;
    margin-top: 32px;
    color: #fff;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 950;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 8px 25px rgba(0,0,0,.55);
}

    .bottom-line span {
        color: #c20e49;
    }

@media(max-width: 1600px) {
    .custom-col {
        width: 14.285%;
        padding: 4px;
    }

    .prize-card {
        min-height: 235px;
        padding: 16px 6px;
    }

    .rank-icon {
        width: 90px;
        height: 90px;
        font-size: 28px;
    }

    .winner-title {
        font-size: 12px;
    }

    .prize-amount {
        font-size: 30px;
    }
}

@media(max-width: 1400px) {
    .custom-col {
        width: 20%;
    }

    .prize-card {
        min-height: 240px;
    }
}

@media(max-width: 1200px) {
    .custom-col {
        width: 25%;
    }

    .category-tabs .nav-item {
        flex: 0 0 33.33%;
    }
}

@media(max-width: 992px) {
    .custom-col {
        width: 33.33%;
    }

    .category-tabs .nav-item {
        flex: 0 0 50%;
    }
}

@media(max-width: 768px) {
    .winner-page {
        padding: 45px 8px;
        background-attachment: scroll;
    }

    .custom-col {
        width: 50%;
        padding: 6px;
    }

    .category-tabs .nav-item {
        flex: 0 0 100%;
    }

    .category-tabs .nav-link {
        padding: 14px;
        font-size: 14px;
    }

    .prize-card {
        min-height: 235px;
        padding: 18px 8px;
    }

    .rank-icon {
        width: 68px;
        height: 68px;
        font-size: 29px;
    }

    .feature-section {
        padding: 18px;
    }
}

@media(max-width: 576px) {
    .custom-col {
        width: 100%;
    }

    .main-title {
        letter-spacing: 1px;
    }

    .winner-title {
        min-height: auto;
    }

    .prize-card {
        max-width: 390px;
        min-height: 225px;
        margin: 0 auto;
    }
}

.first-rank-trophy {
    text-align: center;
    margin-bottom: 18px;
}

    .first-rank-trophy i {
        font-size: 90px;
        color: #d4af37;
        text-shadow: 0 8px 18px rgba(0,0,0,.25), 0 0 15px rgba(255,215,0,.35);
    }

.trophy-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.contact-section {
    width: 100%;
    padding: 70px 20px;
}

.contact-container {
    /*            max-width: 900px;
*/ margin: auto;
}

/* =========================
           RIGHT SIDE
        ==========================*/

.contact-right {
    background: #000000;
    border-radius: 25px;
    padding: 10px 40px;
    border: 1px solid rgba(149, 145, 146, 0.3);
    box-shadow: 0 0 30px rgba(194, 14, 73, 0.12);
}

.form-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #cfcfcf;
    line-height: 26px;
    margin-bottom: 35px;
}

/* =========================
           TWO COLUMN FORM
        ==========================*/

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    width: calc(50% - 10px);
    margin-bottom: 10px;
}

/* FULL WIDTH */

.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* LABELS */

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
    font-size: 16px;
}

/* INPUTS */

.form-control {
    width: 100%;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(194, 14, 73, 0.25);
    background: #1f1f1f;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

    .form-control::placeholder {
        color: #9a9a9a;
    }

    .form-control:focus {
        border-color: #c20e49;
        background: #252525;
        box-shadow: 0 0 20px rgba(194, 14, 73, 0.18);
    }

textarea.form-control {
    resize: vertical;
}

/* VALIDATION */

span[style*="Red"] {
    color: #ff3b3b !important;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

/* BUTTON */

.submit-btn {
    width: 40%;
    border: none;
    background: #c20e49;
    color: white;
    padding: 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(194, 14, 73, 0.25);
    }

/* =========================
           RESPONSIVE
        ==========================*/

@media screen and (max-width: 768px) {

    .contact-section {
        padding: 50px 15px;
    }

    .contact-right {
        padding: 35px 25px;
    }

    .form-group {
        width: 100%;
    }

    .form-title {
        font-size: 28px;
    }

    .submit-btn {
        width: 100%;
    }

    .full-width {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {

    .contact-right {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .form-title {
        font-size: 24px;
    }

    .submit-btn {
        width: 100%;
        font-size: 15px;
        padding: 16px;
    }
}