/* Import Merriweather font */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background-color: #212121;
    color: white;
    font-weight: 300;
    line-height: 1.6;
}

#presentation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.slide {
    background-color: #333333;
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-container {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
}

h1, h2 {
    color: #FF9900;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
    font-weight: 900;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* Intro slide styles */
.intro-slide {
    background-color: #333333;
    min-height: 600px;
    height: 85vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.intro-slide .top-section {
    text-align: center;
    margin-bottom: 20px;
}

.intro-slide h1 {
    color: #fffffe;
    font-size: 2.5rem;
    margin-bottom: 5px;
    padding-bottom: 5px;
    font-weight: 900;
    display: inline-block;
    border-bottom: 2px solid #FF9900;
}

.intro-slide h2 {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin-top: 1px;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #FF9900;
}

.intro-slide .middle-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.intro-slide .central-image {
    max-width: 80%;
    max-height: 50vh;
    object-fit: contain;
    border: 2px solid white;
}

.intro-slide .bottom-section {
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.intro-slide .tagline {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 5px;
    padding-top: 20px;
    border-bottom: 2px solid #FF9900;
}

.intro-slide .company-logo {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.intro-slide .company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Text slide styles */
.text-slide {
    background-color: #212121;
    color: white;
    padding: 2rem;
}

.text-slide h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #FF9900;
    font-weight: 900;
}

.text-slide .content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.text-slide .section {
    background-color: #333333;
    padding: 1rem;
    border-radius: 8px;
}

.text-slide h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #FF9900;
    font-weight: 700;
}

.text-slide ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.3rem;
}

.text-slide li {
    margin-bottom: 0.2rem;
    font-weight: 300;
    font-size: 15px;
}

/* Bitcoin strategy slide styles */
.bitcoin-strategy-slide {
    position: relative;
    height: 100vh;
    padding: 2vh;
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bitcoin-strategy-slide .slide-content {
    width: 95%;
    height: 95%;
    border: 0.15em solid #333333;
    border-radius: 0.6em;
    padding: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bitcoin-strategy-slide h2 {
    color: white;
    text-align: center;
    margin-bottom: 2vh;
    font-size: 2.2em;
    font-weight: 900;
}

.strategy-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-grow: 1;
}

.strategy-boxes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.strategy-box {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5vh;
    margin-bottom: 1vh;
    border-radius: 0.3em;
    max-height: 25vh;
}

.red-box { background-color: #FF6B6B; }
.gray-box { background-color: #A0A0A0; }
.teal-box { background-color: #4ECDC4; }

.strategy-box p {
    color: black;
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.2em;
}

.plus-sign {
    color: white;
    font-size: 1.5em;
    text-align: center;
    margin: 0.5vh 0;
    font-weight: 400;
}

.outcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 35%;
}

.metaplanet-symbol {
    width: 6em;
    height: 6em;
    margin-bottom: 2vh;
}

.metaplanet-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.intended-outcome h3 {
    color: white;
    text-decoration: underline;
    margin-bottom: 1vh;
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
}

.intended-outcome p {
    color: white;
    text-align: center;
    font-size: 1.2em;
    font-weight: 400;
}

.page-number {
    position: absolute;
    bottom: 2vh;
    right: 2vh;
    color: white;
    font-size: 1em;
    font-weight: 300;
}

.metaplanet-logo-corner {
    display: none;
}

#react-widgets {
    background-color: #212121;
    padding: 20px 0;
}

/* Info boxes styles */
.boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-box {
    background-color: #333333;
    border-radius: 10px;
    padding: 15px;
    width: calc(25% - 20px);
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

.info-box h3 {
    color: #FF9900;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-box p {
    color: white;
    font-size: 1.5em;
    font-weight: 400;
}

/* Citation styles */
.citation {
    font-size: 0.7em;
    vertical-align: super;
    cursor: pointer;
    color: #FF9900;
}

.citations-container {
    margin-top: 20px;
    text-align: left;
}

.citations-toggle {
    background-color: #FF9900;
    color: #333333;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.citations-content {
    display: none;
    background-color: #333333;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.citation-text {
    font-size: 0.8em;
    color: #CCCCCC;
    margin: 5px 0;
}

.citation-link {
    color: #FF9900;
    text-decoration: none;
}

.citation-link:hover {
    text-decoration: underline;
}

.update-info {
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    color: #888;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .intro-slide h1 {
        font-size: 2rem;
    }
    .intro-slide h2 {
        font-size: 1.5rem;
    }
    .intro-slide .tagline {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .info-box {
        width: calc(50% - 20px);
    }
    .intro-slide h1 {
        font-size: 1.8rem;
    }
    .intro-slide h2 {
        font-size: 1.3rem;
    }
    .intro-slide .tagline {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .info-box {
        width: 100%;
    }
    .intro-slide h1 {
        font-size: 1.5rem;
    }
    .intro-slide h2 {
        font-size: 1.1rem;
    }
    .intro-slide .tagline {
        font-size: 0.9rem;
    }
}

/* Disclaimer Styling */
.disclaimer {
    background-color: #333333;
    color: white;
    font-size: 0.9em !important; /* Force smaller font size for the entire disclaimer */
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* Apply same font size to all text and links inside disclaimer */
.disclaimer p,
.disclaimer a {
    font-size: 0.9em !important;
}

.disclaimer a {
    color: #FF9900;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .disclaimer p,
    .disclaimer a {
        font-size: 0.6em !important; /* Adjust for mobile screens, including links */
    }
}

.dropdown-slide .dropdown-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    flex-wrap: wrap;
}

.dropdown-slide .dropdown-header h2 {
    margin-right: 10px;
    flex: 1;
}

.dropdown-slide .dropdown-indicator {
    display: flex;
    align-items: center;
    color: #FF9900;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-slide .dropdown-text {
    margin-right: 5px;
}

.dropdown-slide .dropdown-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.dropdown-slide .dropdown-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.dropdown-slide .dropdown-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Ensure the content inside the dropdown maintains its styling */
.dropdown-slide .content {
    padding-top: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .dropdown-slide .dropdown-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-slide .dropdown-header h2 {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .dropdown-slide .dropdown-indicator {
        align-self: flex-end;
    }
}

.whitepaper-container {
    margin-top: 20px;
    text-align: left;
}

.whitepaper-toggle {
    background-color: #FF9900;
    color: #333333;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.whitepaper-content {
    display: none;
    background-color: #333333;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.whitepaper-text {
    font-size: 0.8em;
    color: #CCCCCC;
    margin: 5px 0;
}

.whitepaper-link {
    color: #FF9900;
    text-decoration: none;
}

.whitepaper-link:hover {
    text-decoration: underline;
}

.language-switch {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.language-switch button {
    background-color: #FF9900;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* Navbar styles */
nav {
    background-color: var(--background-color);
    padding: 10px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}

nav ul li a.active {
    border-bottom: 2px solid var(--highlight-color);
}
