/* CSS Reset & Basic Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Comic Neue', cursive, sans-serif;
    color: white;
    background-color: #000;
}

/* Background Video */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Enter Screen Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.5s ease;
}

/* Meme-style chunky buttons */
.chunky-btn {
    font-family: 'Chewy', cursive, sans-serif;
    background-color: #FFD700;
    color: #000;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 15px 40px;
    font-size: 2rem;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #000;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.chunky-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.chunky-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #000;
}

/* Main Content Container */
#main-ui {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ui-hidden {
    opacity: 0;
    visibility: hidden;
}

.content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Header styling */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-family: 'Chewy', cursive, sans-serif;
    font-size: 4.5rem;
    color: #fff;
    -webkit-text-stroke: 3px #000;
    text-shadow: 4px 4px 0 #000;
    letter-spacing: 2px;
}

.ticker {
    font-family: 'Chewy', cursive, sans-serif;
    font-size: 3rem;
    color: #00FFFF;
    -webkit-text-stroke: 2px #000;
    text-shadow: 3px 3px 0 #000;
    margin-top: -10px;
}

/* Thesis Content Box */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
}

.thesis-box {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid #000;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 8px 8px 0 rgba(0,0,0,1);
    backdrop-filter: blur(4px);
}

.thesis-box p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #000;
    font-weight: 700;
}

.thesis-box p:last-child {
    margin-bottom: 0;
}

/* Thesis Updates */
.thesis-intro {
    font-size: 2.2rem !important;
    font-family: 'Chewy', cursive, sans-serif;
    color: #FFD700;
    -webkit-text-stroke: 1.5px #000;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 25px !important;
    text-transform: uppercase;
}

.manifesto-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    display: inline-block;
}

.manifesto-list li {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    text-shadow: 2px 2px 0 #000;
}

.manifesto-list li::before {
    content: "►";
    position: absolute;
    left: 0;
    color: #FF4500;
    font-size: 1.2rem;
    top: 5px;
}

.highlight {
    font-size: 1.8rem !important;
    font-family: 'Chewy', cursive, sans-serif;
    -webkit-text-stroke: 1px #000;
}

.text-red {
    color: #FF4500;
}

.text-yellow {
    color: #FFD700;
}

/* Action Box (CA + Links) */
.action-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contract Address */
.contract-box {
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #000;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 6px 6px 0 #000;
    color: #000;
}

.ca-label {
    font-family: 'Chewy', cursive, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ca-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eee;
    border: 3px solid #000;
    border-radius: 10px;
    padding: 5px;
}

#contract-address {
    font-family: monospace;
    font-size: 1.2rem;
    padding: 0 10px;
    word-break: break-all;
    font-weight: bold;
}

.small-btn {
    padding: 8px 15px;
    font-size: 1.2rem;
    border-width: 3px;
    border-radius: 8px;
    box-shadow: 3px 3px 0px #000;
}

/* Links */
.links-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.link-btn {
    flex: 1;
    min-width: 150px;
    background-color: #00FFFF;
    font-size: 1.5rem;
    padding: 10px 20px;
}

.link-btn:nth-child(2) {
    background-color: #FF69B4;
}

.link-btn:nth-child(3) {
    background-color: #32CD32;
}

/* Floating Controls */
.floating-controls {
    position: fixed;
    bottom: 30px;
    display: flex;
    gap: 15px;
    z-index: 50;
}

.floating-controls.left {
    left: 30px;
}

.floating-controls.right {
    right: 30px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFD700;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 #000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.control-btn:hover {
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
    box-shadow: 0px 0px 0 #000;
}

.control-btn svg {
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title { font-size: 3rem; }
    .ticker { font-size: 2rem; }
    .thesis-box p { font-size: 1.2rem; }
    .thesis-intro { font-size: 1.8rem !important; }
    .manifesto-list li { font-size: 1.3rem; }
    .highlight { font-size: 1.4rem !important; }
    .ca-container { flex-direction: column; gap: 10px; }
    #contract-address { text-align: center; font-size: 1rem; }
    .small-btn { width: 100%; }
    .floating-controls { bottom: 20px; }
    .floating-controls.left { left: 20px; }
    .floating-controls.right { right: 20px; }
    .control-btn { width: 50px; height: 50px; }
}
