html, body {
    margin: 0;
    min-height: 100vh;
}

body {
    font-family: system-ui, sans-serif;
    background-image: url("../images/body.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center; 
    min-height: 100vh;
}

#page {
    width: 80%;
}

#header {
    width: 100%;
    min-height: 500px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: aqua;
    display: flex;
    flex-flow: row nowrap;
    background-image: url('../images/header.png');
    background-size: cover;
    background-position: center;
    border: solid 1px #000;
}

#header #user {
    width: 100%;
    color: #FFF;
    vertical-align: right;
    text-align: right;
    padding-right: 23px;
    padding-top: 25px;
}

#header #user a {
    color: #ff8a2a;
}
 
#content {
    width: 100%;
    display: flex;
    
    justify-content: center; 
    align-items: center; 
    color: #755d9a;

    max-width: 1200px;
    margin: 0 auto;
}

#fooder {
    border: solid 1px #000;
    background-color: aqua;
}

.row {
  display: flex;
  align-items: center;
  gap: 3px;
}

#tournamentmain {
    width: 1000px;
    margin: 40px auto;

    font-family: Arial, Helvetica, sans-serif;
}

#tournamentmain label {
    width: 150px;
    color: #ff8c00;
    font-size: 14px;
    flex: none;
}

#tournamentinformation {
    flex-direction: column;

    gap: 22px;
    display: block !important;
    margin-top: 20px;
}

.tournamentCard {
    width: 100% !important;

    margin-bottom: 22px;

    min-height: 320px;

    display: flex;
    flex-direction: column;

    background: rgba(5,5,12,0.92);

    border: 1px solid rgba(255,140,0,0.18);
    border-radius: 14px;

    overflow: hidden;

    backdrop-filter: blur(5px);

    box-shadow:
        0 0 15px rgba(255,140,0,0.08);

    transition: 0.2s;
}

.tournamentCard:hover {
    transform: translateY(-2px);

    border-color: rgba(255,140,0,0.35);

    box-shadow:
        0 0 18px rgba(255,140,0,0.14);
}

.tournamentHeader {
    padding: 24px 24px 10px 24px;
}

.tournamentTitle {
    color: #ff8c00;

    font-size: 28px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1px;

    line-height: 36px;

    text-shadow:
        0 0 10px rgba(255,140,0,0.25);
}

.tournamentBody {
    flex: 1;

    padding: 0 24px 24px 24px;

    color: #e0c6a3;

    font-size: 16px;
    line-height: 34px;
}

.tournamentDescription {
    margin-bottom: 30px;

    max-width: 900px;
}

.tournamentMeta {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,140,0,0.1);
}

.tournamentMeta div {
    color: #d0b08a;

    font-size: 15px;
    line-height: 28px;
}

.tournamentMeta strong {
    display: block;

    color: #ff8c00;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 3px;
}

.tournamentFooter {
    padding: 0 24px 24px 24px;
}

.tournamentButton {
    padding: 13px 26px;

    border: none;
    border-radius: 7px;

    background: linear-gradient(
        90deg,
        #ff7b00,
        #ff9d00
    );

    color: #111;

    font-size: 14px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s;
}

.tournamentButton:hover {
    transform: translateY(-1px);

    box-shadow:
        0 0 14px rgba(255,140,0,0.25);
}

.tournamentButton:disabled {
    background: rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.35);

    cursor: not-allowed;

    box-shadow: none;
}

@media (max-width: 1050px) {

    #tournamentmain {
        width: 95%;
    }

    .tournamentMeta {
        grid-template-columns: 1fr;
    }

    .tournamentTitle {
        font-size: 22px;
        line-height: 30px;
    }

    .tournamentBody {
        font-size: 15px;
        line-height: 30px;
    }
}


