/* --- Tetris Integration --- */
.tetris-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tetris-float-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px var(--primary-color);
    color: #fff;
    background: #000;
    border: 2px solid var(--primary-color);
}

.tetris-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.tetris-modal.active {
    opacity: 1;
    pointer-events: all;
}

.tetris-container {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tetris-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--danger-color, #ff3333);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s;
}

.close-modal-btn:hover {
    transform: scale(1.2) rotate(90deg);
    color: #fff;
}

/* --- Strategic Partners Section --- */
.partners-section {
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 50, 20, 0.1), transparent 70%);
    /* Subtle green hint for growth/money */
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
}

.partner-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(13, 17, 23, 0.98));
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.partner-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #4dff4d;
    /* Bright Green */
    box-shadow: 0 0 30px rgba(77, 255, 77, 0.2);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(77, 255, 77, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.partner-card:hover::before {
    transform: translateX(100%);
}

.partner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4dff4d;
    color: #000;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(77, 255, 77, 0.4);
}

.partner-icon {
    font-size: 3rem;
    color: #4dff4d;
    margin-right: 2rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(77, 255, 77, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(77, 255, 77, 0.2);
}

.partner-content {
    text-align: left;
    flex: 1;
}

.partner-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

.partner-desc {
    color: #bbb;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.partner-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-benefits span {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.partner-benefits span.highlight {
    color: #4dff4d;
    font-weight: bold;
}

.cta-mini {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: margin-left 0.2s;
}

.partner-card:hover .cta-mini {
    margin-left: 5px;
    color: #fff;
}

/* Responsiveness for Partner Card */
@media (max-width: 600px) {
    .partner-card {
        flex-direction: column;
        text-align: center;
    }

    .partner-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

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

    .partner-benefits {
        justify-content: center;
    }

    .partner-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}