*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:#091018;
    color:#fff;
    overflow-x:hidden;
    min-height:100vh;

}

/* ==========================================
   BACKGROUND
========================================== */

.background{

    position:fixed;
    inset:0;
    z-index:-3;

    background:
    radial-gradient(circle at top,#193553 0%,transparent 38%),
    radial-gradient(circle at bottom,#2f210d 0%,transparent 30%),
    linear-gradient(180deg,#081018,#101926);

}

.background::before{

    content:"";

    position:absolute;
    inset:0;

    background-image:
        radial-gradient(rgba(255,255,255,.06) 1px,transparent 1px);

    background-size:45px 45px;

    opacity:.20;

}

/* ==========================================
   COMPASS
========================================== */

.compass{

    position:fixed;

    width:850px;
    height:850px;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    background:url("logo.png") center no-repeat;
    background-size:contain;

    opacity:.03;

    filter:grayscale(100%);

    animation:rotateCompass 240s linear infinite;

    z-index:-2;

}

/* ==========================================
   MAIN
========================================== */

main{

    width:min(900px,92%);

    margin:auto;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:70px 0;

}

/* ==========================================
   LOGO
========================================== */

.logo{

    width:320px;

    max-width:85vw;

    margin-bottom:35px;

    filter:
    drop-shadow(0 20px 50px rgba(0,0,0,.55))
    drop-shadow(0 0 25px rgba(212,167,77,.20));

    animation:
    logoFade 1.3s ease,
    floating 6s ease-in-out infinite;

}

/* ==========================================
   TITLE
========================================== */

h1{

    font-family:'Cinzel',serif;

    font-size:54px;

    letter-spacing:8px;

    margin-bottom:40px;

    animation:fadeUp 1s ease;

}

h1::after{

    content:"";

    display:block;

    width:90px;
    height:2px;

    background:#d4a74d;

    margin:20px auto 0;

    border-radius:50px;

}

/* ==========================================
   STORY
========================================== */

.story{

    position:relative;

    width:100%;

    max-width:820px;

    padding:45px;

    margin-bottom:45px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    backdrop-filter:blur(18px);

    animation:fadeUp 1.3s ease;

}

.story::before{

    content:"“";

    position:absolute;

    top:-20px;
    left:25px;

    font-family:Georgia,serif;

    font-size:110px;

    color:rgba(212,167,77,.15);

}

.intro{

    font-family:'Cinzel',serif;

    color:#d4a74d;

    font-size:28px;

    margin-bottom:25px;

    font-style:italic;

}

.story p{

    color:#d9dfe6;

    line-height:1.9;

    font-size:17px;

    margin-bottom:18px;

}

.closing{

    color:#fff !important;

    font-weight:600;

    margin-top:30px;

}

/* ==========================================
   MENU
========================================== */

nav{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

    margin-bottom:35px;

}

nav span{

    color:#666;

}

nav a{

    color:#bfc7d0;

    text-decoration:none;

    transition:.35s;

    font-size:15px;

}

nav a:hover{

    color:#d4a74d;

}

/* ==========================================
   SOCIAL
========================================== */

.social{

    display:flex;

    gap:22px;

    margin-bottom:40px;

}

.social a{

    width:56px;
    height:56px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    text-decoration:none;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    transition:.35s;

    font-size:22px;

}

.social a:hover{

    background:#d4a74d;

    color:#111;

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(212,167,77,.35);

}

/* ==========================================
   FOOTER
========================================== */

footer{

    color:#777;

    font-size:14px;

}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes logoFade{

    from{

        opacity:0;

        transform:scale(.85);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

@keyframes floating{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

}

@keyframes rotateCompass{

    from{

        transform:translate(-50%,-50%) rotate(0deg);

    }

    to{

        transform:translate(-50%,-50%) rotate(360deg);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

        filter:blur(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

        filter:blur(0);

    }

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

    .logo{

        width:220px;

    }

    h1{

        font-size:36px;

        letter-spacing:4px;

    }

    .story{

        padding:28px;

    }

    .story p{

        font-size:15px;

        line-height:1.8;

    }

    .intro{

        font-size:22px;

    }

    .compass{

        width:600px;
        height:600px;

    }

}