/*
Theme Name: My Links Theme
Description: A 50/50 split layout designed for link-in-bio profiles.
Author: Gemini
Version: 1.0
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #111;
}

/* Layout Container */
.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Base Styles for Both Sides */
.split-half {
    width: 50%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    padding: 3rem 2rem;
}

/* Dark Overlay for Text Readability */
.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust opacity here if needed */
    z-index: 1;
}

/* Content Wrapper (Sits above the overlay) */
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* -----------------------------
   LEFT SIDE: Logo & Links
----------------------------- */
.split-left {
    align-items: flex-start; /* Aligns content to the top */
}

.split-left .content-wrapper {
    align-items: center;
}

.logo-container {
    margin-bottom: 2rem;
    text-align: center;
}

.links-container {
    width: 100%;
    text-align: center;
}

/* -----------------------------
   RIGHT SIDE: Bio & QR Code
----------------------------- */
.split-right {
    align-items: flex-end; /* Aligns content to the bottom */
}

.split-right .content-wrapper {
    text-align: center;
}

.bio-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .split-half {
        width: 100%;
        min-height: 100vh; /* Make each half take up the full screen on mobile */
    }
}