<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Base44 Specialist Tribute</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- The Main Hologram Card Container -->
<div class="base44-card" id="tributeCard">
<!-- Spinning Neon Background Element (Handled in CSS) -->
<div class="card-border-glow"></div>
<!-- Card Content -->
<div class="card-content">
<div class="badge">Official Recognition</div>
<!-- The Glitch Title -->
<h1 class="specialist-title" data-text="THE SPECIALIST">THE SPECIALIST</h1>
<!-- The Merch Quotes -->
<div class="quote-primary">
"You built it, you earned it, now show it off to the world."
</div>
<div class="mindset-box">
<span class="highlight">BASE 44 MINDSET:</span><br>
It ends with a thought and becomes a system designed by you, built your own way.
</div>
<!-- The Interactive Button -->
<button class="mindset-btn" onclick="activateMindset(this)">
Initialize System
</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
/* Base Dark Terminal Environment */
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #030305; /* Deep, almost black space */
font-family: 'Courier New', Courier, monospace;
overflow: hidden;
}
/* The Main Card Setup */
.base44-card {
position: relative;
width: 400px;
height: auto;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
/* This overflow is key: it hides the spinning neon outside the card */
overflow: hidden;
}
/*
The Spinning Neon Border Magic
We create a large rectangle behind the content and spin it!
*/
.base44-card::before {
content: '';
position: absolute;
width: 150%;
height: 150%;
background: conic-gradient(
transparent, transparent, transparent, #00f0ff, #7000ff, transparent
);
animation: spin-border 4s linear infinite;
}
@keyframes spin-border {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* The Dark Plate sitting on top of the spinning light */
.card-content {
position: relative;
z-index: 10;
background: #0a0a0f;
width: calc(100% - 6px); /* Leaves a 3px gap for the glowing border to show */
height: calc(100% - 6px);
border-radius: 8px;
padding: 40px 30px;
box-sizing: border-box;
text-align: center;
}
/* Typography Styling */
.badge {
color: #00f0ff;
font-size: 0.8rem;
letter-spacing: 4px;
text-transform: uppercase;
margin-bottom: 20px;
}
.specialist-title {
color: #fff;
font-size: 2.5rem;
margin: 0 0 20px 0;
position: relative;
font-weight: 900;
letter-spacing: 2px;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
/* The Glitch Effect on the Title */
.specialist-title::before,
.specialist-title::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #0a0a0f;
}
.specialist-title::before {
left: 2px;
text-shadow: -1px 0 #00f0ff;
animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.specialist-title::after {
left: -2px;
text-shadow: -1px 0 #7000ff;
animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
@keyframes glitch-anim-1 {
0% { clip-path: inset(20% 0 80% 0); }
20% { clip-path: inset(60% 0 10% 0); }
40% { clip-path: inset(40% 0 50% 0); }
60% { clip-path: inset(80% 0 5% 0); }
80% { clip-path: inset(10% 0 70% 0); }
100% { clip-path: inset(30% 0 50% 0); }
}
@keyframes glitch-anim-2 {
0% { clip-path: inset(10% 0 60% 0); }
20% { clip-path: inset(30% 0 20% 0); }
40% { clip-path: inset(70% 0 10% 0); }
60% { clip-path: inset(20% 0 50% 0); }
80% { clip-path: inset(90% 0 5% 0); }
100% { clip-path: inset(40% 0 30% 0); }
}
/* Quote Layouts */
.quote-primary {
color: #e0e0e0;
font-style: italic;
font-size: 1rem;
line-height: 1.5;
margin-bottom: 25px;
border-left: 3px solid #7000ff;
padding-left: 15px;
text-align: left;
}
.mindset-box {
background: rgba(0, 240, 255, 0.05);
border: 1px dashed rgba(0, 240, 255, 0.3);
padding: 15px;
color: #a0a0b0;
font-size: 0.85rem;
line-height: 1.6;
margin-bottom: 30px;
border-radius: 5px;
}
.mindset-box .highlight {
color: #00f0ff;
font-weight: bold;
letter-spacing: 1px;
}
/* Button Styling */
.mindset-btn {
background: transparent;
color: #fff;
border: 1px solid #fff;
padding: 12px 25px;
font-family: inherit;
font-size: 1rem;
cursor: pointer;
letter-spacing: 2px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
z-index: 20;
}
.mindset-btn:hover {
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
/* Classes added by Javascript when clicked */
.activated-card {
box-shadow: 0 0 50px rgba(0, 240, 255, 0.4);
}
// The function takes the button element as 'btn'
function activateMindset(btn) {
// 1. Immediately change the button text to show action
btn.innerHTML = "PROCESSING DATA...";
// 2. Change the button's style instantly
btn.style.color = "#00f0ff";
btn.style.borderColor = "#00f0ff";
// 3. Grab the whole card by its ID and add a new glowing class to it
let card = document.getElementById("tributeCard");
card.classList.add("activated-card");
// 4. Set a timer to finalize the sequence after 2.5 seconds (2500ms)
setTimeout(function() {
// The final state of the button
btn.innerHTML = "SYSTEM DESIGNED BY YOU";
btn.style.background = "#00f0ff";
btn.style.color = "#000";
btn.style.boxShadow = "0 0 20px rgba(0, 240, 255, 0.8)";
btn.style.fontWeight = "bold";
}, 2500);
}
No comments yet. Be the first!