@charset "utf-8";

/* ==========================================================================
   1. GLOBAL RESETS & SYSTEM INITIALIZATION
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
}
fieldset, img, input {
    background: none;
    border: 0 none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}
input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
}
ol, ul, li {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    background: #060B19;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 12px;
    width: 100%;
    min-width: 1000px;
    position: relative;
    overflow-y: auto;
}
a, a:link, a:visited {
    background: transparent;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    color: inherit;
}
.poa { position: absolute; }
.por { position: relative; }
.pof { position: fixed; }
.fl { float: left; }
.fr { float: right; }

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
}
.clearfix { zoom: 1; }

/* ==========================================================================
   2. VIEWPORT BLOCKS & STRUCTURAL CONTAINER SECTIONS
   ========================================================================== */
.box {
    width: 100%;
    min-width: 1000px;
}
.wrap {
    min-height: 900px;
    position: relative;
}
.wrap_main {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.wrap1 { background: url("../Assets/Backgrounds/image.png") no-repeat top center; background-size: cover; }
.wrap2 { background: url("../Assets/Backgrounds/bg1.png") no-repeat top center; background-size: cover; }
.wrap3 { background: url("../Assets/Backgrounds/image3.png") no-repeat top center; background-size: cover; }
.wrap4 { background: url("../Assets/Backgrounds/image4.png") no-repeat top center; background-size: cover; }

/* ==========================================================================
   3. PERSISTENT GLOBAL HEADER NAVIGATION MENU
   ========================================================================== */
.header {
    width: 100%;
    top: 0;
    z-index: 999;
}
.header_main {
    width: 1000px;
    margin: 0 auto;
    height: 110px;
    position: relative;
    z-index: 2;
}
.header_bg {
    background: #27718c;
    opacity: 0.95;
    width: 100%;
    height: 110px;
    left: 0;
    top: 0;
    border-bottom: 3px solid #3A86FF;
}
.logo {
    display: block;
    float: left;
    width: 160px;
    height: 90px;
    margin-top: 10px;
    overflow: hidden;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nav {
    background: transparent; 
    overflow: visible;
}
.nav_item {
    line-height: 110px;
    float: left;
    text-align: center;
    width: 150px;
    position: relative; 
}
.nav_first_a {
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
}
.nav_item a:hover {
    color: #00F5D4; 
    text-shadow: 0 0 8px rgba(0, 245, 212, 0.6);
}

.nav_item_son {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    background: #0E172C;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-bottom: 2px solid #00F5D4;
    z-index: 99;
}
.nav_item:hover .nav_item_son {
    display: block;
}
.nav_item_son ul {
    padding: 10px 0;
}
.nav_item_son ul li {
    text-align: center;
    line-height: 36px;
}
.nav_item_son ul li a {
    color: #fff;
    font-size: 13px;
    display: block;
    transition: background 0.2s ease;
}
.nav_item_son ul li a:hover {
    background: rgba(0, 245, 212, 0.15);
    color: #00F5D4;
}

/* ==========================================================================
   4. ACCOUNT UTILITY MODULES
   ========================================================================== */
.header_log {
    height: 100%;
}
.log_div {
    line-height: 48px;
    height: 48px;
    background: #172442;
    border: 2px solid #3A86FF;
    color: #fff;
    text-align: center;
    margin: 31px 0 0 0;
    padding: 0 20px; 
    border-radius: 6px;
}
.log_div_before span {
    display: inline-block;
    cursor: pointer;
    padding: 0 5px;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.2s ease;
}
.log_div_before span:hover {
    color: #00F5D4;
}

/* ==========================================================================
   5. CENTRALIZED "PLAY GAME" ACTIONS GRID
   ========================================================================== */
.w1_m_con {
    width: 288px;   
    height: 98px;      
    margin: 0px auto 0 auto;  
    position: relative;
    z-index: 5;
}
.w1_m_bgn {
    margin-left: 0px;         
    float: none;        
    text-align: center;
}
.w1_m_bgn a.w1_b1 {
    display: block;
    width: 288px;
    height: 98px;
    background: url("") no-repeat center center;
    background-size: contain;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}
.w1_m_bgn a.w1_b1:hover {
    transform: scale(1.05);                        
    filter: drop-shadow(0px 0px 12px rgba(0, 245, 212, 0.8));
}

/* ==========================================================================
   6. SITE FOOTER (EXPANDED)
   ========================================================================== */
.box_footer {
    height: 160px;
    background: url() top center no-repeat;
    position: relative;
    clear: both;
}
.box_footer_h { 
    width: 1000px;
    margin: 0 auto;
    height: 160px;
    position: relative;
}
.box_footer_h dl {
    height: 160px;
    padding-top: 0px;
}
.box_footer_h dl dt {
    float: left;
    min-height: 160px;
    vertical-align: middle;
    width: 180px;
    position: relative;
}
.box_footer_h dl dt img {
    height: 110px;
    width: 145px;
    margin-top: 0px;
}
.box_footer_h dl dd {
    float: left;
    padding: 20px 15px;
    line-height: 22px;
    width: 770px;
    font-size: 13px;
    color: #000000;
    position: relative;
}

.footer {
    position: relative;
    background: #000;
    width: 100%;
    border-top: 3px solid #3A86FF;
    clear: both;
    margin-top: 0px;
}
.footer_main {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    color: #a2a2a2;
    padding: 15px 0;
    font-family: Arial, sans-serif;
    position: relative;
    height: 130px;
    text-align: center;
}
.footer_left, .footer_right, .center_border {
    display: inline-block;
    vertical-align: middle;
}
.center_border {
    width: 1px;
    height: 100px;
    margin-right: 3px;
}
.footer_left {
    width: 376px;
}
.footer_left img {
    margin: 0 40px 0 0;
    float: right;
}
.footer_right {
    text-align: left;
}
/* Register the custom font */
@font-face {
    font-family: 'OnePieceFont';
    src: url('../Assets/fonts/one_piece_font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   7. PARCHMENT NOTICE BOARD (WRAP 2)
   ========================================================================== */
.home_notice_board {
    position: absolute;
    top: 20px;
    right: -200px;        
    width: 600px !important;  
    height: 800px !important;  
    background: url('../Assets/Backgrounds/paper.png') no-repeat center center !important;
    background-size: 100% 100% !important;
    padding: 250px 40px 10px 40px; /* Top padding pushes text below emblem; Left/Right padding centers text block */
    box-sizing: border-box;
    z-index: 10;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
}

.notice_board_header {
    text-align: center;
    border-bottom: 2px solid #5a3d28;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.notice_board_header h3 {
    font-size: 22px;
    font-weight: bold;
    color: #2b1700; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'OnePieceFont', serif !important;
}

.notice_board_body {
    color: #2b1700; 
    font-size: 20px;          /* Slightly larger, more readable font size */
    line-height: 22px;        /* Better line spacing */
    max-height: 440px;
    overflow-y: auto;
    padding-right: 10px;
    font-family: 'OnePieceFont', serif !important;
}

.notice_lead {
    margin-bottom: 14px;
}

.notice_section {
    margin-bottom: 14px;
}

.notice_section h4 {
    font-size: 21px;
    color: #42240b;
    font-weight: bold;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'OnePieceFont', serif !important;
}

.notice_section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.notice_section ul li {
    margin-bottom: 5px;
    color: #2b1700;
}

.notice_highlight {
    margin-top: 8px;
    color: #633200;
    font-size: 19.5px;
}

.notice_footer_text {
    margin-top: 18px;
    font-weight: bold;
    color: #2b1700;
    text-align: center;
    font-size: 20px;
    font-style: italic;
    font-family: 'OnePieceFont', serif !important;
}

/* ==========================================================================
   8. UNDER CONSTRUCTION MODAL POPUP
   ========================================================================== */
.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_box {
    width: 500px;
    background: #0E172C;
    border: 2px solid #3A86FF;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-family: 'OnePieceFont', serif !important;
}

.modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #172442;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal_header h3 {
    color: #00F5D4;
    font-size: 26px;
    text-transform: uppercase;
}

.modal_close {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    font-weight: bold;
}

.modal_close:hover {
    color: #00F5D4;
}

.modal_body {
    color: #fff;
    font-size: 24px;
    line-height: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.modal_footer {
    text-align: center;
}

.modal_btn {
    background: #3A86FF;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-family: 'OnePieceFont', serif;
    font-size: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal_btn:hover {
    background: #00F5D4;
    color: #000;
}
.modal_box2 {
    width: 500px;
    background: #0E172C;
    border: 2px solid #3A86FF;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
/* ==========================================================================
   OCEAN PLAY NOW BUTTON
   ========================================================================== */
.ocean_play_btn_container {
    position: absolute;
    top: 700px; /* Adjust this value up or down to place it vertically in the water */
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
}

.ocean_play_btn {
    display: inline-block;
    background: linear-gradient(to bottom, #3A86FF, #172442);
    color: #FFFFFF;
    font-family: 'OnePieceFont', serif;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 45px;
    border: 3px solid #00F5D4;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(58, 134, 255, 0.6);
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.ocean_play_btn:hover {
    background: linear-gradient(to bottom, #00F5D4, #3A86FF);
    color: #060B19;
    transform: translateX(-5%) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 245, 212, 0.9);
}