*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Body styles*/
body{
    font-family: "Poppins", sans-serif;
    background: -moz-linear-gradient(top, #1a2238, #0f172a);
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

body:before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('JourneysEndBG.jpg') repeat;
    opacity: 0.18;
    animation: drift 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 10000px 5000px; }
}

a{
    color: #5d3d03;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
    color: #ffffff;
}

h1{
    color: #f1f5f9;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    font-size: 3rem;
    margin-bottom: 10px;
}

/*Title Card*/
.TitleCard{
    background-color: rgba(28, 37, 65, 0.85);
    padding: 50px 30px;
    text-align: center;
    border-bottom: 2px solid #e6c68a;
    backdrop-filter: blur(5px);
    background-image: url('JourneysEndHeader.jpg');
    background-size: cover;
    background-position: center;
}

.HomelistNav{
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    text-decoration: none;
}

.HomelistNav li{
    font-size: 1.1rem;
    color: #cbd5e1;
    transition: color 0.3s;
}

.HomelistNav li:hover{
    color: #e6c68a;
}

.TitleCard h1{
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
}

/*trailer and main content*/
main{
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

section:nth-of-type(1) { animation-delay: 0.3s; }
section:nth-of-type(2) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: #e2e8f0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e6c68a;
    display: inline-block;
    padding-bottom: 10px;
    cursor: pointer;
}

h2:hover {
    color: #ffffff;
    border-color: #ffffff;
}

section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #dbeafe;
    margin-top: 20px;
}

.trailer-video{
    width: 100%;
    max-width: 800px;
    height: 490px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(230, 198, 138, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trailer-video:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(230, 198, 138, 0.6);
}

.Summary{
    font-size: 1.5rem;
    line-height: 1.4;
    color: #117b05;
    border: #e6c68a 2px solid;
    margin: 20px 0;
    padding: 30px 0;
    background-color: #1e293b;
    cursor: pointer;
    border-radius: 10px;
}

.Summary:hover{
    background-color: #273449;
    color: #7de60c;
}
