/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --tetris-purple: #b565d8;
    --tetris-purple-dark: #8b4aa8;
    --tetris-teal: #4ecdc4;
    --tetris-teal-dark: #3ba39c;
    --tetris-black: #000000;
    --tetris-dark-bg: #1a1a2e;
    --tetris-darker-bg: #16213e;
    --tetris-gray: #2d2d2d;
    --tetris-light-gray: #4a4a4a;
}

/* Typography */
.pixel-font {
    font-family: 'Press Start 2P', monospace;
}

.main-font {
    font-family: 'Montserrat', sans-serif;
}

/* Base Styles */
body {
    background-color: var(--tetris-black);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

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

.hidden {
    /* display: none; */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--tetris-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    box-sizing: border-box;
}

.preloader-content {
    text-align: center;
}

.tetris-line {
    width: 300px;
    height: 30px;
    border: 2px solid var(--tetris-purple);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.tetris-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tetris-purple), var(--tetris-teal));
    animation: fill-line 3s ease-in-out;
}

@keyframes fill-line {
    0% { width: 0%; }
    80% { width: 100%; }
    90% { 
        width: 100%; 
        background: rgba(255, 255, 255, 0.9);
    }
    100% { 
        width: 0%; 
        background: rgba(255, 255, 255, 0.9);
    }
}

.loading-text {
    color: white;
    font-size: 12px;
    text-align: center;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('assets/main_screen_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.falling-tetromino-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/falling_tetromino_pattern.webp');
    background-size: 400px 400px;
    background-repeat: repeat;
    opacity: 0.3;
    animation: falling-blocks 20s linear infinite;
}

@keyframes falling-blocks {
    0% { background-position: 0 0; }
    100% { background-position: 0 400px; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content .tetris-button {
    opacity: 0;
    transform: translateY(30px);
}

.logo {
    width: 196px;
    height: 196px;
    margin-bottom: 32px;
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.hero-title {
    font-size: clamp(24px, 6vw, 64px);
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(181, 101, 216, 0.5);
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    color: #cccccc;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
}

.tetris-button {
    background: linear-gradient(45deg, var(--tetris-purple), var(--tetris-teal));
    border: none;
    color: white;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    padding: 16px 32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tetris-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(181, 101, 216, 0.4);
}

.tetris-button:active {
    transform: translateY(0);
}

/* Stats Section */
/* REMOVED: .tetromino-separator, .stats-section, .stats-panel and related styles */

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: rgba(17, 24, 39, 0.5);
    position: relative;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.tetromino-icon {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 64px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.tetromino-icon:hover {
    transform: rotate(90deg);
}

.content-appear {
    animation: appear 0.8s ease-out;
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: transparent;
}

.about-content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    text-align: justify;
}

.about-text p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.8;
}

.validator-address {
    background: rgba(22, 33, 62, 0.7);
    border: 2px solid var(--tetris-purple);
    padding: 16px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
}

.validator-address.left-align {
    text-align: left;
}

.validator-address.left-align > div {
    margin-bottom: 10px;
}

.address-label {
    font-size: 10px;
    color: var(--tetris-purple);
    display: block;
    margin-bottom: 8px;
}

.address-value {
    font-size: 12px;
    color: var(--tetris-teal);
    word-break: break-all;
}

/* Footer */
/* REMOVED: .footer, .dancing-humanoids, .social-links, .social-icon, .copyright, .built-with and related styles */

/* Animations */
.animate-logo {
    animation: logo-entrance 1s ease-out 0.5s forwards;
}

.animate-title {
    animation: slide-up 0.8s ease-out 0.8s forwards;
}

.animate-subtitle {
    animation: slide-up 0.8s ease-out 1.1s forwards;
}

.animate-button {
    animation: slide-up 0.8s ease-out 1.4s forwards;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tetris-button {
        font-size: 12px;
        padding: 12px 24px;
    }
    
    .hero-section {
        padding: 20px 0;
    }
    
    .logo {
        width: 140px;
        height: 140px;
    }
    .hero-content {
        margin-top: -64px;
    }
}

@media (max-width: 480px) {
    .tetromino-separator {
        height: 40px;
    }
    
    .stats-panel {
        padding: 16px;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .address-value {
        font-size: 10px;
    }
}

@media (max-width: 719px) {
    .container {
        padding: 0 16px !important;
    }
    .hero-section {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 0 !important;
    }
    .logo {
        width: 140px;
        height: 140px;
        margin-bottom: 16px;
    }
    .hero-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 16px;
        max-width: 95vw;
    }
    .tetris-button {
        font-size: 11px;
        padding: 10px 12px;
    }
    .about-content,
    .about-text {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        word-break: break-word;
    }
    .about-left,
    .about-right,
    .about-flex {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: visible !important;
    }
    .mini-tetris-container {
        padding-bottom: 0 !important;
    }
    #tetris-canvas {
        width: 100% !important;
        height: auto !important;
        min-width: 0;
        max-width: 100vw;
    }
    .staking-flex,
    .staking-right {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        overflow: visible !important;
    }
    .staking-right iframe {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
        height: 460px !important;
        display: block !important;
    }
    .wallet-buttons {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 48px !important;
        width: 100% !important;
        margin-bottom: 40px !important;
    }
    .wallet-buttons a {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    .footer-container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 0 8px;
        padding-left: 18px;
    }
    .footer-col {
        min-width: 0;
        width: 100%;
        margin-bottom: 16px;
        align-items: flex-start;
    }
    .footer-logo {
        width: 32px;
        height: 32px;
    }
    .footer-title {
        font-size: 1.1rem;
    }
    .footer-social-links {
        gap: 8px;
    }
    .footer-social-icon {
        width: 32px;
        height: 32px;
    }
    .footer-col-title {
        width: 24px;
        height: 24px;
    }
    .footer-links.main-font {
        font-size: 0.85rem;
    }
    .footer-news-form {
        flex-direction: row !important;
        gap: 8px !important;
        max-width: 100% !important;
    }
    .footer-news-form input[type="email"] {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    .footer-news-btn {
        margin-left: 0 !important;
    }
    .game-controls {
        display: none !important;
    }
    .tetris-joystick {
        position: static !important;
        margin-bottom: 16px !important;
        margin-top: 0 !important;
        justify-content: center !important;
        gap: 24px !important;
    }
    .hero-content {
        margin-top: -64px;
    }
}

/* Background Elements */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: -1;
}

.falling-blocks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1 !important;
}

/* Mini Tetris Game (from tetris-v11) */
.mini-tetris-container {
    position: relative;
    padding-bottom: 70px;
    margin: 32px auto 0 auto;
    max-width: 320px;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--tetris-purple);
    border-radius: 1rem;
    padding: 1.5rem 1rem 2rem 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    margin-top: 0;
    z-index: 10 !important;
}
.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
.game-score {
    font-size: 1.125rem;
    color: var(--tetris-teal);
    text-align: center;
    margin-bottom: 1rem;
}
.tetris-board-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
#tetris-canvas {
    border: 2px solid var(--tetris-purple);
    border-radius: 0.5rem;
    background: #1a1a1a;
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 11 !important;
}
#tetris-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}
.overlay-content {
    text-align: center;
}
.overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
}
.game-controls {
    background: none !important;
    box-shadow: none !important;
}
.game-controls span {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 2px;
    font-size: 1.3em;
    border-radius: 0 !important;
    display: inline;
    isolation: isolate;
}
.mini-tetris-buttons .tetris-button {
    margin: 0 8px;
    display: inline-block;
    opacity: 1 !important;
    transform: none !important;
}
.about-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 32px;
    flex-wrap: wrap;
}
.about-left {
    flex: 3 1 600px;
    min-width: 400px;
    max-width: 1200px;
}
.about-right {
    flex: 1 1 320px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
}
@media (max-width: 1100px) {
    .about-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .about-right {
        margin-top: 32px;
    }
}
.about-left .section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 32px;
}

/* Why Choose Tetris Validator? — styled like About */
.feature-title {
    font-size: 20px;
    font-weight: normal;
    color: white;
    margin-bottom: 12px;
    font-family: 'Press Start 2P', monospace;
}

.feature-description {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
    font-size: 16px;
}

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

.section-header .section-title {
    margin-bottom: 24px;
}

.metrics-section {
    padding: 64px 0 48px 0;
    text-align: center;
}
.metrics-section .section-title {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-items: center;
    align-items: center;
    margin-top: 48px;
    margin-bottom: 0;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 32px 24px 28px 24px;
    background: none;
    box-shadow: none;
    min-width: 180px;
}
.metric-value {
    font-size: 2.8rem;
    font-family: 'Press Start 2P', monospace;
    color: #b565d8;
    margin-bottom: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
.metric-label {
    font-size: 1.1rem;
    color: #cccccc;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    letter-spacing: 0.5px;
}
@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .metric-item {
        min-width: 140px;
        padding: 24px 10px 20px 10px;
    }
    .metric-value {
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .metrics-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
    }
    .metric-item {
        width: 100% !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    .metric-value {
        font-size: 1.4rem;
    }
}

.staking-section {
    padding: 4rem 0;
    background: rgba(17, 24, 39, 0.5);
    position: relative;
    z-index: 5;
    text-align: center;
}
.staking-section .section-title {
    margin-bottom: 0;
    text-align: center;
}

/* How to Stake Section */
.how-to-stake-section {
    flex: 1 1 0;
    max-width: 520px;
    min-width: 320px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.steps-grid {
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.step-item {
    text-align: center;
    background: rgba(22, 33, 62, 0.7);
    border: 2px solid var(--tetris-purple);
    border-radius: 12px;
    padding: 24px 16px 18px 16px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px rgba(181,101,216,0.10);
}
.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: block;
}
@media (max-width: 600px) {
    .step-item {
        padding: 16px 8px 12px 8px;
    }
    .step-icon {
        width: 36px;
        height: 36px;
    }
}

.step-number {
    width: 51px;
    height: 51px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 12px 16px 0;
    font-size: 1.76rem;
    font-family: 'Press Start 2P', monospace;
    color: #b565d8;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-number.purple {
    background: var(--tetris-purple);
    color: #fff;
}
.step-number.teal {
    background: var(--tetris-teal);
    color: #fff;
}

.step-number:hover {
    transform: scale(1.1) rotate(12deg);
}

.step-title {
    font-size: 20px;
    font-family: 'Press Start 2P', monospace;
    color: white;
    font-weight: normal;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.step-item:hover .step-title {
    color: var(--tetris-purple);
}

.step-description {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.step-item:hover .step-description {
    color: #e5e7eb;
}

.cta-container {
    text-align: center;
}

.staking-flex {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}
.steps-list {
    display: block;
}
.step-item {
    display: block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 0;
    margin-bottom: 24px;
    text-align: left;
    transition: none !important;
}
.step-item:hover {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    transform: none !important;
}
.how-to-stake-section {
    align-items: flex-start;
    text-align: left;
    margin-top: -12px;
}
.staking-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.staking-right iframe {
    width: 100%;
    min-width: 0;
    max-width: 600px;
    height: 420px;
    border: none;
    overflow: hidden;
    margin: 0 auto 0 auto;
    display: block;
}
@media (max-width: 900px) {
    .staking-flex {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
    }
    .how-to-stake-section, .staking-right {
        max-width: 100%;
        min-width: 0;
    }
    .staking-right {
        align-items: center;
    }
    .staking-right iframe {
        max-width: 100vw;
        width: 100%;
        margin: 0 auto;
    }
}

.staking-title-container {
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 48px;
}

.how-to-stake-section > .section-title {
    text-align: left;
    margin-bottom: 24px;
}

@media (max-width: 700px) {
    .staking-flex {
        flex-direction: column;
        gap: 24px;
    }
    .how-to-stake-section, .staking-right {
        max-width: 100%;
        min-width: 0;
    }
    .steps-list {
        display: block !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .steps-col {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }
    .step-item {
        margin-bottom: 18px !important;
        padding: 0 0 0 0 !important;
        text-align: left !important;
    }
    .step-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 8px !important;
    }
    .step-title {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    .step-description {
        font-size: 13px !important;
    }
}

.staking-right-info {
    align-self: start;
    text-align: left;
}
.staking-right-info .pixel-font {
    margin-bottom: 0px;
    display: block;
}
.staking-right-info .main-font {
    margin-top: 48px;
    margin-bottom: 8px;
    display: block;
}

.wallet-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 40px;
}

.copy-btn {
    margin-left: 10px;
    padding: 2px 10px;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: var(--tetris-purple);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    vertical-align: middle;
}
.copy-btn:hover {
    background: var(--tetris-teal);
}

/* --- Custom Footer Styles --- */
.site-footer {
  background: none;
  padding: 64px 0 32px 0;
  color: #e5e7eb;
  font-family: 'Montserrat', sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand {
  max-width: 320px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo {
  width: 40px;
  height: 40px;
}
.footer-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  color: var(--tetris-teal);
  letter-spacing: 2px;
}
.footer-desc {
  margin-bottom: 24px;
  color: #bfc4d1;
  font-size: 1rem;
}
.footer-social-links {
  display: flex;
  gap: 8px;
}
.footer-social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* border radius removed */
  background: none; /* background removed */
  box-shadow: none; /* box-shadow removed */
  overflow: hidden;
  padding: 0; /* padding removed */
  transition: transform 0.2s;
}
.footer-social-icon img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover;
  filter: none !important;
}
.footer-social-icon:hover {
  transform: scale(1.1);
  box-shadow: none;
}
.footer-social-icon.mail {
  background-image: url('assets/mail.webp');
  background-size: cover;
  background-position: center;
}
.footer-social-icon.discord {
  background-image: url('assets/discord.webp');
  background-size: cover;
  background-position: center;
}
.footer-col-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-col-title-text.pixel-font {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}
.footer-col-title {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
}
.quick-links-icon { background: none; }
.resources-icon { background: none; }
.stay-updated-icon { background: none; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #bfc4d1;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--tetris-teal);
}
.footer-news-desc {
  margin-bottom: 16px;
  color: #bfc4d1;
  font-size: 1rem;
}
.footer-news-form {
  display: flex;
  gap: 0;
  max-width: 220px;
  margin-left: 0;
  margin-top: 12px;
}
.footer-news-form input[type="email"] {
  flex: 1 1 0;
  padding: 6px 10px;
  border: none;
  border-radius: 18px;
  font-size: 0.95rem;
  outline: none;
  background: #23263a;
  color: #fff;
  height: 36px;
}
.footer-news-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border: none;
  background: none; /* background removed */
  border-radius: 0; /* border radius removed */
  cursor: pointer;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none; /* box-shadow removed */
  padding: 0; /* padding removed */
  transition: transform 0.2s;
}
.footer-news-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .footer-col {
    min-width: 0;
    width: 100%;
  }
}
.footer-links.main-font {
  font-size: 0.95rem;
}
.footer-news-desc.main-font {
  font-size: 0.95rem;
}

.tetris-joystick {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 20;
}
.joystick-btn {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--tetris-purple), var(--tetris-teal));
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.joystick-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 0 2px var(--tetris-teal);
}
@media (min-width: 721px) {
    .tetris-joystick {
        display: none;
    }
}

.how-to-stake-section .wallet-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    text-align: center;
    max-width: 420px;
    margin: -72px auto 0 auto;
}

.wallet-buttons .tetris-button {
    border-radius: 10px;
}

html {
    scroll-behavior: smooth;
}

.steps-columns {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    width: 100%;
}
.steps-col {
    flex: 1 1 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.step-item {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 0;
    margin-bottom: 0;
    align-items: flex-start;
}
.staking-actions {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
    margin-top: 48px;
}
@media (max-width: 900px) {
    .steps-columns {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .steps-col {
        width: 100%;
    }
}

.tetris-preloader-bar {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.tetris-cube {
    width: 38px;
    height: 38px;
    background: #23263a;
    border: 3px solid var(--tetris-purple);
    border-radius: 6px;
    opacity: 0.3;
    transition: background 0.2s, opacity 0.2s;
    box-shadow: none;
}

.tetris-cube.filled {
    background: linear-gradient(135deg, var(--tetris-purple), var(--tetris-teal));
    opacity: 1;
    box-shadow: none;
}

