/* Core Structural Configurations & Box Elements Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('background_new.png');
    background-size: cover;
    background-position: center 35%; /* Centers the wall and sun beautifully */
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* Force browser to keep anime environment background clean and sharp */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Atmospheric dark vignette cast filter layer over the background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Simulated particle overlay to evoke glowing embers texture */
.embers-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(235, 130, 43, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
}

/* Centralized Component Core Alignment Block */
.container {
    width: 100%;
    max-width: 520px;
    text-align: center;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Rounded-Square Avatar Framing Panel */
.logo-card {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pirata One Gothic Title Style - Now in Gold! */
.main-title {
    font-family: 'Pirata One', cursive;
    font-size: 3.4rem; /* Scaled up slightly because gothic fonts render narrower */
    font-weight: 400;
    color: #dfba6b; /* Changed from white to premium gold */
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.95), 0px 0px 15px rgba(223, 186, 107, 0.2);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

/* Tailored Metallic Gradient Horizontal Graphic Line */
.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin: 12px 0;
}

.title-divider::before, .title-divider::after {
    content: '';
    height: 2px;
    flex: 1;
    background: linear-gradient(to right, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0));
}

.shield-icon {
    font-size: 1.1rem;
    margin: 0 10px;
    color: #dfba6b;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Golden Pirata One Tagline Style */
.tagline {
    font-family: 'Pirata One', cursive;
    font-size: 1.4rem;
    color: #dfba6b;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 32px;
    letter-spacing: 1.5px;
}

/* Buttons Stack Column Controls */
.links-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* Base Frosted Dark Glassmorphism Button Specifications */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: rgba(10, 10, 10, 0.85);
    border-radius: 12px;
    text-decoration: none;
    
    /* Font style updated to Pirata One Gothic */
    font-family: 'Pirata One', cursive;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    
    /* Text color set to premium gold */
    color: #dfba6b; 
    
    /* Clean text shadow to make the letters readable */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-left {
    display: flex;
    align-items: center;
}

.btn-icon {
    font-size: 1.6rem;
    width: 35px;
    text-align: center;
}

.btn-divider {
    width: 1px;
    height: 26px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 20px;
}

.btn-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.arrow-icon {
    font-size: 1rem;
    color: #dfba6b; /* Makes the arrow icons gold */
    transition: transform 0.2s ease;
}

/* Platform Specific Neon-Emissive Borders & Interactive Hover States */

/* Discord Specific Tone Styles */
.discord-btn {
    border: 2px solid #5865F2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(88, 101, 242, 0.3), 0 0 10px rgba(88, 101, 242, 0.4);
}
.discord-btn .btn-icon { color: #5865F2; }
.discord-btn:hover {
    transform: scale(1.03); /* Soft Zoom In Effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(88, 101, 242, 0.5), 0 0 20px rgba(88, 101, 242, 0.8);
}

/* TikTok Specific Tone Styles */
.tiktok-btn {
    border: 2px solid #fe2c55;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(254, 44, 85, 0.3), 0 0 10px rgba(254, 44, 85, 0.4);
}
.tiktok-btn .btn-icon { color: #fe2c55; }
.tiktok-btn:hover {
    transform: scale(1.03); /* Soft Zoom In Effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(254, 44, 85, 0.5), 0 0 20px rgba(254, 44, 85, 0.8);
}

/* YouTube Specific Tone Styles */
.youtube-btn {
    border: 2px solid #FF0000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.3), 0 0 10px rgba(255, 0, 0, 0.4);
}
.youtube-btn .btn-icon { color: #FF0000; }
.youtube-btn:hover {
    transform: scale(1.03); /* Soft Zoom In Effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Subtle Interactive Arrow Right Animation Shift */
.nav-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer Section Visual Elements formatting */
.footer-decor {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emblem-wrapper {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #dfba6b;
}

.footer-divider-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin-bottom: 14px;
}

.footer-divider-lines .line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, rgba(212,175,55,0), rgba(212,175,55,0.7), rgba(212,175,55,0));
}

.footer-text {
    font-family: 'Pirata One', cursive;
    font-size: 1.1rem;
    color: #dfba6b;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Seamless Mobile Breakpoints Handling rules */
@media (max-width: 400px) {
    .main-title {
        font-size: 2.6rem;
    }
    .nav-btn {
        padding: 14px 18px;
        font-size: 1.1rem;
    }
    .btn-divider {
        margin: 0 12px;
    }
}