.sub-hl {
    font-size: 18px;
}
.privacy-spoiler {
    display: inline-block;
    padding: 0 0.2em;
    border: 0;
    border-radius: 3px;
    background: #737d9a;
    color: var(--pirate-cloud);
    font: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    line-height: inherit;
    vertical-align: baseline;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.privacy-spoiler span {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.privacy-spoiler.is-revealed,
.privacy-spoiler:focus-visible {
    background: transparent;
}
.privacy-spoiler.is-revealed span,
.privacy-spoiler:focus-visible span {
    opacity: 1;
}
.privacy-spoiler:focus-visible {
    outline: 2px solid var(--pirate-neon);
    outline-offset: 2px;
}
@media (hover: hover) {
    .privacy-spoiler:hover { background: transparent; }
    .privacy-spoiler:hover span { opacity: 1; }
}
.headline {
    color: var(--pirate-cloud);
    font-size: 48px;
    font-family: var(--pirate-font-primary);
    line-height: 1;
    margin-bottom: 20px;
}

/* ----- hero-section ----- */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 780px;
    padding: 120px 0 180px;
    overflow: hidden;
    text-align: center;
    background-color: var(--pirate-navyblue);
}
.hero-section .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(19, 13, 1, 0.72), rgba(19, 13, 1, 0.38));
}
.hero-section .content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-section .bottom-divider {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    transform: scaleX(-1);
}
.hero-section .header-box {
    width: 100%;
    max-width: 560px;
    margin-left: 40px;
    text-align: left;
    white-space: nowrap;
}
.hero-section .header-box img {
    width: 100%;
    max-width: 240px;
}
.hero-section .hero-title {
    line-height: 0;
}
.hero-section .header-box .tagline {
    margin-top: 10px;
    margin-bottom: 40px;
    color: var(--pirate-cloud);
    font-family: var(--pirate-font-alternative);
    font-size: 20px;
    font-weight: 500;
}
.hero-section .header-box strong {
    color: var(--pirate-cloud);
    font-family: var(--pirate-font-alternative);
    font-size: 34px;
    font-weight: 700;
}
.hero-section .header-box .a-btn {
    padding-top: 5px;
    padding-bottom: 5px;
}
.hero-section .header-box .download {
    width: 140px;
    margin-top: 40px;
    margin-right: 10px;
    padding: 5px 0;
    border: 1px solid var(--pirate-leviathan);
    background-color: var(--pirate-doubloon);
    color: var(--pirate-leviathan);
    font-weight: 700;
    text-align: center;
}
.hero-section .header-box .chat {
    width: 140px;
    margin-top: 40px;
    padding: 5px 0;
    border: 1px solid var(--pirate-doubloon);
    background-color: var(--pirate-leviathan);
    color: var(--pirate-doubloon);
    text-align: center;
}
.hero-section .moneymade,
.hero-section .txt-rotate {
    display: inline-block;
}
@media screen and (max-width: 790px) {
    .hero-section {
        min-height: 680px;
        padding: 100px 0 170px;
    }
    .hero-section .header-box {
        max-width: 600px;
        margin: auto;
        text-align: center;
        white-space: normal;
    }
    .hero-section .header-box strong {
        font-size: 30px;
    }
    .hero-section .moneymade,
    .hero-section .txt-rotate {
        display: block;
    }
    .hero-section .txt-rotate {
        min-height: 40px;
    }
}
@media screen and (max-width: 340px) {
    .hero-section .header-box .a-btn {
        display: block;
        margin: 20px auto 0;
    }
}

/* ----- intro-section ----- */
.intro-section {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.intro-section .keyword-container {
    width: 100%;
}
.intro-section .keyword-box {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    height: 260px;
    padding-top: 10px;
    vertical-align: top;
    margin: 10px 20px;
    margin-bottom: 80px;
}
.intro-section .keyword-box img {
    height: 80px;
    margin-bottom: 20px; 
    -webkit-filter: drop-shadow(6px 6px 4px rgba(0, 0, 0, 1));
    filter: drop-shadow(6px 6px 4px rgba(0, 0, 0, 1));
    transition: transform .5s ease-in-out;
}
.keyword-box img:hover{
  transform: rotate(360deg);
}
.intro-section .keyword-box h3  {
    font-size: 28px;
    font-weight: 200;
    color: var(--pirate-cloud);
    margin-bottom: 20px; 
}
@media screen and (max-width:840px) {
    .intro-section .keyword-box {
        height: 100%;
    }
}
@media screen and (max-width:600px) {
    .intro-section .keyword-box {
        margin: 15px 0px 80px;
    }
}

/* ----- wallet-section ----- */
.wallet-section {
    padding-top: 160px;
    padding-bottom: 320px;
}
.wallet-section .box-right {
    margin-top: 50px;
    max-width: 500px;
}
.wallet-section .a-btn {
    margin-top: 30px;
}
.wallet-section .wallet-privacy {
    margin-top: 28px;
    color: var(--pirate-cloud);
    font-size: 18px;
    line-height: 1.5;
}
.wallet-section .cell-container {
    position: relative;
    width: 100%;
    border-radius: 50%;
}
.wallet-section .cell-container .cell1 {
    width: 100%;
    max-width: 200px;
    position: absolute;
    top: 00px;
    left: 160px;
    -webkit-filter: drop-shadow(12px 0px 7px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(12px 0px 7px rgba(0, 0, 0, 0.1));
}
.wallet-section .cell-container .cell2 {
    width: 100%;
    max-width: 180px;
    position: absolute;
    top: 20px;
    left: 350px;
    -webkit-filter: drop-shadow(12px 12px 7px #304aa848);
    filter: drop-shadow(0px 0px 60px #304aa848);
}
.wallet-section .cell-container .cell3 {
    width: 100%;
    max-width: 185px;
    position: absolute;
    top: 10px;
    left: 0px;
    -webkit-filter: drop-shadow(12px 12px 7px #304aa848);
    filter: drop-shadow(0px 0px 60px #304ba848);
}
@media screen and (max-width:1050px) {
    .wallet-section .cell-container .cell1 {
        max-width: 160px;
        left: 133px;
    }
    .wallet-section .cell-container .cell2 {
        max-width: 144px;
        left: 287px;
    }
    .wallet-section .cell-container .cell3 {
        max-width: 148px;
        top: 8px;
        left: 0px;
    }
    .wallet-section .box-right {
        margin-top: 40px;
    }
}
@media screen and (max-width:900px) {
    .wallet-section .box {
        width: 100%;
        max-width: 300px;
        float: none;
        display: block;
        margin: auto;
    }
    .wallet-section .box-right {
        margin-top: 50px;
        float: none;
        display: block;
        margin: auto;
        text-align: center;
        margin-top: 20px;
        width: 100%;
        max-width: 400px;
    }
    .wallet-section .cell-container .cell1 {
        max-width: 124px;
        left: 100px;
    }
    .wallet-section .cell-container .cell2 {
        max-width: 110px;
        left: 200px;
    }
    .wallet-section .cell-container .cell3 {
        max-width: 120px;
        left: 0px;
        top: 10px;
    }
    .wallet-section .cell-container {
        height: 290px; 
        max-width: 300px;
    }
    .wallet-section {
        padding-top: 80px;
        padding-bottom: 220px;
    }
}

/* ----- social-section ----- */
.social-section {
    margin: 0px;
    text-align: center;
    padding: 0;
    height: 580px;
    z-index: 5;
    background-image: url("../img/site/pirate-ship-rigging-background.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
.social-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(21, 19, 38, 0.95);
}
.social-section .discord-container {
    z-index: 5;
    text-align: center;
    width: 100%;
    z-index: 5;
    position: relative;
}
.social-section h3 {
    margin-bottom: 10px;
}
.social-section .discord-disk {
    position: absolute;
    top: -10px;
    left:0;
    right:0;
    z-index: 5;
    display: inline-block;
    text-align: center;
    margin: auto;
    margin-bottom: 60px;
    padding: 40px 10px;
    justify-content: space-around;
    border-radius: 500px;
    height: 600px;
    width: 600px;
    background-color: #23232d;
    align-items: center;
    border: 10px solid #2b2f3e;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
    box-shadow: 0px 0px 50px -4px rgba(2,2,2,0.83);
}
@media screen and (max-width:660px) {
    .social-section .discord-disk {
        border-radius: 10px;
        width: 100%;
        margin: 0px 6px 0px 0px;
    }
}
.social-section .discord-disk:hover {
    border-color: #5865e8;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: wiggle; 
}
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25%  { transform: rotate(-5deg); }
    50%  { transform: rotate(4deg); }
    75%  { transform: rotate(-3deg); }
    100%   { transform: rotate(0deg); }   
}
.social-section .discord-disk img {
    width: 100%;
    max-width: 300px;
    margin-top: 100px;
    margin-bottom: 40px;
}
.social-section .discord-disk .a-btn {
    margin-top: 40px;
}

/* ----- ARRRmada section ----- */
.arrrmada-section,
.medium-section {
    background: rgb(42, 42, 71);
}
.arrrmada-section {
    padding-top: 195px;
    padding-bottom: 90px;
}
.arrrmada-section .content {
    text-align: center;
}
.arrrmada-section h2 {
    margin-bottom: 50px;
    font-size: clamp(2rem, 3vw, 3rem);
}
.arrrmada-section .project-box {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    padding: 30px;
    color: var(--pirate-cloud);
    border: 6px solid #282838;
    background-color: var(--pirate-deepblue);
    border-radius: 5px;
    box-shadow: 0px 10px 20px -3px rgba(2,2,2,0.47);
    transition: border-color .3s ease, transform .3s ease;
}
.arrrmada-section .project-box:hover {
    border-color: var(--pirate-doubloon);
    transform: translateY(-4px);
}
.arrrmada-section .project-box p {
    margin-top: 20px;
}
.arrrmada-section .project-logo {
    height: 90px;
    width: 100%;
}
.arrrmada-section .project-box img {
    max-height: 90px;
    max-width: 100%;
    object-fit: contain;
}

/* ----- community source section ----- */
.open-source-section {
    padding: 105px 0 120px;
    text-align: center;
}
.open-source-section .content {
    max-width: 850px;
}
.open-source-section h2 {
    margin-bottom: 24px;
    color: var(--pirate-cloud);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}
.community-heart {
    display: inline-block;
    width: 1em;
    height: .84em;
    fill: var(--pirate-neon);
    vertical-align: -.08em;
}
.open-source-section p {
    color: var(--text-main);
    font-size: 18px;
    line-height: 28px;
}
.open-source-section .a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}
.open-source-section .a-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

/* ----- boxes animation ----- */
.boxes div {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid #fff
}
.boxes div:nth-child(1) {
    top: 70%;
    left: 10%;
    animation: box-animate 10s infinite
}
.boxes div:nth-child(2) {
    top: 20%;
    left: 80%;
    animation: box-animate 9s infinite
}
.boxes div:nth-child(3) {
    top: 50%;
    left: 50%;
    animation: box-animate 6s infinite
}
.boxes div:nth-child(4) {
    top: 80%;
    left: 60%;
    animation: box-animate 15s infinite
}
.boxes div:nth-child(5) {
    top: 30%;
    left: 30%;
    animation: box-animate 9s infinite
}
.boxes div:nth-child(6) {
    top: 90%;
    left: 90%;
    animation: box-animate 12s infinite
}
.boxes div:nth-child(7) {
    top: 80%;
    left: 30%;
    animation: box-animate 2s infinite
}
.boxes div:nth-child(8) {
    top: 40%;
    left: 20%;
    animation: box-animate 2s infinite
}
.boxes div:nth-child(9) {
    top: 50%;
    left: 80%;
    animation: box-animate 2s infinite
}
@keyframes box-animate {
    0% {
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1
    }
    100% {
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0
    }
}
@media screen and (max-width:640px) {
    .boxes {
       display: none;           
    }
}

/* ----- medium-section ----- */
.medium-section {
    padding-top: 65px;
    padding-bottom: 130px;
}
.update {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.update a {
    color: var(--pirate-cloud);
}
.update-article {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}
.update-fallback {
    grid-column: 1 / -1;
    text-align: center;
}
.update-fallback a {
    color: var(--pirate-doubloon);
    text-decoration: underline;
}
.update h2 {
    margin-top: 10px;
    margin-bottom: 60px;
    text-align: center;    
}
.update-post {
    width: 100%;
    box-shadow: 9px 9px 20px 0px rgba(0, 0, 0, 0.4);
    border: 10px solid #2b2f3e;
    border-radius: 5px;
    background-color: #1b1b2b;
    overflow: hidden;
    transition: border-color .3s ease, transform .3s ease;
}
.update-post:hover {
    border-color: var(--pirate-doubloon);
    transform: translateY(-4px);
}
.update-post > a {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.update-img {
    display: block;
    width: 100%;
    height: auto;
}
.update-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}
.update-preview {
    font-size: 0.95rem;
    font-weight: 300;
}
.update-title {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--pirate-doubloon);
}
.update-intro {
    margin-top: 20px;
    line-height: 1.5;
}
.update-read-more {
    align-self: flex-start;
    margin-top: 16px;
    padding: 2px 10px;
    border: 1px solid var(--pirate-neon);
    border-radius: 3px;
    color: var(--pirate-neon);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}
.update-date {
    display: block;
    margin-bottom: 14px;
    color: var(--pirate-cloud);
    font-size: 0.85rem;
}
@media screen and (max-width: 900px) {
    .update-article {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 620px) {
    .arrrmada-section {
        padding-top: 150px;
    }
    .medium-section {
        padding-top: 65px;
        padding-bottom: 90px;
    }
    .update-article {
        grid-template-columns: 1fr;
    }
}
