* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Helvetica Neue', Arial, sans-serif;
background: #000;
color: #fff;
min-height: 100vh;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
padding: 40px 20px;
}

.container {
max-width: 900px;
margin: 0 auto;
}

.header {
text-align: center;
margin-bottom: 50px;
}

.header h1 {
font-size: 2.5rem;
font-weight: 900;
letter-spacing: 3px;
margin-bottom: 10px;
text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.header p {
font-size: 1rem;
color: #aaa;
letter-spacing: 2px;
text-transform: uppercase;
}

.back-link {
display: inline-block;
margin-bottom: 30px;
color: #667eea;
text-decoration: none;
font-size: 1rem;
transition: all 0.3s ease;
}

.back-link:hover {
color: #764ba2;
transform: translateX(-5px);
}

.news-section {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 30px;
margin-bottom: 50px;
}

.news-section h2 {
font-size: 1.8rem;
margin-bottom: 20px;
color: #667eea;
letter-spacing: 2px;
}

.news-item {
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.news-date {
font-size: 0.85rem;
color: #888;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
}

.news-item h3 {
font-size: 1.4rem;
margin-bottom: 12px;
color: #fff;
}

.news-item p {
line-height: 1.6;
color: #ccc;
font-size: 1rem;
}

.news-image {
max-width: 500px;
width: 100%;
height: auto;
margin: 20px auto;
display: block;
border-radius: 8px;
}

.news-links-row {
white-space: nowrap;
overflow-x: auto;
}

.news-item a.inline-link {
color: #667eea;
text-decoration: underline;
}

.vault-section {
margin-bottom: 50px;
}

.vault-section h2 {
font-size: 2.5rem;
font-weight: 900;
text-align: center;
margin-bottom: 10px;
letter-spacing: 3px;
text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.vault-section > p {
font-size: 1rem;
color: #aaa;
letter-spacing: 2px;
text-transform: uppercase;
text-align: center;
margin-bottom: 30px;
}

.vault-grid {
display: flex;
flex-direction: column;
gap: 20px;
max-width: 700px;
margin: 0 auto;
}

.vault-card {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 30px;
text-align: center;
text-decoration: none;
color: #fff;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.vault-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: left 0.3s ease;
z-index: -1;
}

.vault-card:hover {
transform: translateY(-5px);
border-color: rgba(102, 126, 234, 0.6);
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.vault-card:hover::before {
left: 0;
}

.vault-card:nth-child(1):hover::before {
background: linear-gradient(135deg, #777777 0%, #5a5a5a 50%, #333333 100%);
}

.vault-card:nth-child(2):hover::before {
background: linear-gradient(135deg, #FF0000 0%, #FF7F00 16.67%, #FFFF00 33.33%, #00FF00 50%, #0000FF 66.67%, #4B0082 83.33%, #9400D3 100%);
}

.vault-card:nth-child(3):hover::before {
background: linear-gradient(135deg, #FF0000 0%, #CC0000 50%, #8B0000 100%);
}

.vault-icon {
margin-bottom: 15px;
display: flex;
justify-content: center;
align-items: center;
}

.vault-icon img {
max-width: 100%;
height: auto;
max-height: 120px;
border-radius: 8px;
}

.vault-card h3 {
font-size: 1.3rem;
margin-bottom: 10px;
letter-spacing: 1px;
}

.vault-card p {
font-size: 0.9rem;
color: #aaa;
line-height: 1.4;
}

footer {
text-align: center;
color: #666;
font-size: 0.85rem;
margin-top: 60px;
padding-top: 20px;
padding-bottom: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
color: #667eea;
text-decoration: none;
transition: color 0.3s ease;
}

footer a:hover {
color: #764ba2;
}

footer p {
margin-bottom: 10px;
}

/* HACKING OVERLAY STYLES */
#hack-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 1s ease;
}

#hack-overlay.fade-out {
opacity: 0;
pointer-events: none;
}

#skip-btn {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(0, 255, 0, 0.6);
color: rgba(0, 255, 0, 0.8);
font-family: 'Courier New', monospace;
font-size: 14px;
padding: 10px 30px;
cursor: pointer;
letter-spacing: 3px;
transition: all 0.3s ease;
z-index: 10001;
}

#skip-btn:hover {
border-color: #00ff00;
color: #00ff00;
text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
background: rgba(0, 255, 0, 0.1);
}

.hack-container {
max-width: 900px;
text-align: center;
position: relative;
z-index: 1;
padding: 40px 20px;
}

.glitch-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
background:
repeating-linear-gradient(
0deg,
transparent,
transparent 3px,
rgba(255, 255, 0, 0.03) 3px,
rgba(255, 255, 0, 0.03) 6px
);
animation: cyber-scan 4s linear infinite;
}

@keyframes cyber-scan {
0% { transform: translateY(0); }
100% { transform: translateY(6px); }
}

.glitch-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 0%,
transparent 20%,
rgba(255, 255, 0, 0.8) 20%,
rgba(255, 255, 0, 0.8) 22%,
transparent 22%,
transparent 40%,
rgba(0, 255, 255, 0.8) 40%,
rgba(0, 255, 255, 0.8) 41%,
transparent 41%,
transparent 70%,
rgba(255, 0, 255, 0.6) 70%,
rgba(255, 0, 255, 0.6) 72%,
transparent 72%
);
opacity: 0;
animation: digital-bars 3s infinite;
mix-blend-mode: screen;
}

.glitch-bg.intense::before {
animation: digital-bars 0.5s infinite;
}

@keyframes digital-bars {
0%, 85%, 100% {
opacity: 0;
}
86% {
opacity: 1;
transform: translateX(-100px);
}
87% {
opacity: 0.8;
transform: translateX(50px);
}
88% {
opacity: 0.6;
transform: translateX(-20px);
}
89% {
opacity: 0;
}
}

.status-code {
font-size: 4rem;
font-weight: 900;
letter-spacing: 10px;
margin-bottom: 20px;
color: #fff;
position: relative;
text-shadow:
0 0 30px rgba(255, 255, 0, 0.5),
0 0 60px rgba(255, 255, 0, 0.3);
font-family: 'Courier New', monospace;
}

.status-code.glitch {
animation: cyberpunk-glitch 0.3s infinite;
}

.status-code.ultra-glitch {
animation: ultra-glitch 0.1s infinite;
}

@keyframes cyberpunk-glitch {
0%, 50%, 100% {
transform: translate(0);
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
25% {
transform: translate(-8px, 0);
clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
75% {
transform: translate(8px, 0);
clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}
}

@keyframes ultra-glitch {
0%, 30%, 100% {
transform: translate(0, 0) scale(1);
}
10% {
transform: translate(-15px, 5px) scale(1.05);
}
20% {
transform: translate(15px, -5px) scale(0.95);
}
}

.status-code::before {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #ffff00;
opacity: 0;
text-shadow: 0 0 30px rgba(255, 255, 0, 0.8);
}

.status-code.glitch::before,
.status-code.ultra-glitch::before {
animation: yellow-shift 0.3s infinite;
}

@keyframes yellow-shift {
0%, 50%, 100% {
opacity: 0;
left: 0;
}
25% {
opacity: 0.9;
left: -7px;
}
}

.status-code::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #00ffff;
opacity: 0;
text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.status-code.glitch::after,
.status-code.ultra-glitch::after {
animation: cyan-shift 0.3s infinite;
}

@keyframes cyan-shift {
0%, 50%, 100% {
opacity: 0;
left: 0;
}
25% {
opacity: 0.9;
left: 7px;
}
}

.hack-title {
font-size: 3rem;
font-weight: 900;
letter-spacing: 3px;
margin-bottom: 20px;
text-shadow:
2px 0 0 rgba(255, 255, 0, 0.5),
-2px 0 0 rgba(0, 255, 255, 0.5);
font-family: 'Courier New', monospace;
}

.hack-title.glitch {
animation: text-glitch 0.3s infinite;
}

@keyframes text-glitch {
0%, 50%, 100% {
transform: translate(0);
text-shadow:
2px 0 0 rgba(255, 255, 0, 0.5),
-2px 0 0 rgba(0, 255, 255, 0.5);
}
25% {
transform: translate(-3px, 0);
text-shadow:
5px 0 0 rgba(255, 255, 0, 0.8),
-5px 0 0 rgba(0, 255, 255, 0.8);
}
75% {
transform: translate(3px, 0);
text-shadow:
-5px 0 0 rgba(255, 255, 0, 0.8),
5px 0 0 rgba(0, 255, 255, 0.8);
}
}

.terminal-box {
background: rgba(0, 0, 0, 0.7);
border: 2px solid rgba(255, 255, 0, 0.5);
padding: 30px;
margin: 40px auto;
max-width: 700px;
height: 600px;
overflow: visible;
text-align: left;
font-family: 'Courier New', monospace;
box-shadow:
inset 0 0 30px rgba(255, 255, 0, 0.1),
0 0 30px rgba(255, 255, 0, 0.2);
clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
box-sizing: border-box;
}

.terminal-content {
}

.progress-bar-container {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(0, 255, 0, 0.3);
height: 25px;
margin: 5px 0 0 0;
position: relative;
overflow: hidden;
display: none;
}

.progress-divider {
height: 2px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 0, 0.8), transparent);
margin: 5px 0 10px 0;
box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
display: none;
}

.breach-container {
display: none;
margin: 5px 0;
text-align: center;
}

.progress-bar {
height: 100%;
background: linear-gradient(90deg, #00ff00, #00ff00, #00ff00);
width: 0%;
transition: width 0.3s ease;
position: relative;
box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.progress-bar::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg,
  transparent,
  rgba(255, 255, 255, 0.3),
  transparent
);
animation: progress-shine 1s infinite;
}

@keyframes progress-shine {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}

.progress-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-weight: bold;
font-size: 0.85rem;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
z-index: 1;
}

.data-stream {
color: #00ff00;
font-size: 0.8rem;
margin: 2px 0;
opacity: 0;
font-family: 'Courier New', monospace;
}

.data-stream.show {
opacity: 1;
animation: stream-in 0.3s ease;
}

@keyframes stream-in {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

.breach-status {
display: inline-block;
padding: 2.7px 10.8px;
border: 2px solid;
margin: 4.5px 4.5px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1.8px;
font-size: 0.9em;
}

.breach-status.pending {
border-color: #ffff00;
color: #ffff00;
animation: pulse-yellow 1s infinite;
}

.breach-status.active {
border-color: #00ffff;
color: #00ffff;
animation: pulse-cyan 0.5s infinite;
}

.breach-status.complete {
border-color: #00ff00;
color: #00ff00;
box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

@keyframes pulse-yellow {
0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(255, 255, 0, 0.5); }
50% { opacity: 0.6; box-shadow: 0 0 20px rgba(255, 255, 0, 0.8); }
}

@keyframes pulse-cyan {
0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
50% { opacity: 0.6; box-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
}

.terminal-line {
color: #00ff00;
margin-bottom: 5px;
line-height: 1.3;
font-size: 1rem;
opacity: 0;
}

.terminal-line.show {
opacity: 1;
animation: typing 0.5s;
}

@keyframes typing {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

.terminal-line.error {
color: #ff0000;
}

.terminal-line.warning {
color: #ffff00;
}

.terminal-line.success {
color: #00ff00;
}

.terminal-line.info {
color: #00ffff;
}

.cursor {
display: inline-block;
width: 10px;
height: 20px;
background: #00ff00;
margin-left: 5px;
animation: blink 1s infinite;
}

@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
body {
padding: 30px 15px;
}
.header h1 {
font-size: 2rem;
letter-spacing: 2px;
}
.header p {
font-size: 0.85rem;
}
.news-section {
padding: 20px;
}
.news-section h2 {
font-size: 1.5rem;
}
.news-item h3 {
font-size: 1.2rem;
}
.vault-section h2 {
font-size: 2rem;
}
.vault-grid {
grid-template-columns: 1fr;
}
.status-code {
font-size: 2.5rem;
letter-spacing: 5px;
}
.hack-title {
font-size: 2rem;
letter-spacing: 2px;
}
.terminal-box {
padding: 20px;
}
.terminal-line {
font-size: 0.9rem;
}
}

@media (max-width: 480px) {
.header h1 {
font-size: 1.75rem;
}
.news-section h2 {
font-size: 1.3rem;
}
.vault-card {
padding: 20px;
}
.status-code {
font-size: 1.5rem;
letter-spacing: 5px;
}
.hack-title {
font-size: 1.5rem;
}
}

/* Resolution check for 1080p desktop screens only */
@media (max-height: 1080px) and (min-width: 769px) {
.status-code {
font-size: 3rem;
letter-spacing: 8px;
margin-bottom: 15px;
}
.hack-title {
font-size: 2.2rem;
letter-spacing: 2px;
margin-bottom: 15px;
}
.terminal-box {
height: 510px;
padding: 20px;
margin: 30px auto;
}
.hack-container {
padding: 20px;
}
}

/* Mobile devices with limited vertical space */
@media (max-width: 768px) and (max-height: 900px) {
.status-code {
font-size: 1.3rem;
letter-spacing: 2px;
margin-bottom: 10px;
}
.hack-title {
font-size: 1.1rem;
letter-spacing: 1px;
margin-bottom: 10px;
}
.terminal-box {
height: 510px;
padding: 15px;
margin: 20px auto;
max-width: calc(100vw - 40px);
}
.terminal-line {
font-size: 0.85rem;
margin-bottom: 2px;
line-height: 1.2;
}
.data-stream {
font-size: 0.7rem;
}
.hack-container {
padding: 15px;
max-width: 100%;
}
}

